Gentoo Archives: gentoo-hardened

From: Caleb Cushing <xenoterracide@×××××.com>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] busybox doesn't compile right
Date: Thu, 22 Mar 2007 20:36:45
Message-Id: 81bfc67a0703221334x7fb41e7fg81160ce79ae63cef@mail.gmail.com
1 coreutils/lib.a(id.o): In function `id_main':
2 id.c:(.text.id_main+0x175): undefined reference to `is_selinux_enabled'
3 id.c:(.text.id_main+0x1ad): undefined reference to `getcon'
4 id.c:(.text.id_main+0x1e2): undefined reference to `freecon'
5 coreutils/lib.a(ls.o): In function `my_stat':
6 ls.c:(.text.my_stat+0x35): undefined reference to `is_selinux_enabled'
7 ls.c:(.text.my_stat+0xb1): undefined reference to `is_selinux_enabled'
8 ls.c:(.text.my_stat+0xff): undefined reference to `lgetfilecon'
9 ls.c:(.text.my_stat+0x111): undefined reference to `getfilecon'
10 coreutils/lib.a(ls.o): In function `showfiles':
11 ls.c:(.text.showfiles+0x2f0): undefined reference to `freecon'
12 init/lib.a(init.o): In function `init_main':
13 init.c:(.text.init_main+0x67a): undefined reference to
14 `selinux_init_load_policy'
15 loginutils/lib.a(login.o): In function `login_main':
16 login.c:(.text.login_main+0x808): undefined reference to
17 `is_selinux_enabled'
18 login.c:(.text.login_main+0x832): undefined reference to
19 `get_default_context'
20 login.c:(.text.login_main+0x851): undefined reference to `getfilecon'
21 login.c:(.text.login_main+0x886): undefined reference to
22 `security_compute_relabel'
23 login.c:(.text.login_main+0x8a5): undefined reference to `setfilecon'
24 libbb/lib.a(run_shell.o): In function `set_current_security_context':
25 run_shell.c:(.text.set_current_security_context+0x10): undefined reference
26 to `freecon'
27 libbb/lib.a(run_shell.o): In function `run_shell':
28 run_shell.c:(.text.run_shell+0xc3): undefined reference to `setexeccon'
29 run_shell.c:(.text.run_shell+0x107): undefined reference to `freecon'
30 libbb/lib.a(run_shell.o): In function `renew_current_security_context':
31 run_shell.c:(.text.renew_current_security_context+0x10): undefined reference
32 to `freecon'
33 run_shell.c:(.text.renew_current_security_context+0x1c): undefined reference
34 to `getcon'
35 collect2: ld returned 1 exit status
36 make: *** [busybox_unstripped] Error 1
37
38 !!! ERROR: sys-apps/busybox-1.4.1-r2 failed.
39 Call stack:
40 ebuild.sh, line 1614: Called dyn_compile
41 ebuild.sh, line 971: Called qa_call 'src_compile'
42 environment, line 3338: Called src_compile
43 busybox-1.4.1-r2.ebuild, line 182: Called die
44
45
46 yes I know this isn't the place for bug reports. but considering there is
47 still breakage in coreutils with selinux involving tee...
48
49 --
50 Caleb Cushing

Replies

Subject Author
Re: [gentoo-hardened] busybox doesn't compile right Ned Ludd <solar@g.o>