Installing a new system using stage1-x86-20040204.tar.bz2 failed on the scripts/bootstrap.sh compiling glibc with the following error: * Checking for sufficient version kernel headers ... no Could not find a kernel source tree or headers with version 2.6.0 or later! Please correct this and try again. Reproducible: Always Steps to Reproduce: 1. Boot the gentoo-2004.0-20040206 livecd. 2. Prepare partitions as specified on the install manual. 3. Extract the stage1-x86-20040204.tar.bz2 4. perform all the remaining steps and do an scripts/bootstrap.sh Actual Results: All components build without problems, failing on glibc with the error specified. Expected Results: Bootstrap should complete without problems and emerging necesary packages (in this case the linux-headers) without user intervention. I fixit by manually emergin linux-headers 2.6.1 and reinitiate the bootstrap process. Probably happended due to booting with experimental kernel option since gentoo option do not load modules, and/or my nptl use flag I have. Here is my emerge info. Gentoo Base System version 1.4.3.13 Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-rc1-gentoo) ================================================================= System uname: 2.6.3-rc1-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/ kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/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="X X509 acpi amd autofs avi berkdb bidi bluetooth bonobo cjk crypt cups dga dnd doc dv dvb dvd encode ethereal fbcon flac flash gif gimpprint glade gnome gnomedb gphoto2 gpm gtk gtk2 gtkhtml imagemagick imlib input_devices_synaptics ipv6 irda javascript jpeg mad mikmod mldonkeypango mmx motif mpeg mpeg4 ncurses nls nptl offensive oggvorbis opengl oss pam pcmcia pda pdflib perl pic pie png pnp python quicktime radeon readline sdl slang spell sse ssl svg svga tcpd threads tiff truetype trusted type1 unicode usb video_cards_radeon videos wmf x86 xinerama xml2 xmms xv zlib"
it's the NPTL use flag that caused that ... This is not a bug by any means, we do not use 2.6 kernel headers by default! -Brad