[go: nahoru, domu]

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

mismatched_binary_allowlist: use more granular globs #167024

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

cho-m
Copy link
Member
@cho-m cho-m commented Mar 24, 2024
  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

Working on brew feature in Homebrew/brew#16944

Probably need to rework balena-cli as there are some unwanted libs there.

@cho-m cho-m added the blocked label Mar 24, 2024
@github-actions github-actions bot added the automerge-skip `brew pr-automerge` will skip this pull request label Mar 24, 2024
@cho-m
Copy link
Member Author
cho-m commented Mar 24, 2024

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.

@cho-m cho-m added CI-skip-dependents Pass --skip-dependents to brew test-bot. CI-no-bottles Merge without publishing bottles CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. labels Mar 24, 2024
@cho-m cho-m force-pushed the mismatched_binary_allowlist-granular-entries branch 2 times, most recently from 9805c1b to 95f25cf Compare March 25, 2024 01:57
Comment on lines 4 to 5
"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*",
Copy link
Member Author

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.

@cho-m cho-m force-pushed the mismatched_binary_allowlist-granular-entries branch from 95f25cf to 6992a9f Compare March 25, 2024 02:47
Signed-off-by: Michael Cho <michael@michaelcho.dev>
@cho-m cho-m force-pushed the mismatched_binary_allowlist-granular-entries branch from 6992a9f to f3bb258 Compare March 25, 2024 12:03
@cho-m cho-m marked this pull request as ready for review March 25, 2024 12:03
@cho-m cho-m added ready to merge PR can be merged once CI is green and removed automerge-skip `brew pr-automerge` will skip this pull request blocked CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. CI-skip-dependents Pass --skip-dependents to brew test-bot. labels Mar 25, 2024
@chenrui333 chenrui333 added this pull request to the merge queue Mar 26, 2024
@chenrui333
Copy link
Member

make sense 👍

Merged via the queue into master with commit f30986e Mar 26, 2024
25 checks passed
@chenrui333 chenrui333 deleted the mismatched_binary_allowlist-granular-entries branch March 26, 2024 18:26
@github-actions github-actions bot added the outdated PR was locked due to age label Apr 25, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CI-no-bottles Merge without publishing bottles outdated PR was locked due to age ready to merge PR can be merged once CI is green
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants