Closed Bug 1499232 Opened 7 years ago Closed 7 years ago

bootstrap complains about Python 2.7 being installed and quits

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1487490

People

(Reporter: mkohler, Unassigned)

Details

I've just set up m-c on another laptop and I've run into an interesting problem: Error: python 2.7.12_2 is already installed To upgrade to 3.7.0, run `brew upgrade python` Traceback (most recent call last): File "bootstrap.py", line 176, in <module> sys.exit(main(sys.argv)) File "bootstrap.py", line 167, in main dasboot.bootstrap() File "/var/folders/rc/pbsjktx16ns1x5nysj8k2lhw0000gn/T/tmpQVj2P1/mozboot/bootstrap.py", line 369, in bootstrap File "/var/folders/rc/pbsjktx16ns1x5nysj8k2lhw0000gn/T/tmpQVj2P1/mozboot/osx.py", line 193, in install_system_packages File "/var/folders/rc/pbsjktx16ns1x5nysj8k2lhw0000gn/T/tmpQVj2P1/mozboot/osx.py", line 346, in ensure_homebrew_system_packages File "/var/folders/rc/pbsjktx16ns1x5nysj8k2lhw0000gn/T/tmpQVj2P1/mozboot/osx.py", line 315, in _ensure_homebrew_packages File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 541, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '[u'/usr/local/bin/brew', u'install', u'python3']' returned non-zero exit status 1 I don't think this should quit bootstrap.py and just continue. However, the ./mach build command checks for Python 3 and then complains. I *guess* I could run the brew upgrade to 3.7 and then everything would be fine, but I wonder if there is a better way to communicate that. given that volunteers run that script and might not have experience with bootstrapping m-c, this is a quite intimidating error message IMHO. Also, shouldn't this be in a virtualenv? Not everyone wants to have 3.7 installed outside of a virtualenv..
This also leads to hg: unknown command 'push-to-try'
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.