[Debian-med-packaging] Bug#807423: altree: FTBFS with perl 5.22 in experimental (MakeMaker changes)

Dominic Hargreaves dom at earth.li
Tue Dec 8 17:10:51 UTC 2015


Source: altree
Version: 1.3.1-2
Severity: serious
Justification: transition imminent
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]:

Files found in blib/arch: installing files in blib/lib into architecture depende
nt library tree
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/bin'
Do not have write permissions on '/usr/bin'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1.
Makefile:864: recipe for target 'pure_vendor_install' failed
make[2]: *** [pure_vendor_install] Error 13

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.

The perl 5.22 is due to start this week, so apologies for the late
submission of this bug; for some reason my previous testing of this
issue overlooked this package.

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 Debian-med-packaging mailing list