Today (2007-10-25) I did an emerge --sync and emerge portage. I then tried to do an emerge system and got errors with the first package, com_err-1.40.2. Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge -av system Actual Results: >>> Emerging (1 of 39) sys-libs/com_err-1.40.2 to / >>> Downloading 'http://distfiles.gentoo.org/distfiles/e2fsprogs-1.40.2.tar.gz' --20:22:20-- http://distfiles.gentoo.org/distfiles/e2fsprogs-1.40.2.tar.gz => `/usr/portage/distfiles/e2fsprogs-1.40.2.tar.gz' Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195, 140.211.166.134, ... Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3,965,919 (3.8M) [application/x-gzip] 100%[====================================>] 3,965,919 688.04K/s ETA 00:00 20:22:26 (657.17 KB/s) - `/usr/portage/distfiles/e2fsprogs-1.40.2.tar.gz' saved [3965919/3965919] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking e2fsprogs-1.40.2.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking e2fsprogs-1.40.2.tar.gz to /var/tmp/portage/sys-libs/com_err-1.40.2/work * Applying com_err-1.39-makefile.patch ... [ ok ] * Applying com_err-1.40-headers.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-libs/com_err-1.40.2/work/e2fsprogs-1.40.2 ... * econf: updating e2fsprogs-1.40.2/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating e2fsprogs-1.40.2/config/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-elf-shlibs --with-ldopts= --enable-nls --build=i686-pc-linux-gnu Generating configuration file for e2fsprogs version 1.40.2 Release date is July, 2007 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu CC defaults to i686-pc-linux-gnu-gcc checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... /lib/cpp configure: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/sys-libs/com_err-1.40.2/work/e2fsprogs-1.40.2/config.log * * ERROR: sys-libs/com_err-1.40.2 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * com_err-1.40.2.ebuild, line 42: Called econf '--enable-elf-shlibs' '--with-ldopts=' '--enable-nls' * ebuild.sh, line 591: Called die * * econf failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-libs/com_err-1.40.2/temp/build.log'. * Expected Results: successful emerge emerge --info: # emerge --info Portage 2.1.3.9 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 i686) ================================================================= System uname: 2.6.20-gentoo-r8 i686 Pentium II (Klamath) Timestamp of tree: Thu, 25 Oct 2007 23:31:01 +0000 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p15-r1 dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.2.3-r5, 2.3.5-r3, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.4.3-r4, 1.5.22 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentopia /usr/portage/local/layman/gentoo-gis" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa berkdb bitmap-fonts cli cracklib crypt cups dri dvd foomatic fortran gdbm gimpprint gnome gpm gtk iconv ipv6 isdnlog jpeg kerberos krb4 ldap midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre pda perl png ppds pppd python readline reflection sasl session spl ssl tcpd tif tiff truetype-fonts type1-fonts unicode usb x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="r128" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> !!! Please attach the following file when filing a report to bugs.gentoo.org: > !!! /var/tmp/portage/sys-libs/com_err-1.40.2/work/e2fsprogs-1.40.2/config.log Just do it, please.
Created attachment 134421 [details] config.log Sorry, here is the file.
> linux/limits.h: No such file or directory You unmerged sys-kernel/linux-headers?! Well, don't do this.
Uninstalling parts of core system - NOTABUG.
yes, well linux-headers was a blocking package and it did not let me emerge system with it installed. I will re-install it and try again.