-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Install from API misses arch-specific dependencies #14535
Comments
This is because of the If this is a common pattern (i.e. saying |
I don't think Cocoapods needs that dependency anymore tbh, though I'll need to check. If we can't fix this before 4.0.0, we'll need to sort it out in homebrew-core as this is very popular formula that we can't really be breaking. |
If we can't/won't/shouldn't modify the |
We can't fix this for 4.0.0.
👍🏻 on an audit. For now we should implement the workaround @Rylan12 suggests. |
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
I was investigating #14531, but found another API install problem instead. The
cocoapods
formula contains the following dependencies:This seems to be correctly indicated in the API JSON:
However,
brew info
withoutHOMEBREW_NO_INSTALL_FROM_API
set doesn't list that dependency, andbrew install
with the same doesn't install it either.What happened (include all command output)?
Note the extra
ruby
dependency withHOMEBREW_NO_INSTALL_FROM_API
set.What did you expect to happen?
Install from API should have installed
ruby
as a dependency, as the JSON states.Step-by-step reproduction instructions (by running
brew
commands)brew rm --ignore-dependencies ruby # if installed brew install --formula cocoapods HOMEBREW_NO_INSTALL_FROM_API=1 brew install --formula cocoapods
The text was updated successfully, but these errors were encountered: