User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/420+ Trunk/20060227 (KHTML, like Gecko) Safari/417.8 Build Identifier: An universal build with --enable-chrome-format=flat fails with an error. Reproducible: Always Steps to Reproduce: 1.Try to compile a mozilla product with a flat chrome using the universal build system on Mac OS X Actual Results: rm -f /Users/puto/sources/firescape/mozilla/../build/ppc/dist/firefox/DeerPark.app/Contents/MacOS/*.chk \ /Users/puto/sources/firescape/mozilla/../build/i386/dist/firefox/DeerPark.app/Contents/MacOS/*.chk /Users/puto/sources/firescape/mozilla/build/macosx/universal/fix-buildconfig \ /Users/puto/sources/firescape/mozilla/../build/ppc/dist/firefox/DeerPark.app/Contents/MacOS/chrome/toolkit.jar \ /Users/puto/sources/firescape/mozilla/../build/i386/dist/firefox/DeerPark.app/Contents/MacOS/chrome/toolkit.jar IO error: opening /Users/puto/sources/firescape/mozilla/../build/ppc/dist/firefox/DeerPark.app/Contents/MacOS/chrome/toolkit.jar for read : No such file or directory at /System/Library/Perl/Extras/5.8.6/Archive/Zip.pm line 927 Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x1801234)', '/Users/puto/sources/firescape/mozilla/../build/ppc/dist/firef...') called at /Users/puto/sources/firescape/mozilla/build/macosx/universal/fix-buildconfig line 67 main::fixBuildconfig('/Users/puto/sources/firescape/mozilla/../build/ppc/dist/firef...', '/Users/puto/sources/firescape/mozilla/../build/i386/dist/fire...') called at /Users/puto/sources/firescape/mozilla/build/macosx/universal/fix-buildconfig line 54 /Users/puto/sources/firescape/mozilla/build/macosx/universal/fix-buildconfig: could not read "/Users/puto/sources/firescape/mozilla/../build/ppc/dist/firefox/DeerPark.app/Contents/MacOS/chrome/toolkit.jar": error 4 make: *** [postflight_all] Error 1 make: *** [build] Error 2 Expected Results: It should build correctly.
flat-chrome builds are for debugging, I don't see any need to support them in universal configurations
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
I find flat chrome builds to be both faster and smaller, so I don't see why it should be "for debugging purposes only", but I guess you know better than me.
According to significant testing, flat chrome takes a lot longer to startup because of disk IO: combining files in a JAR is significantly less overall stat+read IO.
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.