Skip to content

Instantly share code, notes, and snippets.

@AlexDaniel
Created June 30, 2015 01:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexDaniel/7fce54c1e6d93b4d424d to your computer and use it in GitHub Desktop.
Save AlexDaniel/7fce54c1e6d93b4d424d to your computer and use it in GitHub Desktop.
perl6 jvm
alex@Margo:~/git/rakudobrew/bin$ ./rakudobrew build jvm
7b5256b512fef7b82cd5c2370002b51d7f726334
HEAD is now at 7b5256b... Turn warnings from traits into worries.
ATTENTION: no --prefix supplied, building and installing to /home/alex/git/rakudobrew/jvm-nom/install
sh: 1: /home/alex/git/rakudobrew/jvm-nom/install/bin/nqp-j: not found
HEAD is now at 64945f1... Get MoarVM with bug fix, extra APIs.
Building NQP ...
/usr/bin/perl Configure.pl --prefix=/home/alex/git/rakudobrew/jvm-nom/install --backends=jvm --make-install --git-protocol=https --git-reference=/home/alex/git/rakudobrew/bin/../git_reference
Using openjdk version "1.8.0_40-internal"
Cleaning up ...
/usr/bin/perl -MExtUtils::Command -e mkpath bin
javac -source 1.7 -cp 3rdparty/asm/asm-4.1.jar:3rdparty/asm/asm-tree-4.1.jar:3rdparty/jline/jline-1.0.jar:3rdparty/jna/jna.jar -g -d bin -encoding UTF8 src/vm/jvm/runtime/org/perl6/nqp/io/*.java src/vm/jvm/runtime/org/perl6/nqp/jast2bc/*.java src/vm/jvm/runtime/org/perl6/nqp/runtime/*.java src/vm/jvm/runtime/org/perl6/nqp/sixmodel/*.java src/vm/jvm/runtime/org/perl6/nqp/sixmodel/reprs/*.java src/vm/jvm/runtime/org/perl6/nqp/tools/*.java
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
/usr/bin/perl tools/build/gen-jvm-properties.pl . 3rdparty/asm/asm-4.1.jar:3rdparty/asm/asm-tree-4.1.jar:3rdparty/jline/jline-1.0.jar:3rdparty/jna/jna.jar > jvmconfig.properties
/usr/bin/perl tools/build/gen-jvm-properties.pl /home/alex/git/rakudobrew/jvm-nom/install 3rdparty/asm/asm-4.1.jar:3rdparty/asm/asm-tree-4.1.jar:3rdparty/jline/jline-1.0.jar:3rdparty/jna/jna.jar > bin/jvmconfig.properties
jar cf0 nqp-runtime.jar -C bin/ .
/usr/bin/perl -MExtUtils::Command -e mkpath gen/jvm/stage1
/usr/bin/perl tools/build/gen-cat.pl jvm src/how/Archetypes.nqp src/how/RoleToRoleApplier.nqp src/how/NQPConcreteRoleHOW.nqp src/how/RoleToClassApplier.nqp src/how/NQPCurriedRoleHOW.nqp src/how/NQPParametricRoleHOW.nqp src/how/NQPClassHOW.nqp src/how/NQPNativeHOW.nqp src/how/NQPAttribute.nqp src/how/NQPModuleHOW.nqp src/how/EXPORTHOW.nqp > gen/jvm/stage1/nqpmo.nqp
java -cp src/vm/jvm/stage0 -Xbootclasspath/a:src/vm/jvm/stage0:nqp-runtime.jar:3rdparty/asm/asm-4.1.jar:3rdparty/asm/asm-tree-4.1.jar:3rdparty/jline/jline-1.0.jar:3rdparty/jna/jna.jar:src/vm/jvm/stage0/nqp.jar nqp --bootstrap --setting=NULL --no-regex-lib --target=jar \
--output=gen/jvm/stage1/nqpmo.jar gen/jvm/stage1/nqpmo.nqp
Unhandled exception: java.lang.StackOverflowError
in (gen/jvm/stage2/NQPHLL.nqp:68)
in (gen/jvm/stage2/NQPHLL.nqp:1414)
in
in
in
in
in
in
in compile_op
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in
in
in compile_op
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in as_jast_in_handler
in
in
in compile_op
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in
in
in compile_op
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in as_jast_in_handler
in
in
in compile_op
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in
in
in compile_op
in as_jast
in as_jast
in compile_all_the_stmts
in
in
in as_jast
in as_jast
in as_jast_clear_bindval
in compile_var
in as_jast
in as_jast
in
in
in compile_op
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in
in
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in as_jast
in as_jast
in compile_all_the_stmts
in
in
in as_jast
in as_jast
in as_jast
in as_jast
in jast
in jast
in compile
in eval
in evalfiles
in command_eval
in command_line
in MAIN
in <mainline>
in
Method 'type' not found for invocant of class 'NQPMu'
in coerce (gen/jvm/stage2/QAST.nqp:4661)
in as_jast (gen/jvm/stage2/QAST.nqp:3211)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:4043)
in as_jast (gen/jvm/stage2/QAST.nqp:4005)
in as_jast (gen/jvm/stage2/QAST.nqp:3211)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:4043)
in (gen/jvm/stage2/QAST.nqp:3628)
in (gen/jvm/stage2/QAST.nqp:3625)
in as_jast (gen/jvm/stage2/QAST.nqp:3571)
in as_jast (gen/jvm/stage2/QAST.nqp:3211)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:4043)
in as_jast (gen/jvm/stage2/QAST.nqp:4005)
in as_jast (gen/jvm/stage2/QAST.nqp:3211)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:4043)
in as_jast (gen/jvm/stage2/QAST.nqp:4005)
in as_jast (gen/jvm/stage2/QAST.nqp:3211)
in compile_all_the_stmts (gen/jvm/stage2/QAST.nqp:4043)
in (gen/jvm/stage2/QAST.nqp:3628)
in (gen/jvm/stage2/QAST.nqp:3625)
in as_jast (gen/jvm/stage2/QAST.nqp:3571)
in as_jast (gen/jvm/stage2/QAST.nqp:3214)
in as_jast (gen/jvm/stage2/QAST.nqp:3268)
in as_jast (gen/jvm/stage2/QAST.nqp:3214)
in jast (gen/jvm/stage2/QAST.nqp:3080)
in jast (gen/jvm/stage2/NQPHLL.nqp:68)
in compile (gen/jvm/stage2/NQPHLL.nqp:1414)
in eval (gen/jvm/stage2/NQPHLL.nqp:1153)
in evalfiles (gen/jvm/stage2/NQPHLL.nqp:1368)
in command_eval (gen/jvm/stage2/NQPHLL.nqp:1266)
in command_line (gen/jvm/stage2/NQPHLL.nqp:1241)
in MAIN (gen/jvm/stage2/NQP.nqp:4109)
in <mainline> (gen/jvm/stage2/NQP.nqp:4105)
in (gen/jvm/stage2/NQP.nqp)
Unhandled exception: java.lang.NoClassDefFoundError: Could not initialize class java.lang.Shutdown
in command_eval (gen/jvm/stage2/NQPHLL.nqp:1301)
in command_line (gen/jvm/stage2/NQPHLL.nqp:1241)
in MAIN (gen/jvm/stage2/NQP.nqp:4109)
in <mainline> (gen/jvm/stage2/NQP.nqp:4105)
in (gen/jvm/stage2/NQP.nqp)
Unhandled exception: java.lang.NoClassDefFoundError: Could not initialize class java.lang.Shutdown
in command_eval (gen/jvm/stage2/NQPHLL.nqp:1241)
in command_line
in MAIN
in <mainline>
in
Unhandled exception: java.lang.NoClassDefFoundError: Could not initialize class java.lang.Shutdown
in command_eval (gen/jvm/stage2/NQPHLL.nqp:1241)
in command_line
in MAIN
in <mainline>
in
Unhandled exception: java.lang.NoClassDefFoundError: Could not initialize class java.lang.Shutdown
in command_eval
in command_line
in MAIN
in <mainline>
in
Unhandled exception: java.lang.NoClassDefFoundError: Could not initialize class java.lang.Shutdown
in command_eval
in command_line
in MAIN
in <mainline>
in
Unhandled exception: java.lang.NoClassDefFoundError: Could not initialize class java.lang.Shutdown
in command_eval
in command_line
in MAIN
in <mainline>
in
Unhandled exception: java.lang.NoClassDefFoundError: Could not initialize class java.lang.Shutdown
in command_eval
in command_line
in MAIN
in <mainline>
in
Unhandled exception: java.lang.NoClassDefFoundError: Could not initialize class java.lang.Shutdown
in command_eval
in command_line
in MAIN
in <mainline>
in
Unhandled exception: java.lang.NoClassDefFoundError: Could not initialize class java.lang.Shutdown
in command_eval
in command_line
in MAIN
in <mainline>
in
Unhandled exception: java.lang.NoClassDefFoundError: Could not initialize class java.lang.Shutdown
in command_eval
in command_line
in MAIN
in <mainline>
in
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class java.lang.Shutdown
at java.lang.Runtime.exit(Runtime.java:109)
at java.lang.System.exit(System.java:971)
at org.perl6.nqp.runtime.GlobalContext.exit(GlobalContext.java:311)
at org.perl6.nqp.runtime.ExceptionHandling.panic(ExceptionHandling.java:212)
at org.perl6.nqp.runtime.ExceptionHandling.handlerDynamic(ExceptionHandling.java:110)
at org.perl6.nqp.runtime.ExceptionHandling.dieInternal(ExceptionHandling.java:51)
at org.perl6.nqp.runtime.ExceptionHandling.dieInternal(ExceptionHandling.java:59)
at org.perl6.nqp.runtime.Ops.invokeDirect(Ops.java:2205)
at org.perl6.nqp.runtime.Ops.invokeDirect(Ops.java:2171)
at org.perl6.nqp.runtime.Ops.invokeMain(Ops.java:2168)
at org.perl6.nqp.runtime.CompilationUnit.enterFromMain(CompilationUnit.java:58)
at nqp.main(gen/jvm/stage2/NQP.nqp)
Makefile:228: recipe for target 'gen/jvm/stage1/nqpmo.jar' failed
make: *** [gen/jvm/stage1/nqpmo.jar] Error 1
Command failed (status 512): make
Command failed (status 512): /usr/bin/perl Configure.pl --prefix=/home/alex/git/rakudobrew/jvm-nom/install --backends=jvm --make-install --git-protocol=https --git-reference=/home/alex/git/rakudobrew/bin/../git_reference
Failed running /usr/bin/perl Configure.pl --backends=jvm --gen-nqp --git-reference=/home/alex/git/rakudobrew/bin/../git_reference --make-install at ./rakudobrew line 44.
main::run("/usr/bin/perl Configure.pl --backends=jvm --gen-nqp --git-ref"...) called at ./rakudobrew line 230
main::build_impl("jvm", undef, "") called at ./rakudobrew line 89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment