Re: 'make policy' issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Smalley wrote:
On Wed, 2009-10-21 at 11:06 -0400, Eric Laganowski wrote:
Hello,

I was trying to build selinux userspace tools on my custom linux build. Everything went fine until I attempted to compile reference policy.
Could you please help me in understanding what went wrong here.

refpolicy-2.20090730

$ make policy
Compiling refpolicy policy.24
/usr/bin/checkpolicy policy.conf -o policy.24
/usr/bin/checkpolicy:  loading policy configuration from policy.conf
policy/modules/kernel/corenetwork.te":1715:ERROR 'syntax error' at token ':' on line 9122:
allow corenet_unconfined_type node_type:node *;

checkpolicy:  error(s) encountered while parsing configuration
make: *** [policy.24] Error 1


Packages:

checkpolicy-2.0.19
libselinux-2.0.85
libsemanage-2.0.33
libsepol-2.0.37
policycoreutils-2.0.69
sepolgen-1.0.17

$ yacc -V
yacc - 1.9 20090221
$ flex -V
flex 2.5.35

Sounds similar to:
http://marc.info/?l=selinux&m=117076095205821&w=2

which was an upstream flex problem.  However, I also see that you are using yacc rather than bison?
Default for building checkpolicy is bison -y, which could be relevant.
Re bison/yacc: I tried both, byacc and 'bison -y'
Re flex: What is the requirement for flex from selinux perspective? Is it known what build of flex is "known good"?


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux