Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44428 - Mozilla 1.6-r1 ebuild fails after some compiling
Summary: Mozilla 1.6-r1 ebuild fails after some compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-12 00:49 UTC by Mogens Meier Christensen
Modified: 2004-03-15 07:39 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 Mogens Meier Christensen 2004-03-12 00:49:53 UTC
I have tried many times to emerge Mozilla 1.6-r1 with emerge -Uu world or emerge mozilla - but this emerge always fails (and stops) with Mozilla 1.6-r1 after some time.

Reproducible: Always
Steps to Reproduce:
emerge mozilla
Actual Results:  
[...lots of compile output...]

g++ -o mozMySpell.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"
-DHAVE_DEPENDENT_LIBS  -I../../../../dist/include/xpcom
-I../../../../dist/include/string -I../../../../dist/include/editor
-I../../../../dist/i
nclude/content -I../../../../dist/include/layout -I../../../../dist/include/dom
-I../../../../dist/include/necko -I../../../../dist/include/widget
-I../../../../dist/include/gfx -I../../../../dist/include/txt
svc -I../../../../dist/include/uconv -I../../../../dist/include/unicharutil
-I../../../../dist/include/spellchecker -I../../../../dist/include/nspr
-I../../../../dist/include/myspell -I../../../../dist/includ
e -I/var/tmp/portage/mozilla-1.6-r1/work/mozilla/dist/include/nspr     -I.
-I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions
-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverlo
aded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -march=athlon-xp
-pipe -s -fforce-addr -Wno-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG
-DTRIMMED -ffunction-sections -O2  -I/usr/X11R6/include
 -DMOZILLA_CLIENT -include ../../../../mozilla-config.h
-Wp,-MD,.deps/mozMySpell.pp mozMySpell.cpp
myspSuggestmgr.cpp
g++ -o myspSuggestmgr.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"
-DHAVE_DEPENDENT_LIBS  -I../../../../dist/include/xpcom
-I../../../../dist/include/string -I../../../../dist/include/editor -I../../../../di
st/include/content -I../../../../dist/include/layout
-I../../../../dist/include/dom -I../../../../dist/include/necko
-I../../../../dist/include/widget -I../../../../dist/include/gfx
-I../../../../dist/include
/txtsvc -I../../../../dist/include/uconv -I../../../../dist/include/unicharutil
-I../../../../dist/include/spellchecker -I../../../../dist/include/nspr
-I../../../../dist/include/myspell -I../../../../dist/in
clude -I/var/tmp/portage/mozilla-1.6-r1/work/mozilla/dist/include/nspr     -I.
-I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions
-Wall -Wconversion -Wpointer-arith -Wcast-align -Wov
erloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -march=athlon-xp
-pipe -s -fforce-addr -Wno-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG
-DTRIMMED -ffunction-sections -O2  -I/usr/X11R6/inc
lude -DMOZILLA_CLIENT -include ../../../../mozilla-config.h
-Wp,-MD,.deps/myspSuggestmgr.pp myspSuggestmgr.cpp
mozMySpellFactory.cpp
g++ -o mozMySpellFactory.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"
-DHAVE_DEPENDENT_LIBS  -I../../../../dist/include/xpcom
-I../../../../dist/include/string -I../../../../dist/include/editor -I../../../..
/dist/include/content -I../../../../dist/include/layout
-I../../../../dist/include/dom -I../../../../dist/include/necko
-I../../../../dist/include/widget -I../../../../dist/include/gfx
-I../../../../dist/incl
ude/txtsvc -I../../../../dist/include/uconv
-I../../../../dist/include/unicharutil -I../../../../dist/include/spellchecker
-I../../../../dist/include/nspr -I../../../../dist/include/myspell
-I../../../../dist
/include -I/var/tmp/portage/mozilla-1.6-r1/work/mozilla/dist/include/nspr    
-I. -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions
-Wall -Wconversion -Wpointer-arith -Wcast-align -
Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long
-march=athlon-xp -pipe -s -fforce-addr -Wno-deprecated -fshort-wchar -pthread
-pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -I/usr/X11R6/
include -DMOZILLA_CLIENT -include ../../../../mozilla-config.h
-Wp,-MD,.deps/mozMySpellFactory.pp mozMySpellFactory.cpp
rm -f libmyspell.so
g++ -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-long-long -march=athlon-xp -pipe -s -fforce-addr -Wn
o-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED
-ffunction-sections -O2 -fPIC -shared -Wl,-h -Wl,libmyspell.so -o libmyspell.so
 mozCStr2CStrHashtable.o mozAffixMod.o myspAffixmgr.o mozMySpell.o
 myspSuggestmgr.o mozMySpellFactory.o       -L../../../../dist/bin
-L../../../../dist/lib -L../../../../dist/bin -lxpcom 
-L/var/tmp/portage/mozilla-1.6-r1/work/mozilla/dist/lib -lplds4 -lplc4 -lnspr4
-lpthre
ad -ldl   -Wl,--version-script
-Wl,../../../../build/unix/gnu-ld-scripts/components-version-script
-Wl,-Bsymbolic -ldl -lm    
chmod +x libmyspell.so
strip libmyspell.so
../../../../config/nsinstall -R -m 755 libmyspell.so ../../../../dist/lib/components
../../../../dist/bin/elf-dynstr-gc ../../../../dist/lib/components/libmyspell.so
Couldn't GC any strings, exiting.
../../../../config/nsinstall -R -m 755 libmyspell.so ../../../../dist/bin/components
../../../../dist/bin/elf-dynstr-gc ../../../../dist/bin/components/libmyspell.so
Couldn't GC any strings, exiting.
make[5]: Leaving directory
`/var/tmp/portage/mozilla-1.6-r1/work/mozilla/extensions/spellcheck/myspell/src'
make[5]: Entering directory
`/var/tmp/portage/mozilla-1.6-r1/work/mozilla/extensions/spellcheck/myspell/dictionaries'
../../../../config/nsinstall -R ./en-US.dic ./en-US.aff 
../../../../dist/bin/components/myspell
make[5]: Leaving directory
`/var/tmp/portage/mozilla-1.6-r1/work/mozilla/extensions/spellcheck/myspell/dictionaries'
make[4]: Leaving directory
`/var/tmp/portage/mozilla-1.6-r1/work/mozilla/extensions/spellcheck/myspell'
make[3]: Leaving directory
`/var/tmp/portage/mozilla-1.6-r1/work/mozilla/extensions/spellcheck'
make[3]: Entering directory
`/var/tmp/portage/mozilla-1.6-r1/work/mozilla/extensions/access-builtin'
make[4]: Entering directory
`/var/tmp/portage/mozilla-1.6-r1/work/mozilla/extensions/access-builtin/accessproxy'
nsAccessProxy.cpp
g++ -o nsAccessProxy.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" 
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/docshell -I../../../dist/include/dom -I../../../dist/in
clude/widget -I../../../dist/include/gfx -I../../../dist/include/layout
-I../../../dist/include/content -I../../../dist/include/uriloader
-I../../../dist/include/pref -I../../../dist/include/embedcomponents -
I../../../dist/include/accessproxy -I../../../dist/include
-I/var/tmp/portage/mozilla-1.6-r1/work/mozilla/dist/include/nspr    
-I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wa
ll -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-long-long -march=athlon-xp -pipe -s -fforce-addr
-Wno-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG -D
TRIMMED -ffunction-sections -O2  -I/usr/X11R6/include -DMOZILLA_CLIENT -include
../../../mozilla-config.h -Wp,-MD,.deps/nsAccessProxy.pp nsAccessProxy.cpp
nsAccessProxy.cpp:46:25: nsIRegistry.h: No such file or directory
In file included from nsAccessProxy.cpp:52:
../../../dist/include/content/nsIDocument.h:48:20: nsIURI.h: No such file or
directory
../../../dist/include/content/nsIDocument.h:53:26: nsILoadGroup.h: No such file
or directory
In file included from nsAccessProxy.cpp:52:
../../../dist/include/content/nsIDocument.h: In instantiation of
`nsDerivedSafe<nsIURI>':
../../../dist/include/content/nsIDocument.h:135:   instantiated from here
../../../dist/include/content/nsIDocument.h:135: error: base class `nsIURI' has 
   incomplete type
../../../dist/include/content/nsIDocument.h: In member function `nsIURI* 
   nsIDocument::GetDocumentURL() const':
../../../dist/include/content/nsIDocument.h:135: error: cannot convert `const 
   nsCOMPtr<nsIURI>' to `nsIURI*' in return
../../../dist/include/content/nsIDocument.h: In member function `nsIURI* 
   nsIDocument::GetBaseURL() const':
../../../dist/include/content/nsIDocument.h:163: error: cannot convert `const 
   nsCOMPtr<nsIURI>' to `nsIURI*' in return
In file included from nsAccessProxy.cpp:58:
nsAccessProxy.h:35:28: nsIAccessProxy.h: No such file or directory
In file included from nsAccessProxy.cpp:58:
nsAccessProxy.h: In static member function `static const nsID& 
   nsAccessProxy::GetCID()':
nsAccessProxy.h:64: error: `NS_ACCESSPROXY_CID' undeclared (first use this 
   function)
nsAccessProxy.h:64: error: (Each undeclared identifier is reported only once 
   for each function it appears in.)
nsAccessProxy.cpp: In member function `virtual nsresult 
   nsAccessProxy::HandleEvent(nsIDOMEvent*)':
nsAccessProxy.cpp:102: error: `GetType' undeclared (first use this function)
nsAccessProxy.cpp:113: error: cannot convert `nsIDOMEvent*' to `nsISupports*' 
   for argument `1' to `const nsQueryInterface do_QueryInterface(nsISupports*, 
   nsresult*)'
../../../dist/include/xpcom/nsCOMPtr.h: In member function `nsCOMPtr<T>& 
   nsCOMPtr<T>::operator=(T*) [with T = nsIURI]':
../../../dist/include/content/nsIDocument.h:136:   instantiated from here
../../../dist/include/xpcom/nsCOMPtr.h:570: error: no matching function for 
   call to `nsCOMPtr<nsIURI>::assign_with_AddRef(nsIURI*&)'
../../../dist/include/xpcom/nsCOMPtr.h:407: error: candidates are: void 
   nsCOMPtr_base::assign_with_AddRef(nsISupports*)
../../../dist/include/xpcom/nsISupportsUtils.h: In static member function `
   static const nsIID& nsCOMTypeInfo<T>::GetIID() [with T = nsILoadGroup]':
../../../dist/include/xpcom/nsIWeakReferenceUtils.h:62:   instantiated from
`nsresult CallQueryReferent(T*, DestinationType**) [with T =
nsDerivedSafe<nsIWeakReference>, DestinationType = nsILoadGroup]'
../../../dist/include/content/nsIDocument.h:154:   instantiated from here
../../../dist/include/xpcom/nsISupportsUtils.h:202: error: incomplete type '
   nsILoadGroup' cannot be used to name a scope
make[4]: *** [nsAccessProxy.o] Error 1
make[4]: Leaving directory
`/var/tmp/portage/mozilla-1.6-r1/work/mozilla/extensions/access-builtin/accessproxy'
make[3]: *** [libs] Error 2
make[3]: Leaving directory
`/var/tmp/portage/mozilla-1.6-r1/work/mozilla/extensions/access-builtin'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/var/tmp/portage/mozilla-1.6-r1/work/mozilla/extensions'
make[1]: *** [tier_94] Error 2
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.6-r1/work/mozilla'
make: *** [default] Error 2

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


Expected Results:  
emerge without any failures

# emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r7)
=================================================================
System uname: 2.4.22-gentoo-r7 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="  -g0 -march=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -fforce-addr
-falign-functions=4 -pipe  "
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="  -g0 -march=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3
-fforce-addr -falign-functions=4 -pipe  "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://212.219.56.146/sites/www.ibiblio.org/gentoo/
http://194.83.57.7/sites/www.ibiblio.org/gentoo/
http://194.83.57.3/sites/www.ibiblio.org/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp.uninett.no/pub/linux/Gentoo ftp://ftp.easynet.nl/mirror/gentoo/
http://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.linux.no/pub/gentoo/
http://gentoo.linux.no/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3ds S3TC X Xaw3d aalib aavm acpi acpi4linux alsa amd apache2 apm arts
avi berkdb bindist bonobo cdr crypt cups curl dedicated dga directfb dvb dvd
emacs emacs-w3 encode esd ethereal evms2 evo expat fastcgi fbcon fbdev flash
foomaticdb foreign-package foreign-sysvinit freetype gb gd gd-external gdbm gif
ginac gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml hyriand imagemagick
imap imlib imlib2 innodb java javascript jbig joystick jpeg kde ladcca lcms ldap
libg++ libgda libwww mad mbox mcal mdb mikmod mmx motif mozaccess mozcalendar
mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mpeg mule music mysql nas
ncurses nls nvidia nviz oav oci8 odbc ofx oggvorbis opengl oss pam pdflib perl
php pic plotutils png pnp postgres prebuilt python qt quicktime readline samba
sasl scanner sdl slang spell sqlite sse ssl svga tcpd tetex tiff transcode
truetype type1 uml unicode usb wmf x86 xface xinerama xml xml2 xmms xv xvid zeo
zlib"
Comment 1 Brad Laue (RETIRED) gentoo-dev 2004-03-14 11:11:09 UTC
Please do not use the mozaccess USE flag.
Comment 2 Mogens Meier Christensen 2004-03-15 07:39:22 UTC
OK thanks a lot for helping - no problems without mozaccess.
(But I think it is a workaround and not a fix; the ebuild should imho either use the keyword (whatever the meaning is?) or ignore it completely - not crash...?)

I don't know how to mark bugs as duplicates, but I think these are:
38823, 41459, 41640, 43082