-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
mismatched_binary_allowlist: use more granular globs #167024
mismatched_binary_allowlist: use more granular globs #167024
Conversation
Probably going to create separate PRs to test (as I don't think modifying only audit list will trigger this check). Or modify corresponding formulae in this PR with some minor changes. |
9805c1b
to
95f25cf
Compare
"faust": "share/faust/android/app/lib/libsndfile/lib/*/libsndfile.so", | ||
"lima": "share/lima/lima-guestagent.Linux-*", | ||
"faust": "share/faust/android/app/lib/libsndfile/*/libsndfile.so", | ||
"lima": "share/lima/lima-guestagent.Linux-a*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least seems to work as intended when using incomplete glob, e.g. https://github.com/Homebrew/homebrew-core/actions/runs/8413974251/job/23037083115?pr=167024
faust
* Binaries built for a non-native architecture were installed into faust's prefix.
The offending files are:
/home/linuxbrew/.linuxbrew/Cellar/faust/2.70.3/share/faust/android/app/lib/libsndfile/lib/arm64-v8a/libsndfile.so (arm64)
/home/linuxbrew/.linuxbrew/Cellar/faust/2.70.3/share/faust/android/app/lib/libsndfile/lib/armeabi-v7a/libsndfile.so (arm)
lima
* Binaries built for a non-native architecture were installed into lima's prefix.
The offending files are:
/home/linuxbrew/.linuxbrew/Cellar/lima/0.21.0/share/lima/lima-guestagent.Linux-riscv64 (dunno)
Error: 1 problem in 1 formula detected.
95f25cf
to
6992a9f
Compare
Signed-off-by: Michael Cho <[email protected]>
6992a9f
to
f3bb258
Compare
make sense 👍 |
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?Working on
brew
feature in Homebrew/brew#16944Probably need to rework
balena-cli
as there are some unwanted libs there.