All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] Building refpolicy fails on Arch Linux
@ 2011-08-19 12:00 Nicky726
  2011-08-19 12:14 ` Christopher J. PeBenito
  0 siblings, 1 reply; 6+ messages in thread
From: Nicky726 @ 2011-08-19 12:00 UTC (permalink / raw)
  To: refpolicy

Hello,

I maintain SELinux packages for Arch Linux and recently I came to an error when building refpolicy:

Creating refpolicy bootloader.pp policy package
Creating refpolicy brctl.pp policy package
Creating refpolicy bugzilla.pp policy package
/usr/bin/semodule_package -o bootloader.pp -m tmp/bootloader.mod -f tmp/bootloader.mod.fc
/usr/bin/semodule_package -o brctl.pp -m tmp/brctl.mod -f tmp/brctl.mod.fc
/usr/bin/semodule_package -o bugzilla.pp -m tmp/bugzilla.mod -f tmp/bugzilla.mod.fc
Creating refpolicy canna.pp policy package
Creating refpolicy calamaris.pp policy package
Creating refpolicy ccs.pp policy package
/usr/bin/semodule_package -o calamaris.pp -m tmp/calamaris.mod -f tmp/calamaris.mod.fc
/usr/bin/semodule_package -o ccs.pp -m tmp/ccs.mod -f tmp/ccs.mod.fc
/usr/bin/semodule_package -o canna.pp -m tmp/canna.mod -f tmp/canna.mod.fc
Creating refpolicy cdrecord.pp policy package
Creating refpolicy certmaster.pp policy package
/usr/bin/semodule_package -o cdrecord.pp -m tmp/cdrecord.mod -f tmp/cdrecord.mod.fc
Creating refpolicy certmonger.pp policy package
/usr/bin/semodule_package -o certmaster.pp -m tmp/certmaster.mod -f tmp/certmaster.mod.fc
/usr/bin/semodule_package -o certmonger.pp -m tmp/certmonger.mod -f tmp/certmonger.mod.fc
Creating refpolicy base module base.conf
cat tmp/pre_te_files.conf tmp/all_attrs_types.conf tmp/global_bools.conf tmp/only_te_rules.conf tmp/all_post.conf > base.conf
Compiling refpolicy base module
/usr/bin/checkmodule base.conf -o tmp/base.mod
/usr/bin/checkmodule:  loading policy configuration from base.conf
tmp/rolemap.conf":1687:ERROR 'syntax error' at token 'fs_use_trans' on line 22466:
fs_use_trans devtmpfs system_u:object_r:device_t;
genfscon securityfs / system_u:object_r:security_t
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make: *** [tmp/base.mod] Error 1
==> CHYBA: Do?lo k chyb? v build().

This happens when building the 20110726 release, it happenes also with the previous release and current git for some time, so I'd say Arch has some 
"compiler" or library at too recent version or with wrong build options. Also I have to use some fairly outdated flex package to get this far in the build 
proces, or I get some other error message earlier in the build. Could you please help me resolve these issuese, as currently SELinux is not usable on Arch. 
I will provide any other information, but currently I am lost with this. I didn't find any list of build-dependencies others than checkpolicy and libsepol, 
nor did me any good looking into the fedora's src rpm.

Thanx, Nicky

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-09-02 14:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-19 12:00 [refpolicy] Building refpolicy fails on Arch Linux Nicky726
2011-08-19 12:14 ` Christopher J. PeBenito
2011-08-19 13:21   ` Nicky726
2011-08-19 15:07     ` Christopher J. PeBenito
2011-08-31 18:15       ` Nicky726
2011-09-02 14:16         ` Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.