Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/pivotal/homebrew-tap/trilogy.rb #176

Open
ghost opened this issue Dec 23, 2020 · 7 comments

Comments

@ghost
Copy link

ghost commented Dec 23, 2020

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!
@dwprice260
Copy link

I am getting this error also, in trying to "brew tap pivotal/tap".

@0p3r4t0r
Copy link

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)

@yangxyo
Copy link

yangxyo commented Dec 28, 2020

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

@minz-github
Copy link

minz-github commented Dec 30, 2020

Got the same error here, and it seems like due to this change one week ago

@amiretemad
Copy link

Get the same error :(

@jesperronn
Copy link

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.

@onichols-pivotal
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants