On my SMP box gdm-2.8.0.5 does not compile with -j4. I changed MAKEOPTS in /etc/make.conf to -j1 and it did the job. Reproducible: Always Steps to Reproduce: Actual Results: if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -march=athlon-mp -O3 -pipe -funroll-loops -fprefetch-loop-arrays -Wall -Wmissing-prototypes -MT test-ve-config.o -MD -MP -MF ".deps/test-ve-config.Tpo" -c -o test-ve-config.o test-ve-config.c; \ then mv -f ".deps/test-ve-config.Tpo" ".deps/test-ve-config.Po"; else rm -f ".deps/test-ve-config.Tpo"; exit 1; fi make[3]: *** No rule to make target `../vicious-extensions/libvicious.a', needed by `test-ve-config'. Stop. make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/gdm-2.8.0.5/work/gdm-2.8.0.5/vicious-extensions' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gdm-2.8.0.5/work/gdm-2.8.0.5/vicious-extensions' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gdm-2.8.0.5/work/gdm-2.8.0.5' make: *** [all] Error 2 !!! ERROR: gnome-base/gdm-2.8.0.5 failed. !!! Function gnome2_src_compile, Line 48, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.53_rc3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13.1 i686) ================================================================= System uname: 2.6.13.1 i686 AMD Athlon(TM) MP 2000+ Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-mp -O3 -pipe -funroll-loops -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-mp -O3 -pipe -funroll-loops -fprefetch-loop-arrays" DISTDIR="/var/cache/http-replicator" FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://www.gigaload.org/gentoo.org/ http://gentoo.mirror.icd.hu/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.inode.at/ ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.math.bme.hu http://mirror.switch.ch/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/" LINGUAS="de en zh_CN zh_TW ja ko" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X Xaw3d aalib acl acpi aim alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib cdr cjk crypt cscope ctype cups curl curlwrappers dio directfb divx4linux doc dvd dvdr eds emacs emacs-w3 emboss encode esd ethereal exif faac faad fam fbcon flac foomaticdb fortran ftp gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap imlib imlib2 innodb ipv6 jabber jack java javascript jikes jpeg jpeg2k junit kde kdeenablefinal kerberos ldap lesstiff libcaca libg++ libgda libwww mad maildir mbox mikmod mime mmap mmx mng motif mozilla mp3 mpeg msn mysql nas ncurses nis nls nntp nptl odbc ogg oggvorbis openal opengl oscar oss pam pdflib perl php plotutils png posix postgres ppds python qt quicktime readline recode ruby samba scanner sdl slang snmp soap sockets sox speex spell spl sse ssl svg svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vhosts vorbis wmf wxwindows xface xine xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid yahoo zlib linguas_de linguas_en linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Hmmm... It built fine here with -j3. I'll try again with -j4, when I get access to my bigger box.
One thing that I am wondering about is, that after emerge fails and I change to /var/tmp/portage/gdm-2.8.0.5/work/gdm-2.8.0.5 and fire 'make' manually, the whole package builds fine. BTW: I have the following USE flags set: gnome-base/gdm-2.8.0.5 -debug +ipv6 +pam (-selinux) +tcpd -xinerama
-j12 set for mine (yeah, too many processors to be human). I'm wondering if this has anything to do with compile order, just throwing that out there. I remember having this sort of trouble building mythtv manually with distcc-or with SMP in the earlier days (i.e., compile this directory first, this directory next.) I did a manual make in this directory: /var/tmp/portage/gdm-2.8.0.5/work/gdm-2.8.0.5/vicious-extensions and then stepped throught the ebuild process and everything seemed to work as expected which leads me to believe that since that directory was compiled the -j12 no longer hindered the ebuild process.
*** This bug has been marked as a duplicate of 33432 ***
*** Bug 108760 has been marked as a duplicate of this bug. ***
*** Bug 108968 has been marked as a duplicate of this bug. ***