Skip to content

Brew test bot failure on finding formula in third party tap #20465

@shivammathur

Description

@shivammathur

brew doctor output

==> brew doctor
All steps passed!

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
/usr/bin/env brew config
HOMEBREW_VERSION: 4.6.3-75-gfbac21d
ORIGIN: https://github.com/Homebrew/brew
HEAD: fbac21da5438e4bfa4aedc98bbd5775fb8e545bb
Last commit: 3 hours ago
Branch: main
Core tap HEAD: 6408b9257aea22c2504549064fbd8a5b6e3bbc5d
Core tap last commit: 21 minutes ago
Core tap JSON: 14 Aug 14:02 UTC
Core cask tap HEAD: 376a19e7242bd9649db3f65936a39e9fa0eaa803
Core cask tap last commit: 6 minutes ago
Core cask tap JSON: 14 Aug 14:02 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CACHE: /Users/runner/Library/Caches/Homebrew
HOMEBREW_CASK_OPTS: ["--no-quarantine"]
HOMEBREW_COLOR: set
HOMEBREW_CURL_PATH: /usr/bin/curl
HOMEBREW_DEBUG: set
HOMEBREW_DEVELOPER: set
HOMEBREW_FAIL_LOG_LINES: 150
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_GIT_EMAIL: 1589480+BrewTestBot@users.noreply.github.com
HOMEBREW_GIT_NAME: BrewTestBot
HOMEBREW_GIT_PATH: /usr/bin/git
HOMEBREW_LOGS: /Users/runner/work/homebrew-php/homebrew-php/logs
HOMEBREW_MAKE_JOBS: 3
HOMEBREW_NO_AUTO_UPDATE: set
HOMEBREW_NO_COLOR: set
HOMEBREW_NO_EMOJI: set
HOMEBREW_NO_ENV_HINTS: set
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set
HOMEBREW_NO_INSTALL_CLEANUP: set
HOMEBREW_SORBET_RUNTIME: set
HOMEBREW_VERBOSE: set
Homebrew Ruby: 3.4.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.5/bin/ruby
CPU: 3-core 64-bit dunno
Clang: 16.0.0 build 1600
Git: 2.39.5 => /usr/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.5-arm64
CLT: 16.4.0.0.1.1747106510
Xcode: 16.0 => /Applications/Xcode_16.app/Contents/Developer
Rosetta 2: false

What were you trying to do (and why)?

Build a formula in my tap using this command.

brew test-bot --only-formulae --junit --only-json-tab --skip-dependents --root-url="https://ghcr.io/v2/shivammathur/php" --testing-formulae=shivammathur/php/php@8.5 --added-formulae= --deleted-formulae=

What happened (include all command output)?

Currently I'm getting this error.

https://github.com/shivammathur/homebrew-php/actions/runs/16924306141/job/48094874559?pr=4233#step:3:2177

/opt/homebrew/Library/Homebrew/build.rb:271:in '<main>': private method 'puts' called for nil (NoMethodError)
  /opt/homebrew/Library/Homebrew/formulary.rb:624:in 'Formulary::FromPathLoader.try_new': Rejecting formula at false because it's not in a tap. (RuntimeError)
         Homebrew requires formulae to be in a tap.
  
  To create a tap, run e.g.
    brew tap-new <user|org>/<repository>
  To create a formula in a tap run e.g.
    brew create <url> --tap=<user|org>/<repository>

Earlier I was getting this error
https://github.com/shivammathur/homebrew-php/actions/runs/16924306141/job/48094874544?pr=4233#step:3:2201

FormulaUnavailableError: No available formula with the name "php@8.5". Did you mean php@8.0, php@8.1, php@8.2, php@8.3, php@5.6, php@7.4, php@7.3, php@7.2, php@7.1 or php@7.0?

What did you expect to happen?

For the formula to build correctly without the error.

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

Please refer to the following CI workflow
https://github.com/shivammathur/homebrew-php/blob/main/.github/workflows/build.yml

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