>>> Source configured. >>> Compiling source in /var/tmp/portage/dev-lang/scala-2.12.10/work/scala-2.12.10 ... * === scala compile ... Unrecognized VM option 'CMSClassUnloadingEnabled' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. * ERROR: dev-lang/scala-2.12.10::gentoo failed (compile phase): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-j4-20220626-110005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.1.1 * clang/llvm (if any): /usr/lib/llvm/14 14.0.6 Python 3.9.13 Available Ruby profiles: [1] ruby31 * Available Rust versions: [1] rust-bin-1.61.0 * GENTOO_VM=openjdk-bin-17 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-17.0.3_p7" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" The following VMs are available for generation-2: 1) OpenJDK 11.0.15_p10 [openjdk-11] 2) OpenJDK 17.0.3_p7 [openjdk-17] 3) OpenJDK 8.332_p09 [openjdk-8] 4) Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] 6) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-8 [2] openjdk-11 [3] openjdk-17 [4] openjdk-bin-8 [5] openjdk-bin-11 [6] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php8.1 * HEAD of ::gentoo commit 8c0257f0f2f78ee2eb1ce410783bffd57a4009e2 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Jun 28 06:03:29 2022 +0000 2022-06-28 06:03:29 UTC emerge -qpvO dev-lang/scala [ebuild N ] dev-lang/scala-2.12.10 USE="-binary -doc -emacs -source"
Created attachment 788189 [details] emerge-info.txt
Created attachment 788192 [details] dev-lang:scala-2.12.10:20220628-061626.log
Created attachment 788195 [details] emerge-history.txt
Created attachment 788198 [details] environment
Created attachment 788201 [details] etc.portage.tar.bz2
Created attachment 788204 [details] logs.tar.bz2
Created attachment 788207 [details] temp.tar.bz2
https://github.com/scala/community-build/commit/71bcb4886d: »[...] because dbuild's "scala" build system passes a fixed, non-customizable set of JVM flags, and one of them (-XX:+CMSClassUnloadingEnabled) isn't supported anymore on JDK 15 [...]«
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=907e8457f31775648ccee6eb0f03277ea9b00799 commit 907e8457f31775648ccee6eb0f03277ea9b00799 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2024-04-26 13:03:19 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2024-04-30 08:15:20 +0000 dev-lang/scala: fix compilation errors - Replaces ${SBT_PVR} with ${SBTV} for #904316 - Restricts to <=virtual/jdk-17:* for #854717 - Switches from ant-core to >=dev-java/ant-1.10.14-r3 - Updates EAPI 7 -> 8 Closes: https://bugs.gentoo.org/854717 Closes: https://bugs.gentoo.org/904316 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/36474 Signed-off-by: Florian Schmaus <flow@gentoo.org> .../{scala-2.12.10.ebuild => scala-2.12.10-r1.ebuild} | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-)