emerge info: Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3-r2, glibc-2.2.5-r4,2.3.2-r1, 2.4.20-gentoo-r1-2) [ebuild U ] net-www/mozilla-1.5 [1.4-r4] +java +crypt -ipv6 +gtk2 +ssl +ldap +gnome -debug +mozcalendar +mozaccess +mozp3p -mozxmlterm -moznoirc -moznomail -moznocompose -moznoxft ACCEPT_KEYWORDS="~x86" emerge net-www/mozilla ... 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/mnt/home5/portage/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 -march=athlon -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 nsAccessProxyRegistration.cpp 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/mnt/home5/portage/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 -march=athlon -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/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: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.) 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.... 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 `/mnt/home5/portage/tmp/portage/mozilla-1.5/work/mozilla/extensions/access-builtin/accessproxy' I will try to emerge without 'mozaccess' use flag.
Can confirm this. It's wise you decided that Lars, because I ran upon the same error as you; and building it without this flag shis seems to be working for me. I figured it out late though :-/
Same here. Without mozaccess flag it works :-). [ebuild R ] net-www/mozilla-1.5 +java +crypt -ipv6 +gtk2 +ssl +ldap +gnome -debug +mozcalendar -mozaccess +mozp3p -mozxmlterm -moznoirc -moznomail -moznocompose -moznoxft
What's the md5sum on both of your mozilla tarballs?
The md5sum match the one from mozilla-1.5.ebuild md5sum portage/distfiles/mozilla-source-1.5.tar.bz2 9d59651eac39a95da756d38fe5385896 portage/distfiles/mozilla-source-1.5.tar.bz2 And it was hand-pick from www.mozilla.org because the one from gentoo mirror had bad checksum (and one was too short).
-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 -march=pentium3 -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: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*)' 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) Similar error... i'm using gcc-3.3.1-r5 and ACCEPT_KEYWORDS="~x86" I should mention it appears someone on the forum came up with a solution... Apparently some header files aren't being located in src and are located somewhere else... See the url below for details... A refreshed ebuild should close this bug... Just to note I also had the bad md5sum errors on sunday i think which i gather were resolved...
Don't forget to post that URL ;)
hehe oopz :) here it is... http://forums.gentoo.org/viewtopic.php?t=97904&highlight=mozilla1+5
*** Bug 31843 has been marked as a duplicate of this bug. ***
I get the same error but I also have some pretty crazy USE flags. It looks like there is already a fix for this but in case this helps anyone, here is my error output. I'm using -fstack-protector which is a known troublemaker :) ---------------------------------------------------------------------- make[4]: Entering directory `/var/tmp/portage/mozilla-1.5/work/mozilla/extension s/access-builtin/accessproxy' nsAccessProxy.cpp g++ -o nsAccessProxy.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -I../../../d ist/include/xpcom -I../../../dist/include/string -I../../../dist/include/docshel l -I../../../dist/include/dom -I../../../dist/include/widget -I../../../dist/inc lude/gfx -I../../../dist/include/layout -I../../../dist/include/content -I../../ ../dist/include/uriloader -I../../../dist/include/pref -I../../../dist/include/e mbedcomponents -I../../../dist/include/accessproxy -I../../../dist/include -I/va r/tmp/portage/mozilla-1.5/work/mozilla/dist/include/nspr -I/usr/X11R6/includ e -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wp ointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -W no-long-long -fstack-protector -mcpu=pentium4 -pipe -s -fforce-addr -Wno-depreca ted -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: 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*)' 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 358, Exitcode 2 !!! (no error message)
What happens if you do: # MAKEOPTS=-j1 emerge mozilla
#ACCEPT_KEYWORDS="~x86" MAKEOPTS=-j1 emerge mozilla Doesn't work. Same error.
confirmed
This is a result of upstream breakage. As you may know, the additional extensions are not guaranteed or even likely to build properly from release to release - header files have been moved around and some have been retired, breaking the access-builtin extension for now. Is this an extension people are depending on?
If you tell me *what* a nsIAccessProxy is, I will tell you wheter I depend on it or not... :)
The problem is due to moznomail, if this option is activated, the headers of mozmail are not there and can't be used. This don't work : USE="ipv6 gtk2 mozcalendar mozxmlterm moznoric moznomail moznocompose" ACCEPT_KEYWORDS="~x86" emerge -v mozilla This work : USE="ipv6 gtk2 mozcalendar mozxmlterm moznoric moznocompose" ACCEPT_KEYWORDS="~x86" emerge -v mozilla galeon epiphany
I've got moznomail deactivated, but it doesn't compile, either. ACCEPT_KEYWORDS="~x86" emerge -pv mozilla net-www/mozilla-1.5 [1.4-r3] +java +crypt -ipv6 +gtk2 +ssl +ldap +gnome -debug +mozcalendar +mozaccess +mozxmlterm -moznoirc -moznomail -moznocompose -moznoxft
Eddahbi, moznomail-errors have nothing to do with mozaccess-failure, so if moznomail-useflag is not working please create a new bug.
mozilla 1.5-r1 doesn't solve the problem. Please raise the severity of this bug to critical.
Upstream issue; the access-builtin extension is in the process of being either retired or fixed by mozilla.org itself. Replacing all the headers that were deprecated in this release threatens to break or destabilize the mozilla build itself. There is a warning in the ebuild stating that the non-default extensions are not guaranteed to build or work - if you need access-builtin, 1.4.1 is available for use
same issue with mozilla-1.6