-
-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XCode Command Line Tools 12.2 breaks gem installation due to inclusion of 11.0 SDK #9410
Comments
Also of note: Command Line Tools 12.2 delivers 10.15 and 11.0 SDKs thusly:
and Re-linking MacOSX.sdk to point at MacOSX10.15.sdk did not resolve the issue, only moving/deleting the MacOSX11.0.sdk directory entirely. Somewhere between homebrew and gem itself, SDK path discovery is doing the wrong thing |
and finally, relevant details from
|
@jcshort Can we get the output from |
@jcshort And also the output after running |
Got it. The problem is not SDK selection; the problem is how Ruby finds its own headers. The core error from Ruby's
The path for that is set inside Arguably this is a bug in the CLT/Xcode packaging, but it's not likely to be fixed there. Unfortunately Ruby provides no way for us to override these variables from outside, and obviously we can't modify the system Ruby. This is probably a sign that we need to start using our vendored Ruby on macOS 10.15, even though it supplies a Ruby 2.6. |
Experiencing this over at https://github.com/leipert/jetbrains-cask-bot as well:. I assume that the same will likely happen on any step in GH actions that does |
A friend pointed out that a combination of a shim file and |
I am hitting this after updating the VM image of our Catalina nodes. This is currently blocking relaunch of CI on Catalina. |
Currently forcing |
I'm not sure if this is fixed yet. I'm still getting the system Ruby because the call to |
Reopning. We've confirmed via brewsci/homebrew-bio#1219 that this is not fixed, unfortunately. |
Same on core: Homebrew/homebrew-core#66439 |
I've merged the fix. If we want to ensure different kinds of fixes going forward we can reevaluate, but I wanted us to unblock the many users who are impacted by this. |
Bug report
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew gist-logs <formula>
(where<formula>
is the name of the formula that failed) and included the output link?brew gist-logs
didn't work: ranbrew config
andbrew doctor
and included their output with your issue?What you were trying to do (and why)
Run
brew audit jmeter
as part of a version bump PR Homebrew/homebrew-core#66170What happened (include command output)
Command output
What you expected to happen
Gems build against 10.15 SDK
Step-by-step reproduction instructions (by running
brew install
commands)byebug is of course not the only gem requiring compilation, but it's the first.
brew config output:
brew doctor output:
The text was updated successfully, but these errors were encountered: