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 audit fails pull request CI, uses_from_macos should not be used when Linux is required #1659

Open
heuermh opened this issue Jan 4, 2024 · 0 comments

Comments

@heuermh
Copy link
Contributor

heuermh commented Jan 4, 2024

See e.g.

https://github.com/brewsci/homebrew-bio/actions/runs/7415282740/job/20178109973?pr=1658

brew style brewsci/bio
==> FAILED
Full style brewsci/bio output
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/brewsci/homebrew-bio/Formula/bandage.rb:18:3: C: FormulaAudit/UsesFromMacos: uses_from_macos should not be used when Linux is required.
    uses_from_macos "zlib"
    ^^^^^^^^^^^^^^^^^^^^^^
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/brewsci/homebrew-bio/Formula/kssd.rb:15:3: C: FormulaAudit/UsesFromMacos: uses_from_macos should not be used when Linux is required.
    uses_from_macos "zlib"
    ^^^^^^^^^^^^^^^^^^^^^^
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/brewsci/homebrew-bio/Formula/masurca.rb:19:3: C: FormulaAudit/UsesFromMacos: uses_from_macos should not be used when Linux is required.
    uses_from_macos "bzip2"
    ^^^^^^^^^^^^^^^^^^^^^^^
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/brewsci/homebrew-bio/Formula/masurca.rb:20:3: C: FormulaAudit/UsesFromMacos: uses_from_macos should not be used when Linux is required.
    uses_from_macos "zlib"
    ^^^^^^^^^^^^^^^^^^^^^^
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/brewsci/homebrew-bio/Formula/squeakr.rb:19:3: C: FormulaAudit/UsesFromMacos: uses_from_macos should not be used when Linux is required.
    uses_from_macos "bzip2"
    ^^^^^^^^^^^^^^^^^^^^^^^
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/brewsci/homebrew-bio/Formula/squeakr.rb:20:3: C: FormulaAudit/UsesFromMacos: uses_from_macos should not be used when Linux is required.
    uses_from_macos "zlib"
    ^^^^^^^^^^^^^^^^^^^^^^
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/brewsci/homebrew-bio/Formula/wtdbg2.rb:18:3: C: FormulaAudit/UsesFromMacos: uses_from_macos should not be used when Linux is required.
    uses_from_macos "zlib"
    ^^^^^^^^^^^^^^^^^^^^^^
  
  326 files inspected, 7 offenses detected
  Error: FormulaAudit/UsesFromMacos: `uses_from_macos` should not be used when Linux is required.
  Error: FormulaAudit/UsesFromMacos: `uses_from_macos` should not be used when Linux is required.
  Error: FormulaAudit/UsesFromMacos: `uses_from_macos` should not be used when Linux is required.
  Error: FormulaAudit/UsesFromMacos: `uses_from_macos` should not be used when Linux is required.
  Error: FormulaAudit/UsesFromMacos: `uses_from_macos` should not be used when Linux is required.
  Error: FormulaAudit/UsesFromMacos: `uses_from_macos` should not be used when Linux is required.
  Error: FormulaAudit/UsesFromMacos: `uses_from_macos` should not be used when Linux is required.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant