Bug#571623: "version: !perl/Module::Build::Version" results in broken Debian version

Jozef Kutej jozef at kutej.net
Fri Feb 26 14:44:41 UTC 2010


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.

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)
...
Class-Accessor-Assert-1.40$ perl -MModule::Build::Version /usr/bin/dh-make-perl
Found: Class-Accessor-Assert 1.40 (libclass-accessor-assert-perl arch=all)
...


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (700, 'stable'), (600, 'unstable'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-make-perl depends on:
ii  debhelper                     7.4.13     helper programs for debian/rules
ii  dpkg-dev                      1.15.5.6   Debian package development tools
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  libapt-pkg-perl               0.1.24     Perl interface to libapt-pkg
ii  libarray-unique-perl          0.08-1     Tie-able array that allows only un
ii  libclass-accessor-perl        0.34-1     Perl module that automatically gen
ii  libemail-date-format-perl     1.002-1    Module to generate RFC-2822-valid 
ii  liblist-moreutils-perl        0.25~02-1  Perl module with additional list f
ii  libmodule-corelist-perl       2.25-1     module to determine modules shippe
ii  libmodule-depends-perl        0.14-3     identify the dependencies of a dis
ii  libparse-debcontrol-perl      2.005-2    Easy OO parsing of Debian control-
ii  libparse-debianchangelog-perl 1.1.1-2    parse Debian changelogs and output
ii  libtie-ixhash-perl            1.21-2     ordered associative arrays for Per
ii  libwww-mechanize-perl         1.58-1     module to automate interaction wit
ii  libyaml-perl                  0.71-1     YAML Ain't Markup Language
ii  make                          3.81-7     An utility for Directing compilati
ii  perl                          5.10.1-11  Larry Wall's Practical Extraction 
ii  perl-modules [libmodule-corel 5.10.1-11  Core Perl modules

Versions of packages dh-make-perl recommends:
ii  apt-file                      2.3.3      search for files within Debian pac

dh-make-perl suggests no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list