Closed
Bug 1482676
Opened 6 years ago
Closed 6 years ago
configure should prefer .mozbuild copy of "node" if "nodeJS" is later in the PATH
Categories
(Firefox Build System :: Bootstrap Configuration, enhancement, P1)
Firefox Build System
Bootstrap Configuration
Tracking
(firefox63 fixed)
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: dmosedale, Assigned: dmosedale)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file, 1 obsolete file)
4.30 KB,
patch
|
dmosedale
:
review+
|
Details | Diff | Splinter Review |
From bug 1481693 comment 24: > You mentioned on IRC that there were issues if both `node` and `nodejs` exist: due to the way traversal works, we apparently search all paths for executable variant A before variant B. That means we could pick up a `nodejs` executable on a later path even if a sooner path had `node` available. > I don't think this is a deal breaker. But we may want to make check_prog() invert the traversal order by default or by request as a follow-up.
Assignee | ||
Comment 1•6 years ago
|
||
MozReview-Commit-ID: 5Nj49cjD7cq
Assignee | ||
Comment 2•6 years ago
|
||
Comment on attachment 8999489 [details] [diff] [review] add pathsHavePriority option to check_prog for use with Node We do need this before we ask people to start testing, since otherwise they will be testing the wrong code and getting bogus results on Linux distros.
Attachment #8999489 -
Flags: review?(gps)
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → dmose
Status: NEW → ASSIGNED
Priority: -- → P1
Assignee | ||
Comment 3•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=90ce01c07c4290f65876f5fa57aea1c197003523
Assignee | ||
Comment 4•6 years ago
|
||
Hmm, I've canceled that try job because there's infrastructure lossage going on, causing lots of false build failures.
Assignee | ||
Comment 5•6 years ago
|
||
OK, word on the street is that things are getting better, so here goes: https://treeherder.mozilla.org/#/jobs?repo=try&revision=67fae45898dd851964f13fca38924254efe34ee8
Comment 6•6 years ago
|
||
Comment on attachment 8999489 [details] [diff] [review] add pathsHavePriority option to check_prog for use with Node Review of attachment 8999489 [details] [diff] [review]: ----------------------------------------------------------------- r+ conditional on using the proper naming convention. ::: build/moz.configure/checks.configure @@ +102,5 @@ > # use that value instead. > @template > @imports(_from='mozbuild.shellutil', _import='quote') > def check_prog(var, progs, what=None, input=None, allow_missing=False, > + paths=None, pathsHavePriority=False, when=None): Names in Python use underscores. So this should be paths_have_priority.
Attachment #8999489 -
Flags: review?(gps) → review+
Pushed by dmosedale@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/e4da6d38fa33 configure should prefer .mozbuild copy of node
Assignee | ||
Comment 8•6 years ago
|
||
MozReview-Commit-ID: 91F4Z8GljkV
Attachment #8999489 -
Attachment is obsolete: true
Assignee | ||
Comment 9•6 years ago
|
||
Comment on attachment 8999660 [details] [diff] [review] configure should prefer .mozbuild copy of node, v2 Naming convention fixed.
Attachment #8999660 -
Flags: review+
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e4da6d38fa33
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•