Skip to content

Repeated Deprecation Warnings #22857

Description

@Justin24506

brew doctor output

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :sonoma` instead.
Please report this issue to the easysnaps/homebrew-snapshot tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/easysnaps/homebrew-snapshot/Casks/easysnaps.rb:16

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :catalina` instead.
Please report this issue to the coollabsio/homebrew-jean tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/coollabsio/homebrew-jean/Casks/jean.rb:15

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :sequoia` instead.
Please report this issue to the sozercan/homebrew-repo tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/sozercan/homebrew-repo/Casks/kaset.rb:14

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :sonoma` instead.
Please report this issue to the easysnaps/homebrew-snapshot tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/easysnaps/homebrew-snapshot/Casks/easysnaps.rb:16

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :catalina` instead.
Please report this issue to the coollabsio/homebrew-jean tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/coollabsio/homebrew-jean/Casks/jean.rb:15

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :sequoia` instead.
Please report this issue to the sozercan/homebrew-repo tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/sozercan/homebrew-repo/Casks/kaset.rb:14

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed casks are deprecated or disabled.
You should find replacements for the following casks:
  aegisub
  cakebrewjs
  gittyup
  koodo-reader
  logisim-evolution
  mark-text

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed manually.
You should find replacements for the following formulae:
  skhd
  yabai

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  termshark
  vapoursynth-imwri

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae and may need to be deleted.

Unexpected header files:
  /usr/local/include/fetch.h
  /usr/local/include/node/*

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  superset
  ruby
  gascity
Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :sonoma` instead.
Please report this issue to the easysnaps/homebrew-snapshot tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/easysnaps/homebrew-snapshot/Casks/easysnaps.rb:16

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :catalina` instead.
Please report this issue to the coollabsio/homebrew-jean tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/coollabsio/homebrew-jean/Casks/jean.rb:15

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :sequoia` instead.
Please report this issue to the sozercan/homebrew-repo tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/sozercan/homebrew-repo/Casks/kaset.rb:14

Verification

  • I ran brew update twice and am still able to reproduce my issue.
  • My "brew doctor output" above says Your system is ready to brew or a definitely unrelated Tier message.
  • This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output

HOMEBREW_VERSION: 6.0.3-14-gf1471df
ORIGIN: https://github.com/Homebrew/brew
HEAD: f1471df8fa297e86f2ab06a2c358c8acfeab15bc
Last commit: 2 hours ago
Branch: main
Core tap HEAD: 5656013c143ccc5b751db49d3d6a9a6450e93489
Core tap last commit: 25 hours ago
Core cask tap HEAD: cf4d4ef221916994e3d88eea791bfcdc41a44c82
Core cask tap last commit: 25 hours ago
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DOWNLOAD_CONCURRENCY: 20
HOMEBREW_EDITOR: nvim
HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_REQUIRE_TAP_TRUST: set
Homebrew Ruby: 4.0.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/4.0.5_1/bin/ruby
CPU: deca-core 64-bit arm_firestorm_icestorm
Clang: 21.0.0 build 2100
Git: 2.54.0 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 26.5.1-arm64
CLT: 26.5.0.0.1777544298
Xcode: 26.5
Metal Toolchain: N/A
Rosetta 2: false

What were you trying to do (and why)?

I was trying to run brew upgrade --greedy-auto-updates.
Instead of getting code deprecation warnings for the casks in 3 taps just once, they're repeated.
Twice if no updates are available, and 4 times, if updates are available.

And similarly, in brew doctor, the warnings appear thrice.

What happened (include all command output)?

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :sonoma` instead.
Please report this issue to the easysnaps/homebrew-snapshot tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/easysnaps/homebrew-snapshot/Casks/easysnaps.rb:16

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :catalina` instead.
Please report this issue to the coollabsio/homebrew-jean tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/coollabsio/homebrew-jean/Casks/jean.rb:15

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :sequoia` instead.
Please report this issue to the sozercan/homebrew-repo tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/sozercan/homebrew-repo/Casks/kaset.rb:14

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :sonoma` instead.
Please report this issue to the easysnaps/homebrew-snapshot tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/easysnaps/homebrew-snapshot/Casks/easysnaps.rb:16

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :catalina` instead.
Please report this issue to the coollabsio/homebrew-jean tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/coollabsio/homebrew-jean/Casks/jean.rb:15

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :sequoia` instead.
Please report this issue to the sozercan/homebrew-repo tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/sozercan/homebrew-repo/Casks/kaset.rb:14

What did you expect to happen?

I expected to see just the 3 warnings.

I'm sorry for bringing up this issue again (#22713, #22620).
But is this the intended way?

Step-by-step reproduction instructions (running brew commands)

1. brew doctor 

or

1. brew upgrade --greedy-auto-updates 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions