Bug#691534: dh-make-perl: no depend on newer perl for module in future corelist

Kevin Ryde user42 at zip.com.au
Fri Oct 26 20:55:47 UTC 2012


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

When building Devel-SawAmpersand with "unstable" perl 5.14.2,

    cd /tmp
    wget http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/Devel-SawAmpersand-0.33.tar.gz
    tar xfz Devel-SawAmpersand-0.33.tar.gz
    dh-make-perl --no-network Devel-SawAmpersand-0.33

the debian/control file made by dh-make-perl asks for

    perl >= 5.17.1

in order to satisfy Parse::CPAN::Meta 1.4404 in the META.yml of
Devel-SawAmpersand.  I hoped that since perl 5.17.1 is newer than the
5.14.2 being built against that dh-make-perl would instead give
something like

    libparse-cpan-meta-perl (>= 1.4404) | perl (>= 5.17.1)

so that it the package will be installable with the perl in use.

For what it's worth I suspect Devel-SawAmpersand does not actually
depend on Parse::CPAN::Meta at all, or only as an author tool, but this
would be a general problem of Module::Corelist ahead of the currently
installed perl.

Perhaps a target perl version could even be an option, so that separate
packages are an alternative for any perl less than the target.  But the
currently running perl is probably of most interest.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-make-perl depends on:
ii  debhelper                         9.20120830
ii  dpkg-dev                          1.16.7
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.7
ii  libemail-address-perl             1.896-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.84-1
ii  make                              3.81-8.1
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.22

dh-make-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list