[Pkg-libvirt-maintainers] Bug#752015: hivex: hardcodes /usr/lib/perl5

Niko Tyni ntyni at debian.org
Wed Jun 18 19:04:25 UTC 2014


Package: hivex
Version: 1.3.10-1
Severity: important
Tags: patch
User: debian-perl at lists.debian.org
Usertags: perl-5.20-transition

Starting with version 5.20.0 (currently in experimental), the Debian
perl package is changing the "vendorarch" library paths (currently
/usr/lib/perl5) to include the multiarch triplet and the perl version. See
#748380 for details.

For this to work, packages containing binary perl modules need to migrate
from using the hardcoded /usr/lib/perl5 directory to the value of the
$Config{vendorarch} variable, as defined in the 'Config' module.

The attached patch implements this for hivex by making
debian/libwin-hivex-perl.install into an executable perl script.
YMMV; there are certainly other ways to do this.

I've tested that this produces no debdiff visible changes on current sid
while fixing a build failure at the 'install' stage with perl_5.20.0-1.

Please consider including something like this sooner rather than later:
libwin-hivex-perl is a build dependency for other packages that need
to be rebuilt for the Perl 5.20 transition, and this issue is currently
hindering our rebuild tests.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-hardcode-usr-lib-perl5-in-debian-libwin-hivex-.patch
Type: text/x-diff
Size: 1368 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20140618/e8ad6438/attachment.patch>


More information about the Pkg-libvirt-maintainers mailing list