Summary: | dev-java/bcprov-1.71 - Need at least JDK 9 to compile module-info.java in src_compile. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | atoth, flow, fordfrog |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/25766 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 796875, 847454, 849299 | ||
Attachments: |
dev-java:bcprov-1.71:20220526-134815.log
emerge-history.txt etc.portage.tar.bz2 |
Description
Toralf Förster
2022-05-26 14:10:25 UTC
Created attachment 780917 [details]
dev-java:bcprov-1.71:20220526-134815.log
Created attachment 780920 [details]
emerge-history.txt
Created attachment 780923 [details]
etc.portage.tar.bz2
Obviously having DEPEND=">=virtual/jdk-11:*" in the ebuild is not sufficient in this case. Here something seems really weird. With system-vm set to openjdk-8 packages are detecting different jdk versions. $ ebuild bcprov/bcprov-1.71.ebuild clean compile | grep -A1 -B1 java-pkg_get-vm-version debug: java-pkg_is-vm-version-ge: entering function, parameters: 9 debug: java-pkg_get-vm-version: entering function, parameters: debug: Detected a JDK(1.8) < 9 For comparison: $ ebuild jackson-annotations/jackson-annotations-2.13.3.ebuild clean compile | grep -A1 -B1 java-pkg_get-vm-version debug: java-pkg_is-vm-version-ge: entering function, parameters: 9 debug: java-pkg_get-vm-version: entering function, parameters: debug: Detected a JDK(17) >= 9 Both bcprov-1.71 and jackson-annotations-2.13.3 are having DEPEND=">=virtual/jdk-11:*" in the ebuild. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c1d546674404faca44134967e34837ce2b40d1 commit 75c1d546674404faca44134967e34837ce2b40d1 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-06-05 11:46:52 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2022-06-06 07:42:23 +0000 dev-java/bcprov: add java-pkg-2_pkg_setup Bug: https://bugs.gentoo.org/847592 Closes: https://bugs.gentoo.org/849299 Closes: https://bugs.gentoo.org/847454 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Florian Schmaus <flow@gentoo.org> dev-java/bcprov/bcprov-1.71-r1.ebuild | 111 ++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) |