Unable to Bootstrap Firefox on macOS ARM
Categories
(Firefox Build System :: Bootstrap Configuration, defect, P5)
Tracking
(Not tracked)
People
(Reporter: arm.risc42.dev, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2.1 Safari/605.1.15
Steps to reproduce:
I have followed the path to build Firefox on macOS from https://firefox-source-docs.mozilla.org/setup/macos_build.html by installing Mercurial and then Bootstrapping to install Firefox. But by using this command in a zsh terminal (in sudo or not) curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -O
python3 bootstrap.py, it crashes. I have macOS Ventura on an M1 Mac, with Python 3.9 and pip up to date.
Actual results:
The installation process crashes by saying that :
Dload Upload Total Spent Left Speed
100 15058 100 15058 0 0 3949 0 0:00:03 0:00:03 --:--:-- 3949
Could not bootstrap Firefox! Consider filing a bug.
Traceback (most recent call last):
File "/Users/<user_folder>/bootstrap.py", line 439, in <module>
sys.exit(main(sys.argv))
File "/Users/<user_folder>/bootstrap.py", line 406, in main
srcdir = clone(options)
File "/Users/<user_folder>/bootstrap.py", line 311, in clone
hg = which("hg")
File "/Users/<user_folder>/bootstrap.py", line 60, in which
if test.is_file() and os.access(test, os.X_OK):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/pathlib.py", line 1456, in is_file
return S_ISREG(self.stat().st_mode)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/pathlib.py", line 1232, in stat
return self._accessor.stat(self)
PermissionError: [Errno 13] Permission denied: '/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin/hg'```
Expected results:
The Firefox package should have been downloaded
| Reporter | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Odd, does running hg version work fine?
What's the output of ls -l /usr/local/bin/hg? (Does that work fine, or do you need sudo ls -l /usr/local/bin/hg?)
If it doesn't look like you have access, can you try chmod u+rw /usr/local/bin/hg and re-try bootstrapping?
Comment 2•1 year ago
|
||
A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED, closing the bug as incomplete.
For more information, please visit BugBot documentation.
Description
•