[Pkg-net-snmp-devel] Bug#751918: net-snmp: hardcodes /usr/lib/perl5

Niko Tyni ntyni at debian.org
Tue Jun 17 20:09:30 UTC 2014

Package: net-snmp
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 net-snmp by making
debian/libsnmp-perl.install into an executable perl script. (YMMV; there
are certainly other ways to do it.) 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;
net-snmp 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-libsnmp-perl..patch
Type: text/x-diff
Size: 1161 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20140617/061d13bb/attachment.patch>

More information about the Pkg-net-snmp-devel mailing list