Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 59906

Summary: mozilla-mozilla-0.9.3-r1and mozilla-firefox-0.9.3-r1 fail to build on amd64
Product: Gentoo Linux Reporter: thither <thither>
Component: New packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2004.1   
Hardware: AMD64   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description thither 2004-08-09 15:22:30 UTC
This problem occurs for both net-www/mozilla-firefox-0.9.3-r1 and net-www/mozilla-0.9.3-r1.  When I try to emerge them I get this error when the build gets around to linking libgklayout:

g++ -I/usr/X11R6/include -fno-rtti -fno-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fPIC -Wno-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O1 -fPIC -shared -Wl,-h -Wl,libgklayout.so -o libgklayout.so  nsLayoutModule.o nsContentHTTPStartup.o nsContentDLF.o       -Wl,--whole-archive ../../dist/lib/libgkhtmlbase_s.a ../../dist/lib/libgkhtmldoc_s.a ../../dist/lib/libgkhtmlforms_s.a ../../dist/lib/libgkhtmlstyle_s.a ../../dist/lib/libgkhtmltable_s.a ../../dist/lib/libgkxulbase_s.a ../../dist/lib/libgkbase_s.a ../../dist/lib/libgkconbase_s.a ../../dist/lib/libgkconevents_s.a ../../dist/lib/libgkconhtmlcon_s.a ../../dist/lib/libgkconhtmldoc_s.a ../../dist/lib/libgkconhtmlstyle_s.a ../../dist/lib/libgkconxmlcon_s.a ../../dist/lib/libgkconxmldoc_s.a ../../dist/lib/libgkconxbl_s.a ../../dist/lib/libgkconxuldoc_s.a ../../dist/lib/libgkconshared_s.a ../../dist/lib/libgkview_s.a ../../dist/lib/libjsdombase_s.a ../../dist/lib/libjsdomevents_s.a ../../dist/lib/libjsurl_s.a  ../../dist/lib/libgkxultree_s.a ../../dist/lib/libgkxulgrid_s.a ../../dist/lib/libgkconxulcon_s.a ../../dist/lib/libgkconxultmpl_s.a  ../../dist/lib/libgkmathmlcon_s.a ../../dist/lib/libgkmathmlbase_s.a  -Wl,--no-whole-archive -L../../dist/bin -L../../dist/lib -lgkgfx ../../dist/lib/libunicharutil_s.a -L../../dist/bin -lxpcom  -L../../dist/bin -L/var/tmp/portage/mozilla-firefox-0.9.3-r1/work/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -L../../dist/bin -lmozjs  -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    -Wl,--version-script -Wl,../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm
`.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' referenced in section `.rodata' of ../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o): defined in discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of ../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o)
collect2: ld returned 1 exit status
gmake[3]: *** [libgklayout.so] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9.3-r1/work/mozilla/layout/build'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9.3-r1/work/mozilla/layout'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9.3-r1/work/mozilla'
make: *** [default] Error 2

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

------------------------------------------------------------------------

Here is my emerge --info. 

------------------------------------------------------------------------

Portage 2.0.50-r9 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040619-r1, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 x86_64 4
Gentoo Base System version 1.5.2
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.binarycompass.org http://gentoo.ccccom.com http://gentoo.llarian.net/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X alsa amd amd64 apache2 apm arts avi berkdb crypt curl dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg junit kde libg++ libwww log4j mikmod motif mozilla moznocompose moznoirc mpeg multilib mysql ncurses nls nogcj oggvorbis opengl oss pam parse-clocks pcap pcmcia pdflib perl png postgres python qt quicktime radeon readline ruby samba sdl slang speedo speex spell ssl tcltk tcpd threads truetype wxwindows xalan xerces xml xml2 xmms xv zlib"
Comment 1 Charles Noneman 2004-08-11 08:26:33 UTC
I think he means net-www/mozilla-1.7.2. This looks like the same bug as <a href="http://bugs.gentoo.org/show_bug.cgi?id=59887">Bug 59887.</a>
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-08-11 11:29:34 UTC

*** This bug has been marked as a duplicate of 59887 ***