Your message dated Wed, 14 Nov 2007 15:02:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#447520: fixed in dh-make-perl 0.35
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: dh-make-perl
Version: 0.34
Severity: wishlist
Tags: patch

Hi,

I notice that a few packages using Module::Install fail with dh-make-perl
because Module::Depends::Intrusive throws an error.

The attached patch allows dh-make-perl to use plain Module::Depends if there
is a META.yml file present, which for many cases fixes this problem. If
there is no META.yml file in the distribution, then dh-make-perl will fall
back to trying Module::Depends::Intrusive.

regards,
oliver.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dh-make-perl depends on:
ii  debhelper                     5.0.42     helper programs for debian/rules
ii  dpkg-dev                      1.13.25    package building tools for Debian
ii  fakeroot                      1.5.10     Gives a fake root environment
ii  libmodule-depends-perl        0.10-1     identify the dependencies of a dis
ii  libwww-mechanize-perl         1.18-1     Automate interaction with websites
ii  libyaml-perl                  0.62-1     YAML Ain't Markup Language (tm)
ii  make                          3.81-2     The GNU version of the "make" util
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 
ii  perl-modules [libpod-parser-p 5.8.8-7    Core Perl modules

Versions of packages dh-make-perl recommends:
ii  apt-file                      2.0.8.2    APT package searching utility -- c
ii  libmodule-build-perl          0.26-1     Subclassable and make-independant 

-- no debconf information
diff -urN dh-make-perl.orig/dh-make-perl dh-make-perl/dh-make-perl
--- dh-make-perl.orig/dh-make-perl      2007-10-21 22:17:53.000000000 +0100
+++ dh-make-perl/dh-make-perl   2007-10-21 22:18:36.000000000 +0100
@@ -643,14 +643,16 @@
 
        $dir .= '/' unless $dir =~ m/\/$/;
 
-       ### Mental note to self: It'd be worth it to fall back to 
-       ### Module:::Depends and _only_ then fail
+       # use Module::Depends if there is a META.yml file, else
+       # fall back to Module::Depends::Intrusive
+       my $depends_module = (-f "$maindir/META.yml"
+           ? 'Module::Depends' : 'Module::Depends::Intrusive');
        eval {
            my $mod_dep;
            no warnings;
            local *STDERR;
            open(STDERR, ">/dev/null");
-           $mod_dep = Module::Depends::Intrusive->new();
+           $mod_dep = $depends_module->new();
        
            $mod_dep->dist_dir( $dir );
            $mod_dep->find_modules();
@@ -664,7 +666,7 @@
            warn '='x70,"\n";
            warn "Could not find the dependencies for the requested module\n";
 
-           warn "Module::Depends::Intrusive reports: $error\n" if $error;
+           warn "$depends_module reports: $error\n" if $error;
            warn "Generated error: $@" if $@;
 
            warn "Please check if your module depends on Module::Install\n" .

--- End Message ---
--- Begin Message ---
Source: dh-make-perl
Source-Version: 0.35

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.35.dsc
  to pool/main/d/dh-make-perl/dh-make-perl_0.35.dsc
dh-make-perl_0.35.tar.gz
  to pool/main/d/dh-make-perl/dh-make-perl_0.35.tar.gz
dh-make-perl_0.35_all.deb
  to pool/main/d/dh-make-perl/dh-make-perl_0.35_all.deb



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: SHA1

Format: 1.7
Date: Wed, 14 Nov 2007 16:46:02 +0200
Source: dh-make-perl
Binary: dh-make-perl
Architecture: source all
Version: 0.35
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <[EMAIL PROTECTED]>
Changed-By: Damyan Ivanov <[EMAIL PROTECTED]>
Description: 
 dh-make-perl - Create Debian packages from perl modules
Closes: 447520
Changes: 
 dh-make-perl (0.35) unstable; urgency=low
 .
   [ Oliver Gorwits ]
   * Try Module::Depends if M::D::Intrusive fails (Closes: #447520). This
     helps Module::Install modules (with META.yml) to work with dh-make-perl.
Files: 
 0493e2af5122bddccfd5524ea185fc34 968 devel optional dh-make-perl_0.35.dsc
 31eff0cd0bffa91438c7d0ffa32d6084 34966 devel optional dh-make-perl_0.35.tar.gz
 3924d2d39342cecfc350746b8cb84313 32600 devel optional dh-make-perl_0.35_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHOwryHqjlqpcl9jsRAreaAKCMw/gf8+k1SPu0pYNSFfzbZuuLygCggLuq
Xq/K/6VU+VwlFfvfaASSodY=
=48jj
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to