Summary: | dev-java/openjdk-11.0.14_p9 - configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tka <tka> |
Component: | Current packages | Assignee: | Georgy Yakovlev <gyakovlev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | java |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=831574 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
tka
2022-01-22 17:52:48 UTC
Created attachment 763289 [details]
build.log
It looks like dev-java/openjdk-bin-11.0.14_p9 installs directly to /opt/openjdk-bin-11, but every other openjdk-bin package installs to a path including the full package version (e.g. /opt/openjdk-bin-8.312_p07) with a symlink to the slot version (e.g. /opt/openjdk-bin-8). This breaks symlinks in /usr/lib/jvm/, and also the config paths in "/usr/share/java-config-2/vm/openjdk-bin-11" are still set to the full version path which doesn't exist (/opt/openjdk-bin-11.0.14_p9). Also, if you have a previous version of openjdk-bin:11 installed when emerging 11.0.14_p9, it installs to the old version directory (/opt/openjdk-bin-11.0.13_p8) because it's a symlink to /opt/openjdk-bin-11. I suspect this is the same underlying cause as #831780 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2a23272e8d09e2ed5aac9719ff822c28e94c8ef commit a2a23272e8d09e2ed5aac9719ff822c28e94c8ef Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2022-01-22 21:37:44 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-01-22 21:37:44 +0000 dev-java/openjdk: require gentoo-vm set for upgrade Bug: https://bugs.gentoo.org/831839 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/openjdk/openjdk-11.0.14_p9.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) should be fixed now. openjdk-11.0.14 requires to be built with older versions of 11 with gentoo-vm enabled |