Bug#752707: libmarpa-r2-perl: hardcodes /usr/lib/perl5

Niko Tyni ntyni at debian.org
Wed Jun 25 20:28:10 UTC 2014


Package: libmarpa-r2-perl
Version: 2.086000~dfsg-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.

This package fails to build with perl_5.20.0-1 from experimental:

  mkdir -p debian/libmarpa-r2-perl/usr/share/doc/libmarpa-r2-perl/examples
  mv -t debian/libmarpa-r2-perl/usr/share/doc/libmarpa-r2-perl/examples \
          debian/libmarpa-r2-perl/usr/bin/marpa_r2_html_* \
          debian/libmarpa-r2-perl/usr/lib/perl5/Marpa/R2/html_* \
          debian/libmarpa-r2-perl/usr/share/man/man3/Marpa::R2::html_*
  mv: cannot stat 'debian/libmarpa-r2-perl/usr/lib/perl5/Marpa/R2/html_*': No such file or directory
  make: *** [binary-post-install/libmarpa-r2-perl] Error 1
  debian/rules:53: recipe for target 'binary-post-install/libmarpa-r2-perl' failed

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-perl-maintainers mailing list