Skip to content

Instantly share code, notes, and snippets.

Created April 28, 2014 04:14
Show Gist options
  • Save anonymous/11361622 to your computer and use it in GitHub Desktop.
Save anonymous/11361622 to your computer and use it in GitHub Desktop.
rakudo-jvm build failure as of 2014-04-27
rakudo-jvm (as of a clone at 2014-04-27 PDT afternoon) refuses to build. The following is from a build using a 32-bit "official" JVM with a shared build tree. On 64-bit OpenJDK and separate build tree per backend, it's a segfault while building src/Perl6/World.nqp instead. VMs and NQP appear to build fine in both cases.
[... full configure for all three backends in fresh rakudo clone elided ...]
NQP has been built and installed.
Verifying installation ...
Using /home/geoff/git/rakudo-new/install/bin/nqp-p (version 2014.04-21-gb596f16 / Parrot 6.1.0).
Using /home/geoff/git/rakudo-new/install/bin/nqp-j (version 2014.04-21-gb596f16 / Java(TM) 1.7.0_21).
Using /home/geoff/git/rakudo-new/install/bin/nqp-m (version 2014.04-21-gb596f16 / MoarVM 2014.04-29-ga109e8d).
Cleaning up ...
You can now use 'make' to build Rakudo.
After that, 'make test' will run some tests and
'make install' will install Rakudo.
$ make
/usr/bin/perl -MExtUtils::Command -e mkpath bin
javac -source 1.7 -cp /home/geoff/git/rakudo-new/install/languages/nqp/runtime/asm-4.1.jar:/home/geoff/git/rakudo-new/install/languages/nqp/runtime/asm-tree-4.1.jar:/home/geoff/git/rakudo-new/install/languages/nqp/runtime/jline-1.0.jar:/home/geoff/git/rakudo-new/install/languages/nqp/runtime/jna.jar:/home/geoff/git/rakudo-new/install/languages/nqp/runtime/nqp-runtime.jar:/home/geoff/git/rakudo-new/install/languages/nqp/lib/nqp.jar -g -d bin src/vm/jvm/runtime/org/perl6/rakudo/*.java
jar cf0 rakudo-runtime.jar -C bin/ .
/usr/bin/perl tools/build/gen-cat.pl jvm src/vm/jvm/ModuleLoaderVMConfig.nqp src/Perl6/ModuleLoader.nqp src/vm/jvm/Perl6/JavaModuleLoader.nqp > gen/jvm/ModuleLoader.nqp
/home/geoff/git/rakudo-new/install/bin/nqp-j --target=jar --output=blib/Perl6/ModuleLoader.jar --encoding=utf8 \
gen/jvm/ModuleLoader.nqp
/home/geoff/git/rakudo-new/install/bin/nqp-j --target=jar --output=blib/Perl6/Ops.jar --encoding=utf8 \
src/vm/jvm/Perl6/Ops.nqp
/home/geoff/git/rakudo-new/install/bin/nqp-j --target=jar --output=blib/Perl6/World.jar --encoding=utf8 \
src/Perl6/World.nqp
/home/geoff/git/rakudo-new/install/bin/nqp-j --target=jar --output=blib/Perl6/Pod.jar --encoding=utf8 \
src/Perl6/Pod.nqp
/home/geoff/git/rakudo-new/install/bin/nqp-j --target=jar --output=blib/Perl6/Actions.jar --encoding=utf8 \
src/Perl6/Actions.nqp
Error while compiling op if (source text: "$*longname.contains_indirect_lookup() {\n if $<args> {\n $/.CURSOR.panic(\..."): Method 'jast' not found for invocant of class 'NQPMu'
in as_jast (gen/jvm/stage2/QAST.nqp:3858)
in as_jast (gen/jvm/stage2/QAST.nqp:3021)
in (gen/jvm/stage2/QAST.nqp:3821)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:3809)
in as_jast (gen/jvm/stage2/QAST.nqp:3783)
in as_jast (gen/jvm/stage2/QAST.nqp:3021)
in (gen/jvm/stage2/QAST.nqp:3821)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:3809)
in as_jast (gen/jvm/stage2/QAST.nqp:3783)
in as_jast (gen/jvm/stage2/QAST.nqp:3024)
in (gen/jvm/stage2/QAST.nqp:3824)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:3809)
in (gen/jvm/stage2/QAST.nqp:3406)
in (gen/jvm/stage2/QAST.nqp:3403)
in as_jast (gen/jvm/stage2/QAST.nqp:3349)
in as_jast (gen/jvm/stage2/QAST.nqp:3021)
in (gen/jvm/stage2/QAST.nqp:3821)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:3809)
in as_jast (gen/jvm/stage2/QAST.nqp:3783)
in as_jast (gen/jvm/stage2/QAST.nqp:3021)
in (gen/jvm/stage2/QAST.nqp:3821)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:3809)
in as_jast (gen/jvm/stage2/QAST.nqp:3783)
in as_jast (gen/jvm/stage2/QAST.nqp:3024)
in (gen/jvm/stage2/QAST.nqp:3824)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:3809)
in (gen/jvm/stage2/QAST.nqp:3406)
in (gen/jvm/stage2/QAST.nqp:3403)
in as_jast (gen/jvm/stage2/QAST.nqp:3349)
in as_jast (gen/jvm/stage2/QAST.nqp:3021)
in (gen/jvm/stage2/QAST.nqp:3821)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:3809)
in as_jast (gen/jvm/stage2/QAST.nqp:3783)
in as_jast (gen/jvm/stage2/QAST.nqp:3021)
in (gen/jvm/stage2/QAST.nqp:3821)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:3809)
in as_jast (gen/jvm/stage2/QAST.nqp:3783)
in as_jast (gen/jvm/stage2/QAST.nqp:3021)
in (gen/jvm/stage2/QAST.nqp:3821)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:3809)
in (gen/jvm/stage2/QAST.nqp:3406)
in (gen/jvm/stage2/QAST.nqp:3403)
in as_jast (gen/jvm/stage2/QAST.nqp:3349)
in as_jast (gen/jvm/stage2/QAST.nqp:3024)
in as_jast (gen/jvm/stage2/QAST.nqp:3078)
in as_jast (gen/jvm/stage2/QAST.nqp:3024)
in jast (gen/jvm/stage2/QAST.nqp:2890)
in jast (gen/jvm/stage2/NQPHLL.nqp:67)
in (gen/jvm/stage2/NQPHLL.nqp:1373)
in compile (gen/jvm/stage2/NQPHLL.nqp:1360)
in eval (gen/jvm/stage2/NQPHLL.nqp:1118)
in evalfiles (gen/jvm/stage2/NQPHLL.nqp:1327)
in command_eval (gen/jvm/stage2/NQPHLL.nqp:1231)
in command_line (gen/jvm/stage2/NQPHLL.nqp:1206)
in MAIN (gen/jvm/stage2/NQP.nqp:3947)
in (gen/jvm/stage2/NQP.nqp:3943)
in (gen/jvm/stage2/NQP.nqp)
make: *** [blib/Perl6/Actions.jar] Error 1
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment