net-fs/samba-3.0.5 fails to emerge when I tried to emerge -UD world to get in sync with 2004.2. Reproducible: Always Steps to Reproduce: 1. emerge samba Actual Results: Linking bin/ntlm_auth Compiling utils/smbcquotas.c Linking bin/smbcquotas Compiling client/smbmount.c In file included from /usr/include/linux/fs.h:9, from /usr/include/linux/smb_fs.h:15, from client/smbmount.c:27: /usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory make: *** [client/smbmount.o] Error 1 !!! ERROR: net-fs/samba-3.0.5 failed. !!! Function src_compile, Line 184, Exitcode 2 !!! SAMBA pieces Calculating dependencies ...done! >>> emerge (1 of 1) net-fs/samba-3.0.5 to / >>> md5 src_uri ;-) samba-3.0.5.tar.gz ]1;]2; *** terminating.]1;]2;xterm Expected Results: success Gentoo Base System version 1.4.16 Portage 2.0.50-r9 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 x86_64 4 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-pipe -O3" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -O3" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb cdr crypt encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib jpeg libg++ libwww mikmod motif mozilla mpeg multilib ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
Found a confliction with linux-headers and linux26-headers. After removing the old headers samba emerged perfectly.