Closed
Bug 1177896
Opened 9 years ago
Closed 8 years ago
MOZ_PATH_PROG trusts env overrides
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox42 affected)
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
firefox42 | --- | affected |
People
(Reporter: rillian, Assigned: rillian)
References
Details
Attachments
(1 file)
Testing the rust stuff I noticed that if one sets an absolute path environment override for a variable set by AC_PATH_PROG*, it will trust it without verification. If the override points to an invalid location, configure will succeed, but the build will fail later when the program in invoked. Since we have a wrapper (MOZ_PATH_PROG*) it might be nice to fail at configure time for faster test turn-around.
Assignee | ||
Comment 1•9 years ago
|
||
NB we may not be able to do this currently; it looks like some integration builds run configure _before_ tooltool. That's incorrect of course, but this patch would break such builds if they rely on stuff installed after configure is run.
Assignee | ||
Comment 2•8 years ago
|
||
I don't think this is worth fixing.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Comment 3•8 years ago
|
||
This will get fixed when we port the Rust bits of configure to moz.configure, since the MOZ_PATH_PROG replacement actually checks these things.
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•