The file installed to /usr/include/asm/elf.h attempts to include /usr/include/asm/user.h which is no longer installed by linux-headers. Reproducible: Always emerge --info: Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.19-gentoo-r420070203 i686) ================================================================= System uname: 2.6.19-gentoo-r420070203 i686 AMD Athlon(tm) 64 Processor 3800+ Gentoo Base System version 1.12.9 Timestamp of tree: Fri, 16 Mar 2007 18:20:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 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.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=k8 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo " LANG="en_US.UTF-8" LINGUAS="en" MAKEOPTS="-j2" 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/portage/local/layman/musicbrainz /usr/portage/local/layman/sunrise /usr/portage/local/layman/armagetron /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac aalib alsa ao apache2 asf autoipd avahi berkdb bgpclassless bitmap-fonts bluetooth bonjour bzip2 cdparanoia cdr cjk cli cracklib crypt cups daap dbus dri dvd dvdr dvdread encode ffmpeg firefox flac foomaticdb fortran ftp gdbm geoip gif gpm gstreamer gtk gtk2 hal hbci hou howl-compat ical icecast iconv ilibc imagemagick imlib ipod ipv6 irmc isdnlog ithreads jabber jack jikes jpeg kqemu lcms libg++ linuxkeys mad matroska mdnsresponder-compat menubar midi mikmod mmx mng mod modplug mono mozbranding mp3 mp4 msn mysql na_dd ncurses nls nntp nowin nptl nptlonly nsplugin offensive ogg opengl oscar pam pcre pdf perl png posix ppds pppd python qt3 quicktime rar readline reflection samba sdl sensord session silc skey sms sou speex spell spl sqlite ssl svg sysvipc tcltk tcpd theora threads tiff timidity tk tordns truetype truetype-fonts type1-fonts unicode usb vorbis wifi win32codecs wxwindows x264 x86 xgetdefault xine xml xorg xosd xprint xscreensaver xv xvid yahoo zlib zrtp" ALSA_CARDS="intel-hda hda-intel" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
fixed in 2.6.20-r2