Closed Bug 1223591 Opened 9 years ago Closed 9 years ago

'mach build faster' race when generating the buildid

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox45 fixed)

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: mshal, Assigned: mshal)

Details

Attachments

(1 file)

Very rarely in 'mach build faster' I hit this:

 0:00.12 /usr/bin/make -C /home/mshal/mozilla-central-git/obj-x86_64-unknown-linux-gnu -j4 -s backend.RecursiveMakeBackend
 0:00.29 /usr/bin/make -C faster -j4 -s
 0:00.86 Makefile:46: *** Variable GRE_BUILDID does not contain a value.  Stop.
 0:00.86 /home/mshal/mozilla-central-git/config/faster/rules.mk:66: recipe for target '/home/mshal/mozilla-central-git/obj-x86_64-unknown-linux-gnu/toolkit/xre/platform.ini' failed
 0:00.86 make: *** [/home/mshal/mozilla-central-git/obj-x86_64-unknown-linux-gnu/toolkit/xre/platform.ini] Error 2
 0:00.86 make: *** Waiting for unfinished jobs....

It looks like the buildid is being regenerated at the same time that toolkit/xre/Makefile is trying to read it. This can be seen more easily by adding 'rm buildid; sleep 1' in the buildid rule in objdir/config/Makefile
Assignee: nobody → mshal
Attachment #8685687 - Flags: review?(mh+mozilla)
Attachment #8685687 - Flags: review?(mh+mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/efcd4de40060
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: