I have had this problem building the current stable version of Mozilla firefox. Each time I get stopped with the message: nsToolkitCompsCID.h: No such file or directory I am not sure why this happens or what is differnt about my system vs other Gentoo linux users Reproducible: Always Steps to Reproduce: 1.emerge mozilla-firefox 2. 3. Actual Results: nsIBrowserHistory.idl ../../../../dist/bin/xpt_link _xpidlgen/history.xpt _xpidlgen/nsIBrowserHistory.xpt /var/tmp/portage/mozilla-firefox-0.9.1/work/mozilla/config/nsinstall -R -m 644 _xpidlgen/history.xpt ../../../../dist/bin/components gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9.1/work/mozilla/toolkit/components/history/public' gmake[2]: Entering directory `/var/tmp/portage/mozilla-firefox-0.9.1/work/mozilla/xpfe' gmake[3]: Entering directory `/var/tmp/portage/mozilla-firefox-0.9.1/work/mozilla/xpfe/browser/public' /var/tmp/portage/mozilla-firefox-0.9.1/work/mozilla/config/nsinstall -R -m 644 _xpidlgen/mozbrwsr.xpt ../../../dist/gre/components /var/tmp/portage/mozilla-firefox-0.9.1/work/mozilla/config/nsinstall -R -m 644 _xpidlgen/mozbrwsr.xpt ../../../dist/bin/components gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9.1/work/mozilla/xpfe/browser/public' gmake[3]: Entering directory `/var/tmp/portage/mozilla-firefox-0.9.1/work/mozilla/xpfe/browser/src' nsBrowserInstance.cpp g++ -o nsBrowserInstance.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/webshell -I../../../dist/include/necko -I../../../dist/include/shistory -I../../../dist/include/widget -I../../../dist/include/gfx -I../../../dist/include/content -I../../../dist/include/docshell -I../../../dist/include/appshell -I../../../dist/include/dom -I../../../dist/include/js -I../../../dist/include/uriloader -I../../../dist/include/pref -I../../../dist/include/appcomps -I../../../dist/include/webbrwsr -I../../../dist/include/windowwatcher -I../../../dist/include/history -I../../../dist/include/toolkitcomps -I../../../dist/include/history -I../../../dist/include/browser -I../../../dist/include -I/var/tmp/portage/mozilla-firefox-0.9.1/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -frtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -mcpu=i686 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-M D,.deps/nsBrowserInstance.pp nsBrowserInstance.cpp nsBrowserStatusFilter.cpp g++ -o nsBrowserStatusFilter.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/webshell -I../../../dist/include/necko -I../../../dist/include/shistory -I../../../dist/include/widget -I../../../dist/include/gfx -I../../../dist/include/content -I../../../dist/include/docshell -I../../../dist/include/appshell -I../../../dist/include/dom -I../../../dist/include/js -I../../../dist/include/uriloader -I../../../dist/include/pref -I../../../dist/include/appcomps -I../../../dist/include/webbrwsr -I../../../dist/include/windowwatcher -I../../../dist/include/history -I../../../dist/include/toolkitcomps -I../../../dist/include/history -I../../../dist/include/browser -I../../../dist/include -I/var/tmp/portage/mozilla-firefox-0.9.1/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -frtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -mcpu=i686 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsBrowserStatusFilter.pp nsBrowserStatusFilter.cpp nsBrowserInstance.cpp:107:31: nsToolkitCompsCID.h: No such file or directory gmake[3]: *** [nsBrowserInstance.o] Error 1 gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9.1/work/mozilla/xpfe/browser/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9.1/work/mozilla/xpfe' gmake[1]: *** [tier_50] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9.1/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-firefox-0.9.1 failed. !!! Function src_compile, Line 206, Exitcode 2 !!! (no error message) Expected Results: to build all of the proper components I have tried this with and without Cflags set. here are parts of my /etc/make.conf with "USE" flags USE="cdparanoia debug tcltk readline png tiff jpeg ncurses stroke rplay java gtk2 perl -arts -gnome -kde -crypt aalib svga gtk2 fbcon ssl tcpd apache mysql truetype" Also using current stable branches of gcc and glibc Kernel: 2.6.5 I should also note that this same thing happens with any mozilla application that I try to build: mozilla nvu. Each application is missing some file or directory during the building phase
is it fixed by the new version? 0.9.3? if so, please close
There is absolutely no change...I just tried emerging yesterday when I noticed a new version of firefox. I get the same exact error. All of my "system" packages are stable version.
An update to this bug situation. I have built two brand new systems and was able to install the latest and greatest mozilla-firefox, mozilla-thunderbird and Nvu (things I was not able to install previously) All on identical hardware and USE flags So there is something definitely conflicting with the install for firefox. On one of the newly built systems, I installed a few extra applications and libs and on that system...firefox wont install. On the other system. I have basic things installed...xorg requirements, gtk gnome libraries and fvwm as my wm. I am now going to try to uninstall mplayer and the mplayerplug-in....those are the only two things that I can think of that are different.
Catherine, does this problem still occur with mozilla-firefox-1.0-r1? If so, please try this (as root) rm -rf /var/tmp/portage/mozilla-firefox* MAKEOPTS=-j1 emerge mozilla-firefox If that works, I'd really like to know about it. I'm tracking a couple problems that look like this.
The other problems I mentioned were an error on my part in mozconfig.eclass, which is now fixed. I suspect this bug is stale. Please re-open if you can repro with mozilla-firefox-1.0-r2
Oh, I thought I had closed this! I have not ever been able to reproduce this after I built my new system. And so far have been able to build up to the latest stable ebuild for mozilla-firefox. If anything changes, I will be sure to notify. Thanks!