Some ebuilds for c++ based apps fail with distcc enabled in FEATURES. The latest one is kopete-0.6 Here is the output when it fails: /bin/sh ../../libtool --silent --mode=link --tag=CXX distcc g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o libkopete.la -rpath /usr/lib -no-undefined -version-info 1:0:0 -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib kopeteprotocol.lo kopetecontact.lo pluginloader.lo kopeteplugin.lo kopetemessagelog.lo kopetemessage.lo kopetenotifier.lo kopeteevent.lo kopetemessagemanager.lo kopetemessagemanagerfactory.lo kopetecontactlist.lo kopetemetacontact.lo kopeteprefs.lo kopeteemoticons.lo kopeteaway.lo kopeteawaydialog.lo kopetetransfermanager.lo kopeteuserpreferences.lo kopetegroup.lo kopeteidentitymanager.lo kopeteglobalawaydialog.lo ui/libkopeteui.la -lkdeui -lkio g++: g++: No such file or directory make[4]: *** [libkopete.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/kopete-0.6.0/work/kopete-0.6.0/kopete/libkopete' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kopete-0.6.0/work/kopete-0.6.0/kopete/libkopete' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kopete-0.6.0/work/kopete-0.6.0/kopete' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kopete-0.6.0/work/kopete-0.6.0' make: *** [all] Error 2 !!! ERROR: net-im/kopete-0.6.0 failed. !!! Function kde_src_compile, Line 115, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: 1. add distcc to FEATURES 2. try to compile kopete-0.6 3. it fails. Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3) ================================================================= System uname: 2.4.20-gentoo-r1 i686 Pentium III (Coppermine) GENTOO_MIRRORS="ftp://sunsite.unc.edu/pub/Linux/distributions/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts svga ggi tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla gphoto2 cdr scanner smooth" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="no" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache distcc"
looks like distcc doesnt have a proper PATH
*** Bug 15373 has been marked as a duplicate of this bug. ***
*** Bug 15478 has been marked as a duplicate of this bug. ***
You don't specify it here, but i think that you may be running an older distcc. This problem is solved by the distcc-1.1-r7 attachemnt to bug 13897, which would solve your problem or you can wait for this new version to be checked in and available. It's received good testing and seems to work in almost all cases.
Bug 13897 has been closed, for which I'm marking this being a duplicate. As such, please try the distcc-1.1-r8 ebuild that I just added to CVS and report issues with this new version in new bug reports. Thanks. *** This bug has been marked as a duplicate of 13897 ***