Closed Bug 1853252 Opened 2 years ago Closed 2 years ago

mach bootstrap fails when run underneath js/ directory

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

defect

Tracking

(firefox-esr102 unaffected, firefox-esr115 fixed, firefox117 wontfix, firefox118 wontfix, firefox119 fixed)

RESOLVED FIXED
119 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- fixed
firefox117 --- wontfix
firefox118 --- wontfix
firefox119 --- fixed

People

(Reporter: sfink, Assigned: sfink)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

I got weird failures trying to run mach bootstrap from js/srcdevtools/rootAnalysis/.

The problem is that the bootstrap code looks for the root of the checkout, and decides that it found the root the first time it encounters a moz.configure file while walking up the directory hierarchy. Unfortunately, js/moz.configure exists, so even though I am in a mercurial checkout, it decides that I'm in a source checkout rooted at js/.

I suggest using config/milestone.txt as the sentinel file instead. That will exist in a mozjs tarball as well, and does not exist anywhere else in the tree (currently).

Assignee: nobody → sphink
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1798746

Component: Mach Core → Bootstrap Configuration
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b832674f40a5 Allow running `mach bootstrap` from more subdirs r=ahochheiden
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: