I'm opening this mainly for tracking adding ARCH=riscv support Reproducible: Always
https://github.com/openjdk-riscv/ A working repo for this, for riscv64 port https://github.com/openjdk-riscv/bishengjdk-11-mirror/commits/risc-v
it will have same problems as rust ( need for bootstrap -bin package ) we use https://adoptopenjdk.net builds for -bin packages. until they add riscv - it's not going to happen, I think.
dev-java/openjdk/files/openjdk-11.0.14-riscv.patch The patch from opensuse, and archlinux-riscv use it. Archlinux-riscv: https://github.com/felixonmars/archriscv-packages/blob/master/java11-openjdk/java11-riscv64.patch opensuse: https://build.opensuse.org/package/view_file/openSUSE:Factory:RISCV/java-11-openjdk/riscv.patch?expand=1
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b65e502dadc2ff542f449aaea8c5942db791cf2e commit b65e502dadc2ff542f449aaea8c5942db791cf2e Author: Han Gao <rabenda.cn@gmail.com> AuthorDate: 2022-04-30 14:02:40 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-05-01 20:46:33 +0000 dev-java/openjdk: keyword 11.0.14_p9-r1 for ~riscv - Patch for riscv given by Han Gao <rabenda.cn@gmail.com> - Taken from opensuse RISC-V - Tarball built on gyakovlev's riscv machine, using opensuse's openjdk-11 tarball as bootstrap jdk Bug: https://bugs.gentoo.org/782916 Co-authored-by: Arthur Zamarin <arthurzam@gentoo.org> Signed-off-by: Han Gao <rabenda.cn@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/openjdk/Manifest | 2 ++ dev-java/openjdk/openjdk-11.0.14_p9-r1.ebuild | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-)
let's close it as resolved for now, since we've already pushed openjdk-11 into the tree..
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b52f458f5c50f8dc323cce1744e2786eda1cd466 commit b52f458f5c50f8dc323cce1744e2786eda1cd466 Author: Han Gao <rabenda.cn@gmail.com> AuthorDate: 2022-05-21 20:00:07 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-05-21 20:05:06 +0000 profiles/riscv/lp64d: unmask dev-java/openjdk:17[system-bootstrap] Bug: https://bugs.gentoo.org/782916 Signed-off-by: Han Gao <rabenda.cn@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/25535 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> profiles/arch/riscv/rv64gc/lp64d/package.use.force | 1 + 1 file changed, 1 insertion(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c454ac0b5559d7c9d27f1cb73f8e52d4055ac754 commit c454ac0b5559d7c9d27f1cb73f8e52d4055ac754 Author: Han Gao <rabenda.cn@gmail.com> AuthorDate: 2022-05-21 16:21:16 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-05-21 20:05:06 +0000 dev-java/openjdk: openjdk17 riscv keywording Bug: https://bugs.gentoo.org/782916 Signed-off-by: Han Gao <rabenda.cn@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-java/openjdk/openjdk-17.0.3_p7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27864896a2f1d7db9677b80a66e064ad942ba10 commit a27864896a2f1d7db9677b80a66e064ad942ba10 Author: Han Gao <rabenda.cn@gmail.com> AuthorDate: 2022-05-21 16:20:28 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-05-21 20:05:06 +0000 dev-java/openjdk: add riscv support for openjdk17 Bug: https://bugs.gentoo.org/782916 Signed-off-by: Han Gao <rabenda.cn@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-java/openjdk/Manifest | 2 ++ dev-java/openjdk/openjdk-17.0.3_p7.ebuild | 6 ++++++ 2 files changed, 8 insertions(+)