How to (try to) reproduce: 2. emerge galeon I get this error on nsURLHelper.o nsURLHelper.lo rm -f libmozilla-interaction.a ar cru libmozilla-interaction.a mozilla.o BaseProtocolHandler.o BaseProtocolContentHandler.o ContentHandler.o EventContext.o FilePicker.o FtpProtocolHandler.o GaleonWrapper.o GlobalHistory.o IRCProtocolHandler.o MailtoProtocolHandler.o MozRegisterComponents.o MyportalProtocolHandler.o PrintProgressListener.o JSConsoleListener.o JSConsoleService.o ProgressListener2.o PromptService.o ar: BaseProtocolHandler.o: No such file or directory make[3]: *** [libmozilla-interaction.a] Error 1 make[3]: *** Waiting for unfinished jobs.... c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/lib/mozilla/include -I/usr/lib/mozilla/include/nspr -I/usr/lib/mozilla/include/appcomps -I/usr/lib/mozilla/include/caps -I/usr/lib/mozilla/include/content -I/usr/lib/mozilla/include/cookie -I/usr/lib/mozilla/include/docshell -I/usr/lib/mozilla/include/dom -I/usr/lib/mozilla/include/exthandler -I/usr/lib/mozilla/include/find -I/usr/lib/mozilla/include/gfx -I/usr/lib/mozilla/include/gtkembedmoz -I/usr/lib/mozilla/include/helperAppDlg -I/usr/lib/mozilla/include/java -I/usr/lib/mozilla/include/js -I/usr/lib/mozilla/include/jsconsole -I/usr/lib/mozilla/include/layout -I/usr/lib/mozilla/include/mimetype -I/usr/lib/mozilla/include/mozxfer -I/usr/lib/mozilla/include/necko -I/usr/lib/mozilla/include/necko2 -I/usr/lib/mozilla/include/nkcache -I/usr/lib/mozilla/include/oji -I/usr/lib/mozilla/include/pref.. etc... -D_REENTRANT -I/usr/include/libglade-1.0 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -DLIB_DIR=\"/usr/lib/galeon\" -DSHARE_DIR=\"/usr/share/galeon\" -fno-rtti -Wall -Wmissing-declarations -Wmissing-prototypes -Wsign-compare -c gProtocolModule.cpp -fPIC -DPIC cc1plus: warning: changing search order for system directory "/usr/include" cc1plus: warning: as it has already been specified as a non-system directory In file included from /usr/include/g++-v32/backward/new.h:33, from /usr/lib/mozilla/include/string/nsBufferHandleUtils.h:36, from /usr/lib/mozilla/include/string/nsSharableString.h:35, from /usr/lib/mozilla/include/string/nsPromiseFlatString.h:28, from /usr/lib/mozilla/include/string/nsString2.h:70, from /usr/lib/mozilla/include/string/nsString.h:54, from BaseProtocolHandler.h:24, from BaseHelpProtocolHandler.h:22, from GHelpProtocolHandler.h:27, from gProtocolModule.cpp:22:/usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. mv -f gProtocolModule.o gProtocolModule.lo make[3]: Leaving directory `/var/tmp/portage/galeon-1.2.5/work/galeon-1.2.5/src/mozilla' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/galeon-1.2.5/work/galeon-1.2.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/galeon-1.2.5/work/galeon-1.2.5' make: *** [all-recursive-am] Error 2 Another time it crashed with: -DSHARE_DIR=\"/usr/share/galeon\" -fno-rtti -Wall -Wmissing-declarations -Wmissing-prototypes -Wsign-compare -c gProtocolModule.cpp gcc: -zcombreloc: linker input file unused because linking not done mv -f prefcheck.o prefcheck.lo rm -f libmozilla-interaction.a ar cru libmozilla-interaction.a mozilla.o BaseProtocolHandler.o BaseProtocolContentHandler.o ContentHandler.o EventContext.o FilePicker.o FtpProtocolHandler.o GaleonWrapper.o GlobalHistory.o IRCProtocolHandler.o MailtoProtocolHandler.o MozRegisterComponents.o MyportalProtocolHandler.o PrintProgressListener.o JSConsoleListener.o JSConsoleService.o ProgressListener2.o PromptService.o ar: BaseProtocolHandler.o: No such file or directory make[3]: *** [libmozilla-interaction.a] Error 1 make[3]: *** Waiting for unfinished jobs.... The bug isn't exactly reproducible but I managed to get it at least twice on my gentoo 1.4 beta running Linux cs178057 2.4.19 #4 Mon Aug 19 10:08:28 EEST 2002 i686 AuthenticAMD compiled from vanilla-sources. gcc is gcc-3.2. Solution: changing emake -> make in galeon-1.2.5.ebuild fixes the problem.
I changed it to say: emake || make || die coz it works for some with the emake option... please test and report.
Works for me.