Open
Bug 1442729
Opened 8 years ago
Updated 3 years ago
Why does mach bootstrap evaluate mozconfig?
Categories
(Firefox Build System :: Bootstrap Configuration, enhancement)
Firefox Build System
Bootstrap Configuration
Tracking
(Not tracked)
NEW
People
(Reporter: away, Unassigned)
Details
I have a deliberately-broken file named `mozconfig` in all my trees, to force me to be intentional in choosing a $MOZCONFIG. (Otherwise I'd frequently forget, and would end up building the defaults when that wasn't what I wanted.)
STR:
$ echo oops > mozconfig
$ mach bootstrap
In between the Mercurial wizard and the clang download, I get `line 1: oops: command not found`
Comment 1•8 years ago
|
||
Oh, I know this, I diagnosed it in bug 1440874 comment 1 just yesterday! Mach commands try to ensure the "state directory" exists before doing anything, and it lives under the objdir, so we try to read the mozconfig to see if it sets an objdir.
We should probably make bootstrap opt out of this somehow, since it's not a command that needs an objdir.
Updated•8 years ago
|
Product: Core → Firefox Build System
Updated•8 years ago
|
Component: Mach Core → Bootstrap Configuration
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•