Bug 71956 - ladspa-sdk ebuild doesn't play well with distcc
Bug#: 71956 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: eradicator@gentoo.org Reported By: tredman1@tampabay.rr.com
Component: Applications
URL: 
Summary: ladspa-sdk ebuild doesn't play well with distcc
Keywords:  
Status Whiteboard: 
Opened: 2004-11-21 09:19 0000
Description:   Opened: 2004-11-21 09:19 0000
When attempting to merge media-libs/ladspa-sdk-1.12-r2, a vague error is
produced from a distcc node:

distcc[20182] ERROR: compile plugins/filter.c on gw.redman.homelinux.org/2
failed with exit code 110
make: *** [../plugins/filter.so] Error 110
make: *** Waiting for unfinished jobs....
ld -o ../plugins/delay.so plugins/delay.o -shared
make: *** Waiting for unfinished jobs....
distcc[20195] ERROR: compile load.c on gw.redman.homelinux.org/2 failed with
exit code 110
make: *** [load.o] Error 110


Reproducible: Always
Steps to Reproduce:
1.  emerge ladspa-sdk, with FEATURES="distcc" enabled
2.
3.

Actual Results:  
See posted error.

Expected Results:  
media-libs/ladspa-sdk-1.12-r2 should have merged.

Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4,
glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r4 i686)
=================================================================
System uname: 2.6.9-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mmmx -msse -mfpmath=sse -Os -fomit-frame-pointer
-falign-functions=4 -falign-jumps=4"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb
/usr/kde/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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -mmmx -msse -mfpmath=sse -Os -fomit-frame-pointer
-falign-functions=4 -falign-jumps=4 -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com
http://gentoo.mirrors.pair.com/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gw.redman.homelinux.org/gentoo-portage"
USE="X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cscope cups curl dga
encode fam flac foomaticdb gdbm gif gtk gtk2 imagemagick imlib jack java jpeg
junit kde libwww maildir md5sum mmx motif mpeg ncurses offensive oggvorbis
opengl oss pam pda pdflib perl png ppds python qt quicktime readline samba sdl
slang sndfile softmmu spell sse ssl tiff truetype usb userlocales x86 xml xml2
xmms xv zlib"

SOLUTION:  For me, merging as follows solved the problem:

MAKEOPTS="-j1" emerge ladspa-sdk

For my setup, this forces the compile to occur only on localhost.  An alternate
method of doing this would be to disable distcc in FEATURES.

------- Comment #1 From Jeremy Huddleston (RETIRED) 2004-11-21 13:29:44 0000 -------
now fixed in cvs...