[Pkg-libvirt-maintainers] Bug#755109: libguestfs: hardcodes /usr/lib/perl5

Niko Tyni ntyni at debian.org
Thu Jul 17 20:39:54 UTC 2014


Source: libguestfs
Version: 1:1.26.5-1
Severity: important
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.

I haven't actually built this yet because of #751918 in net-snmp,
but I see debian/libguestfs-perl.install hardcodes /usr/lib/perl5,
so dh_install is going to fail when that changes.

One solution might be an executable debhelper install file
(available with debhelper compat level 9) expanding $Config{vendorarch}.
See #751924 for an example of this.

Please ask on the debian-perl list if you want help with this, and see
 https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=perl-5.20-transition;users=debian-perl@lists.debian.org
for a list of similar bugs and patches.
-- 
Niko Tyni   ntyni at debian.org



More information about the Pkg-libvirt-maintainers mailing list