How to replicate: by simply updating baselayout! This is the complete build log: >>> Compiling source in /var/tmp/portage/sys-apps/baselayout-1.12.9/work/baselayout-1.12.9 ... * checking baselayout-1.12.9.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking baselayout-1.12.9.tar.bz2 to /var/tmp/portage/sys-apps/baselayout-1.12.9/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-apps/baselayout-1.12.9/work/baselayout-1.12.9 ... make: Entering directory `/var/tmp/portage/sys-apps/baselayout-1.12.9/work/baselayout-1.12.9/src' i686-pc-linux-gnu-gcc -pipe -O2 -march=pentium3 -fomit-frame-pointer -DLIBDIR=\"lib\" consoletype.c -o consoletype In file included from consoletype.c:15: headers.h:22:20: error.h: No such file or directory make: *** [consoletype] Error 1 make: Leaving directory `/var/tmp/portage/sys-apps/baselayout-1.12.9/work/baselayout-1.12.9/src' !!! ERROR: sys-apps/baselayout-1.12.9 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3424: Called src_compile baselayout-1.12.9.ebuild, line 71: Called die !!! (no error message) !!! 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-apps/baselayout-1.12.9/temp/build.log'. ------------------------------------------------------------------------------ emerge --info Portage 2.1.2-r9 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.17.13-rsbac i686) ================================================================= System uname: 2.6.17.13-rsbac i686 Pentium III (Coppermine) Gentoo Base System version 1.12.6 Timestamp of tree: Sun, 25 Feb 2007 04:00:09 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r3, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 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.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-pipe -O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-pipe -O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="allpackagers autoconfig buildpkg ccache distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.blueyonder.co.uk" LANG="it_IT.UTF-8" LC_ALL="it_IT.utf8" LINGUAS="it" MAKEOPTS="-j1" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl apache2 bash-completion berkdb bzip2 caps cracklib crypt curl doc fam gdbm gpm hardened hardened-php idn ipv6 kerberos ldap logrotate maildir memlimit midi mmx nls nptl pam perl pic pie python quotas readline samba sasl snmp ssl tcpd tetex unicode x86 xml xorg zlib" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0) The missing file is owned by glibc, present in the database but not existing on disk. Investigating further.
Restored the file, everything worked.