Now jenkins started to recommend using Java-11 so I did an update, unmasked jdk-11 and it works fine. We have a mask from 2017, is it valid in 2021? - virtual/jdk-11-r2::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # James Le Cuirot <chewi@gentoo.org> (2017-12-17) # Java 11 is not yet fully supported on Gentoo. Packages cannot depend # on it so these virtuals are not yet required. If you wish to use # Java 11 then install openjdk-(jdk|jre)-bin directly. Thanks!
bug 697014 has a of blockers listed for this. Java has been stuck for a long time on Gentoo so I hope this is resolvable at some point.
(In reply to Emily Rowlands from comment #1) > bug 697014 has a of blockers listed for this. Java has been stuck for a long > time on Gentoo so I hope this is resolvable at some point. While bug #697014 tracks anything related to virtual/jdk:11 I think it's time to identify the real blockers. Ebuilds depending on virtual/(jre|jdk)-1.[2-5] have boiled down to 27 presently. Most of then are waiting for stabilization/removal or have never had a stable version in the past or do not even compile with openjdk:8. Also "dev-java/openjdk gentoo-vm" needs to be removed from package.use.mask Let'a make this a tracker and add the real blockers to "Depends on".
The only difference observed so far was the higher memory usage compared to Java-8 (jenkins, elastic).
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b08db28798fa6e22846f260ec1cc85ad3717b4aa commit b08db28798fa6e22846f260ec1cc85ad3717b4aa Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-01-09 15:45:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-01-09 18:54:11 +0000 package.use.mask: remove openjdk*:11 gentoo-vm Bug: https://bugs.gentoo.org/697014 Bug: https://bugs.gentoo.org/810613 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/23712 Signed-off-by: Sam James <sam@gentoo.org> profiles/base/package.use.mask | 3 --- 1 file changed, 3 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4e60b3d385fd66cab780deebe785675feb988ab commit e4e60b3d385fd66cab780deebe785675feb988ab Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-01-09 15:41:38 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-01-09 18:54:10 +0000 package.use.stable.mask: mask openjdk*:11 gentoo-vm Bug: https://bugs.gentoo.org/697014 Bug: https://bugs.gentoo.org/810613 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Sam James <sam@gentoo.org> profiles/base/package.use.stable.mask | 9 +++++++++ 1 file changed, 9 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb928ee96baeb3418d50adcffff7f837fc160073 commit fb928ee96baeb3418d50adcffff7f837fc160073 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-01-09 14:38:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-01-09 18:54:09 +0000 profiles/package.mask: unmask virtual/{jdk,jre}:11 Bug: https://bugs.gentoo.org/697014 Bug: https://bugs.gentoo.org/810613 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 2 -- 1 file changed, 2 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b1eccfee723451e2a4ef919e9414bb61446d417 commit 3b1eccfee723451e2a4ef919e9414bb61446d417 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2022-01-20 06:45:33 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-01-20 07:23:18 +0000 dev-java/openjdk: get rid of gentoo-vm in openjdk-11.0.14_p9 Bug: https://bugs.gentoo.org/810613 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/openjdk/openjdk-11.0.14_p9.ebuild | 40 ++++++++---------------------- 1 file changed, 11 insertions(+), 29 deletions(-)
:11 virtuals are scheduled to be stabilized soon, on amd64 arm64 and ppc64, x86 may be added later after more testing is done.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11de3479da384aaad1232b4399c387eee99db6eb commit 11de3479da384aaad1232b4399c387eee99db6eb Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2022-02-16 20:31:09 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-02-16 20:31:55 +0000 profiles/base: remove openjdk*:11 gentoo-vm mask Closes: https://bugs.gentoo.org/810613 Bug: https://bugs.gentoo.org/697014 Bug: https://bugs.gentoo.org/833096 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> profiles/base/package.use.stable.mask | 9 --------- 1 file changed, 9 deletions(-)