Compiling udev_selinux.c. i686-pc-linux-gnu-gcc -c -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wstrict-prototypes -Wsign-compare -Wshadow -Wchar-subscripts -Wmissing-decla rations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wmissin g-prototypes -Os -I/var/tmp/portage/udev-079/work/udev-079/libsysfs/sysfs -I/ var/tmp/portage/udev-079/work/udev-079/libsysfs -DUSE_LOG -DUSE_SELINUX udev_ selinux.c -o udev_selinux.o udev_selinux.c: In function `selinux_init': udev_selinux.c:155: error: `udev_root' undeclared (first use in this function ) udev_selinux.c:155: error: (Each undeclared identifier is reported only once udev_selinux.c:155: error: for each function it appears in.) make: *** [udev_selinux.o] Error 1
The apparent fix is fairly simple: #include "udev.h" at the top of udev_selinux.c
same issue here...only on -079 so far. if i get time ill test the proposed fix, looks good to me though anyways. Portage 2.0.53 (selinux/2004.1/x86, gcc-3.4.3, glibc-2.3.5-r3, 2.6.13-hardened-r2 i686) ================================================================= System uname: 2.6.13-hardened-r2 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.14 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages loadpolicy nostrip sandbox selinux sfperms strict" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.isp.net.au/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 avi bash-completion berkdb bzip2 cli crypt cups curl dba debug divx4linux dv dvd dvdread eix exif expat extraengine fam ffmpeg ftp gd gdbm hardened idn imap innodb ipv6 jabber jpeg kerberos ldap libclamav libwww mad maildir mcal mhash mmx mp3 mysql mysqli ncurses nls nptl nptlonly ogg pam pcntl pcre perl php pic pie png posix postgres python readline samba selinux session simplexml slang snmp soap sockets spell sqlite ssl tcpd tidy tiff tokenizer truetype udev unicode usb userlocales utf8 v4l vhosts vorbis wddx x86 xml xml2 xmlrpc xvid zaptel zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Proposed fix does work. If someone doesn't know how to use it: man ebuild.
same on my box: Fix did work so far... (and i can use ebuild now, at last :)) lets see, what reboot says with a new kernel version... Portage 2.1_pre3-r1 (selinux/2005.1/x86, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-hardened-r1 i686) ================================================================= System uname: 2.6.14-hardened-r1 i686 Pentium II (Klamath) Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.4.19-r1, 2.6.11-r3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks loadpolicy sandbox selinux sfperms strict usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://gentoo-distfiles.local.nil.nul/gentoo-portage" USE="acpi apache2 bash-completion berkdb bzip2 crypt expat gd gdbm gif hardened ipv6 jpeg libwww logrotate mhash mls mpm-threadpool mysql ncurses nls oav pam perl php pic pie png python readline selinux slang snmp ssl tcpd threads truetype udev x86 xml2 zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
*** Bug 119825 has been marked as a duplicate of this bug. ***
*** Bug 119831 has been marked as a duplicate of this bug. ***
Fixed in later versions of udev, so am closing this.