sys-apps/iproute2-2.6.11.20050330-r1 failed to emerge with a compiler error in the "netem" subdirectory. I'm sure this is because I'm using a 2.4 kernel profile and have linux-headers-2.4.26 installed. sys-apps/iproute2-2.6.11.20050330 also fails to emerge, with the same error, although the initial CVS revision (revision 1.1) does emerge okay. The killer difference seems to be the addition of "netem" to the "SUBDIRS" variable in the src_compile() function of the ebuild, since the compiler error occurs within the netem subdirectory. Reproducible: Always Steps to Reproduce: 1. (Need to be using a 2.4 kernel profile with linux-headers-2.4.xx installed.) 2. emerge =sys-apps/iproute2-2.6.11.20050330-r1 Actual Results: ... make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.11.20050330-r1/work/iproute2-2.6.11-050330/misc' make[1]: Entering directory `/var/tmp/portage/iproute2-2.6.11.20050330-r1/work/iproute2-2.6.11-050330/netem' gcc -O1 -o maketable maketable.c -lm gcc -O1 -o normal normal.c -lm normal.c: In function `main': normal.c:39: error: `NETEM_DIST_SCALE' undeclared (first use in this function) normal.c:39: error: (Each undeclared identifier is reported only once normal.c:39: error: for each function it appears in.) make[1]: *** [normal] Error 1 make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.11.20050330-r1/work/iproute2-2.6.11-050330/netem' make: *** [all] Error 2 !!! ERROR: sys-apps/iproute2-2.6.11.20050330-r1 failed. !!! Function src_compile, Line 57, Exitcode 2 !!! make !!! If you need support, post the topmost build error, NOT this status message. Expected Results: emerge without error. Gentoo Base System version 1.12.0_pre8 Portage 2.0.53_rc4 (default-linux/x86/2005.1/2.4, gcc-3.4.4, glibc-2.3.5-r2, 2.4.31-gentoo-r1 i686) ================================================================= System uname: 2.4.31-gentoo-r1 i686 AMD Duron(tm) processor dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.13 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 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.4.26 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O2 -pipe" DISTDIR="/work/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en_GB" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac alsa apm arts avi berkdb bitmap-fonts cdr cjk crypt cups curl doc eds emboss encode esd fam firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mozsvg mp3 mpeg ncurses nls no-helper offensive ogg oggvorbis opengl oss pam pdflib perl png python qemu-fast qt quicktime readline samba sdl slang softmmu spell ssl svg svga tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs xine xml2 xmms xv zlib video_cards_radeon linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
this has been fixed already, your tree is out of date
I'll do a sync, but I can't see the fix in the viewcvs interface. I'll reopen if the problem persists after updating my system.
It's all okay now. Thanks for the fix and sorry for the noise.