On Fri, 16 Jul 2004 03:10:07 +0200, Reid Priedhorsky wrote: > Hello, > > I am trying to build mozilla-firefox 0.8-12 from testing. I'm following > the directions at > <http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html#s-sourcepkgs>. On an > unmodified source tree (fetched with "apt-get source mozilla-firefox"), > the build fails with the following error: > > gcc -o host_nsinstall.o -c -DXP_UNIX -pipe MOZ_OPTIMIZE_LDFLAGS = > -I../dist/include -I../dist/include > -I/usr/local/src/mozilla-firefox-0.8/dist/include/nspr -I/usr/include > -I/usr/include -I/usr/include -I/usr/local/src/mozilla-firefox-0.8/dist/include/nspr > nsinstall.c > gcc: cannot specify -o with -c or -S and multiple compilations > make[2]: *** [host_nsinstall.o] Error 1 > make[2]: Leaving directory `/usr/local/src/mozilla-firefox-0.8/config' > make[1]: *** [default] Error 2 > make[1]: Leaving directory `/usr/local/src/mozilla-firefox-0.8' > make: *** [build-stamp] Error 2
To follow up myself, it turns out that Firefox does not build correctly if /bin/sh is dash. The workaround is to either link /bin/sh to bash temporarily, or re-bang some shell scripts to use /bin/bash. The upstream source seems to compile fine if /bin/sh is dash (or, at least, it gets past where the deb source blows up -- I didn't finish the compile). I should have stopped by the BTS before asking here. Here is the relevant bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=256384 It appears that the question of why the build fails is still open. The mozilla-firefox maintainer has invited patches to fix the bug. Reid -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]