Summary: | sys-libs/libselinux-1.30 doesn't build against linux-header-2.6.21 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alan Hourihane <alanh> |
Component: | [OLD] Development | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED INVALID | ||
Severity: | normal | CC: | bart |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
And why don't you use 1.34.0 which is stable everywhere? Sorry, this is hardened. (In reply to comment #2) > Sorry, this is hardened. ??? O.k. Look in sys-libs/libsemanage/libsemanage-1.6.ebuild And you'll see that libsemanage is specifying SELNX_VER="1.30" which is why it's pulling in libselinux 1.30 (In reply to comment #4) And why don't you use libsemanage-1.10.0 which is stable everywhere? MMm.. even when I do.... emerge -p libsemanage I get this.... Calculating dependencies... done! [ebuild N ] sys-libs/libsepol-1.12-r1 [ebuild N ] sys-libs/libselinux-1.30 [ebuild N ] sys-libs/libsemanage-1.6 Even though I can see the newer ones are marked stable. Maybe you should post emerge --info Note, this is from a chroot into a hardened gentoo tree from a non-hardened system. Portage 2.1.2.9 (hardened/x86/2.6, gcc-3.4.6, glibc-2.5-r4, 2.6.21-gentoo-r4 i686) ================================================================= System uname: 2.6.21-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 2800+ Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 30 Jul 2007 16:32:01 +0000 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.61 sys-devel/automake: 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -fomit-frame-pointer -march=i486 -mtune=pentium -pipe -fforce-addr" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc /etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-Os -fomit-frame-pointer -march=i486 -mtune=pentium -pipe -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distcc distlocks loadpolicy metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="activefilter adsl apache2 atm berkdb cracklib crypt dhcp eap-tls hardened ipppd ldap midi minimal mpm-prefork mppe-mppc mschap netboot nls nptl nptlonly pam pic pppd radius readline savedconfig ssl tcpd urandom usb x86 xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Uh; use selinux profiles if you want any support for selinux stuff. Oh, well it worked up until a few weeks ago. Thanks. I'll switch now. Well we can unmask the stuff there as >glibc-2.4 is no longer masked on hardened, but selinux is only supported on selinux profiles regardless of this. *** Bug 188722 has been marked as a duplicate of this bug. *** |
Emerging (2 of 2) sys-libs/libselinux-1.30 to / * libselinux-1.30.tgz RMD160 ;-) ... [ ok ] * libselinux-1.30.tgz SHA1 ;-) ... [ ok ] * libselinux-1.30.tgz SHA256 ;-) ... [ ok ] * libselinux-1.30.tgz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking libselinux-1.30.tgz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking libselinux-1.30.tgz to /var/tmp/portage/sys-libs/libselinux-1.30/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-libs/libselinux-1.30/work/libselinux-1.30 ... make[1]: Entering directory `/var/tmp/portage/sys-libs/libselinux-1.30/work/libselinux-1.30' make -C src make[2]: Entering directory `/var/tmp/portage/sys-libs/libselinux-1.30/work/libselinux-1.30/src' cc -Os -fomit-frame-pointer -march=i486 -mtune=pentium -pipe -fforce-addr -I../include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c -o avc.o avc.c cc -Os -fomit-frame-pointer -march=i486 -mtune=pentium -pipe -fforce-addr -I../include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c -o avc_internal.o avc_internal.c cc -Os -fomit-frame-pointer -march=i486 -mtune=pentium -pipe -fforce-addr -I../include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c -o avc_sidtab.o avc_sidtab.c cc -Os -fomit-frame-pointer -march=i486 -mtune=pentium -pipe -fforce-addr -I../include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c -o booleans.o booleans.c cc -Os -fomit-frame-pointer -march=i486 -mtune=pentium -pipe -fforce-addr -I../include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c -o canonicalize_context.o canonicalize_context.c canonicalize_context.c:8:22: asm/page.h: No such file or directory canonicalize_context.c: In function `security_canonicalize_context_raw': canonicalize_context.c:26: error: `PAGE_SIZE' undeclared (first use in this function) canonicalize_context.c:26: error: (Each undeclared identifier is reported only once canonicalize_context.c:26: error: for each function it appears in.) make[2]: *** [canonicalize_context.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-libs/libselinux-1.30/work/libselinux-1.30/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-libs/libselinux-1.30/work/libselinux-1.30' !!! ERROR: sys-libs/libselinux-1.30 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile libselinux-1.30.ebuild, line 33: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/sys-libs/libselinux-1.30/temp/build.log'. Reproducible: Always