View previous topic :: View next topic |
Author |
Message |
juliedeville n00b
Joined: 14 Oct 2024 Posts: 35
|
Posted: Sun Nov 03, 2024 12:34 am Post subject: SELinux: checkpolicy fails to build |
|
|
I am in the process of installing SELinux on my system, and when trying to merge selinux-base, I get this error when it compiles checkpolicy
Code: | policy_define.c: In function ‘clone_level’:
policy_define.c:1009:27: error: ‘level_datum_t’ {aka ‘struct level_datum’} has no member named ‘defined’; did you mean ‘notde
fined’?
1009 | levdatum->defined = 1;
| ^~~~~~~
| notdefined
policy_define.c: In function ‘define_level’:
policy_define.c:1060:19: error: ‘level_datum_t’ {aka ‘struct level_datum’} has no member named ‘defined’; did you mean ‘notde
fined’?
1060 | levdatum->defined = 1;
| ^~~~~~~
| notdefined
checkpolicy.c: In function ‘check_level’:
checkpolicy.c:373:46: error: ‘level_datum_t’ {aka ‘struct level_datum’} has no member named ‘defined’; did you mean ‘notdefin
ed’?
373 | if (!levdatum->isalias && !levdatum->defined) { | ^~~~~~~
| notdefined
make: *** [Makefile:39: checkpolicy.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:39: policy_define.o] Error 1
* ERROR: sys-apps/checkpolicy-3.6::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-apps/checkpolicy-3.6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-apps/checkpolicy-3.6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-apps/checkpolicy-3.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/checkpolicy-3.6/temp/environment'.
* Working directory: '/var/tmp/portage/sys-apps/checkpolicy-3.6/work/checkpolicy-3.6'
* S: '/var/tmp/portage/sys-apps/checkpolicy-3.6/work/checkpolicy-3.6'
>>> Failed to emerge sys-apps/checkpolicy-3.6, Log file:
>>> '/var/tmp/portage/sys-apps/checkpolicy-3.6/temp/build.log'
* Messages for package sys-apps/checkpolicy-3.6:
* ERROR: sys-apps/checkpolicy-3.6::gentoo failed (compile phase):
* emake failed
* |
To my knowledge, I have performed the previous steps correctly, and I am booted from a kernel without SELinux enabled.
[Administrator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
nicop Tux's lil' helper
Joined: 10 Apr 2014 Posts: 97
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|