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: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:103: forward declaration of `struct nsIDOMEvent' nsAccessProxy.cpp:113: cannot convert `nsIDOMEvent*' to `nsISupports*' for argument `1' to `const nsQueryInterface do_QueryInterface(nsISupports*, nsresult*)' 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]: *** [nsAccessProxy.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [nsAccessProxyRegistration.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/mozilla-1.5-r1/work/mozilla/extensions/access-builtin/accessproxy' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/var/tmp/portage/mozilla-1.5-r1/work/mozilla/extensions/access-builtin' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/var/tmp/portage/mozilla-1.5-r1/work/mozilla/extensions' make[1]: *** [tier_94] Error 2 make[1]: Leaving directory `/var/tmp/portage/mozilla-1.5-r1/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-1.5-r1 failed. !!! Function src_compile, Line 371, Exitcode 2 !!! (no error message) USE flags: +java +crypt +ipv6 +gtk2 +ssl +ldap +gnome -debug -mozcalendar +mozaccess +mozxmlterm +moznoirc +moznomail +moznocompose -moznoxft Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-test5-mm2) ================================================================= System uname: 2.6.0-test5-mm2 i686 AMD Athlon(tm) MP 2000+ Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="ccache autoaddcvs sandbox userpriv usersandbox fixpackages" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline tetex aalib bonobo svga tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk motif opengl cdr scanner 3dnow acl cscope directfb dga doc dvb dvd faad fbcon gb gd ggi gtk2 gtkhtml imap ipv6 leim mozilla mozsvg mozxmlterm mozaccess mozp3p moznocompose moznoirc moznomail mpi nas nptl samba sse tiff usb xface xfs xml -arts -qt -kde ldap pic snmp"
The reason was the +mozaccess flag. Without it mozilla compiles fine.
same error here ): i'll try w/o mozaccess and then tell ya
In retrospect the ewarns aren't good enough to stop people from failing to build mozilla - the system should be trusted to build a package unattended in this case, because brokenness shouldn't be deliberately left exposed with a note stuck to it. Removing the mozaccess USE flag for this release should cure things.