servo/components/style/build.rs references PYTHON3 environment variable which is not necessarily set
Categories
(Firefox Build System :: General, defect, P3)
Tracking
(firefox80 fixed)
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: l.majewski, Assigned: rstewart)
Details
(Keywords: in-triage)
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
Build firefox 68esr with meta-browser layer in Yocto thud
Actual results:
Error as described in this issue:
https://github.com/OSSystems/meta-browser/issues/338
Expected results:
Firefox shall build without any workarounds needed
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Assignee | ||
Comment 2•4 years ago
|
||
The actual code in question has changed (it now references Python 3), but the underlying problem remains the same, that a typical build of Firefox doesn't plumb the configured python
down to the Cargo build, where this environment variable is read.
Assignee | ||
Comment 3•4 years ago
|
||
The previous logic would check the value of the PYTHON3
environment variable, which is not set by the Firefox build system, so this build script tends to just use the python3
at the tip of the PATH
, regardless of which value you've configured for it. Instead, it should prefer to read from the OBJDIR
if one is present.
Comment 5•4 years ago
|
||
bugherder |
Description
•