Re: Bug#545904: perl: ExtUtils::MakeMaker change in 5.10.1 breaks 'make install PREFIX=/some/where'
On Thu, Sep 10, 2009 at 11:24:34PM +0200, gregor herrmann wrote:
> On Thu, 10 Sep 2009 00:12:22 +0300, Niko Tyni wrote:
> > 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.
> Hm. Am I mistaken or does that mean we have to fix and upload 378
> packages or they will be insta-buggy for FTBFS'ing after the 5.10.1
I don't think it's quite that bad.
make install DESTDIR=$(TMP) PREFIX=/usr
should be OK: the PREFIX override is ignored but /usr is the default anyway.
The buggy ones are those that set the temporary installation path
make install PREFIX=$(TMP)/usr
Grepping debian/rules (and debian/local.mk) for install and PREFIX but not
DESTDIR gives 227 source packages out of the 1824 in sid matching m/-perl/.
I'll set up a mass test rebuild this weekend to verify these and find any
other common problems. The first dozen or so I tested all failed to build.
A slight complication is that the amd64 and i386 builds of perl_5.10.1-1
in experimental are built but haven't been uploaded yet, so testing this
currently needs hand-built binaries.
Does anybody know a contact for the amd64/experimental and
i386/experimental buildd admins? Otherwise, I suppose I'll upload the
Niko Tyni firstname.lastname@example.org