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

Bug 60115

Summary: When compiling mozilla 1.7.2 the process exited with an errormessage
Product: Gentoo Linux Reporter: Georg Schild <dangertools>
Component: New packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Georg Schild 2004-08-11 21:48:17 UTC
Mozilla 1.7.2 is not able to compile on amd64. I have 1.7.1-r1 installed so it has to be a problem with the newer version. The same is with firefox-0.9.3-r1. 0.9.3 is installed, it compiled without any problems.

Reproducible: Always
Steps to Reproduce:
1. emerge mozilla
2.
3.

Actual Results:  
/dist/include/docshell -I../../dist/include/htmlparser -I../../dist/include/js
-I../../dist/include/xpconnect -I../../dist/include/uriloader
-I../../dist/include/caps -I../../dist/include/necko2 -I../../dist/include/rdf
-I../../dist/include/xuldoc -I../../dist/include/imglib2
-I../../dist/include/pref -I../../dist/include/unicharutil
-I../../dist/include/xul -I../../dist/include/xultmpl -I../../dist/include/lwbrk
-I../../dist/include/plugin -I../../dist/include/commandhandler
-I../../dist/include/webbrwsr -I../../dist/include/uconv
-I../../dist/include/layout -I../../dist/include
-I/portage/tmp/portage/mozilla-1.7.2/work/mozilla/dist/include/nspr     -I.
-I./../base/src -I./../html/base/src -I./../html/forms/src -I./../html/style/src
-I./../xul/content/src -I./../xul/base/src -I./../../content/base/src
-I./../../content/html/content/src -I./../../content/html/document/src
-I./../../content/html/style/src -I./../../content/xul/content/src
-I./../../content/xul/templates/src -I./../../content/events/src
-I../../view/src -I../../dom/src/base -I../../dom/src/jsurl -I. 
-I./../mathml/content/src -I/usr/X11R6/include   -fPIC  -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  -I/usr/X11R6/include -DMOZILLA_CLIENT
-include ../../mozilla-config.h -Wp,-MD,.deps/nsContentDLF.pp nsContentDLF.cpp
In file included from nsLayoutModule.cpp:121:
../html/base/src/nsFrame.h:392: warning: `virtual void*
   nsFrame::GetProperty(nsIPresContext*, nsIAtom*, int) const' was hidden
../html/forms/src/nsTextControlFrame.h:155: warning:   by `virtual nsresult
   nsTextControlFrame::GetProperty(nsIAtom*, nsAString&)'
../html/base/src/nsFrame.h:397: warning: `virtual nsresult
   nsFrame::SetProperty(nsIPresContext*, nsIAtom*, void*, void
   (*)(nsIPresContext*, nsIFrame*, nsIAtom*, void*))' was hidden
../html/forms/src/nsTextControlFrame.h:154: warning:   by `virtual nsresult
   nsTextControlFrame::SetProperty(nsIPresContext*, nsIAtom*, const nsAString&)
   '
In file included from ../../content/xul/content/src/nsXULElement.h:64,
                 from nsLayoutModule.cpp:180:
../../dist/include/dom/nsIDOMXULSelectCntrlEl.h:33: warning: `virtual nsresult
  
nsIDOMXULSelectControlElement::GetSelectedItem(nsIDOMXULSelectControlItemElement**)
   ' was hidden
../../dist/include/dom/nsIDOMXULMultSelectCntrlEl.h:69: warning:   by `virtual
   nsresult nsIDOMXULMultiSelectControlElement::GetSelectedItem(int,
   nsIDOMXULSelectControlItemElement**)'
rm -f libgklayout.so
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/portage/tmp/portage/mozilla-1.7.2/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
`/portage/tmp/portage/mozilla-1.7.2/work/mozilla/layout/build'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/portage/tmp/portage/mozilla-1.7.2/work/mozilla/layout'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/portage/tmp/portage/mozilla-1.7.2/work/mozilla'
make: *** [default] Error 2

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



Expected Results:  
New mozilla

$ emerge info
Portage 2.0.50-r9 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040619-r1,
2.6.8-rc3)
=================================================================
System uname: 2.6.8-rc3 x86_64 4
Gentoo Base System version 1.5.2
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 /usr/X11R6/lib/X11/xkb /usr/kde/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="/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/portage/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY="/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi aim alsa amd64 apm arts avi berkdb bonobo cdr crypt cups divx4linux
dvd dvdr encode esd flash foomatic foomaticdb ftp gdbm gif gnome gphoto2 gpm gtk
gtk2 gtkhtml icq imlib jabber java jpeg libg++ libwww mikmod ming motif mozilla
mpeg msn ncurses nls nogcj oggvorbis opengl oss pam pcmcia pdflib perl png ppds
python qt quicktime readline samba scanner sdl slang spell ssl tcpd truetype usb
xine xml2 xmms xosd xv yahoo zlib"

I had some useflags depending on the configuration of mozilla in but without the
same problem appears. I have also tried with -pipe because this flag is in the
make.conf.example but this doesn't change something too.
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-08-12 07:10:10 UTC

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