Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15473 - problems using g++ with distcc in FEATURES
Summary: problems using g++ with distcc in FEATURES
Status: RESOLVED DUPLICATE of bug 13897
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Zach Welch (RETIRED)
URL:
Whiteboard:
Keywords:
: 15478 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-10 22:58 UTC by Ricardo Ferreira
Modified: 2011-10-30 22:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ricardo Ferreira 2003-02-10 22:58:32 UTC
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"
Comment 1 SpanKY gentoo-dev 2003-02-11 00:07:08 UTC
looks like distcc doesnt have a proper PATH 
Comment 2 SpanKY gentoo-dev 2003-02-11 00:08:36 UTC
*** Bug 15373 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2003-02-11 00:39:44 UTC
*** Bug 15478 has been marked as a duplicate of this bug. ***
Comment 4 Zach Welch (RETIRED) gentoo-dev 2003-02-11 17:21:09 UTC
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.
Comment 5 Zach Welch (RETIRED) gentoo-dev 2003-02-11 17:50:36 UTC
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 ***