If you do not already have a jdk installed, you cannot emerge openjdk since on x86 the -bin variants are not available. I think icedtea-bin was the only remaining binary to bootstrap java on x86. Reproducible: Always
That's a good reason to keep icedtea-bin around for now.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a029d81c27090909a109a3349fe7b8e3e83bbc8 commit 3a029d81c27090909a109a3349fe7b8e3e83bbc8 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2024-02-19 08:14:37 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-02-19 09:03:12 +0000 dev-java/openjdk: re-add dev-java/icedtea-bin Closes: https://bugs.gentoo.org/924945 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/35421 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> .../openjdk/{openjdk-8.382_p05-r1.ebuild => openjdk-8.382_p05-r2.ebuild} | 1 + 1 file changed, 1 insertion(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca368abe6eb1af863793cc159780d279d391379a commit ca368abe6eb1af863793cc159780d279d391379a Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2024-02-19 08:10:53 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-02-19 09:03:11 +0000 virtual/jdk: re-add dev-java/icedtea-bin Bug: https://bugs.gentoo.org/924945 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> virtual/jdk/{jdk-1.8.0-r7.ebuild => jdk-1.8.0-r8.ebuild} | 1 + 1 file changed, 1 insertion(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c75dc8a3278096459ed73e2bae27441175efb8e4 commit c75dc8a3278096459ed73e2bae27441175efb8e4 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2024-02-19 07:42:32 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-02-19 09:03:07 +0000 profiles: do not last rite dev-java/icedtea-bin Bug: https://bugs.gentoo.org/924945 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> profiles/package.mask | 1 - 1 file changed, 1 deletion(-)
There is an Adoptium x86 binary for 8u: https://adoptium.net/temurin/releases/?arch=x86&version=8 so it should be possible to add this to dev-java/openjdk-bin and then drop dev-java/icedtea-bin. At the very least, dev-java/icedtea-bin should be x86 only and have a warning that it needs to be replaced by an up-to-date JDK built from source. The current dev-java/icedtea-bin is older than even dev-java/icedtea and so subject to multiple CVEs.
(In reply to Andrew John Hughes from comment #3) > There is an Adoptium x86 binary for 8u: > > https://adoptium.net/temurin/releases/?arch=x86&version=8 > [...] seems to be x86 but windows only. How could we use it for Linux?
(In reply to Volkmar W. Pogatzki from comment #4) > (In reply to Andrew John Hughes from comment #3) > > There is an Adoptium x86 binary for 8u: > > > > https://adoptium.net/temurin/releases/?arch=x86&version=8 > > [...] > > seems to be x86 but windows only. How could we use it for Linux? Sorry, I didn't realise it had switched me over from Linux to 'any'. It looks like Azul are the only vendor to offer x86_32 Linux: https://adoptium.net/marketplace/?arch=x86&version=8 https://www.azul.com/downloads/?version=java-8-lts&os=linux&architecture=x86-32-bit&package=jdk#zulu I don't know if that's worth a try.
This commit should allow building openjdk:8 on x86 without icedtea-bin: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d12dc30217085d3a6605b85e5d7a2a26be81ea7c
(In reply to Volkmar W. Pogatzki from comment #6) > This commit should allow building openjdk:8 on x86 without icedtea-bin: > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=d12dc30217085d3a6605b85e5d7a2a26be81ea7c x86 team: could you pls verify that it works? thanks.