* Need at least JDK 9 to compile module-info.java in src_compile. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-j4-20220525-190012 ------------------------------------------------------------------- The log matches a QA pattern or a pattern requested by a Gentoo developer.
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(+)