Gentoo Archives: gentoo-hardened

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

Replies

Subject Author
Re: [gentoo-hardened] util-linux-2.14.2 and 2.15 unable to build with hardened selinux profile? Mark Stanislav <mark.stanislav@×××××.com>