Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41112 - mozilla firefox fails to compile
Summary: mozilla firefox fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 07:37 UTC by Brendan Chandler
Modified: 2004-02-15 08:50 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 Brendan Chandler 2004-02-10 07:37:51 UTC
Mozilla Firefox fails to compile for me... here's some relevant information:

USE="X gtk gtk2 oss esd xinerama mozilla avi flac oggvorbis opengl png python samba tiff java jpeg -arts -qt -kde -gnome alsa"

CFLAGS="-O2 -march=i686 -pipe"


          [snip] 
* Parsing Makefiles...
/usr/bin/gmake -C config export
gmake[1]: Entering directory `/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/config'
rm -f nfspwd
rm -f revdepth
pathsub.c
nsinstall.c
gcc -o host_nsinstall.o -c -march=i686 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -DXP_UNIX -O2 -O2   -I../dist/include -I../dist/include -I/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/dist/include/nspr     -I/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/dist/include/nspr  nsinstall.c
gcc -o host_pathsub.o -c -march=i686 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -DXP_UNIX -O2 -O2   -I../dist/include -I../dist/include -I/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/dist/include/nspr     -I/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/dist/include/nspr  pathsub.c
cp nfspwd.pl nfspwd
chmod +x nfspwd
/usr/bin/perl -I. ./bdate.pl build_number 
gcc -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\"   -I../dist/include -I../dist/include -I/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/dist/include/nspr     -I/usr/X11R6/include   -fPIC -I/usr/X11R6/include  -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -march=i686 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2 -O2  -I/usr/X11R6/include -include ../mozilla-config.h -DMOZILLA_CLIENT  -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/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -o elf-dynstr-gc elf-dynstr-gc.c    -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   
cp revdepth.pl revdepth
chmod +x revdepth
rm -f nsBuildID.h
/usr/bin/perl -I. ./aboutime.pl -m ./milestone.txt nsBuildID.h build_number ./nsBuildID.h.in
gcc -o nsinstall -march=i686 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -DXP_UNIX -O2 -O2  host_nsinstall.o host_pathsub.o   
host_pathsub.o(.text+0x3b): In function `fail':
: undefined reference to `__builtin_va_start'
collect2: ld returned 1 exit status
distcc[31067] ERROR: compile on localhost failed
gmake[1]: *** [nsinstall] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/config'
make: *** [default] Error 2

!!! ERROR: net-www/mozilla-firefox-0.8 failed.
!!! Function src_compile, Line 200, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge mozilla-firefox
Comment 1 Sven Wegener gentoo-dev 2004-02-10 07:43:05 UTC
Could you please try

FEATURES="-distcc" emerge net-www/mozilla-firefox
Comment 2 Brendan Chandler 2004-02-10 10:16:44 UTC
It finished compiling after disabling distcc.

It works now.
Comment 3 Brad Laue (RETIRED) gentoo-dev 2004-02-15 08:50:18 UTC
Distcc issue