opensubscriber
   Find in this group all groups
 
Unknown more information…

d : debian-devel@lists.debian.org 14 September 2009 • 4:33AM -0400

Proposed mass bug filing: Perl 5.10.1 breaks 'make install PREFIX=$(TMP)/usr'
by Niko Tyni

REPLY TO AUTHOR
 
REPLY TO GROUP




(sending to -devel, -perl and #545904, followups to -perl)

A change in the ExtUtils::MakeMaker module between Perl 5.10.0 and Perl
5.10.1 (currently in experimental) makes 246 packages fail to build
from source.

See #545904 for details; the summary is to use either of

  make install DESTDIR=$(TMP)             # RIGHT
  make install DESTDIR=$(TMP) PREFIX=/usr # WORKS

instead of

  make install PREFIX=$(TMP)/usr          # WRONG

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.

I have rebuilt ~2000 source packages (those matching -perl or
build-depending on libperl-dev) against Perl 5.10.1.

246 packages failed to build with 'Error 13' at the end of the log,
which matches very well the results of grepping through debian/rules
(and debian/local.mk) for PREFIX without DESTDIR. I've gone through the
small discrepancies between the two lists, and I think there's little
chance for false positives.

I propose a mass bug filing with severity 'important', which will be
raised to 'serious' once Perl 5.10.1 gets in sid. I'll coordinate the
sid upload with the release team, no timeline yet.

I'm attaching a dd-list of the packages. Build logs can be found at

http://people.debian.org/~ntyni/perl/5.10.1-rebuild/

(There were also a dozen or so other build failures related to 5.10.1,
but nothing this major. Bugs are being filed and can be found through
http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=debian-perl@list...&tag=perl-5.10.1-transition
)
--
Niko Tyni   ntyni@debi...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.