My daily emerge -uvD world died after sys-libs/glibc-2.3.4.20041102 was updated. I cannot complete the updates, every compliation fails with errors such as below: checking how to run the C preprocessor... /lib/cpp configure: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. !!! ERROR: sys-libs/pam-0.77-r6 failed. !!! Function src_compile, Line 138, Exitcode 1 !!! Bad BDB ./configure !!! If you need support, post the topmost build error, NOT this status message. simple c programs with stdio.h wont compile and these headers are now gone from the system. pretty fatal. Here is my emerge info Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 x86_64) ================================================================= System uname: 2.6.10 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 19 2004, 11:20:14)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa arts audiofile berkdb bitmap-fonts cdparanoia cdr crypt cups dvd esd f77 fam flac font-server foomaticdb fortran gdbm gif gimp-print gpmgstreamer imagemagick imlib ipv6 java jp2 jpeg kde libwww lzw lzw-tiff mad mikmod motif multilib mysql ncurses nls odbc oggvorbis opengl oss pam perl png ppds python qt readline samba scanner sdl slang slp smime ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xine xml2 xmms xpm xrandr xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge uvD world 3. system wont update. Actual Results: My system is seriously borked. Expected Results: To have a current upto date, secure, reliable gentoo that I like!
attach the config.log from one of the build directories
Following some advice on the gentoo forum, I can confirm that the following fixes this problem. http://forums.gentoo.org/viewtopic.php?t=289736 Thank you for your assistance, GregW
so it's a dupe
*** This bug has been marked as a duplicate of 80591 ***