Mozilla 1.6 is crashing when compiling: nsAccessProxy.cpp Reproducible: Always Steps to Reproduce: 1.emerge mozilla 2. 3. Actual Results: make[4]: Entering directory `/var/tmp/portage/mozilla-1.6/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/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 -march=pentium4 -mcpu=pentium4 -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/work/mozilla/extensions/access-builtin/accessproxy' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/var/tmp/portage/mozilla-1.6/work/mozilla/extensions/access-builtin' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/var/tmp/portage/mozilla-1.6/work/mozilla/extensions' make[1]: *** [tier_94] Error 2 make[1]: Leaving directory `/var/tmp/portage/mozilla-1.6/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-1.6 failed. !!! Function src_compile, Line 370, Exitcode 2 !!! (no error message) Expected Results: It should have emerged correctly! euler root # emerge info Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0,2.3.3_pre20040117-r0, 2.4.22-gentoo-r1) ================================================================= System uname: 2.4.22-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHzGentoo Base System version 1.4.3.12 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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="-march=pentium4 -mcpu=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://descartes/gentoo-portage/" USE="3ds X aalib acpi acpi4linux altcolors apache2 apm auctex avi berkdb bonobo cdr cjk cmucl crypt cups curl directfb doc dvd emacs encode esd ethereal evo faad fam fbcon firebird flac flash foomaticdb freetds gb gd gd-external gdbm gif ginac glut gmttria gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile hbci imagemagick imap imlib imlib2 informix innodb irda irmc java javascript jpeg lcms ldap leim libg++ libgda libwww lids lirc mad mcal mdb memlimit mikmod mmx mng motif mozaccess mozilla moznocompose moznoirc moznomail mpeg music mysql ncurses nls odbc oggvorbis openal opengl oss pam pdflib perl pg-hier pg-intdatetime pg-vacuumdelay plotutils png pnp postgres ppds prelude python qhull quicktime radeon readline sdl slang snmp spell sqlite sse ssl svga tcltk tcpd tetex tiff transcode truetype usb videos x86 xml xml2 xmms xv zlib video_cards_radeon"
Same problem here. I solved not using the "mozaccess" flag. You dont use the "mozcalendar" flag, but dont enable it or you will get another error. Bye
You're right, without mozaccess variable, one gets no error. :D
mozaccess is an unsupported extension, only provided for convenience. We can't support it at the Gentoo level because it's not even supported at the Mozilla.org level. There are some forum posts on how to get it to build, these may be of some help. Otherwise, please remove mozaccess from USE if it does not build.