Installed 13 core modules in 224.598 seconds!
+++ JVM BACKEND INSTALLED
+++ Installing JVM launcher
+++ Rakudo installed succesfully!
Rakudo has been built and installed.
Updating shims
Done, jvm-2021.12 built
But attempting to use the build fails:
% rakubrew versions
system
BROKEN jvm-2021.12
moar-2021.12
* moar-blead
% rakubrew switch jvm-2021.12
Version jvm-2021.12 is broken. Refusing to switch to it.
However if I call it directly, it works fine
% ~/.rakubrew/versions/jvm-2021.12/install/bin/perl6-j -v
Welcome to Rakudo™ v2021.12.
Implementing the Raku® Programming Language v6.d.
Built on JVM.
% ~/.rakubrew/versions/jvm-2021.12/install/bin/perl6-j -e 'say 2**8'
256
Work-arounds (not good, good)
I wondered if the is_version_broken routine (VersionHandling.pm) was failing
here for not finding a matching name, as per line 92, but copying perl6-j as perl6 didn't help.
for my $exec ('raku', 'raku.bat', 'raku.exe', 'perl6', 'perl6.bat', 'perl6.exe') {
I was able to successfully build jvm-2021.12 on my own with:
perl Configure.pl --gen-nqp --backends=jvm --prefix ~/raku/jvm-2021.12; make install
Did a diff -r on the two directory trees, but nothing stood out as a potential problem.
Environment
What's the output of rakubrew rakubrew-version?:
rakubrew v26 Build type: macos OS: darwin
Are you using rakubrew in env or in shim mode? (run rakubrew mode to find out):
shim
Where is rakubrew installed? (run rakubrew home to find out):
/Users/dhoekman/.rakubrew
Build options used
export JAVA_OPTS="-Xmx51200000000"
The Problem
Attempted to build with the command:
rakubrew build jvm-2021.12
Tail end of build log:
But attempting to use the build fails:
However if I call it directly, it works fine
Work-arounds (not good, good)
I wondered if the is_version_broken routine (VersionHandling.pm) was failing here for not finding a matching name, as per line 92, but copying perl6-j as perl6 didn't help.
for my $exec ('raku', 'raku.bat', 'raku.exe', 'perl6', 'perl6.bat', 'perl6.exe') {
I was able to successfully build jvm-2021.12 on my own with:
perl Configure.pl --gen-nqp --backends=jvm --prefix ~/raku/jvm-2021.12; make install
Did a diff -r on the two directory trees, but nothing stood out as a potential problem.
Environment
What's the output of
rakubrew rakubrew-version
?: rakubrew v26 Build type: macos OS: darwinAre you using rakubrew in
env
or inshim
mode? (runrakubrew mode
to find out): shimWhere is rakubrew installed? (run
rakubrew home
to find out): /Users/dhoekman/.rakubrewBuild options used export JAVA_OPTS="-Xmx51200000000"