trying to emerge makedev with selinux -> fails sys-apps/makedev-3.23.1 Reproducible: Always Steps to Reproduce: 1. emerge -uvND world 2.starting to emerge 3.fail Actual Results: >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 3) sys-apps/makedev-3.23.1 * MAKEDEV-3.23-1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: sys-apps/makedev-3.23.1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib selinux userland_GNU >>> Unpacking source... >>> Unpacking MAKEDEV-3.23-1.tar.gz to /var/tmp/portage/sys-apps/makedev-3.23.1/work >>> Source unpacked in /var/tmp/portage/sys-apps/makedev-3.23.1/work >>> Compiling source in /var/tmp/portage/sys-apps/makedev-3.23.1/work/MAKEDEV-3.23 ... make -j9 CC=x86_64-pc-linux-gnu-gcc 'OPTFLAGS=-O2 -march=core2 -pipe' x86_64-pc-linux-gnu-gcc -o MAKEDEV -O2 -march=core2 -pipe -DCFGDIR=\"/etc/makedev.d\" -DDEVDIR=\"/dev\" -DVERSION=\"3.23\" -DMAKEDEV_SELINUX MAKEDEV.c -Wl,-O1 -Wl,--as-needed -lselinux x86_64-pc-linux-gnu-gcc -o mksock -O2 -march=core2 -pipe -DCFGDIR=\"/etc/makedev.d\" -DDEVDIR=\"/dev\" -DVERSION=\"3.23\" -DMAKEDEV_SELINUX mksock.c -Wl,-O1 -Wl,--as-needed -lselinux ./genalsa > makedev.d/alsa ./gencciss > makedev.d/cciss ./gendac960 > makedev.d/dac960 ./genida > makedev.d/ida In file included from mksock.c:31: sel.h:22: Fehler: »PATH_MAX« ist hier nicht deklariert (nicht in einer Funktion) [Translation: error path_max is not declared here ( not in a function) ] make: *** [mksock] Fehler 1 make: *** Warte auf noch nicht beendete Prozesse... * ERROR: sys-apps/makedev-3.23.1 failed: * (no error message) * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 884: Called die * The specific snippet of code: * emake CC=$(tc-getCC) OPTFLAGS="${CFLAGS}" || die * * If you need support, post the output of 'emerge --info =sys-apps/makedev-3.23.1', * the complete build log and the output of 'emerge -pqv =sys-apps/makedev-3.23.1'. * The complete build log is located at '/var/tmp/portage/sys-apps/makedev-3.23.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/makedev-3.23.1/temp/environment'. * S: '/var/tmp/portage/sys-apps/makedev-3.23.1/work/MAKEDEV-3.23' >>> Failed to emerge sys-apps/makedev-3.23.1, Log file: >>> '/var/tmp/portage/sys-apps/makedev-3.23.1/temp/build.log' * Messages for package sys-apps/makedev-3.23.1: * ERROR: sys-apps/makedev-3.23.1 failed: * (no error message) * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 884: Called die * The specific snippet of code: * emake CC=$(tc-getCC) OPTFLAGS="${CFLAGS}" || die * * If you need support, post the output of 'emerge --info =sys-apps/makedev-3.23.1', * the complete build log and the output of 'emerge -pqv =sys-apps/makedev-3.23.1'. * The complete build log is located at '/var/tmp/portage/sys-apps/makedev-3.23.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/makedev-3.23.1/temp/environment'. * S: '/var/tmp/portage/sys-apps/makedev-3.23.1/work/MAKEDEV-3.23' Expected Results: well that it compiles without errors. move to selinux emerge --info Portage 2.1.8.3 (selinux/v2refpolicy/amd64/hardened, gcc-4.3.4, glibc-2.11.2-r0, 2.6.35.7 x86_64) ================================================================= System uname: Linux-2.6.35.7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 04 Oct 2010 06:50:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=core2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages loadpolicy news parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/cryptelium" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="64bit aac aalib ace acl ads amd64 amrnb amrwb apache2 apm audit avahi berkdb boost bzip2 cairo cdda cdinstall cdr cdrom clamav cli cpudetection cracklib crypt curl cxx dar64 dbus devfs-compat divx dri embedded encode eselect examples extras ffmpeg fortran fpx frei0r ftp gd gdbm gif git glib glibc-compat20 glut gnutls gphoto2 gpm gs hardened hash hbci hddtemp hdri iconv icq ieee1394 innodb ipv6 jbig lame lcms ldap libsamplerate libwww lm_sensors lxc mad md5sum mdadm mdnsresponder-compat mikmod mmx mng modules mpeg mplayer mudflap multilib musepack mysql ncurses netboot network nfs nfsv4 nls nptl nsplugin oav ofx ogg openexr openft openmp oscar pam pcap pcre pdf perl pic pmu png pppd python q32 qemu rar rdp readline realmedia reflection rewrite rtc samba secure-delete selinux server session sftp slang smp snmp sound speex sse sse2 sse3 ssl ssse3 subversion svgz syslog tcpd tga theora threads threadsafe tiff truetype udev unicode upnp usb v4l webkit winbind xml xmlrpc xorg xv xvmc yahoo yv12 zeroconf zlib" ALSA_CARDS="hda_intel" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS i hope i am not missing anything for this bugreport.
http://sources.gentoo.org/sys-apps/makedev/makedev-3.23.1.ebuild?r1=1.4&r2=1.5 http://sources.gentoo.org/sys-apps/makedev/files/makedev-3.23.1-headers.patch?rev=1.1