homebrew-tap
homebrew-tap copied to clipboard
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/pivotal/homebrew-tap/trilogy.rb
Hi, I met this error when I tried to install springboot-cli, how to fix it?
➜ homebrew git:(stable) brew tap pivotal/tap && brew install gemfire
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 5 formulae.
==> Tapping pivotal/tap
Cloning into '/usr/local/Homebrew/Library/Taps/pivotal/homebrew-tap'...
remote: Enumerating objects: 39, done.
remote: Counting objects: 100% (39/39), done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 1474 (delta 19), reused 21 (delta 9), pack-reused 1435
Receiving objects: 100% (1474/1474), 281.49 KiB | 369.00 KiB/s, done.
Resolving deltas: 100% (842/842), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/pivotal/homebrew-tap/trilogy.rb
trilogy: Calling depends_on :java is disabled! Use "depends_on "openjdk@11", "depends_on "openjdk@8" or "depends_on "openjdk" instead.
Please report this issue to the pivotal/tap tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/pivotal/homebrew-tap/trilogy.rb:9
Error: Cannot tap pivotal/tap: invalid syntax in tap!
I am getting this error also, in trying to "brew tap pivotal/tap".
Same error here.
sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.7
BuildVersion: 19H2
Java installed/updated to latest via brew
java --version
java 15.0.1 2020-10-20
Java(TM) SE Runtime Environment (build 15.0.1+9-18)
Java HotSpot(TM) 64-Bit Server VM (build 15.0.1+9-18, mixed mode, sharing)
brew --version
Homebrew 2.7.0
Homebrew/homebrew-core (git revision f6313; last commit 2020-12-25)
Homebrew/homebrew-cask (git revision 8cc958; last commit 2020-12-26)
Failed to import: /usr/local/Homebrew/Library/Taps/pivotal/homebrew-tap/trilogy.rb
trilogy: Calling depends_on :java is disabled! Use "depends_on "openjdk@11", "depends_on "openjdk@8" or "depends_on "openjdk" instead.
Please report this issue to the pivotal/tap tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/pivotal/homebrew-tap/trilogy.rb:9
Got the same error here, and it seems like due to this change one week ago
Get the same error :(
Same error for me. @philwebb you made the last user-based merge onto master, which I presume is working. Is there any chance you can revert the last commit that @minz-github points to (or at least investigate if it is causing the problem).
I am currently blocked, as I cannot install springboot
CLI because of the error in the tap. I would greatly appreciate any manual interference with the master branch so that other taps are unblocked.
Got the same error here, and it seems like due to this change one week ago
no, the change you reference did not cause the problem. a new version of brew itself caused the problem. the above commit fixed it for gemfire (see #175) but we are all still waiting for someone to merge the PR #177 to make a similar fix for trilogy.