When I try to emerge -U world, I get errors about glibc-2.3.3_pre20040529 failing to compile because something is wrong with fd_set. Reproducible: Always Steps to Reproduce: Portage 2.0.50-r7 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 x86_64 4 Gentoo Base System version 1.4.15 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.gentoo.skynet.be/pub/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://128.213.5.34/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3ds X aalib acl acpi acpi4linux alsa amd64 apm ardour-ksi arts audiofile avi bidi bindist bonobo caps cddb cdr chroot cjk crypt curl dedicated dnd dvd dvdr editor encode esd faad fastcgi fbcon fbdev fftw flac flash foomaticdb foreign-package fusion gd gdbm ggi gif gimpprint gpm gstreamer gtk gtk2 gtkhtml guile hbci icq imagemagick imap imlib imlib2 ipv6 javascript joystick jpeg ldap libg++ libsamplerate libwww mad memlimit mikmod mldonkeypango mng mono motif mozilla moznoirc mozsvg mpeg mpeg4 mule multilib music ncurses net nls nocardbus nocd nogcj nowin nptl nvidia offensive oggvorbis openal opengl oscar oss pam parse-clocks passfile pdflib perl physfs plotutils png ppds pthreads python quicktime readline samba scanner sdk sdl slang slp snmp speex spell ssl stencil-buffer svg tcltk tcpd theora tiff timidity tools transcode truetype usb videos wmf wxwin wxwindows xchattext xine xinerama xml xml2 xmms xosd xv xvid zlib"
Output: ../misc/sys/select.h:78: error: conflicting types for `fd_set' /lib/modules/2.6.5-gentoo-r1/build/include/linux/types.h:22: error: previous declaration of `fd_set' make[2]: *** [/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/tcb-offsets.h] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/csu' make[1]: *** [csu/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.3_pre20040529 failed. !!! Function src_compile, Line 568, Exitcode 2 !!! (no error message)
With the new version of Portage (?) I get another error (same line, same exitcode); clude -isystem /lib/modules/2.6.5-gentoo-r1/build/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -DASSEMBLER -I/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/csu/. -Wa,--noexecstack -g0 -o /var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/csu/crtn.o make[2]: *** [/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/tcb-offsets.h] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/csu' make[1]: *** [csu/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.3_pre20040529 failed. !!! Function src_compile, Line 568, Exitcode 2 !!! (no error message)
you're using nptl, but not the 2.6.6 linux-headers... so technically this bug is invalid. install the 2.6.6 linux-headers if you want to use nptl... the headers from your kernel just wont work most of the time.