/bin/sh ../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o weather_panelapplet.la -rpath /usr/kde/3.5/lib/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -module -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib reportview.lo kweather.lo dockwidget.lo weatherbutton.lo weatherIface_skel.lo weatherservice_stub.lo -lkhtml i686-pc-linux-gnu-g++: weatherservice_stub.o: No such file or directory make[3]: *** [kweatherservice] Error 1 make[3]: *** Waiting for unfinished jobs.... /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. make[3]: Leaving directory `/u/tmp/portage/kdetoys-3.5.4/work/kdetoys-3.5.4/kweather' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/u/tmp/portage/kdetoys-3.5.4/work/kdetoys-3.5.4/kweather' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/u/tmp/portage/kdetoys-3.5.4/work/kdetoys-3.5.4' make: *** [all] Error 2 !!! ERROR: kde-base/kdetoys-3.5.4 failed. Portage 2.1.1_pre4-r3 (default-linux/x86/2005.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17.7 i686) ================================================================= System uname: 2.6.17.7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.4 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer noclean nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" 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="/u/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/u/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 apm arts atm avcodec avi bitmap-fonts browserplugin bzip2 cdr cli crypt cups curl dba dlloader dri dvd dvdr eds elibc_glibc emboss en_GB encode exif exiscan exiscan-acl ffmpeg fftw firefox flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java javacomm javadoc javamail jce jikes joystick jpeg junit kde kerberos kernel_linux ladspa ldap libg++ libwww lmtp mad mikmod mono motif mozilla mp3 mpeg mysql ncurses nls nodrm nptl nptlonly nsplugin objc ogg oggvorbis opengl oss pam pcre pdf pdflib perl png postgres ppds pppd python qt qt3 qt4 quicktime readline reflection sasl sdl session soundtouch spell spl ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb userland_GNU video_cards_nv vorbis win32codecs wxgtk1bitmap-fonts xerces xine xml xml2 xmlrpc xmms xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
It seems that simply running emerge -Du world a second time fixed the problem. No idea why.
most likely a parallel make error