make[4]: Entering directory `/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2/kcontrol/energy' /usr/qt/3/bin/moc ./energy.h -o energy.moc /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -c -o energy.lo energy.cpp In file included from /usr/kde/3.3/include/krun.h:30, from energy.cpp:31: /usr/kde/3.3/include/kstartupinfo.h:304: error: variable or field `setW' declared void /usr/kde/3.3/include/kstartupinfo.h:304: error: parse error before `)' token make[4]: *** [energy.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2/kcontrol/energy' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2/kcontrol/energy' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2/kcontrol' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.3.2-r1/work/kdebase-3.3.2' make: *** [all] Error 2 !!! ERROR: kde-base/kdebase-3.3.2-r1 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: 1.emerge kdebase 2.fails 3. Actual Results: The above error Expected Results: Should have emerged properly Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10-nitro2 i686) ================================================================= System uname: 2.6.10-nitro2 i686 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.8 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache cups distlocks fixpackages foomaticdb moo nls ppds sandbox sfperms usb" GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://gentoo.ccccom.com http://mirror.datapipe.net/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aalib acl acpi alsa apache2 arts artworkextra avi berkdb bitmap-fonts bonobo cdr crypt cups divx4linux dvd dvdr eds encode esd fam flac font-server foomaticdb fortran gd gd-external gdbm gif gimp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl imagemagick imlib ipv6 java joystick jpeg junit kde ldap libclamav libwww mad mikmod mmx motif mozilla mp3 mpeg mysql nas ncurses network nls nptl nptlonly nvidia oav oggvorbis opengl oss pam pda pdflib perl php pic plotutils png ppds python qt quicktime readline real samba scanner sdl slang spell sse sse2 ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb xml xml2 xmms xv xvid xvmc zlib"
Can you try disabling distcc and ccache? (FEATURES="-distcc -ccache")
Hmm its a bit odd of a case. I rsycned and left distcc disabled as it already was and ccache enabled as it already was and re-emerged it and it worked fine this time. Not quite sure what was up but it happened more than once. Maybe a bad ebuild? I did restart in between as well.