Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25024 - gdm emerge fails when makeopts is set greater than -j2
Summary: gdm emerge fails when makeopts is set greater than -j2
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-21 19:38 UTC by yak
Modified: 2003-08-10 17:37 UTC (History)
0 users

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 yak 2003-07-21 19:38:12 UTC
gdm fails to compile with a higher number of parallel makes. Compiles fine if
MAKEOPTS="-j2" but fails with -j3 or higher. 

Reproducible: Always
Steps to Reproduce:
1. set MAKEOPTS="-j3" or higher
2. emerge gdm
3.

Actual Results:  
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -g -Wall -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -o test-ve-config test-ve-config.o
-Wl,--export-dynamic -pthread  -L/usr/X11R6/lib /usr/lib/libgnomeui-2.so -L/usr/lib
/usr/lib/libjpeg.so -lSM -lICE /usr/lib/libbonoboui-2.so
/usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libesd.so
/usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libart_lgpl_2.so
/usr/lib/libpangoft2-1.0.so /usr/lib/libbonobo-2.so
/usr/lib/libORBitCosNaming-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so
-lrt /usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so
/usr/lib/liblinc.so -lssl -lcrypto /usr/lib/libgthread-2.0.so
/usr/lib/libglade-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so
-lpthread -lz /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so
/usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
-L/var/tmp/portage/gdm-2.4.1.3/work/gdm-2.4.1.3/vicious-extensions -lvicious
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lvicious
collect2: ld returned 1 exit status
distcc[20328] ERROR: compile on localhost failed with exit code 1
make[3]: *** [test-ve-config] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/gdm-2.4.1.3/work/gdm-2.4.1.3/vicious-extensions'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gdm-2.4.1.3/work/gdm-2.4.1.3/vicious-extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gdm-2.4.1.3/work/gdm-2.4.1.3'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: gnome-base/gdm-2.4.1.3 failed.
!!! Function src_compile, Line 64, Exitcode 2
!!! (no error message)

Expected Results:  
completed the emerge

root@zeus yak # emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.1-r4,2.3.2-r1)
=================================================================
System uname: 2.4.21_rc8-gss i686 AMD Athlon(tm) XP 2700+
GENTOO_MIRRORS="ftp://kalypso/ ftp://artemis/ http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
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=""
USE="x86 oss crypt cups encode foomaticdb gif java libg++ libwww mad mikmod
motif nls pdflib quicktime slang spell xml2 zlib gdbm berkdb readline gpm tcpd
pam ssl imlib oggvorbis qt 3dnow alsa apm -arts avi cdr dga dvd esd jpeg -kde
gnome gtk mmx mozilla mpeg ncurses opengl perl png python samba sdl sse svga
tcltk truetype usb xmms xv X"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j5"
AUTOCLEAN="no"
SYNC="rsync://kalypso/gentoo-portage"
FEATURES="sandbox ccache distcc userpriv usersandbox"
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2003-07-22 04:59:52 UTC
works fine here with MAKEOPTS="-j3" (I've got a HT-capable P4). Perhaps the real problem here is due to distcc and the number of jobs? 
Comment 2 yak 2003-07-24 10:59:42 UTC
Yea, you're right, without distcc it works fine on the XP2700+ here also. Don't know why I didn't think to disable distcc and try it again. 
The other distcc hosts are a K6-3/550 and a K6-3/400. I also emerged gdm on the K6-3/550 and it worked fine with distcc enabled and MAKEOPTS="-j5". Both computers are set up similarly, so it leads me to believe it is not only distcc and MAKEOPTS but also the speed difference between the distcc hosts. 
Comment 3 foser (RETIRED) gentoo-dev 2003-08-10 17:37:07 UTC
not going to cap number of jobs for one ill-reproducable problem in combo with distcc. closing