Bug#536838: dh-make-perl: Incorrect assumptions about perl module version -> debian package version

Paul LeoNerd Evans leonerd at leonerd.org.uk
Mon Jul 13 22:21:12 UTC 2009


Package: dh-make-perl
Version: 0.56
Severity: normal

My Build.PL states:

   build_requires => {
                        'XML::SAX::ParserFactory' => '1.00',
                        ...
                     }

which comes out in META.yml as:

  build_requires:
    XML::SAX::ParserFactory: 1.00
    ...

dh-make-perl parsed this into:

  Build-Depends-Indep: perl (>= 5.6.0-12), perl-modules,
    libxml-sax-perl (>= 1.00)


This is an incorrect assumption about the mapping from perl module
versions into debian package versions.

As it happens, I only have installed:

  ii  libxml-sax-perl   0.96+dfsg-1    Perl module for using and building Perl SAX2 XML processors

which provides:

  package XML::SAX::ParserFactory;
  ...
  $VERSION = '1.01';

and should therefore be sufficient to build this module.


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

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dh-make-perl depends on:
ii  debhelper                     7.2.14     helper programs for debian/rules
ii  dpkg-dev                      1.15.2     Debian package development tools
ii  fakeroot                      1.12.4     Gives a fake root environment
ii  libapt-pkg-perl               0.1.23     Perl interface to libapt-pkg
ii  libclass-accessor-perl        0.33-1     Automated accessor generator
ii  libemail-date-format-perl     1.002-1    Module to generate RFC-2822-valid 
ii  liblist-moreutils-perl        0.22-1+b1  Addition list functions not found 
ii  libmodule-corelist-perl       2.17-1     what modules shipped with versions
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.54-2     module to automate interaction wit
ii  libyaml-perl                  0.68-2     YAML Ain't Markup Language
ii  make                          3.81-6     An utility for Directing compilati
ii  perl                          5.10.0-23  Larry Wall's Practical Extraction 
ii  perl-modules [libmodule-corel 5.10.0-23  Core Perl modules

Versions of packages dh-make-perl recommends:
ii  apt-file                      2.2.2      search for files within Debian pac
ii  libmodule-build-perl          0.3300-1   Subclassable and make-independent 
ii  perl-modules [libmodule-build 5.10.0-23  Core Perl modules

dh-make-perl suggests no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list