Description
Please follow the general troubleshooting steps first:
-
RanN/A (See below…)brew update
and retried your prior step? -
RanN/A (See below…)brew doctor
, fixed as many issues as possible and retried your prior step? -
If you're seeing permission errors tried runningN/A (See below…)sudo chown -R $(whoami) $(brew --prefix)
?
N. b.: The items in the previous checklist are not applicable to this issue because it describes a problem with Homebrew's installation environment.
Bug reports:
Well, it appears that Apple may have botched the deployment of Xcode 8's command-line tools for OS X v10.11.x 'El Capitan,' as the App Store has not yet presented me with an update notification to install them and they don't seem to be on Apple Developer Connection's manual 'Downloads for Apple Developers' page, either. I imagine that this might end up causing some problems for Homebrew's user base, so I filed this issue. I've also posted a question on the Apple Developer Forums. It appears that I'm not the only person who's noticed this deficiency, either, as I was also able to find another user's forum post earlier this afternoon.
N. b.: Accessing most of the ADC links and all of the Apple Developer Forum links I included in the paragraph above requires a valid free or paid Apple Developer account.
P. S.: Apparently, I'm a bit late to the party on this one! Some of the relevant issues and pull requests were actually filed before I posted this one! In any case, here's a list of the other relevant issues:
- Homebrew/brew:
- Pull Request #721: 'Set -no_weak_imports linker flag for Xcode 8'
- Pull Request #741: 'Add permit_weak_imports directive'
- Pull Request #782: 'Make -no_weak_imports opt-in.'
- Pull Request #965: 'Warn when using Xcode 8 without CLT on 10.11'
- Issue #969: '"Empty archive" error when install formulas with tar.xz archives, after upgrading to Xcode 8'
- Pull Request #970: 'superenv: help Autotools with 10.12 SDK on 10.11'
- Homebrew/homebrew-core:
- Issue #1957: 'macOS 10.12 and Xcode 8.0 broken formulae'
- Issue #2674: 'xz broken on OSX 10.11.6 Beta (15G24b) with XCode 8 Beta'
- Issue #3727: 'Set -no_weak_imports linker flag for Xcode 8 on OS X 10.11'
- Issue #4809: 'python3 failed to build on 10.11.6 with Xcode 8' (Specifically, this comment on that thread.)