Bug#839987: libcompress-raw-lzma-perl: Version Mismatch due to new src:xz-utils
gregor herrmann
gregoa at debian.org
Fri Oct 7 15:55:24 UTC 2016
Control: tag -1 + confirmed
On Fri, 07 Oct 2016 09:56:28 +0300, Niko Tyni wrote:
> As noticed by the autopkgtest checks at ci.debian.net, this library
> can't be used on current sid/amd64 anymore.
>
> # perl -e 'use Compress::Raw::Lzma'
> Subroutine Compress::Raw::Lzma::constant redefined at /usr/lib/x86_64-linux-gnu/perl5/5.24/Compress/Raw/Lzma.pm line 165.
> Subroutine Compress::Raw::Lzma::lzma_version_number redefined at /usr/lib/x86_64-linux-gnu/perl5/5.24/Compress/Raw/Lzma.pm line 165.
> [...]
> Subroutine Compress::Raw::Lzma::Options::DESTROY redefined at /usr/lib/x86_64-linux-gnu/perl5/5.24/Compress/Raw/Lzma.pm line 165.
> Version Mismatch - Built with version 50010000, library used is version 50020022
> Compilation failed in require at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
>
> This is clearly caused by the new liblzma5 (src:xz-utils) in sid. We seem
> to need either tighter (preferably binNMU-safe) versioned dependencies
> or disabling the version check.
I tend to disabling the version check. liblzma5 has a proper symbols
file which is used by dh_shlibdeps/dpkg-shlibdeps, so we should be
safe, I guess.
> Not sure what triggered all the warnings but it's presumably related.
Probably ...
eval {
require XSLoader;
XSLoader::load('Compress::Raw::Lzma', $XS_VERSION);
1;
}
or do {
require DynaLoader;
local @ISA = qw(DynaLoader);
bootstrap Compress::Raw::Lzma $XS_VERSION ; # ← line 165
};
Cheers,
gregor
--
.''`. Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Mark Knopfler: Silvertown Blues
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161007/4491ec08/attachment.sig>
More information about the pkg-perl-maintainers
mailing list