* Compiling ... * Home for VM 'openjdk-bin-11' does not exist: /usr/lib/jvm/openjdk-bin-11 * Invalid value for GENTOO_VM: openjdk-bin-11 * ERROR: dev-java/tomcat-servlet-api-10.0.16::gentoo failed (compile phase): * ejavac failed * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-j4-20220118-000004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-11.2.1 * clang/llvm (if any): /usr/lib/llvm/13 13.0.0 Python 3.9.10 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.58.1 * GENTOO_VM=openjdk-bin-11 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-11.0.14_p9" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" The following VMs are available for generation-2: *) AdoptOpenJDK 11.0.14_p9 [openjdk-bin-11] 2) AdoptOpenJDK 8.312_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit a107af997646116168b4768c42acb92ba66de0bb Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Jan 22 08:52:30 2022 +0000 2022-01-22 08:52:29 UTC emerge -qpvO dev-java/tomcat-servlet-api [ebuild U ] dev-java/tomcat-servlet-api-10.0.16 [10.0.14] USE="-source"
Created attachment 763109 [details] emerge-info.txt
Created attachment 763110 [details] dev-java:tomcat-servlet-api-10.0.16:20220122-091743.log
Created attachment 763111 [details] emerge-history.txt
Created attachment 763112 [details] environment
Created attachment 763113 [details] etc.portage.tar.bz2
Created attachment 763114 [details] temp.tar.bz2
*** Bug 831801 has been marked as a duplicate of this bug. ***
*** Bug 831827 has been marked as a duplicate of this bug. ***
*** Bug 831825 has been marked as a duplicate of this bug. ***
*** Bug 831822 has been marked as a duplicate of this bug. ***
*** Bug 831820 has been marked as a duplicate of this bug. ***
*** Bug 831815 has been marked as a duplicate of this bug. ***
*** Bug 831814 has been marked as a duplicate of this bug. ***
*** Bug 831808 has been marked as a duplicate of this bug. ***
*** Bug 831804 has been marked as a duplicate of this bug. ***
*** Bug 831778 has been marked as a duplicate of this bug. ***
*** Bug 831777 has been marked as a duplicate of this bug. ***
*** Bug 831803 has been marked as a duplicate of this bug. ***
*** Bug 831811 has been marked as a duplicate of this bug. ***
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 #831839
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1ff6d69a33d8c12ce9edaece3be362e983fa66d commit d1ff6d69a33d8c12ce9edaece3be362e983fa66d Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2022-01-22 21:17:11 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-01-22 21:17:55 +0000 dev-java/openjdk-bin: fix installation directory Bug: https://bugs.gentoo.org/831780 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> ...penjdk-bin-11.0.14_p9.ebuild => openjdk-bin-11.0.14_p9-r1.ebuild} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
831839 seems to be different. I reverted installation dir changes.
*** Bug 831885 has been marked as a duplicate of this bug. ***
tomcat-servlet-api-10.0.16 is gone. Closing