Your message dated Mon, 26 Jul 2010 15:47:06 +0000
with message-id <[email protected]>
and subject line Bug#585755: fixed in dh-make-perl 0.69-1
has caused the Debian Bug report #585755,
regarding dh-make-perl fails to notice "Config" as a core module
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
585755: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585755
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-make-perl
Version: 0.68-1
Severity: normal
When refreshing the packaging for libnet-ident-perl, dh-make-perl failed to
find the "Config" module anywhere:
chr...@crispylappy:~/src/Packages/pkg-perl/libnet-ident-perl$ dh-make-perl-dev
refresh --pkg-perl --source-format '3.0 (quilt)'
Engaging refresh mode in .
Found: Net-Ident 1.22 (libnet-ident-perl arch=all)
Found docs: README debian/TODO.Debian
debian/rules already uses DH7 tiny rules
W: overwriting debian/copyright.bak
Using cached Contents from Mon May 31 15:40:36 2010
= Fcntl is in core
= vars is in core
= Socket is in core
= FileHandle is in core
= Exporter is in core
- Config not found in any package
Going to read '/home/chrisb/.cpan/Metadata'
Database was generated on Sun, 13 Jun 2010 14:27:40 GMT
- it seems it is not available even via CPAN
= Carp is in core
Needs the following debian packages: perl
= IO::Socket is in core
= ExtUtils::MakeMaker is in core
Needs the following debian packages during building: perl
Needs the following modules for which there are no debian packages available:
- Config
W: overwriting debian/control.bak
--- Done
However, the Config module is included in perl core (in the perl-base
package).
I think the problem is that Module::CoreList does include 'Config', but not
its version number (it's in the version hash as "undef"), which indicates
that module is present in that perl version, but the version number is not
known/specified.
Interestingly, DhMakePerl::Utils::is_core_module correctly returns the perl
version that includes the module, but "core_module_perls" returns an empty
result.
The attached patch (against current SVN) fixes the problem, by only
performing a version check if the version passed into core_module_perls is
defined and non-zero (previously it was checking the version iff it was
defined).
In addition, I had to make core_module_perls skip over a version key in
Module::CoreList::version if it was simply a "family" entry (i.e. "5")
rather than a full version entry, otherwise find_core_perl_dependency died
complaining about a strange version.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dh-make-perl depends on:
ii debhelper 7.4.20 helper programs for debian/rules
ii dpkg-dev 1.15.7.2 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 libdpkg-perl 1.15.7.2 Dpkg perl modules
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-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.62-1 module to automate interaction wit
ii libyaml-perl 0.71-1 YAML Ain't Markup Language
ii make 3.81-8 An utility for Directing compilati
ii perl 5.10.1-13 Larry Wall's Practical Extraction
ii perl-modules [libmodule-corel 5.10.1-13 Core Perl modules
Versions of packages dh-make-perl recommends:
ii apt-file 2.3.4 search for files within Debian pac
dh-make-perl suggests no packages.
-- no debconf information
--
Chris Butler <[email protected]>
GnuPG Key ID: 4096R/49E3ACD3
Index: lib/DhMakePerl/Utils.pm
===================================================================
--- lib/DhMakePerl/Utils.pm (revision 59334)
+++ lib/DhMakePerl/Utils.pm (working copy)
@@ -143,12 +143,16 @@
for my $v(
sort keys %Module::CoreList::version ){
+ # Module::CoreList::version includes families (i.e. "5") as well as
+ # full versions, skip the families.
+ next unless ($v =~ /^\d+\.\d+(?:\.|$)/);
+
next unless exists $Module::CoreList::version{$v}{$module};
my $found = $Module::CoreList::version{$v}{$module};
push @ret, $v
- if not defined($version)
+ if not $version
or $found and version->new($found) >= $version;
}
--- End Message ---
--- Begin Message ---
Source: dh-make-perl
Source-Version: 0.69-1
We believe that the bug you reported is fixed in the latest version of
dh-make-perl, which is due to be installed in the Debian FTP archive:
dh-make-perl_0.69-1.diff.gz
to main/d/dh-make-perl/dh-make-perl_0.69-1.diff.gz
dh-make-perl_0.69-1.dsc
to main/d/dh-make-perl/dh-make-perl_0.69-1.dsc
dh-make-perl_0.69-1_all.deb
to main/d/dh-make-perl/dh-make-perl_0.69-1_all.deb
dh-make-perl_0.69.orig.tar.gz
to main/d/dh-make-perl/dh-make-perl_0.69.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Damyan Ivanov <[email protected]> (supplier of updated dh-make-perl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 26 Jul 2010 18:34:25 +0300
Source: dh-make-perl
Binary: dh-make-perl
Architecture: source all
Version: 0.69-1
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <[email protected]>
Changed-By: Damyan Ivanov <[email protected]>
Description:
dh-make-perl - helper for creating Debian packages from perl modules
Closes: 525847 584619 585755 587276 590114
Changes:
dh-make-perl (0.69-1) unstable; urgency=low
.
[ Damyan Ivanov ]
* die early if unable to determine distribution name or version.
Probably Closes: #525847 (already closed due to missing test case)
.
[ Ansgar Burchardt ]
* Do not require --cpan in addition to --pkg-perl when adding Vcs-* fields.
* Debian::Dependency: Recognize deprecated '<' and '>' relations.
* Debian::Dependency: Allow architecture restrictions in dependencies.
For now this information is just ignored.
* DhMakePerl::Command::Packaging (set_package_name): Use package name
specified by --packagename option. (Closes: #584619)
* dh-make-perl: Fix spelling error ("intercepring" → "intercepting").
* Debian::WNPP::Query: Fix bugs_for_package method.
* Debian::Control::FromCPAN (discover_dependencies): Do not ignore results
from Module::Depends::Intrusive. (Closes: #587276)
.
[ Salvatore Bonaccorso ]
* Add support of Breaks field for binary package stanzas in debian/control
to Debian::Control::Stanza::Binary.
* Create packages with Standards-Version: 3.9.1.
* Standards-Version: 3.9.1 (no changes needed).
* Fix sentences in texts for License stanzas of debian/copyright: Add full
stop mark after sentences.
* Add explicit Link to versioned `/usr/share/common-licenses/GPL-1' as this
was added by base-files 5.8 (See #436105).
* Fix debian/copyright text templates in t/dist/Strange-0.1 and
t/dist/Strange-2.1.
* Add support for perl_dbi addon for dh.
* Build-Depends only on perl when Build.PL and Module::Build is used,
instead of an alternate Build-Depends on perl (>= 5.10) |
libmodule-build-perl. This is as support for Etch is now discontinued and
Lenny already contains perl (>= 5.10) (Closes: #590114).
.
[ Chris Butler ]
* Fixed DhMakePerl::Utils to cope with modules in Module::CoreList where the
version is unspecified. (Closes: #585755)
Checksums-Sha1:
09762bfa3f26e735838ffc440d5afb73f6353e76 2841 dh-make-perl_0.69-1.dsc
691b8a6e26a52a6b1e495ea49b36320dde71f406 127603 dh-make-perl_0.69.orig.tar.gz
9ba9d73f0425f5fcff1acd596215a7c327b9a7b0 20122 dh-make-perl_0.69-1.diff.gz
294910699ca5be809d82c18c7f9c4ec4643ce4ea 160086 dh-make-perl_0.69-1_all.deb
Checksums-Sha256:
66b4209c37d89122f2010b242c0eaf710b9038f17971cc3489a524b4e618a4d1 2841
dh-make-perl_0.69-1.dsc
dae1896a599e288aa7be8781958d26221312469b29ae37c0726b4b96d4ecebed 127603
dh-make-perl_0.69.orig.tar.gz
480a8221bb103d492317bb821cf9f64c1461920bea80bfab55bf0eda7de260ea 20122
dh-make-perl_0.69-1.diff.gz
ae60081940b9714da1a579862941d1b0895d7559ceb737347b106f51f97ba169 160086
dh-make-perl_0.69-1_all.deb
Files:
54a61ef138cdead33cc9b9b66316ea9b 2841 perl optional dh-make-perl_0.69-1.dsc
29fe2ac9d0ece0c93ed2a4b741f897ca 127603 perl optional
dh-make-perl_0.69.orig.tar.gz
3e92bcd0c59f41423e1b58bd6d87c831 20122 perl optional
dh-make-perl_0.69-1.diff.gz
da4279f676e16470da6bc9a4991cf6c7 160086 perl optional
dh-make-perl_0.69-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJMTauUAAoJEOQbTFV/DYC+CHsP/j/lqgnAxRiOts9KGgLyqVfS
adnLoDiF9tOAP4QBSBNMleeJsZMQ3ECsTnfwwc3TxKJnWD0O66ZNhJBpKD+S3v9S
hiVaLGG/BbOrcYwfeNl2iH13xJoPHMoon5hyRITpnqe/YyRHJ8Yx3YEHUL3jocGP
N5dy7B0gvCpalYQmp7xH4rJRpvL9UUwN2iNNKOEkCAmbygJ/t6QcPsw1qs1LCb3C
Hbkec1W+fy44n28n2nrr6tTcVPxIYGGsUV/lH9jIFTcp8IspXTKMz9WBY2i+oO5I
HvmFKn6DFAWFCdRo9i4QoKHxNGP5YML5u9rQRXJIkA7GJGLkAI5MA50EZ1utzQ+O
JC+DugUNMFrGPtBKFHNJClOYml8QB/vFYm/n5Eb6t4PFurDUQ63dVGKZe95G12om
w+3DRK2jz2/RzD8BD0wR4de8a0onnOmlMiTijUndK51lqIBgocFWdMSqXD+RloCI
rYj7+LXNok9QrbC7wb9s14LsCMUe9vvIvWc4YSbclSYeTP4wYy8T3q3p5JRssUdU
jSt1iRJuX4US3sUD8jLuojzxRkRT23PKo29lzU7I5Y2Ym/xhAmmBC2YkSOSnN7/s
AtFnNt/SEZykqnMOvrvdykPnWApaAZUozuhAwsLbRmfylqSRrJBGS+IVrQs2jf5r
gGUBTiGHHIpEw+FmgfZi
=bb2N
-----END PGP SIGNATURE-----
--- End Message ---