Started getting this error after upgrading Rakudo from few months old to latest:
===SORRY!=== Error while compiling /home/hythm/dev/Pakku/bin/pakku
Incompatible MROs in P6opaque rebless for types Perl6::Metamodel::ClassHOW+{<anon>}+{<anon>} and Perl6::Metamodel::ClassHOW+{<anon>}
The error disappear if I commenteduse Hash::Merge::Augment (An imported module). (Then also get rid of the "merge" method here and replace the line with %!cnf = $cmd.ast;)
However I tried to create a minimal example with a small module and use Hash::Merge::Augment but couldn't reproduce the error on the minimal module. so it looks like Hash::Merge::Augment and Pakku is not playing nice together on latest Rakudo.
bin/pakku file:
#!/usr/bin/env raku
use lib 'lib';
use Pakku;
bash-4.2$ raku --version
This is Rakudo version 2020.01-86-g578935e built on MoarVM version 2020.01.1-27-gbf2a5d6
implementing Raku 6.d.
Started getting this error after upgrading Rakudo from few months old to latest:
The error disappear if I commented
use Hash::Merge::Augment
(An imported module). (Then also get rid of the "merge" method here and replace the line with%!cnf = $cmd.ast;
)However I tried to create a minimal example with a small module and
use Hash::Merge::Augment
but couldn't reproduce the error on the minimal module. so it looks likeHash::Merge::Augment
andPakku
is not playing nice together on latest Rakudo.bin/pakku file: