Seems that the configure script can't find some Makefile.in files and so can't build a correct final Makefile Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" USE="hal pcmcia" emerge -v kmail 2. 3. Actual Results: checking for res_init... no checking for res_init in -lresolv... no checking for timezone variable... yes checking for tm_gmtoff in struct tm... yes checking if libksieve should be compiled... yes checking if kmail should be compiled... no configure: creating ./config.status fast creating Makefile can't open ./Makefile.in: No such file or directory fast creating libksieve/Makefile fast creating libksieve/impl/Makefile can't open ./libksieve/impl/Makefile.in: No such file or directory fast creating libksieve/ksieve/Makefile fast creating libksieve/parser/Makefile fast creating libksieve/shared/Makefile fast creating libksieve/tests/Makefile config.pl: fast created 7 file(s). config.status: creating config.h config.status: executing depfiles commands Good - your configure finished. Start make now /usr/lib/portage/bin/ebuild.sh: line 422: confcache_stop: command not found make: *** No targets. Stop. !!! ERROR: kde-base/libksieve-3.4.0 failed. !!! Function kde_src_compile, Line 166, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. afly root # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-suspend2 i686) ================================================================= System uname: 2.6.11-suspend2 i686 Intel(R) Celeron(TM) CPU 1133MHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 9 2005, 14:18:39)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 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="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://mirror.switch.ch/mirror/gentoo/" LANG="it_IT" LC_ALL="it_IT" MAKEOPTS="-j2" PKGDIR="/mnt/usb/pkg" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/afly/src/kde-metaebuilds/trunk /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts cdparanoia crypt cups curl divx4linux emboss encode fam flac foomaticdb gcj gif gtk gtk2 i8x0 imlib java jce jpeg junit kde kdeenablefinal kdexdeltas ldap libg++ libwww live mad mailwrapper matroska mikmod mmx mmx2 motif mozilla mp3 mpeg ncurses network nls nptl oggvorbis opengl pam pdflib png qt quicktime readline real rtc samba sdl slang slp sndfile spell sse ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode xml2 xmms xv xvid zlib linguas_it" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
Could you check that you don't have kde eclasses or ebuilds in your overlays?
Yes I have experimental kde-metaebuilds from Berlios svn, and removing them from overlay solved the problem. Thanks.