Closed
Bug 1379426
Opened 7 years ago
Closed 4 years ago
mach bootstrap should maybe not try to install Xcode
Categories
(Firefox Build System :: Bootstrap Configuration, defect)
Firefox Build System
Bootstrap Configuration
Tracking
(firefox57 wontfix, firefox88 fixed)
RESOLVED
FIXED
88 Branch
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
Turns out, Apple is making things hard for people not using the latest version of OSX. I happened to have installed El Capitan (10.11) for reasons, and needed to setup a build environment on it.
mach bootstrap runs xcode-select --switch /Applications/Xcode.app, which opens the App Store for Xcode, which, as of today, shows version 8.3.3 of Xcode... but you can't install that version because it's not compatible with El Capitan. I don't think there's a way to download older versions that doesn't involve logging on https://developer.apple.com.
It also turns out that the build is pretty happy with the command line tools, which I presume one can install with xcode-select --switch /Library/Developer/CommandLineTools (I ended up installing them some other way, I'm just guessing that xcode-select command would work).
Maybe mach bootstrap should install that instead...
Assignee | ||
Comment 1•7 years ago
|
||
So, the command to run on a fresh OSX install is `xcode-select --install`, which further asks whether to go forward with installing the command line tools or getting Xcode. Which sounds exactly the kind of choice mach bootstrap should give. So I'd vote for xcode-select --install in mach bootstrap.
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•7 years ago
|
Component: General → Bootstrap Configuration
Assignee | ||
Comment 2•4 years ago
|
||
code hasn't been necessary to build Firefox for a while. Command line
tools are enough, but if Xcode is available, that's also sufficient.
Mach bootstrap, however, for historic reasons, mostly, ends up wanting
to install both, which is a waste of time and disk space.
Updated•4 years ago
|
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/8b3f022bd588
Simplify Xcode/command line tools setup on macOS. r=firefox-build-system-reviewers,mhentges
Comment 4•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox88:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•