[Dsc-maintainers] Bug#792381: dsc-statistics: FTBFS with perl 5.22 in experimental (MakeMaker changes)

Dominic Hargreaves dom at earth.li
Tue Jul 14 09:33:06 UTC 2015


Source: dsc-statistics
Version: 201203250530-2
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.22-transition makemaker-prefix
Tags: sid stretch

This package FTBFS with perl 5.22.0-2, which removed support for a long-
obsolete way of overriding PREFIX when calling 'make install' with
ExtUtils::MakeMaker, as described in the lintian tag
debian-rules-makemaker-prefix-is-deprecated[1] and the Debian Perl
policy[2]:

(cd perllib; test -f Makefile || perl Makefile.PL INSTALLDIRS=vendor ; /usr/bin/
make install PREFIX=/«PKGBUILDDIR»/presenter/../debian/dsc-statistics-presenter/
usr)
make[2]: Entering directory '/«PKGBUILDDIR»/presenter/perllib'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/share/perl5/DSC'
mkdir /usr/share/perl5/DSC: Permission denied at /usr/share/perl/5.22/ExtUtils/I
nstall.pm line 477.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

The fix is to use DESTDIR instead of PREFIX; please see the lintian
description for examples. Alternatively, newer versions of debhelper
can automatically call make install with the correct arguments when
using the dh7 style rules files.

This bug will become release critical nearer the time of the perl 5.22
migration, expected during the (northern hemisphere) summer.

Cheers,
Dominic.

[1] <https://lintian.debian.org/tags/debian-rules-makemaker-prefix-is-deprecated.html>
>
[2] <https://www.debian.org/doc/packaging-manuals/perl-policy/ch-module_packages.html#s-vendor_install>



More information about the Dsc-maintainers mailing list