[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#792371: alien: FTBFS with perl 5.22 in experimental (MakeMaker changes)



Source: alien
Version: 8.93
Severity: important
User: debian-perl@lists.debian.org
Usertags: perl-5.22-transition
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]:

/usr/bin/make pure_install INSTALLDIRS=vendor \
        PREFIX=/«PKGBUILDDIR»/debian/alien//usr \
        VARPREFIX=/«PKGBUILDDIR»/debian/alien
make[2]: Entering directory '/«PKGBUILDDIR»'
Manifying 1 pod document
Manifying 7 pod documents
perl -i -pe "s/\@version\@/8.93/g" <alien.lsm.in >alien.lsm
-i used with no filenames on the command line, reading from STDIN.
perl -i -pe "s/\@version\@/8.93/g" <alien.spec.in >alien.spec
-i used with no filenames on the command line, reading from STDIN.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/bin'
Do not have write permissions on '/usr/bin'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1.

The fix is to use DESTDIR instead of PREFIX; please see the lintian
description for examples.

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>


Reply to: