Closed
Bug 1533642
Opened 5 years ago
Closed 4 years ago
Using `mach python` from outside the source directory fails to import buildconfig
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox84 fixed)
RESOLVED
FIXED
84 Branch
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
I was trying to run something like $GECKO_PATH/mach python $GECKO_PATH/some/script on taskcluster, and it failed with
mozbuild.base.BuildEnvironmentNotFoundException: Could not find Mozilla source tree or build environment.
The interesting thing is that $GECKO_PATH/mach python does create a virtualenv in $GECKO_PATH/obj-$config_guess, so it does consider there is a build environment at some point in the process. Running cd $GECKO_PATH; ./mach python ...
does work.
Assignee | ||
Comment 1•4 years ago
|
||
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/8ec5739b11e4 Allow to run mach from outside the src or obj directories. r=firefox-build-system-reviewers,mhentges
Comment 3•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox84:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•