Comments (7)
@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.
from brew.
Thanks @carlocab for opening!
Either brew linkage
shouldn't complain about this or it should be fixed.
from brew.
Repro: check out the PR, build and then:
==> brew linkage --cached sherlock
System libraries:
/lib/x86_64-linux-gnu/libc.so.6
/lib/x86_64-linux-gnu/libm.so.6
Homebrew libraries:
/home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current/libgcc_s.so.1 (gcc)
/home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current/libstdc++.so.6 (gcc)
Indirect dependencies with linkage:
gcc
Dependencies with no linkage:
certifi
from brew.
I was referring to this audit failure, which I can't find in the log:
Full audit --formula sherlock --online --new output
sherlock
* Formulae in homebrew/core should not have a Linux-only dependency on GCC.
Error: 1 problem in 1 formula detected.
from brew.
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 brew linkage
because of how the rpaths are set up. Every formula depends on GCC (or rather near enough most that we call it every formula) and we have magic in brew that auto-installs GCC when the system GCC is too old.
from brew.
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.
from brew.
Should be fixed by #17306.
from brew.
Related Issues (20)
- Failed to install Homebrew Portable Ruby (and your system version is too old)! HOT 4
- Improve error/warning when `brew install` refuses to install a formula from a tap with the same name as an already installed keg HOT 7
- shellenv.sh: csh/tcsh: Broken code for setting envvar MANPATH HOT 1
- Make `autoremove` idempotent HOT 12
- Run xattr -r -d com.apple.quarantine App.app on casks on Apple Silicon MacOS HOT 20
- Homebrew's brew alias is broken after update this morning on Debian machines HOT 2
- Are all of the `undef`s we use really necessary? HOT 27
- HOMEBREW_PIP_INDEX_URL is misleading and does not work-as-intended with some mirrors
- “Error: comparison of PkgVersion with String failed” when running `brew upgrade` HOT 3
- brew upgrade or install fails with comparison of PkgVersion with String HOT 1
- Brew link step fail if installing multiple formulae with common symlink using a system with symlinked /home HOT 6
- golang not update to 1.23.0 HOT 2
- Happened ruby runtime error on macOS Sequoia HOT 2
- Homebrew no longer correctly reads `HOMEBREW_DOCKER_REGISTRY_BASIC_AUTH_TOKEN` from /etc/homebrew/brew.env
- environment file variables are not honored
- `brew install` call `gh attestation verify` Disrespect `XDG_CACHE_HOME` HOT 3
- Fix failing tests and write other tests as well HOT 1
- Suggest to change the way to read file in export_homebrew_env_file HOT 4
- Add a more customizable ENV file loading process HOT 2
- Download does not start immediately, a lot of network traffic (file is downloaded twice?) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brew.