Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 38644

Summary: emerging anything with the distcc feature doesn't worlk at all (but distcc works fine when compiling something by hand)
Product: Gentoo Linux Reporter: Clément VARALDI <clement>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://www.enseirb.fr/~varaldi/emergeLog/
Whiteboard:
Package list:
Runtime testing required: ---

Description Clément VARALDI 2004-01-18 13:40:33 UTC
Firstly, I try the distcc possibilities with a little program (peacock), with :
make -j3 CC="distcc".
I use two AMD-XP, and it works fine.

Then, I tried to link distcc with emerge (FEATURES="distcc" CC="distcc" -or "distcc gcc"- and CXX="distcc g++", MAKEOPTS="-j3").
I tried with : emerge xfce4-toys and it didn't work.

So I did the same test with another package (pilot-link), and logged it (http://www.enseirb.fr/~varaldi/emergeLog/ for the logs and some config files).
It didn't work too.

I don't see the problem, and asked for some help on #gentoofr@freenode, and nobody could find the problem.

no problem with iptables, nor with the two PCs.
both PCs have been upgraded this morning (emerge rsync && emerge -UD world ok for both of them)

Reproducible: Always
Steps to Reproduce:
1. emerge APackageThatUsegccToCompile
2. that's all folks
3. (see the activity of distcc with distccmon-text 1 and tcpdump and top -d1)

Actual Results:  
The package is well installed, but the compilation seemed not to use distcc

Expected Results:  
use the distcc possibilities ^@^.
However, in emerge info, COMPILER is set to gcc3, I don't know if it's a problem
or not. CC is set to "distcc gcc" and CXX to "distcc g++" as I read here :
http://forums.gentoo.org/viewtopic.php?t=16455

Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r7   
)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled   
]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1   
/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/tmp/distccd"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib apm arts avi berkdb bonobo cdr crypt encode esd foomaticdb gdbm gif   
 gnome gpm gtk gtk2 gtkhtml imlib java jpeg kde libg++ libwww mad mikmod motif m   
peg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quickti   
me readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-01-18 17:17:27 UTC

*** This bug has been marked as a duplicate of 38643 ***