Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628948 - app-text/languagetool-3.5-r1: ewarn about needed Java version
Summary: app-text/languagetool-3.5-r1: ewarn about needed Java version
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-26 07:16 UTC by Cddr
Modified: 2017-08-31 19:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cddr 2017-08-26 07:16:49 UTC
LanguageTool 3.5 requires Java 8 or later.

Gentoo provides ability to have several JVM installed, so explicitly inform user about needed version.

Conside adding into the ebuild postinst instruction with some ewarn about that.
Comment 1 Patrice Clement (RETIRED) gentoo-dev 2017-08-30 19:12:40 UTC
Hi!

There's something missing in this ebuild and it's the definition of the DEPEND variable. Indeed, this variable must be set in Java-based ebuilds for Portage to enforce a certain version of the JVM. It won't work without it. I'm going to push a fix ASAP.

CC'ed in Java@ so that Chewi can correct me if I'm wrong.
Comment 2 Patrice Clement (RETIRED) gentoo-dev 2017-08-30 19:14:43 UTC
commit 72f5d7034f0fe1ab1a97d9b45db6e26c37c7eb03 (HEAD -> master, origin/master, origin/HEAD)
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: Wed Aug 30 21:13:50 2017 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Wed Aug 30 21:14:08 2017 +0200

app-text/languagetool: define DEPEND variable.

Gentoo-Bug: https://bugs.gentoo.org/628948

Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-text/languagetool/languagetool-3.5-r2.ebuild | 70 ++++++++++++++++++++++++
1 file changed, 70 insertions(+)
create mode 100644 app-text/languagetool/languagetool-3.5-r2.ebuild
Comment 3 James Le Cuirot gentoo-dev 2017-08-30 19:30:43 UTC
monsieurp, this was the wrong thing to do. This package does not get compiled so no JDK is necessary and the package.env file gets the necessary VM=">=virtual/jre-1.8" line to indicate that Java 8 is required. gjl is supposed to launch the right JVM automatically even if the user has selected an older one. The reporter did not include any kind of error message so I don't know whether this mechanism broke or whether they simply assumed that it lacked this capability.
Comment 4 Cddr 2017-08-31 04:40:20 UTC
It was assumption only.