$ python bootstrap.py
Note on Artifact Mode:
Artifact builds download prebuilt C++ components rather than building
them locally. Artifact builds are faster!
Artifact builds are recommended for people working on Firefox or
Firefox for Android frontends, or the GeckoView Java API. They are unsuitable
for those working on C++ code. For more information see:
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: 3
Looks like you have Homebrew installed. We will install all required packages via Homebrew.
We are now installing all required packages via Homebrew. You will see a lot of
output as packages are built.
Installing java8 means you have AGREED to the license at:
==> Satisfying dependencies
==> Downloading https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-macosx-x64.dmg
==> Downloading from https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-macosx-x64.dmg?AuthParam=1555520947_840bda27c11cc8482ce4edbfbd708775
curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'java8' with message: Download failed: https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-macosx-x64.dmg
Traceback (most recent call last):
File "bootstrap.py", line 181, in <module>
File "bootstrap.py", line 172, in main
File "/var/folders/kk/6ds8tcz13vb62cj73z05fdsc0000gn/T/tmpOAjjz0/mozboot/bootstrap.py", line 429, in bootstrap
File "/var/folders/kk/6ds8tcz13vb62cj73z05fdsc0000gn/T/tmpOAjjz0/mozboot/osx.py", line 206, in install_mobile_android_artifact_mode_packages
File "/var/folders/kk/6ds8tcz13vb62cj73z05fdsc0000gn/T/tmpOAjjz0/mozboot/osx.py", line 370, in ensure_homebrew_mobile_android_packages
File "/var/folders/kk/6ds8tcz13vb62cj73z05fdsc0000gn/T/tmpOAjjz0/mozboot/osx.py", line 327, in _ensure_homebrew_casks
File "/var/folders/kk/6ds8tcz13vb62cj73z05fdsc0000gn/T/tmpOAjjz0/mozboot/osx.py", line 315, in _ensure_homebrew_packages
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '[u'/usr/local/bin/brew', u'cask', u'install', u'java8']' returned non-zero exit status 1
On April 16 2019 (yesterday), Oracle changed the license for the JDK to require creating an account to download the JDK. This means that it's not possible to install java8 via homebrew.
It's possible to install openjdk via
brew tap AdoptOpenJDK/openjdk && brew cask install adoptopenjdk8 but I don't know if openjdk8 is compatible enough with Oracle JDK 8, and in any case the bootstrap doesn't detect openjdk8 being installed so it'll always fail.