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

Bug#545904: perl: ExtUtils::MakeMaker change in 5.10.1 breaks 'make install PREFIX=/some/where'

Package: perl
Version: 5.10.1-1
User: debian-perl@lists.debian.org
Usertags: perl-5.10.1-transition

As preparations for getting Perl 5.10.1 into sid, I was testing a
few rebuilds when I hit this with libcgi-xml-perl:

 /usr/bin/make install PREFIX=/home/niko/tmp/libcgi-xml-perl-0.1/debian/tmp/usr
 make[1]: Entering directory `/home/niko/tmp/libcgi-xml-perl-0.1'
 ERROR: Can't create '/usr/share/man/man3'
 Do not have write permissions on '/usr/share/man/man3'
  at -e line 1
 make[1]: *** [pure_vendor_install] Error 13
The problem is that PREFIX can't be overridden at install time anymore.
This is http://rt.cpan.org/Public/Bug/Display.html?id=47396 and upstream
is disinclined to fix it:

> Use DESTDIR. Its been six years since it was added. Debian already has a new
> enough MakeMaker.

See also #534895: cdbs was recently changed to use DESTDIR instead of PREFIX.

I don't have numbers of affected packages yet. A simple grep will probably
catch most of them.
Niko Tyni   ntyni@debian.org

Reply to: