Gentoo Archives: gentoo-hardened

From: Mark Stanislav <mark.stanislav@×××××.com>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] util-linux-2.14.2 and 2.15 unable to build with hardened selinux profile?
Date: Wed, 20 May 2009 18:05:21
Message-Id: 5c8b98b90905201105m25f980b9laf8b0cb2ab4247aa@mail.gmail.com
In Reply to: Re: [gentoo-hardened] util-linux-2.14.2 and 2.15 unable to build with hardened selinux profile? by anna zzz
1 Relevant bug report: http://bugs.gentoo.org/show_bug.cgi?id=270168
2
3 On Wed, May 20, 2009 at 8:18 AM, anna zzz <chaotic.anna@×××××.com> wrote:
4 > On Mon, 18 May 2009 19:42:59 -0400
5 > Mark Stanislav <mark.stanislav@×××××.com> wrote:
6 >
7 >> I recently ran an emerge --sync && emerge -vuDN world on two separate
8 >> systems I maintain and util-linux-2.14.2 fails to build due to the
9 >> following error:
10 >>
11 >> mount-mount.o: In function `.L513':
12 >> mount.c:(.text+0x1a79): undefined reference to
13 >> `security_get_initial_context' collect2: ld returned 1 exit status
14 >> make[2]: *** [mount] Error 1
15 >> make[2]: Leaving directory
16 >> `/var/tmp/portage/sys-apps/util-linux-2.14.2/work/util-linux-ng-2.14.2/mount'
17 >> make[1]: *** [all-recursive] Error 1
18 >> make[1]: Leaving directory
19 >> `/var/tmp/portage/sys-apps/util-linux-2.14.2/work/util-linux-ng-2.14.2'
20 >> make: *** [all] Error 2
21 >>
22 >> I also attempted 2.15 and it similarly fails. I re-emerged 2.14.1 and
23 >> it built fine for me still.
24 >>
25 >> Is anyone else experiencing this error? Thanks!
26 >>
27 >
28 > Yes, I do. The output differs a bit:
29 > mount-mount.o: In function `.L502':
30 > mount.c:(.text+0x1a94): undefined reference to
31 > `security_get_initial_context' collect2: ld returned 1 exit status
32 > make[2]: *** [mount] Error 1
33 > make[2]: Leaving directory
34 > `/var/tmp/portage/sys-apps/util-linux-2.14.2/work/util-linux-ng-2.14.2/mount'
35 > make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
36 > `/var/tmp/portage/sys-apps/util-linux-2.14.2/work/util-linux-ng-2.14.2'
37 > make: *** [all] Error 2
38 >
39 > It's for 2.14.2. I didn't try 2.15.*
40 >
41 >