Created attachment 887752 [details] Build Log * Using: openjdk-17 >>> Unpacking source... >>> Unpacking openjdk-17.0.10_p7.tar.gz to /var/tmp/portage/dev-java/openjdk-17.0.10_p7/work >>> Unpacking openjdk-bootstrap-17.0.3_p7-riscv.tar.xz to /var/tmp/portage/dev-java/openjdk-17.0.10_p7/work >>> Unpacking java17-riscv64.patch to /var/tmp/portage/dev-java/openjdk-17.0.10_p7/work unpack java17-riscv64.patch: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/dev-java/openjdk-17.0.10_p7/work >>> Preparing source in /var/tmp/portage/dev-java/openjdk-17.0.10_p7/work/jdk17u-jdk-17.0.10-ga ... * Applying java17-riscv64.patch ... patching file make/autoconf/jvm-features.m4 Hunk #1 FAILED at 308. Hunk #2 FAILED at 358. 2 out of 2 hunks FAILED -- saving rejects to file make/autoconf/jvm-features.m4.rej patching file make/autoconf/libraries.m4 Hunk #1 FAILED at 1. Hunk #2 succeeded at 146 (offset -2 lines). 1 out of 2 hunks FAILED -- saving rejects to file make/autoconf/libraries.m4.rej patching file make/autoconf/platform.m4 Hunk #1 FAILED at 1. Hunk #2 FAILED at 561. Hunk #3 FAILED at 571. 3 out of 3 hunks FAILED -- saving rejects to file make/autoconf/platform.m4.rej patching file make/hotspot/gensrc/GensrcAdlc.gmk Hunk #1 FAILED at 1. Hunk #2 succeeded at 156 (offset 7 lines). 1 out of 2 hunks FAILED -- saving rejects to file make/hotspot/gensrc/GensrcAdlc.gmk.rej patching file src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp Hunk #2 succeeded at 1577 (offset -13 lines). patching file src/hotspot/cpu/arm/c1_LIRAssembler_arm.cpp Hunk #2 succeeded at 1413 (offset -4 lines). patching file src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp Hunk #2 succeeded at 1547 (offset -7 lines). The next patch would create the file src/hotspot/cpu/riscv/abstractInterpreter_riscv.cpp, which already exists! Applying it anyway. patching file src/hotspot/cpu/riscv/abstractInterpreter_riscv.cpp Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file src/hotspot/cpu/riscv/abstractInterpreter_riscv.cpp.rej The next patch would create the file src/hotspot/cpu/riscv/assembler_riscv.cpp, which already exists! Applying it anyway.
Created attachment 887753 [details] pqv log
Created attachment 887754 [details] Environment
Created attachment 887755 [details] Info log
according to this[1], jdk17 gain risc-v support officially starting at 17.0.9+4, so we probably should drop this patch.. also see [2] for more info [1] https://wiki.riseproject.dev/display/HOME/LR_00_005%3A+Backport+RISC-V+support+to+jdk17u [2] https://github.com/openjdk/jdk17u-dev/pull/1427
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e62eb64b67e61efb6bfe3a6a31e801a4dc14a4f commit 7e62eb64b67e61efb6bfe3a6a31e801a4dc14a4f Author: Yixun Lan <dlan@gentoo.org> AuthorDate: 2024-04-11 07:50:53 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2024-04-11 14:41:24 +0000 dev-java/openjdk: drop riscv specific patch According to [1], jdk17 gain risc-v support officially starting at 17.0.9+4, so the riscv specific patch is no longer needed.. also see [2] for more info I've built & tested on Milkv Poineer machine (lp64d systemd profile) [1] https://wiki.riseproject.dev/display/HOME/LR_00_005%3A+Backport+RISC-V+support+to+jdk17u [2] https://github.com/openjdk/jdk17u-dev/pull/1427 Closes: https://bugs.gentoo.org/927145 Signed-off-by: Yixun Lan <dlan@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-java/openjdk/Manifest | 1 - dev-java/openjdk/openjdk-17.0.10_p7.ebuild | 4 ---- 2 files changed, 5 deletions(-)