Closed Bug 1251975 Opened 10 years ago Closed 10 years ago

Unoptimized debug build fails

Categories

(Firefox Build System :: General, defect)

44 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ronoueb, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Build ID: 20160220080452 Steps to reproduce: Attempt to build Firefox on Arch Linux x86_64 with mach. Have both of these in your mozconfig: ac_add_options --enable-debug ac_add_options --disable-optimize Actual results: The build succeeds if either, but not both, option is present. The build fails, if both options are present, with this output from mach: 20:35.97 jsapi-tests 21:12.79 NSModules are not ordered appropriately 21:12.79 /home/benjamin/mozilla-central/config/rules.mk:834: recipe for target 'libxul.so' failed 21:12.79 make[5]: *** [libxul.so] Error 1 21:12.79 make[5]: *** Deleting file 'libxul.so' 21:13.15 /home/benjamin/mozilla-central/config/recurse.mk:71: recipe for target 'toolkit/library/target' failed 21:13.15 make[4]: *** [toolkit/library/target] Error 2 21:13.15 /home/benjamin/mozilla-central/config/recurse.mk:32: recipe for target 'compile' failed 21:13.15 make[3]: *** [compile] Error 2 21:13.15 /home/benjamin/mozilla-central/config/rules.mk:557: recipe for target 'default' failed 21:13.15 make[2]: *** [default] Error 2 21:13.15 /home/benjamin/mozilla-central/client.mk:398: recipe for target 'realbuild' failed 21:13.15 make[1]: *** [realbuild] Error 2 21:13.15 client.mk:171: recipe for target 'build' failed 21:13.15 make: *** [build] Error 2 21:13.16 0 compiler warnings present. 21:13.36 Notification center failed: Install the python dbus module to get a notification when the build finishes. Expected results: As these options are recommended to C/C++ developers here: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Simple_Firefox_build The build should have completed successfully.
Component: Untriaged → Build Config
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Fixed by pulling the latest changes from mozilla-central, doing a system upgrade on Arch through pacman & redownloading and running the bootstrapping script again.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
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.