Skip to content

brew info prints ==> Caveats with no caveats under it for some formulae #20326

@carlocab

Description

@carlocab

brew doctor output

❯ brew doctor
Your system is ready to brew.

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

❯ brew config
WORKBREW_VERSION: 1.3.4
HOMEBREW_VERSION: 4.5.13-7-ge204a20
ORIGIN: https://github.com/Homebrew/brew
HEAD: e204a207f28c72a6ca162fdfaa9509eb241bc8ae
Last commit: 4 hours ago
Branch: main
Core tap HEAD: c31cd285afb29a05bc5f6a4886ea8e343bd008a4
Core tap last commit: 21 minutes ago
Core tap JSON: 29 Jul 06:01 UTC
Core cask tap HEAD: e38c63df9cb95b5367c98b4fcee2260aa3eeb08b
Core cask tap last commit: 20 minutes ago
Core cask tap JSON: 29 Jul 06:01 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_AUTO_UPDATE_SECS: 43200
HOMEBREW_BAT: set
HOMEBREW_BREW_WRAPPER: /opt/workbrew/bin/brew
HOMEBREW_CASK_OPTS: ["--colorpickerdir=/Library/ColorPickers", "--prefpanedir=/Library/PreferencePanes", "--qlplugindir=/Library/QuickLook", "--mdimporterdir=/Library/Spotlight", "--dictionarydir=/Library/Dictionaries", "--fontdir=/Library/Fonts", "--servicedir=/Library/Services", "--input-methoddir=/Library/Input Methods", "--internet-plugindir=/Library/Internet Plug-Ins", "--audio-unit-plugindir=/Library/Audio/Plug-Ins/Components", "--vst-plugindir=/Library/Audio/Plug-Ins/VST", "--vst3-plugindir=/Library/Audio/Plug-Ins/VST3", "--screen-saverdir=/Library/Screen Savers"]
HOMEBREW_CURLRC: /opt/homebrew/etc/curlrc
HOMEBREW_DEVELOPER: set
HOMEBREW_EDITOR: nvim
HOMEBREW_FORBIDDEN_CASKS: zulu
HOMEBREW_FORBIDDEN_FORMULAE: pwgen
HOMEBREW_FORBIDDEN_OWNER: your Workbrew administrator
HOMEBREW_FORBIDDEN_OWNER_CONTACT: Contact us on Slack in #security with questions
HOMEBREW_FORCE_BREWED_CURL: set
HOMEBREW_FORCE_BREWED_GIT: set
HOMEBREW_FORCE_BREW_WRAPPER: /opt/workbrew/bin/brew
HOMEBREW_GIT_EMAIL: 30379873+carlocab@users.noreply.github.com
HOMEBREW_GIT_NAME: Carlo Cabrera
HOMEBREW_INSTALL_BADGE: ☕️
HOMEBREW_MAKE_JOBS: 16
HOMEBREW_NO_CLEANUP_FORMULAE: zsh
HOMEBREW_NO_INSTALL_FROM_API: set
HOMEBREW_SORBET_RUNTIME: set
HOMEBREW_SYSTEM_ENV_TAKES_PRIORITY: set
HOMEBREW_TEMP: /var/folders/by/r3kqb74j2zn0010s9mcbsvv00000gp/T/
Homebrew Ruby: 3.4.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.5/bin/ruby
CPU: 16-core 64-bit arm_palma
Clang: 17.0.0 build 1700
Git: 2.50.1 => /opt/homebrew/opt/git/bin/git
Curl: 8.15.0 => /opt/homebrew/opt/curl/bin/curl
macOS: 15.5-arm64
CLT: 16.4.0.0.1.1747106510
Xcode: 16.4
Rosetta 2: false

What were you trying to do (and why)?

Run brew info to look at information of some formulae.

What happened (include all command output)?

❯ brew info tree-sitter-cli
==> tree-sitter-cli: stable 0.25.8 (bottled)
Parser generator tool
https://tree-sitter.github.io
Installed
/opt/homebrew/Cellar/tree-sitter-cli/0.25.8 (11 files, 8.4MB) *
  Poured from bottle on 2025-07-29 at 13:42:35
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/t/tree-sitter-cli.rb
License: MIT
==> Dependencies
Build: rust ✔
==> Caveats

==> Analytics
install: 17 (30 days), 17 (90 days), 17 (365 days)
install-on-request: 17 (30 days), 17 (90 days), 17 (365 days)
build-error: 0 (30 days)
❯ brew info skopeo
==> skopeo: stable 1.19.0 (bottled)
Work with remote images registries
https://github.com/containers/skopeo
Installed
/opt/homebrew/Cellar/skopeo/1.19.0_1 (23 files, 39.3MB) *
  Poured from bottle on 2025-07-29 at 09:50:26
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/s/skopeo.rb
License: Apache-2.0
==> Dependencies
Build: go ✔, go-md2man ✘, pkgconf ✔
Required: gpgme ✔
==> Caveats

==> Analytics
install: 1,567 (30 days), 7,052 (90 days), 25,892 (365 days)
install-on-request: 1,565 (30 days), 7,036 (90 days), 25,845 (365 days)
build-error: 0 (30 days)

What did you expect to happen?

brew info should not print the ==> Caveats header if it has no caveats to print.

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

brew update
brew info tree-sitter-cli
brew info skopeo

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