Figured I'd be the first in this time to say firefox doesn't compile. I can'd find much in this error, but maybe its reproducable, firefox is way to big for me to dig around in. Creating .deps Creating ../../../dist/include/liveconnect /usr/bin/perl -I../../../config ../../../config/build-list.pl ../../../config/final-link-libs jsj /var/tmp/portage/mozilla-firefox-1.0_rc1/work/mozilla/config/nsinstall -R -m 644 jsjava.h _jni/netscape_javascript_JSObject.h _jni/netscape_javascript_JSException.h nsILiveconnect.h nsISecureLiveconnect.h nsISecurityContext.h ../../../dist/include/liveconnect /usr/bin/perl -I../../../config ../../../config/build-list.pl ../../../dist/include/liveconnect/.headerlist jsjava.h netscape_javascript_JSObject.h netscape_javascript_JSException.h nsILiveconnect.h nsISecureLiveconnect.h nsISecurityContext.h gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0_rc1/work/mozilla/js/src/liveconnect' gmake[2]: Entering directory `/var/tmp/portage/mozilla-firefox-1.0_rc1/work/mozilla/modules/oji' gmake[3]: Entering directory `/var/tmp/portage/mozilla-firefox-1.0_rc1/work/mozilla/modules/oji/public' Creating ../../../dist/include/oji Creating _xpidlgen/.done gmake[3]: *** wait: No child processes. Stop. gmake[3]: *** Waiting for unfinished jobs.... gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0_rc1/work/mozilla/modules/oji/public' gmake[2]: *** [export] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0_rc1/work/mozilla/modules/oji' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0_rc1/work/mozilla' make: *** [default] Error 2 My info. Portage 2.0.51-r2 (default-linux/x86/2004.3, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.9-rc4-love1 i686) ================================================================= System uname: 2.6.9-rc4-love1 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz Gentoo Base System version 1.6.4 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -mfpmath=sse -ffast-math -ftracer -fomit-frame-pointer -fweb -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /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=pentium4 -O2 -mfpmath=sse -ffast-math -ftracer -fomit-frame-pointer -fweb -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/trunk" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa applypatches atm bitmap-fonts cdr chroot crypt cups curl encode f77fam fbcon flac foomaticdb gd gdbm gif gpm gtk gtk2 imagemagick imlib innondb ithreads javascript jpeg kde libcaca libwww maildir md5sum mmx motif mozilla mozinterfaceinfo moznoirc moznomail mozp3p mozsvg mpeg mysql ncurses nptl nptlonly oggvorbis opengl pam pdflib perl pic png ppds python qt quicktime readline sdl spell sqlite sse sse2 ssl theora threads tiff truetype userlocales x86 xine xml xml2 xmms xprint xv xvid zlib"
Let's try paring those CFLAGS down to something sane and try the build again... Try: -march=pentium4 -O2 -pipe
Oh, I should have you know, the ebuild strips all those flags out, so that is not the problem.
That's not 100% guaranteed.
What an annoying piece of crap.. Its so unpredictable.. I must have looked at the compile the wrong way yesterday, because i tried it today and it compiled. Without touching CFLAGS or anything.. so i'm gonna mark this bug invalid, because it was just being dumb.
I was talking to a fellow dev earlier and he pointed out something I'd missed. gmake[3]: *** wait: No child processes. Stop. gmake[3]: *** Waiting for unfinished jobs.... This points to a race condition. It's possible that make -j2 is the culprit. It would match sometimes working and sometimes not, too. It all depends on which job finishes first at the right time in the build process. Roll the dice. Thanks for the bug report, I'll definitely have a look into this more closely.
Yes, as a matter of fact I thought of that a couple times.. perhaps my system was under too much load to do 2 cc's at once. I left it alone when i recompiled, so this is most likely what caused it.
I do parallel builds all the time, in dual-processor and distcc environments on 4 different platforms (alpha, amd64, ia64 and x86). I haven't seen this happen on any recent mozilla. I'll close this bug for now... don't worry, if there is a race, we'll get more bugs and plug the hole... ;-)