Linuxbrew-core: Dependency on java should not be hardcoded

Created on 12 Jun 2019  路  2Comments  路  Source: Homebrew/linuxbrew-core

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • [ ] are reporting a bug others will be able to reproduce and not asking a question or requesting software. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh. To get software added or changed in Homebrew please file a Pull Request
  • [ ] have a problem with brew install (or upgrade, reinstall) a single, Homebrew/homebrew-core formula (not cask) on macOS? If it's a general brew problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new/choose. If it's a Linux problem please file this issue at https://github.com/Homebrew/linuxbrew-core/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
  • [ ] ran brew update and can still reproduce the problem?
  • [ ] ran brew doctor, fixed all issues and can still reproduce the problem?
  • [ ] ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?
  • [ ] if brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

  • What you were trying to do (and why)
  • What happened (include command output)
  • What you expected to happen
  • Step-by-step reproduction instructions (by running brew install commands)

I switched from openjdk to adoptopenjdk using linuxbrew. Formulas like ant, maven, groovy were ok once brew reinstall them, but some formulas like rubberband were insisting (reinstalling as dependency) openjdk, which imo is wrong. I'd would like to have it build against java of my choice.

bug in progress outdated

Most helpful comment

Formula leiningen fixed proper, while subversion and rubberband changed to reference adoptopenjdk, which is improvement but still is locked to one JVM imple....

This issue seems done, so closing it out.

All 2 comments

leiningen, rubberband, and subversion mention openjdk specifically and need to be updated to use either depends_on :java or depends_on "adoptopenjdk". The former is preferred, but if the formula refers to Formula["openjdk"] it'll have to be the latter. Could you please open three separate PRs to update these three formulae?

Formula leiningen fixed proper, while subversion and rubberband changed to reference adoptopenjdk, which is improvement but still is locked to one JVM imple....

This issue seems done, so closing it out.

Was this page helpful?
0 / 5 - 0 ratings