This is related to bug #570784 , but is an independent fault. ( Though you have to have worked around that bug to see this one ) --- ./perl6-j tools/build/install-core-dist.pl /var/tmp/portage/dev-lang/rakudo-2015.12/image//usr/share/nqp ===SORRY!=== Missing serialize function for REPR ContextRef ===SORRY!=== Missing serialize function for REPR ContextRef 616D9E2DB82A06DBACD7ED2FD4D4A0590D2FF11F /var/tmp/portage/dev-lang/rakudo-2015.12/image/usr/share/nqp/sources/616D9E2DB82A06DBACD7ED2FD4D4A0590D2FF11F 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 Makefile:486: recipe for target 'j-install' failed --- Upstream are aware of this bug, and it is the result of rakudo 2015.12 having not been updated for JVM, and this issue is expected to be resolved by the added support planned in the 2016.01 release. > Alas, a known issue: the JVM port of rakudo didn’t make it to the 2015.12 > release due to time constraints. We’re pretty sure it will make it to the > 2016.01 release. Please bear with us until then or use the MoarVM backend. As such, this use-flag should be disabled on this specific version because it cannot be expected to work. (But the USE flag should be re-instated when the next release comes out)
It's not in 2016.01 or 2016.01.1 either, so needs to be masked there too.
2016.01.1 has java useflag removed, older have been purged, so bug can't happen anymore.