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

Dependency java problem #1

Open
trubelik opened this issue Dec 22, 2020 · 1 comment
Open

Dependency java problem #1

trubelik opened this issue Dec 22, 2020 · 1 comment

Comments

@trubelik
Copy link

There is a dependecy problem with java. Output from brew tap:

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/restclient-cli.rb
restclient-cli: 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 wiztools/repo tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/restclient-cli.rb:8

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/xsd-gen.rb
xsd-gen: 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 wiztools/repo tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/xsd-gen.rb:8

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/json-validator.rb
json-validator: 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 wiztools/repo tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/json-validator.rb:7

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/date-arithmetic.rb
date-arithmetic: 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 wiztools/repo tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/date-arithmetic.rb:8

Warning: Calling depends_on :java is deprecated! Use depends_on a specific Java formula instead.
Please report this issue to the wiztools/repo tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/Casks/restclient.rb:10

Error: Cannot tap wiztools/repo: invalid syntax in tap!
@hershmaster
Copy link

I get similar messages every time I run "brew update":

==> Deleted Casks
pibakery                                psequel                                 raven
Error: Failed to import: /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/restclient-cli.rb
restclient-cli: Unsupported special dependency :java
Error: Failed to import: /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/xsd-gen.rb
xsd-gen: Unsupported special dependency :java
Error: Failed to import: /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/json-validator.rb
json-validator: Unsupported special dependency :java
Error: Failed to import: /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/date-arithmetic.rb
date-arithmetic: Unsupported special dependency :java

You have 7 outdated formulae installed.
You can update them with brew upgrade.

and "brew search":

$ brew search restclient
Error: Calling depends_on :java is disabled! Use depends_on a specific Java formula instead.
Please report this issue to the wiztools/repo tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/wiztools/homebrew-repo/Casks/restclient.rb:10

and other brew commands.

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

2 participants