Bug#578794: libclass-dbi-sweet-perl: FTBFS with newer Module::Build

Niko Tyni ntyni at debian.org
Thu Apr 22 19:09:50 UTC 2010


Package: libclass-dbi-sweet-perl
Version: 0.09-3
Severity: important
User: debian-perl at lists.debian.org
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.
-- 
Niko Tyni   ntyni at debian.org





More information about the pkg-perl-maintainers mailing list