Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931614 - dev-lang/scala-2.12.10-r1 - Unrecognized VM option 'CMSClassUnloadingEnabled' - Error: Could not create the Java Virtual Machine.
Summary: dev-lang/scala-2.12.10-r1 - Unrecognized VM option 'CMSClassUnloadingEnabled'...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-05-09 08:19 UTC by Toralf Förster
Modified: 2024-05-09 10:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.42 KB, text/plain)
2024-05-09 08:19 UTC, Toralf Förster
Details
dev-lang:scala-2.12.10-r1:20240509-034646.log (dev-lang:scala-2.12.10-r1:20240509-034646.log,5.75 KB, text/plain)
2024-05-09 08:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,147.77 KB, text/plain)
2024-05-09 08:19 UTC, Toralf Förster
Details
environment (environment,97.23 KB, text/plain)
2024-05-09 08:19 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-05-09 08:19 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.19 KB, application/x-xz)
2024-05-09 08:19 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.68 KB, application/x-xz)
2024-05-09 08:19 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,41.69 KB, application/x-xz)
2024-05-09 08:19 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.76 KB, application/x-xz)
2024-05-09 08:19 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-05-09 08:19:19 UTC
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/scala-2.12.10-r1/work/scala-2.12.10 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-lang/scala-2.12.10-r1/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-r1::gentoo failed (compile phase):

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20240507-035004

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.5
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
GENTOO_VM=openjdk-bin-17  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-17.0.10_p7"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit bad05f2b4d52d769a21cb052e6266642815785b9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu May 9 01:48:42 2024 +0000

    2024-05-09 01:48:41 UTC

emerge -qpvO dev-lang/scala
[ebuild  N    ] dev-lang/scala-2.12.10-r1  USE="-binary -doc -emacs -source"
Comment 1 Toralf Förster gentoo-dev 2024-05-09 08:19:20 UTC
Created attachment 892587 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-09 08:19:20 UTC
Created attachment 892588 [details]
dev-lang:scala-2.12.10-r1:20240509-034646.log
Comment 3 Toralf Förster gentoo-dev 2024-05-09 08:19:22 UTC
Created attachment 892589 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-05-09 08:19:23 UTC
Created attachment 892590 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-05-09 08:19:24 UTC
Created attachment 892591 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-09 08:19:25 UTC
Created attachment 892592 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-09 08:19:26 UTC
Created attachment 892593 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-05-09 08:19:27 UTC
Created attachment 892594 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-05-09 08:19:28 UTC
Created attachment 892595 [details]
temp.tar.xz
Comment 10 Volkmar W. Pogatzki 2024-05-09 09:40:32 UTC
This time I can reproduce it, thanks for reporting.
At least, bug #789444 doesn't seem to occur here.
Comment 11 Larry the Git Cow gentoo-dev 2024-05-09 10:52:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd7420e3db647a6b17a2824799851d4e408aaa7f

commit cd7420e3db647a6b17a2824799851d4e408aaa7f
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-05-09 10:19:13 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-05-09 10:51:39 +0000

    dev-lang/scala: fix compilation error
    
    Closes: https://bugs.gentoo.org/931614
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/36491
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-lang/scala/{scala-2.12.10-r1.ebuild => scala-2.12.10-r2.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)