This bug is a duplicate of 127032. At a more recent git checkout (commit b5cb0054585a5ed2d61723d197923cb1e8a7f0ec) the command ./perl6-m tools/build/install-core-dist.pl <$(DESTDIR)$(PERL6_LANG_DIR)> already works.
The command for the JVM backend fails: ./perl6-j tools/build/install-core-dist.pl <$(DESTDIR)$(PERL6_LANG_DIR)> ===SORRY!=== Missing serialize function for REPR ContextRef 926ABFD114BC0F0DA2FACB945C5C0AAC1FEBE022 /home/gz016/rakudo-src/prob/git/rakudo/install/share/nqp/sources/926ABFD114BC0F0DA2FACB945C5C0AAC1FEBE022 Return status 256 in block <unit> at tools/build/install-core-dist.pl line 13 Actually thrown at: in block <unit> at tools/build/install-core-dist.pl line 13 make: *** [j-install] Error 1 Makefile:487: recipe for target 'j-install' failed At this URLs is a patch for NQP for that problem: https://gist.github.com/donaldh?direction=desc&sort=created https://gist.github.com/donaldh/6d1a12182b49fb5947e5 I do not tested it. -- Gerd