The system has these: virtual/jre-11-r2::gentoo was built with the following: USE="" ABI_X86="(64)" virtual/jdk-11-r2::gentoo was built with the following: USE="headless-awt" ABI_X86="(64)" dev-java/openjdk-bin-11.0.11_p9-r1::gentoo was built with the following: USE="gentoo-vm headless-awt -alsa -cups (-selinux) -source" ABI_X86="(64)" But jenkins seems to be pulling in java-8: # emerge --tree -uDNva1 @world These are the packages that would be merged, in reverse order: Calculating dependencies... done! [nomerge ] dev-util/jenkins-bin-2.303.1:lts::gentoo [ebuild NS ] virtual/jre-1.8.0-r3:1.8::gentoo [11-r2:11::gentoo] 0 KiB [ebuild NS ] virtual/jdk-1.8.0-r6:1.8::gentoo [11-r2:11::gentoo] USE="headless-awt" 0 KiB [ebuild NS ] dev-java/openjdk-bin-8.292_p10:8::gentoo [11.0.11_p9-r1:11::gentoo] USE="headless-awt -alsa -cups -examples% (-selinux) -source (-gentoo-vm%*)" 0 KiB
Ah. virtual/jre is slotted. I guess we'll need to do something like this then: || ( virtual/jre:1.8 virtual/jre:11 ) With 11 at the end since it is still masked.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5a449d59df5ee85abcf4ae19c65e206fc9e24c1 commit d5a449d59df5ee85abcf4ae19c65e206fc9e24c1 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2021-08-27 08:27:43 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2021-08-27 08:27:49 +0000 dev-util/jenkins-bin: allow java 11 and add 2.308 Closes: https://bugs.gentoo.org/810616 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-util/jenkins-bin/Manifest | 1 + dev-util/jenkins-bin/jenkins-bin-2.303.1-r1.ebuild | 45 ++++++++++++++++++++++ dev-util/jenkins-bin/jenkins-bin-2.308.ebuild | 45 ++++++++++++++++++++++ 3 files changed, 91 insertions(+)
Thank you Hans.