-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Spurious linkage errors to GCC on Linux #17303
Comments
@p-linnane also mentioned something about an audit failure, but I don't see it in the CI log at Homebrew/homebrew-core#171701, so I'll let Patrick chime in on how to reproduce that. |
Thanks @carlocab for opening! Either |
Repro: check out the PR, build and then:
|
I was referring to this audit failure, which I can't find in the log:
|
That audit is correct. "Fixing" the linkage error by adding a dependency would fail that audit. The bug is that we shouldn't be flagging indirect (or undeclared) GCC linkage in |
Right, ok, so the audit failure appears if you add a Linux-only dependency on GCC, which explains why I couldn't find it in the log. |
Should be fixed by #17306. |
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)?
Run
brew linkage --cached --test --strict
on a formula with an indirect GCC dependency, because it's part of the tests run bytest-bot
.What happened (include all command output)?
What did you expect to happen?
No errors or output.
Step-by-step reproduction instructions (by running
brew
commands)# `sherlock` can be replaced with `sextractor` below if you don't want to wait for Homebrew/homebrew-core#171701 brew install sherlock brew linkage --test --strict sherlock
The text was updated successfully, but these errors were encountered: