Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69316 - mozilla-firefox-1.0_rc1 fails to compile
Summary: mozilla-firefox-1.0_rc1 fails to compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest critical (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-28 13:28 UTC by Joe Kappus
Modified: 2004-11-15 20:37 UTC (History)
1 user (show)

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 Joe Kappus 2004-10-28 13:28:03 UTC
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"
Comment 1 Brad Laue (RETIRED) gentoo-dev 2004-10-28 22:03:11 UTC
Let's try paring those CFLAGS down to something sane and try the build again...

Try:

-march=pentium4 -O2 -pipe
Comment 2 Joe Kappus 2004-10-29 20:33:31 UTC
Oh, I should have you know, the ebuild strips all those flags out, so that is not the problem.
Comment 3 Brad Laue (RETIRED) gentoo-dev 2004-10-29 21:44:28 UTC
That's not 100% guaranteed.
Comment 4 Joe Kappus 2004-10-29 22:40:51 UTC
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.
Comment 5 Brad Laue (RETIRED) gentoo-dev 2004-10-29 23:39:26 UTC
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.
Comment 6 Joe Kappus 2004-10-30 16:08:15 UTC
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.
Comment 7 Aron Griffis (RETIRED) gentoo-dev 2004-11-15 20:37:52 UTC
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... ;-)