Gentoo Archives: gentoo-hardened

From: Mark Stanislav <mark.stanislav@×××××.com>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] util-linux-2.14.2 and 2.15 unable to build with hardened selinux profile?
Date: Mon, 18 May 2009 23:43:32
Message-Id: 5c8b98b90905181642i50a7ec3bn27cf8f2a13fe57e6@mail.gmail.com
1 I recently ran an emerge --sync && emerge -vuDN world on two separate
2 systems I maintain and util-linux-2.14.2 fails to build due to the
3 following error:
4
5 mount-mount.o: In function `.L513':
6 mount.c:(.text+0x1a79): undefined reference to `security_get_initial_context'
7 collect2: ld returned 1 exit status
8 make[2]: *** [mount] Error 1
9 make[2]: Leaving directory
10 `/var/tmp/portage/sys-apps/util-linux-2.14.2/work/util-linux-ng-2.14.2/mount'
11 make[1]: *** [all-recursive] Error 1
12 make[1]: Leaving directory
13 `/var/tmp/portage/sys-apps/util-linux-2.14.2/work/util-linux-ng-2.14.2'
14 make: *** [all] Error 2
15
16 I also attempted 2.15 and it similarly fails. I re-emerged 2.14.1 and
17 it built fine for me still.
18
19 Is anyone else experiencing this error? Thanks!

Replies