Building the .src.rpm of Mozilla 1.0rc2 on Zoot (RHL 6.2) fails with this error: Patch #10 (mozilla-redhat-home-page-6.2.patch): + patch -p1 -s 2 out of 3 hunks FAILED -- saving rejects to xpfe/browser/resources/locale/en-US/region.properties.rej error: Bad exit status from /var/tmp/rpm-tmp.11827 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.11827 (%prep) This happens with locale set to en_US or fr_FR so it doesn't look locale-specific
patch problem with the rpm --> blizzard
it looks like the homepage patches just need the "/1.0/".
Created attachment 84304 [details] [diff] [review] New RedHat 6.2 home page patch This patch has the '1.0/' added to paths so it works.
marking NEW nominating for 1.0 note that this occurs with both home page patches (normal and 6.2)
Replacing the mozilla-redhat-home-page-6.2 patch in 1.0rc2 with Richard's fixes the problem. The .src.rpm compiles on RHL 6.2
The same new patch fixes the rc3 rpm build.
*** Bug 146640 has been marked as a duplicate of this bug. ***
Building 1.0rc3 fails with the same error (as described in #146640). Applying the patch makes the build fail with this message: nsFileStream.cpp ../../dist/include/string/nsAFlatString.h: In function `(static initializers for ../../dist/include/string/nsBufferHandle.h)': ../../dist/include/string/nsAFlatString.h:70: Internal compiler error 40. ../../dist/include/string/nsAFlatString.h:70: Please submit a full bug report to `firstname.lastname@example.org'. ../../dist/include/string/nsAFlatString.h:70: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details. In the directory /usr/src/redhat/BUILD/mozilla/xpcom/io The following command failed to execute properly: c++ -o nsFileStream.o -c -DOSTYPE="Linux2.2.19-6.2" -DOSARCH="Linux" -DOJI -D_IMPL_NS_COM -D_IMPL_NS_BASE -D_BSD_SOURCE -I../../dist/include/uconv -I../../dist/inclu de/string -I../../dist/include/xpcom -I../../dist/include -I/usr/src/redhat/BUILD/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -pt hread -pipe -DNDEBUG -DTRIMMED -O -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../config-defs.h -Wp,-MD,.deps/nsFileStream.pp nsFileStream.cpp make: *** [nsFileStream.o] Error 1 make: *** [libs] Error 2 make: *** [tier_9] Error 2 make: *** [default] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.20302 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.20302 (%build)
> Internal compiler error 40 that's a compiler bug that is not related to this bug, and almost certainly not even a Mozilla bug.
This issue may have been resolved, I havn't had any problems building more recent versions of the rpm.
this still exists on the 1.0 branch (current CVS)
Yeah, but I'm not going to check in the spec files on the 1.0 branch at this point.