Bug#940776: Rakudo: moving everything from /usr/share/perl6 to /usr/lib/perl6

Mo Zhou lumin at debian.org
Thu Sep 19 16:27:08 BST 2019


Package: rakudo
Version: 2019.07.1-3
Severity: important

Hi Perl6 team,

To solve the rakduo "/usr/share/.*moarvm" file not found
error I moved all files from /usr/share/perl6 to /usr/lib/perl6,
and /usr/share/perl6 should be symlink pointing at
/usr/lib/perl6. I think it is a sensible step because

1. placing ELF binaries under /usr/share/ 
https://github.com/rakudo/rakudo/issues/3093
is neither a good practice for some other linux distributions

2. python place scripts under /usr/lib even if they are
arch-independent. Similar to python, perl6 also pre-compiles
caches from the scripts. Moving to /usr/lib would be
more consistent with other scripting languages

The 2018.12 -> 2019.07 upgrading issue should have been
resolved in the rakudo 2019.07.1-2 upload. But I missed
a specific case: the rest perl6-* packages e.g.
perl6-readline. See #940774

The solution should be straightforward:
* Make rakudo Conflicts: with the old version of all
  perl6-* packages.
* Update the perl6-* packages and move all files to
  /usr/lib.

This is not a trivial change. I'm asking the team
for consensus before fixing #940774 as planned.
Maintainers, does the proposed change look good
to you?



More information about the Pkg-rakudo-devel mailing list