Closed Bug 1457861 Opened 8 years ago Closed 8 years ago

Could not run ./mach build

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: is2ei, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180326160923 Steps to reproduce: ./mach build Actual results: 1:31.82 Packaging specialpowers@mozilla.org.xpi... 1:32.32 Packaging quitter@mozilla.org.xpi... 1:32.70 Packaging mozscreenshots@mozilla.org.xpi... 1:33.13 0 compiler warnings present. Error running mach: ['build'] The error occurred in code that was called by the mach command. This is either a bug in the called code itself or in the way that mach is calling it. You should consider filing a bug for this issue. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: AssertionError File "/home/horie/oss/mozilla/firefox/mozilla-unified/python/mozbuild/mozbuild/mach_commands.py", line 459, in build monitor.finish(record_usage=status==0) File "/home/horie/oss/mozilla/firefox/mozilla-unified/python/mozbuild/mozbuild/mach_commands.py", line 236, in __exit__ self.monitor.stop_resource_recording() File "/home/horie/oss/mozilla/firefox/mozilla-unified/python/mozbuild/mozbuild/controller/building.py", line 243, in stop_resource_recording self.resources.stop() File "/home/horie/oss/mozilla/firefox/mozilla-unified/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 289, in stop assert self._running Expected results: Succeeded to build
Did you run ./mach boostrap before running mach build and did that run successfully?
Flags: needinfo?(is2ei.horie)
(In reply to Kim Moir [:kmoir] ET from comment #1) > Did you run ./mach boostrap before running mach build and did that run > successfully? Yes. I did that and it was ok. Now I run ./mach build again and it was succeeded. I run the following commands before do that. $ hg update default $ hg pull $ hg update $ hg branch bug bug-1447941 $ ./mach clobber $ ./mach build ... ... 216:57.73 Overall system resources - Wall time: 12850s; CPU: 0%; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0 217:02.31 Notification center failed: Install notify-send (usually part of the libnotify package) to get a notification when the build finishes. 217:02.31 We know it took a while, but your build finally finished successfully! To view resource usage of the build, run |mach resource-usage|. To take your build for a test drive, run: |mach run| For more information on what to do now, see https://developer.mozilla.org/docs/Developer_Guide/So_You_Just_Built_Firefox I'm still not sure the root cause but it worked this time.
Flags: needinfo?(is2ei.horie)
Although I don't know what tree you try to build, if you build old version, it is bug 1384062. But you can ignore this error message since build is finished.
Thanks! I cloned it these days so it should have been fixed...
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.