Bug#691859: dh-make-perl calls mod_cpan_version() which is not available

Xavier Guimard x.guimard at free.fr
Tue Oct 30 13:12:21 UTC 2012


Package: dh-make-perl
Version: 0.76-1
Severity: normal

Dear Maintainer,

Working with libnet-ldap-perl, I've tried a "dh-make-perl refresh". It
reports the following :

 Engaging refresh mode in .
 Detected source format: 3.0 (quilt)
 WARNING: Neither META.json nor META.yml was found
 Extracting name and version from Makefile.PL
 Can't locate object method "mod_cpan_version" via package
  "DhMakePerl::Command::refresh" at
  /usr/share/perl5/DhMakePerl/Command/Packaging.pm line 641.

The bug has been confirmed by dod :
 "this is related to commit 7351a557896e062d343f7741f95d837cc677e580
 in dh-make-perl. Looks like the accessor was moved to
 DhMakePerl::Command::make
 looks like $self should be a DhMakePerl::Command::make
 object instead of a DhMakePerl::Command::Packaging"

When META.yml is present, the problem doesn't exists, so we decided to
report this bug.

Best regards,
Xavier

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (800, 'testing'), (700, 'stable'), (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-make-perl depends on:
ii  debhelper                         9.20120909
ii  dpkg-dev                          1.16.8
ii  fakeroot                          1.18.4-2
ii  libapt-pkg-perl                   0.1.26+b1
ii  libarray-unique-perl              0.08-1
ii  libclass-accessor-perl            0.34-1
ii  libcpan-meta-perl                 2.120921-1
ii  libdpkg-perl                      1.16.8
ii  libemail-address-perl             1.895-1
ii  libemail-date-format-perl         1.002-1
ii  libfile-which-perl                1.09-1
ii  liblist-moreutils-perl            0.33-1+b1
ii  libmodule-depends-perl            0.16-1
ii  libparse-debcontrol-perl          2.005-3
ii  libparse-debianchangelog-perl     1.2.0-1
ii  libsoftware-license-perl          0.103004-2
ii  libtie-ixhash-perl                1.21-2
ii  libwww-mechanize-perl             1.71-1
ii  libyaml-perl                      0.81-1
ii  make                              3.81-8.2
ii  perl                              5.14.2-14
ii  perl-modules [libcpan-meta-perl]  5.14.2-14

Versions of packages dh-make-perl recommends:
ii  apt-file      2.5.1
ii  git           1:1.7.10.4-1
ii  pristine-tar  1.25

dh-make-perl suggests no packages.

-- debconf-show failed



More information about the pkg-perl-maintainers mailing list