Bug#1019579: raku-json-unmarshal: trying to overwrite '/usr/lib/perl6/vendor/precomp/C847F303DB03DE97DCB92EFEE90C0526E0D4FDF0/C1/C1DA909DAD9BF713751A74EBF038C545A1EA6ECC', which is also in package raku-json-marshal 0.0.23-1

Dominique Dumont dod at debian.org
Fri Sep 23 17:31:15 BST 2022


On Mon, 12 Sep 2022 17:21:45 +0300 Adrian Bunk <bunk at debian.org> wrote:
> Unpacking raku-json-unmarshal (0.10-1) ...
> dpkg: error processing archive /tmp/apt-dpkg-install-Kxnez1/92-raku-json-
unmarshal_0.10-1_arm64.deb (--unpack):
>  trying to overwrite '/usr/lib/perl6/vendor/precomp/
C847F303DB03DE97DCB92EFEE90C0526E0D4FDF0/C1/
C1DA909DAD9BF713751A74EBF038C545A1EA6ECC', which is also in package raku-json-
marshal 0.0.23-1
> ...

This bug is due to the fact that raku-json-fast package does not contain the 
precompiled file for JSON::Fast.

This package is a dependency of both raku-json-unmarshal and raku-json-
marshal. So the build process of both package recompile JSON::Fast and both 
ship the precompiled file. Hence the collision.

The issue with JSON::Fast precompilation is tracked there:

https://github.com/rakudo/rakudo/issues/4907

All the best



More information about the Pkg-rakudo-devel mailing list