Skip to content
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

brew install --only-dependencies should not check arch requirements #12965

Closed
2 tasks done
fxcoudert opened this issue Mar 6, 2022 · 2 comments · Fixed by #12968
Closed
2 tasks done

brew install --only-dependencies should not check arch requirements #12965

fxcoudert opened this issue Mar 6, 2022 · 2 comments · Fixed by #12968
Assignees
Labels
bug Reproducible Homebrew/brew bug outdated PR was locked due to age

Comments

@fxcoudert
Copy link
Member

brew config output

HOMEBREW_VERSION: 3.4.0-59-g67512ae
ORIGIN: https://github.com/Homebrew/brew
HEAD: 67512aed56c0598c427b4be14bade789109514f1
Last commit: 17 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 01c0f33ce751a621e1560b6dbb6f3de9d1a269ae
Core tap last commit: 8 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.jYvqZuAeC2/org.xquartz:0
HOMEBREW_EDITOR: vim
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_AUTO_UPDATE: set
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 13.0.0 build 1300
Git: 2.32.0 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.77.0 => /usr/bin/curl
macOS: 12.2.1-arm64
CLT: 13.2.0.0.1.1638488800
Xcode: 13.2.1
Rosetta 2: false

brew doctor output

Your system is ready to brew.

Verification

  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?

Trying to install Julia's dependencies, to test a manual build from head.

What happened (include all command output)?

$ brew install --only-dependencies julia
julia: The x86_64 architecture is required for this software.
Error: julia: An unsatisfied requirement failed this build.

What did you expect to happen?

Since I am only asking for dependencies, it should not matter that Julia itself has an arch requirement: it will not be installed.

Step-by-step reproduction instructions (by running brew commands)

$ brew install --only-dependencies julia
@fxcoudert fxcoudert added the bug Reproducible Homebrew/brew bug label Mar 6, 2022
@fxcoudert
Copy link
Member Author

Another case with similarly weird output: I've removed the arch requirement in the formula, to bypass the issue, and now:

$ brew install --only-dependencies julia
Error: julia: no bottle available!

All the dependencies have a bottle, so it's not really relevant to complain about julia since it won't be installed.

@issyl0
Copy link
Member

issyl0 commented Mar 6, 2022

I can't reproduce your second weird output here. 😕

@github-actions github-actions bot added the outdated PR was locked due to age label Apr 7, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/brew bug outdated PR was locked due to age
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants