Mozilla 1.5 build fails with the following errors: nsIRegistry.h: No such file or directory nsIAccessProxy.h: No such file or directory This is the full make report: make[4]: Entering directory `/var/tmp/portage/mozilla-1.5/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.5/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 -march=athlon-xp -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: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*)' make[4]: *** [nsAccessProxy.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/mozilla-1.5/work/mozilla/extensions/access-builtin/accessproxy' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/var/tmp/portage/mozilla-1.5/work/mozilla/extensions/access-builtin' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/var/tmp/portage/mozilla-1.5/work/mozilla/extensions' make[1]: *** [tier_94] Error 2 make[1]: Leaving directory `/var/tmp/portage/mozilla-1.5/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-1.5 failed. !!! Function src_compile, Line 350, Exitcode 2 #emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22) ================================================================= System uname: 2.4.22 i686 AMD Athlon(TM) XP 2000+ Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/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="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt encode foomaticdb jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xmms xv zlib gdbm berkdb slang readline arts tetex bonobo svga java X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl gphoto2 3dnow aalib apache2 cdr cscope cups curl directfb dga doc dvb faad fbcon flash gd ggi gif gtk2 guile jikes kerberos imap lcms ldap mcal memlimit mmx mozaccess mozcalendar mozilla mozp3p mozsvg mozxmlterm mpi mysql offensive parse-clocks ppds prelude samba scanner skey slp snmp sse tcltk tiff v4l vim-with-x wmf wxwindows X509 xchattext xml xml2 xvid"
Same results on my Sparc: 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]: *** [nsAccessProxyRegistration.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [nsAccessProxy.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/mozilla-1.5/work/mozilla/extensions /access-builtin/accessproxy' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/var/tmp/portage/mozilla-1.5/work/mozilla/extensions /access-builtin' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/var/tmp/portage/mozilla-1.5/work/mozilla/extensions ' make[1]: *** [tier_94] Error 2 make[1]: Leaving directory `/var/tmp/portage/mozilla-1.5/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-1.5 failed. !!! Function src_compile, Line 350, Exitcode 2 !!! (no error message) -------------------------------------------------------------- # emerge info Portage 2.0.49-r15 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.2-r7, 2.4.22-sparc-r0) ================================================================= System uname: 2.4.22-sparc-r0 sparc64 sun4u Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=ultrasparc -O3 -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=ultrasparc -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="sparc arts avi crypt cups encode fbcon foomaticdb gif gnome imlib jpeg kde libwww mad mikmod motif mpeg ncurses nls oss png pdflib sdl spell truetype xv xml2 xmms zlib gdbm berkdb slang readline X gpm tcpd pam ssl perl python esd oggvorbis gtk qt opengl amd antlr apache2 autofs bonobo bsh cdr cgi clamav clanJavaScript clanVoice dga directfb doc dv dvd dvdr evo exiscan exiscan-acl faad fam fastcgi fax fbdev ffmpeg fltk freetds gb gd geoip gnomedb gphoto2 gps gtk2 gtkhtml imap informix innodb java javascript jbig jdepend jikes joystick lcd ldap libgda maildir mbox mcal memlimit mozaccess mozcalendar mozilla mozinterfaceinfo moznoxft mozp3p mozsvg mozxmlterm mysql nas oci8 odbc offensive pcap pda php postgres quicktime rplay samba sasl scanner sdk snmp socks5 sox sqlite tcltk tiff usb wmf wxwindows xine xinerama xosd xvid"
*** This bug has been marked as a duplicate of 31398 ***