On Thu, Sep 25, 2014 at 12:33:04AM -0400, Alan Feuerbacher wrote: > > I've installed a pile of programs and am now to the point of installing > Firefox-32.0.1. I'm getting a compile error that ends with this: > > ################## > c++ -o nsXPComInit.o -c -I../../dist/stl_wrappers > -I../../dist/system_wrappers > -include /sources/Firefox-32.0.1/mozilla-release/config/gcc_hidden.h > -DOS_POSIX=1 -DOS_LINUX=1 -D_IMPL_NS_STRINGAPI -DOMNIJAR_NAME='omni.ja' > -DTARGET_XPCOM_ABI='"x86_64-gcc3"' -DMOZ_OPTIMIZE -DMOZ_GLUE_IN_PROGRAM > -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DNO_NSPR_10_SUPPORT > -I/sources/Firefox-32.0.1/mozilla-release/xpcom/build -I. > -I/sources/Firefox-32.0.1/mozilla-release/ipc/chromium/src > -I/sources/Firefox-32.0.1/mozilla-release/ipc/glue > -I/sources/Firefox-32.0.1/mozilla-release/xpcom/build/../base > -I/sources/Firefox-32.0.1/mozilla-release/xpcom/build/../components > -I/sources/Firefox-32.0.1/mozilla-release/xpcom/build/../ds > -I/sources/Firefox-32.0.1/mozilla-release/xpcom/build/../glue > -I/sources/Firefox-32.0.1/mozilla-release/xpcom/build/../io > -I/sources/Firefox-32.0.1/mozilla-release/xpcom/build/../reflect/xptinfo/src > -I/sources/Firefox-32.0.1/mozilla-release/xpcom/build/../threads > -I/sources/Firefox-32.0.1/mozilla-release/chrome/src > -I/sources/Firefox-32.0.1/mozilla-release/docshell/base > -I/sources/Firefox-32.0.1/mozilla-release/media/libvpx > -I/sources/Firefox-32.0.1/mozilla-release/firefox-build-dir/ipc/ipdl/_ipdlheaders > -I.. -I../../dist/include -I/usr/include/nspr -I/usr/include/nss > -I/sources/Firefox-32.0.1/mozilla-release/firefox-build-dir/dist/include > -I/usr/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include > ../../mozilla-config.h -MD -MP -MF .deps/nsXPComInit.o.pp -Wall > -Wpointer-arith -Woverloaded-virtual -Werror=return-type > -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Wsign-compare > -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing > -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe > -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer > /sources/Firefox-32.0.1/mozilla-release/xpcom/build/nsXPComInit.cpp > make[5]: Leaving directory > '/sources/Firefox-32.0.1/mozilla-release/firefox-build-dir/modules/libpref/src' > make[5]: Leaving directory > '/sources/Firefox-32.0.1/mozilla-release/firefox-build-dir/xpcom/build' > make[4]: Leaving directory > '/sources/Firefox-32.0.1/mozilla-release/firefox-build-dir' > /sources/Firefox-32.0.1/mozilla-release/config/recurse.mk:39: recipe for > target 'compile' failed > make[3]: *** [compile] Error 2 > make[3]: Leaving directory > '/sources/Firefox-32.0.1/mozilla-release/firefox-build-dir' > /sources/Firefox-32.0.1/mozilla-release/config/rules.mk:592: recipe for > target 'default' failed > make[2]: *** [default] Error 2 > make[2]: Leaving directory > '/sources/Firefox-32.0.1/mozilla-release/firefox-build-dir' > /sources/Firefox-32.0.1/mozilla-release/client.mk:400: recipe for target > 'realbuild' failed > make[1]: *** [realbuild] Error 2 > make[1]: Leaving directory '/sources/Firefox-32.0.1/mozilla-release' > client.mk:187: recipe for target 'build' failed > make: *** [build] Error 2 > ################## > > I can usually figure out what has gone wrong with a compilation, but this > has got me stumped. > > Alan
To me, that looks like a parallel make [ which, on firefox, is the default for a multiprocessor system - we editors have to edit the mozconfig to do a -j1 build for timing ]. The error was before that. Possibly a long way before that, in a completely different part of the code. If you have the log, you are in for some tedious searching - mozilla code is full of filenames or function names which contain Error. Or, you could do a single-threaded build (again, log it) by uncommenting the line #mk_add_options MOZ_MAKE_FLAGS="-j1" ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
