I am trying to compile and build version 3.10.0-86 of the selinux policy, but during
compilation I get the following:
/usr/bin/semodule_expand tmp/test.lnk tmp/policy.bin
/usr/bin/sepolgen-ifgen -p tmp/policy.bin -i policy -o tmp/output
Traceback (most recent call last):
File "/usr/bin/sepolgen-ifgen", line 34, in <module>
import selinux
ImportError: No module named selinux
make: *** [validate] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.bEqivE (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.bEqivE (%install)
What could be the cause for this?