Closed
Bug 1801826
Opened 3 years ago
Closed 3 years ago
Consider adding <mozillabuild>/msys2/usr/bin to the beginning of PATH automatically
Categories
(Firefox Build System :: General, enhancement, P3)
Firefox Build System
General
Tracking
(firefox109 fixed)
RESOLVED
FIXED
109 Branch
| Tracking | Status | |
|---|---|---|
| firefox109 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
When invoking mach from an msys2 set-up outside of mozilla-build, I need to have the following in my mozconfig to avoid a bunch of cygwin errors during configure:
export PATH="/c/mozilla-build/msys2/usr/bin:$PATH"
We even have a warning for when this directory is not in the PATH, but it's not enough for it to be in the PATH, it has to be at the beginning of the path.
Maybe this could be done automatically?
| Assignee | ||
Comment 1•3 years ago
|
||
This makes sure that we find the right tools in the right msys2
environment in case we get called from another msys2 env.
Updated•3 years ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Updated•3 years ago
|
Severity: -- → S3
Priority: -- → P3
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/07a9c642a637
Prepend rather than append mozillabuild path. r=ahochheiden
Comment 3•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox109:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•