clone 578794 -1 reassign -1 debhelper retitle -1 prefer Build.PL over Makefile.PL severity -1 wishlist owner -1 ! thanks
-=| Niko Tyni, Thu, Apr 22, 2010 at 10:09:50PM +0300 |=- > Package: libclass-dbi-sweet-perl > Version: 0.09-3 > Severity: important > User: [email protected] > Usertags: perl-5.12-transition > > This package fails to build with newer versions of Module::Build, > including libmodule-build-perl_0.360700-1 in sid and perl_5.12.0-1 > in experimental. > > # running Build.PL --installdirs vendor --create_packlist 0 > Creating new 'MYMETA.yml' with configuration results > Creating new 'Build' script for 'Class-DBI-Sweet' version '0.09' > Prereq 'v3.0.12' for 'Class::DBI' is not supported by Module::Build::Compat > dh_auto_configure: perl Makefile.PL INSTALLDIRS=vendor create_packlist=0 > returned exit code 255 > > Quoting Michael G Schwern in > http://www.nntp.perl.org/group/perl.perl5.porters/2010/04/msg158583.html > > > This is due to a change in Module::Build 0.36, so its not strictly a 5.12 > > ism. > > > > - Module::Build::Compat will now die with an error if advanced, > > non-numeric prerequisites are given, as these are not supported by > > ExtUtils::MakeMaker in PREREQ_PM [David Golden] > > > > I can replicate it with 5.10.1 and an upgraded Module::Build. > > > > Though in this case Module::Build::Compat is probably being overly > > paranoid. > > It is trying to protect MakeMaker from a version number it can't handle... > > but > > MakeMaker will not be involved in a "small" style compatibilty Makefile. > > Everything is passed through to Module::Build. I've reported it to > > Module::Build. > > https://rt.cpan.org/Ticket/Display.html?id=56349 > > > Debian should be preferring the Build.PL over the Makefile.PL whenever > > possible. Emulation sucks. > > Not sure if it's just Module::Build that needs to be fixed. Cloning to debhelper for further discussion. Can debhelper prefer Build.PL over Makefile.PL? I vagueely remember discussing thes before, but can't recall what was the outcome (and can't find a bugreport about it). In the mean time, I'll pass --buildsystem=perl_build in dbi-sweet's rules as a workaround.
signature.asc
Description: Digital signature

