g++ -o nsAccessProxyRegistration.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 -pipe -mcpu=7400 -O2 -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/nsAccessProxyRegistration.pp nsAccessProxyRegistration.cpp In file included from nsAccessProxyRegistration.cpp:31: nsAccessProxy.h:35:28: nsIAccessProxy.h: No such file or directory nsAccessProxy.cpp:46:25: nsIRegistry.h: No such file or directory In file included from nsAccessProxyRegistration.cpp:31: nsAccessProxy.h: In static member function `static const nsID& nsAccessProxy::GetCID()': nsAccessProxy.h:64: `NS_ACCESSPROXY_CID' undeclared (first use this function) nsAccessProxy.h:64: (Each undeclared identifier is reported only once for each function it appears in.) nsAccessProxyRegistration.cpp:33: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: base class `nsIURI' has incomplete type ../../../dist/include/content/nsIDocument.h: In member function `nsIURI* nsIDocument::GetDocumentURL() const': ../../../dist/include/content/nsIDocument.h:135: 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: cannot convert `const nsCOMPtr<nsIURI>' to `nsIURI*' in return nsAccessProxyRegistration.cpp: In function `nsresult nsAccessProxyRegistrationProc(nsIComponentManager*, nsIFile*, const char*, const char*, const nsModuleComponentInfo*)': nsAccessProxyRegistration.cpp:60: syntax error before `,' token nsAccessProxyRegistration.cpp: At global scope: nsAccessProxyRegistration.cpp:74: `NS_ACCESSPROXY_CONTRACTID' was not declared in this scope make[4]: *** [nsAccessProxyRegistration.o] Error 1 make[4]: *** Waiting for unfinished jobs.... 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: `NS_ACCESSPROXY_CID' undeclared (first use this function) nsAccessProxy.h:64: (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: invalid use of undefined type `struct nsIDOMEvent' ../../../dist/include/dom/domstubs.h:107: forward declaration of `struct nsIDOMEvent' nsAccessProxy.cpp:113: 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: no matching function for call to ` nsCOMPtr<nsIURI>::assign_with_AddRef(nsIURI*&)' ../../../dist/include/xpcom/nsCOMPtr.h:407: 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: no method `nsILoadGroup:: GetIID' 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 emerge info: Portage 2.0.50-r6 (default-ppc-2004.1, gcc-3.2.3, glibc-2.3.3_pre20040420-r0, 2.4.26-pegasos) ================================================================= System uname: 2.4.26-pegasos ppc 7457, altivec supported Gentoo Base System version 1.4.11 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-strict-aliasing" CHOST="powerpc-unknown-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/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/lib/jboss /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-strict-aliasing" DISTDIR="/usr/portage/distfiles" FEATURES="ccache cvs sandbox userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.rhnet.is/pub/gentoo/ ftp://ftp.rxd.hu ftp://ftp.uninett.no/pub/linux/Gentoo http://212.219.247.11/sites/www.ibiblio.org/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3ds X X509 Xaw3d aalib acl alsa altivec apache2 arts artswrappersuid asterisk async audiofile berkdb bindist canna cap caps client composite crypt cscope cups curl dga djbfft dnd dv dvd editor encode escreen esd expat faad fam fbcon fbdev ffmpeg fftw flac flash fluidsynth fmod foomaticdb freetds freetype gd gd-external gif ginac glut gmtfull gmthigh gmtsuppl gmttria gphoto2 gpm gstreamer gtk gtk2 gtkhtml idea ieee1394 imagemagick imlib imlib2 jabber jack jack-caps java javascript jikes joystick jpeg junit justify kde ladcca lcms ldap ldirectord leim libcaca libdsk libg libsamplerate libwww lufsusermount lzw-tiff mad matroska mcal md5sum migemo mikmod mitshm mmap mng monkey mono motif mozaccess mozcalendar mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mpeg mpeg4 msn mule ncurses net objc offensive oggvorbis openal opengl openssh oscar oss pam pcre pda pdflib perl pg-hier pg-vacuumdelay php physfs pic pie plotutils png portaudio ppc pwdb python qt quicktime radeon readline regexp rogue ruby samba scanner sdk sdl server sheep skey slang slp socks5 sox speex spell ssl stencil-buffer t1lib tcltk tcpd tetex theora threads tiff tlen tools transcode truetype type1 usb utf8 video_cards_radeon videos wmf wsconvert wxwin wxwindows xatrix xface xfs xine xinerama xml xml2 xmms xosd xv xvid yahoo zeo zlib"
This will be fixed once mozilla 1.7 becomes stable on all arches. For now please remove mozaccess from your USE flags and try the build again.