[Debian-med-packaging] Bug#752345: exactimage: hardcodes /usr/lib/perl5

Niko Tyni ntyni at debian.org
Sun Jun 22 19:56:06 UTC 2014


Package: gbrowse
Version: 2.54+dfsg-2
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.

This package builds successfully with perl_5.20.0-1 from experimental,
but still installs the Perl files into /usr/lib/perl5 so they won't be
on the Perl search path anymore.

It looks like the package is using the Module::Build based Build.PL build
system, which might be able to do most of the work for you when invoked as
 perl Build.PL --installdirs vendor

Please ask on the debian-perl list if you want help with this.

drwxr-xr-x root/root         0 2014-06-17 13:33 ./usr/lib/perl5/
drwxr-xr-x root/root         0 2014-06-17 13:33 ./usr/lib/perl5/auto/
drwxr-xr-x root/root         0 2014-06-17 13:33 ./usr/lib/perl5/auto/Bio/
drwxr-xr-x root/root         0 2014-06-17 13:33 ./usr/lib/perl5/auto/Bio/Graphics/
drwxr-xr-x root/root         0 2014-06-17 13:33 ./usr/lib/perl5/auto/Bio/Graphics/Browser2/
drwxr-xr-x root/root         0 2014-06-17 13:33 ./usr/lib/perl5/auto/Bio/Graphics/Browser2/CAlign/
-rw-r--r-- root/root     10768 2014-06-17 13:33 ./usr/lib/perl5/auto/Bio/Graphics/Browser2/CAlign/CAlign.so
-rw-r--r-- root/root         0 2014-06-17 13:32 ./usr/lib/perl5/auto/Bio/Graphics/Browser2/CAlign/CAlign.bs
drwxr-xr-x root/root         0 2014-06-17 13:33 ./usr/lib/perl5/Bio/
drwxr-xr-x root/root         0 2014-06-17 13:33 ./usr/lib/perl5/Bio/Graphics/
drwxr-xr-x root/root         0 2014-06-17 13:33 ./usr/lib/perl5/Bio/Graphics/Browser2/
-rw-r--r-- root/root      1129 2014-06-17 13:32 ./usr/lib/perl5/Bio/Graphics/Browser2/CAlign.pm

-- 
Niko Tyni   ntyni at debian.org



More information about the Debian-med-packaging mailing list