Bug#725206: dh-make-perl: dies with "pkg is mandatory at /usr/share/perl5/Debian/Control/FromCPAN.pm line 335"
Florian Schlichting
fsfs at debian.org
Wed Oct 2 19:15:20 UTC 2013
Package: dh-make-perl
Version: 0.79-1
Severity: important
For packages that depend on a version of Module::Build newer than what
is in Perl core, dh-make-perl dies in the process with the message "pkg
is mandatory at /usr/share/perl5/Debian/Control/FromCPAN.pm line 335."
CPAN modules where this happens are for example Path::IsDev or
File::ShareDir::ProjectDistDir. A workaround is to lower the
dependencies on M::B from 0.4007 to 0.4000 in the upstream metadata.
This is the output I get for Path::IsDev:
[fs at thinkpad] dh-make-perl --pkg-perl --source-format "3.0 (quilt)" --dh 8 --vcs git --closes 725137 --cpan Path::IsDev
== dh-make-perl 0.79 ==
Reading '/home/fs/.cpan/Metadata'
Database was generated on Tue, 01 Oct 2013 20:17:04 GMT
CPAN: Digest::SHA loaded ok (v5.84_01)
Checksum for /home/fs/.cpan/sources/authors/id/K/KE/KENTNL/Path-IsDev-0.4.0.tar.gz ok
Path-IsDev-0.4.0/
Path-IsDev-0.4.0/LICENSE
Path-IsDev-0.4.0/Changes
Path-IsDev-0.4.0/lib/
Path-IsDev-0.4.0/lib/Path/
Path-IsDev-0.4.0/lib/Path/IsDev.pm
Path-IsDev-0.4.0/lib/Path/IsDev/
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic.pm
Path-IsDev-0.4.0/lib/Path/IsDev/NegativeHeuristic.pm
Path-IsDev-0.4.0/lib/Path/IsDev/HeuristicSet.pm
Path-IsDev-0.4.0/lib/Path/IsDev/Object.pm
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic/
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic/TestDir.pm
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic/DevDirMarker.pm
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic/Changelog.pm
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic/MYMETA.pm
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic/VCS/
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic/VCS/Git.pm
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic/Tool/
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic/Tool/Dzil.pm
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic/Tool/MakeMaker.pm
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic/Tool/ModuleBuild.pm
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic/META.pm
Path-IsDev-0.4.0/lib/Path/IsDev/Heuristic/Makefile.pm
Path-IsDev-0.4.0/lib/Path/IsDev/HeuristicSet/
Path-IsDev-0.4.0/lib/Path/IsDev/HeuristicSet/Basic.pm
Path-IsDev-0.4.0/lib/Path/IsDev/NegativeHeuristic/
Path-IsDev-0.4.0/lib/Path/IsDev/NegativeHeuristic/IsDev/
Path-IsDev-0.4.0/lib/Path/IsDev/NegativeHeuristic/IsDev/IgnoreFile.pm
Path-IsDev-0.4.0/xt/
Path-IsDev-0.4.0/xt/release/
Path-IsDev-0.4.0/xt/release/pod-coverage.t
Path-IsDev-0.4.0/xt/release/cpan-changes.t
Path-IsDev-0.4.0/xt/release/pod-syntax.t
Path-IsDev-0.4.0/xt/release/distmeta.t
Path-IsDev-0.4.0/xt/release/minimum-version.t
Path-IsDev-0.4.0/xt/release/kwalitee.t
Path-IsDev-0.4.0/xt/release/eol.t
Path-IsDev-0.4.0/xt/author/
Path-IsDev-0.4.0/xt/author/critic.t
Path-IsDev-0.4.0/Build.PL
Path-IsDev-0.4.0/t/
Path-IsDev-0.4.0/t/Path-IsDev/
Path-IsDev-0.4.0/t/Path-IsDev/is_dev/
Path-IsDev-0.4.0/t/Path-IsDev/is_dev/MYMETA.t
Path-IsDev-0.4.0/t/Path-IsDev/is_dev/DZil.t
Path-IsDev-0.4.0/t/Path-IsDev/is_dev/MakeMaker.t
Path-IsDev-0.4.0/t/Path-IsDev/is_dev/TestDir.t
Path-IsDev-0.4.0/t/Path-IsDev/is_dev/Changelog.t
Path-IsDev-0.4.0/t/Path-IsDev/is_dev/DevDir.t
Path-IsDev-0.4.0/t/Path-IsDev/is_dev/suite.t.tpl
Path-IsDev-0.4.0/t/Path-IsDev/is_dev/META.t
Path-IsDev-0.4.0/t/Path-IsDev/is_dev/ModuleBuild.t
Path-IsDev-0.4.0/t/Path-IsDev-Object/
Path-IsDev-0.4.0/t/Path-IsDev-Object/basic.t
Path-IsDev-0.4.0/t/00-compile.t
Path-IsDev-0.4.0/t/000-report-versions-tiny.t
Path-IsDev-0.4.0/t/basic.t
Path-IsDev-0.4.0/.travis.yml
Path-IsDev-0.4.0/README
Path-IsDev-0.4.0/layout/
Path-IsDev-0.4.0/layout/self_structure.png
Path-IsDev-0.4.0/layout/self_structure.dot
Path-IsDev-0.4.0/META.yml
Path-IsDev-0.4.0/perlcritic.rc
Path-IsDev-0.4.0/corpus/
Path-IsDev-0.4.0/corpus/Changelog/
Path-IsDev-0.4.0/corpus/Changelog/Changes
Path-IsDev-0.4.0/corpus/MYMETA/
Path-IsDev-0.4.0/corpus/MYMETA/MYMETA.json
Path-IsDev-0.4.0/corpus/TestDir/
Path-IsDev-0.4.0/corpus/TestDir/t/
Path-IsDev-0.4.0/corpus/TestDir/t/.keep
Path-IsDev-0.4.0/corpus/MakeMaker/
Path-IsDev-0.4.0/corpus/MakeMaker/Makefile.PL
Path-IsDev-0.4.0/corpus/DevDir/
Path-IsDev-0.4.0/corpus/DevDir/.devdir
Path-IsDev-0.4.0/corpus/META/
Path-IsDev-0.4.0/corpus/META/META.yml
Path-IsDev-0.4.0/corpus/DZil/
Path-IsDev-0.4.0/corpus/DZil/dist.ini
Path-IsDev-0.4.0/corpus/ModuleBuild/
Path-IsDev-0.4.0/corpus/ModuleBuild/Build.PL
Path-IsDev-0.4.0/corpus/Makefile/
Path-IsDev-0.4.0/corpus/Makefile/Makefile
Path-IsDev-0.4.0/dist.ini
Path-IsDev-0.4.0/maint-travis-ci/
Path-IsDev-0.4.0/maint-travis-ci/README.mkdn
Path-IsDev-0.4.0/maint-travis-ci/sync_tree.pl
Path-IsDev-0.4.0/maint-travis-ci/yamls/
Path-IsDev-0.4.0/maint-travis-ci/yamls/sterile.yaml
Path-IsDev-0.4.0/maint-travis-ci/sterilize_env.pl
Path-IsDev-0.4.0/maint-travis-ci/merge_travis_yml.pl
Path-IsDev-0.4.0/.perltidyrc
Path-IsDev-0.4.0/META.json
Path-IsDev-0.4.0/weaver.ini
Path-IsDev-0.4.0/MANIFEST
CPAN: File::Temp loaded ok (v0.23)
---- Unsatisfied dependencies detected during ----
---- KENTNL/Path-IsDev-0.4.0.tar.gz ----
Module::Build [build_requires]
Ignoring dependencies on modules Module::Build
KENTNL/Path-IsDev-0.4.0.tar.gz
[configure_requires] -- NOT OK
Using META.json
Found: Path-IsDev 0.4.0 (libpath-isdev-perl arch=all)
Switched to a new branch 'master'
Using cached Contents from Sat Aug 17 22:04:52 2013
= warnings is in core since 5.6.0
= parent is in core since 5.10.1
+ Module::Runtime found in libmodule-runtime-perl
+ Path::Tiny found in libpath-tiny-perl
= Carp is in core since 5.0.0
+ Sub::Exporter found in libsub-exporter-perl
- Class::Tiny >= 0.010 not found in any package
CPAN contains it in Class-Tiny
substituting package name of libclass-tiny-perl
= strict is in core since 5.0.0
= perl >= 5.10.0 is in core
= Scalar::Util is in core since 5.7.3
Needs the following debian packages: perl (>= 5.10.1), libmodule-runtime-perl, libpath-tiny-perl, libsub-exporter-perl, libclass-tiny-perl (>= 0.010)
+ Test::Fatal found in libtest-fatal-perl
= IO::Handle is in core since 5.3.70
= Module::Build >= 0.4007 is in core since 5.19.3
! perl (>= 5.19.3) is too new. Adding alternative dependency
pkg is mandatory at /usr/share/perl5/Debian/Control/FromCPAN.pm line 335.
Florian
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (700, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dh-make-perl depends on:
ii debhelper 9.20130921
ii dpkg-dev 1.17.1
ii fakeroot 1.18.4-2
ii libapt-pkg-perl 0.1.29+b1
ii libarray-unique-perl 0.08-1
ii libclass-accessor-perl 0.34-1
ii libcpan-meta-perl 2.132510-1
ii libdpkg-perl 1.17.1
ii libemail-address-perl 1.898-1
ii libemail-date-format-perl 1.004-1
ii libfile-which-perl 1.09-1
ii liblist-moreutils-perl 0.33-1+b2
ii libmodule-depends-perl 0.16-1
ii libparse-debcontrol-perl 2.005-4
ii libparse-debianchangelog-perl 1.2.0-1
ii libsoftware-license-perl 0.103005-1
ii libtie-ixhash-perl 1.23-1
ii libwww-mechanize-perl 1.73-1
ii libyaml-perl 0.84-1
ii make 3.81-8.2
ii perl 5.18.1-4
ii perl-modules [libcpan-meta-perl] 5.18.1-4
Versions of packages dh-make-perl recommends:
ii apt-file 2.5.2
ii git 1:1.8.4~rc3-1
ii pristine-tar 1.28
dh-make-perl suggests no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list