Skip to content

Deprecation warning for the verified parameter in the url stanza is triggered several times for one occurrence #24075

Description

@Porkepix

brew doctor output

❯ brew doctor
Warning: Calling the `verified` parameter in the `url` stanza is deprecated! Use the default URL verification behaviour instead.
Please report this issue to the foo/homebrew-bar tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/foo/homebrew-bar/Casks/bar.rb:6

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:

[…]

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Settings.

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 26.3.

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed manually.


You should find replacements for the following formulae:

  […]

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

  […]
Warning: Calling the `verified` parameter in the `url` stanza is deprecated! Use the default URL verification behaviour instead.
Please report this issue to the foo/homebrew-bar tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/foo/homebrew-bar/Casks/bar.rb:6

This is a Tier 2 configuration:
  https://docs.brew.sh/Support-Tiers#tier-2
You can report issues with Tier 2 configurations to Homebrew/* repositories!
  https://docs.brew.sh/Troubleshooting
Read the above document before opening any issues or PRs.

Can't get rid of the warning regarding command line tools as I'm on the most recent one I can install on macOS 15.x. The more recent ones detected by Homebrew can't be installed on this macOS version.

Verification

  • I ran brew update twice and am still able to reproduce my issue.
  • I have supplied my brew doctor output above and it seems unrelated to my issue.
  • 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.
  • I did not use AI/LLM to create this issue, or I disclosed the tool and model used; I will answer maintainer questions myself without AI/LLM.

brew config output

❯ brew config
HOMEBREW_VERSION: 7.0.6-21-g3f12c3e
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3f12c3ee9d2385a84250c218bcefcda97b3734fd
Last commit: 17 hours ago
Branch: main
Core tap HEAD: 68b8cd3a88a7bbb0616e81a8ea7c41587d42f9b1
Core tap last commit: 17 minutes ago
Core cask tap HEAD: 11ef64372b34d73445a44ed92f6bf4878b66717b
Core cask tap last commit: 7 months ago
HOMEBREW_PREFIX: /opt/homebrew
Homebrew Ruby: 4.0.7 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/4.0.7/bin/ruby
CPU: deca-core 64-bit arm_firestorm_icestorm
Clang: 17.0.0 build 1700
Git: 2.55.0 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.7.9-arm64
CLT: 16.4.0.0.1.1747106510
Xcode: N/A
Rosetta 2: false

What were you trying to do (and why)?

Just routine upgrades, and then the issue reporting

What happened (include all command output)?

A simple brew upgrade produces from one to three warnings for the same verified parameter in the url stanza.

The message could appear up to three times before we confirm the upgrade. I could not confirm reliably that each time it appears two or three times instead of one, nor could I understand in which situation we would get more. After that, it appeared one more time after we confirmed the upgrade.

Please note that despite the corresponding Tap having the :verified twice (one for ARM, one for x86), all these warnings were referring to the exact same line, for ARM (currently using an ARM mac).

Also note that, while filing this issue I found out the warning also appearing twice in the brew doctor report (see the block above), both at the top and the bottom of the report.

❯ brew upgrade --greedy
==> Auto-updating Homebrew...
Adjust how often this is run with `$HOMEBREW_AUTO_UPDATE_SECS` or disable with
`$HOMEBREW_NO_AUTO_UPDATE=1`. Hide these hints with `$HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> New Casks
caldera-amp: Headless player for Plex music servers
cline-app: AI coding agent
look: Keyboard-first local launcher
Warning: Calling the `verified` parameter in the `url` stanza is deprecated! Use the default URL verification behaviour instead.
Please report this issue to the foo/homebrew-bar tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/foo/homebrew-bar/Casks/bar.rb:6

Warning: Calling the `verified` parameter in the `url` stanza is deprecated! Use the default URL verification behaviour instead.
Please report this issue to the foo/homebrew-bar tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/foo/homebrew-bar/Casks/bar.rb:6


Warning: Calling the `verified` parameter in the `url` stanza is deprecated! Use the default URL verification behaviour instead.
Please report this issue to the foo/homebrew-bar tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/foo/homebrew-bar/Casks/bar.rb:6

==> Would upgrade 1 outdated package
[…]
==> 2 Deprecated or disabled packages
[…]
==> Do you want to proceed with the upgrade? [y/n]
==> Fetching downloads for: […}
Warning: Calling the `verified` parameter in the `url` stanza is deprecated! Use the default URL verification behaviour instead.
Please report this issue to the foo/homebrew-bar tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/foo/homebrew-bar/Casks/bar.rb:6

What did you expect to happen?

Warning should appear once.

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

Just use `brew upgrade` and `brew doctor` with a Cask/Tap with the deprecated `:verified`.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions