Bug#571623: "version: !perl/Module::Build::Version" results in broken Debian version
Damyan Ivanov
dmn at debian.org
Fri Feb 26 16:13:35 UTC 2010
-=| Jozef Kutej, Fri, Feb 26, 2010 at 03:44:41PM +0100 |=-
> Package: dh-make-perl
> Version: 0.63
> Severity: minor
>
> Some authors use "version: !perl/Module::Build::Version" in META.yml. Like for
> example
> http://cpansearch.perl.org/src/SMUELLER/Class-Accessor-Assert-1.40/META.yml
> which results in:
>
> Found: Class-Accessor-Assert 0Module-Build-Version-HASH-0xa487160- (libclass-accessor-assert-perl arch=all)
>
> The solution will be to load "Module::Build::Version" in DhMakePerl.pm.
Shouldn't this be loaded by the module which parses META.yml? In
dh-make-perl's case this is the YAML module (I also tried with
YAML::Syck and YAML::XS).
I mean, how would dh-make-perl know that it has to pre-load module X?
> Example:
>
> Class-Accessor-Assert-1.40$ /usr/bin/dh-make-perl
> Found: Class-Accessor-Assert 0Module-Build-Version-HASH-0x9872160- (libclass-accessor-assert-perl arch=all)
Note to self: in order to reproduce, do not use --cpan option, because
it loads CPAN, which loads Module::Build, which loads M::B::Version.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20100226/842290bc/attachment-0001.pgp>
More information about the pkg-perl-maintainers
mailing list