mach bootstrap does not update nasm; ERROR: nasm 2.14 or greater is required for AV1 support.
Categories
(Firefox Build System :: Bootstrap Configuration, defect)
Tracking
(firefox-esr68 unaffected, firefox75 unaffected, firefox76 wontfix, firefox77 fixed)
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox75 | --- | unaffected |
firefox76 | --- | wontfix |
firefox77 | --- | fixed |
People
(Reporter: mstange, Assigned: mhentges)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
mach bootstrap
on macOS does not seem to upgrade nasm
via homebrew. Our nasm dependency recently increased to version 2.14 in bug 1622356.
mstange@Markuss-MacBook-Pro mozilla % MOZCONFIG=.mozconfig-opt mach build
[...]
0:35.75 checking for nodejs... /Users/mstange/.mozbuild/node/bin/node (10.19.0)
0:35.76 ERROR: nasm 2.14 or greater is required for AV1 support. Either install nasm or add --disable-av1 to your configure options.
0:35.82 *** Fix above errors and then restart with "./mach build"
0:35.82 make: *** [configure] Error 1
mstange@Markuss-MacBook-Pro mozilla % which nasm
/usr/local/bin/nasm
mstange@Markuss-MacBook-Pro mozilla % nasm --version
NASM version 2.13.03 compiled on Feb 8 2018
mstange@Markuss-MacBook-Pro mozilla % mach bootstrap
[...]
Please choose the version of Firefox you want to build:
1. Firefox for Desktop Artifact Mode
2. Firefox for Desktop
3. GeckoView/Firefox for Android Artifact Mode
4. GeckoView/Firefox for Android
Your choice: 2
Looks like you have Homebrew installed. We will install all required packages via Homebrew.
Your version of Mercurial (5.1) is sufficiently modern.
Your version of Python (2.7.17) is new enough.
Your version of Rust (1.41.0) is too old.
Found rustup. Will try to upgrade.
[...]
Your system should be ready to build Firefox for Desktop!
mstange@Markuss-MacBook-Pro mozilla % MOZCONFIG=.mozconfig-opt mach build
[...]
0:11.08 checking for nodejs... /Users/mstange/.mozbuild/node/bin/node (10.19.0)
0:11.08 ERROR: nasm 2.14 or greater is required for AV1 support. Either install nasm or add --disable-av1 to your configure options.
0:11.13 *** Fix above errors and then restart with "./mach build"
0:11.13 make: *** [configure] Error 1
Reporter | ||
Comment 1•5 years ago
•
|
||
Running brew upgrade nasm
fixed it, but it would be nice if mach bootstrap
did it for me.
Comment 2•5 years ago
|
||
I think the "right" way to do this would be to run brew update
before the installs and then brew upgrade $PACKAGE
for every PACKAGE
that we installed? I can write a quick patch to do that.
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
./mach bootstrap
prepares your environment for a build, and it was preparing "brew" dependencies properly if they weren't installed.
However, if a package was out-of-date, it was ignored by the bootstrapping logic since it was already "installed".
This change ensures that brew update
is run, and updates any out-of-date packages that are requested.
Assignee | ||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Updated•5 years ago
|
Description
•