Open Bug 913547 Opened 12 years ago Updated 3 years ago

./mach bootstrap to update to python 2.7.3 fails when homebrew isn't installed

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

25 Branch
x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: fitzgen, Unassigned)

Details

Attachments

(1 file)

Attached file bootstrap.log
So python 2.7.3 is now required to build firefox now, but osx only comes with 2.7.2 so you are prompted to ./mach bootstrap. But it fails if you don't have homebrew installed. Would be cool if it fetched the source and did $ ./configure $ make $ make install for me instead of relying on homebrew. Attached the partial log (sorry emacs clips my backscroll at 5000 lines).
Fetched which source, Python? I don't think we want to make mach into a package manager, if it can delegate.
Well at minimum it should fail reasonably with a nice error message instead of making assumptions.
Attachment #800838 - Attachment mime type: text/x-log → text/plain
The log appears to be homebrew encountering an error when building Python. That seems to be a homebrew bug or an issue with the way your homebrew python is installed or an issue with a 3rd party Python installed in /usr/local conflicting with homebrew. I'd run |brew uninstall python && brew install python| manually to see if that fixes it. You may also want to try |brew doctor| to have homebrew self-examine for known issues.
Component: mach → Build Config
Flags: needinfo?(nfitzgerald)
So apparently the IT folks installed homebrew before giving me the machine, even though I don't use it.
Flags: needinfo?(nfitzgerald)
(In reply to Nick Fitzgerald [:fitzgen] from comment #4) > So apparently the IT folks installed homebrew before giving me the machine, > even though I don't use it. Huh?! This is news to me! I was under the impression developers got freshly-imaged laptops with no "Mozilla-ware" on them.
Product: Core → Firefox Build System
Component: General → Bootstrap Configuration
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: