Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43082 - mozilla 1.6-r1 doesn't compile
Summary: mozilla 1.6-r1 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-27 04:51 UTC by Geert Hauwaerts.
Modified: 2004-03-03 07:09 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 Geert Hauwaerts. 2004-02-27 04:51:07 UTC
Can't emerge mozilla-1.6-r1

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

Actual Results:  
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/include/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
-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-long-long -mcpu=i686 -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/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)


root@Liszt  01:34pm  ~  # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.4.22-gentoo-r7)
=================================================================
System uname: 2.4.22-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -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.2/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/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/
ftp://ftp.gentoo.skynet.be/pub/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib accounting alsa apm arts avi berkdb bluetooth bonobo cdr chroot
crypt cups curl directfb dvdr encode esd ffmpeg fftw firebird foomaticdb
freetype freetype-version-1 fs gb gcl gd gd-external gdbm gif gnome gnutls
gphoto2 gpm gtk gtk2 gtkhtml guile imagemagick imlib java javamail javascript
jbig jpeg kde ldap libg++ libwww mad maildir md5sum mdb mikmod motif mozaccess
mozilla mozinterfaceinfo mpeg mpeg4 msn mysql ncurses net nls nvidia oggvorbis
opengl openssh oss pam pdflib perl png python qt quicktime readline sdl slang
snmp spell ssl svga tcltk tcpd tetex tiff truetype x86 xine xml2 xmms xv zlib"

root@Liszt  01:50pm  ~  #
Comment 1 Brad Laue (RETIRED) gentoo-dev 2004-03-02 09:47:14 UTC
Remove mozaccess from USE flags and try again
Comment 2 Geert Hauwaerts. 2004-03-02 10:49:03 UTC
That worked.
Comment 3 Stewart (RETIRED) gentoo-dev 2004-03-03 07:09:39 UTC
mozaccess is actually an unsupported USE flag - an upstream feature that sometimes doesn't build or work depending on the version of mozilla released.