Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JVM fails to build #2406

Closed
Kaiepi opened this Issue Oct 20, 2018 · 4 comments

Comments

Projects
None yet
3 participants
@Kaiepi
Copy link
Contributor

commented Oct 20, 2018

After merging #2344 and perl6/nqp#505, the JVM fails to build since I forgot to update the bootstrap files in NQP. Even after updating them, it still fails with this error:

NQP_LIB=blib java -Xss1m -Xms500m -Xmx3000m -cp .:/home/morfent/.perl6/share/nqp/runtime/asm-4.1.jar:/home/morfent/.perl6/share/nqp/runtime/asm-tree-4.1.jar:/home/morfent/.perl6/share/nqp/runtime/jline-1.0.jar:/home/morfent/.perl6/share/nqp/runtime/jna-4.0.0.jar:/home/morfent/.perl6/share/nqp/runtime/nqp-runtime.jar:/home/morfent/.perl6/share/nqp/lib/nqp.jar:rakudo-runtime.jar:perl6.jar:/home/morfent/.perl6/share/nqp/lib perl6 --setting=NULL --ll-exception --optimize=3 --target=jar --stagestats --output=CORE.setting.jar --nqp-lib=blib gen/jvm/CORE.setting
Stage start      :   0.001
Stage parse      : 182.914
Stage syntaxcheck:   0.000
Stage ast        :   0.001
Stage optimize   :  19.297
Stage jast       : java.lang.RuntimeException: Could not find object when writing repossessions; REPR = P6opaque
  in deserialization_code (gen/jvm/stage2/QAST.nqp:3676)
  in as_jast (gen/jvm/stage2/QAST.nqp:3520)
  in as_jast (gen/jvm/stage2/QAST.nqp:3432)
  in jast (gen/jvm/stage2/QAST.nqp:3298)
  in jast (gen/jvm/stage2/NQPHLL.nqp:67)
  in execute_stage (gen/jvm/stage2/NQPHLL.nqp:1455)
  in run (gen/jvm/stage2/NQPHLL.nqp:1491)
  in <anon> (gen/jvm/stage2/NQPHLL.nqp:1494)
  in compile (gen/jvm/stage2/NQPHLL.nqp:1480)
  in eval (gen/jvm/stage2/NQPHLL.nqp:1178)
  in evalfiles (gen/jvm/stage2/NQPHLL.nqp:1435)
  in command_eval (gen/jvm/stage2/NQPHLL.nqp:1325)
  in command_eval (src/Perl6/Compiler.nqp:42)
  in command_line (gen/jvm/stage2/NQPHLL.nqp:1284)
  in MAIN (gen/jvm/main.nqp:54)
  in <mainline> (gen/jvm/main.nqp:42)
  in <anon> (gen/jvm/main.nqp)
@Kaiepi

This comment has been minimized.

Copy link
Contributor Author

commented Oct 21, 2018

This doesn't appear to be related to the async introspection commits. I just tried to build using versions of NQP and Rakudo just before my commits were made and the same error still occurs

@Kaiepi Kaiepi changed the title JVM fails to build after merging the async introspection pullreq JVM fails to build Oct 21, 2018

@ugexe

This comment has been minimized.

Copy link
Member

commented Oct 21, 2018

According to travis-ci it started with b781479

Possibly perl6/nqp@96714f3 ?

@ugexe

This comment has been minimized.

Copy link
Member

commented Oct 21, 2018

Resolved with with a revert of the jvm cleanup PR-- perl6/nqp@20f0f10

@AlexDaniel

This comment has been minimized.

Copy link
Member

commented Oct 22, 2018

@ugexe Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.