Debian Bug report logs - #300121
dh-make-perl: Cannot handle Module::Build installed modules (patch attached)

version graph

Package: dh-make-perl; Maintainer for dh-make-perl is Debian Perl Group <>; Source for dh-make-perl is src:dh-make-perl.

Reported by: Jason Kohles <>

Date: Thu, 17 Mar 2005 19:48:09 UTC

Severity: normal

Tags: patch

Found in version 0.12

Fixed in version dh-make-perl/0.14

Done: Gunnar Wolf <>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox

Report forwarded to, Gunnar Wolf <>:
Bug#300121; Package dh-make-perl. Full text and rfc822 format available.

Acknowledgement sent to Jason Kohles <>:
New Bug report received and forwarded. Copy sent to Gunnar Wolf <>. Full text and rfc822 format available.

Message #5 received at (full text, mbox):

From: Jason Kohles <>
To: Debian Bug Tracking System <>
Subject: dh-make-perl: Cannot handle Module::Build installed modules (patch attached)
Date: Thu, 17 Mar 2005 14:38:47 -0500
[Message part 1 (text/plain, inline)]
Package: dh-make-perl
Version: 0.12
Severity: normal
Tags: patch

rules.xs and rules.noxs assume that all modules being installed will be
built by ExtUtils::MakeMaker, which is becoming true less and less
often.  Attached is a patch for both rules files, which causes the
makefile to use Module::Build to build modules that include a Build.PL
file, and to use ExtUtils::MakeMaker if there is a Makefile.PL instead
(if both exist, Build.PL is preferred).

For the benefit of people trying to build packages who may find this
report, you can fix the problem by copying this patch into a file on
your system and using these commands:

% mkdir ~/.dh-make-perl
% cd ~/.dh-make-perl
% cp /usr/share/dh-make-perl/rules.{xs,noxs} .
% patch -p1 < /path/to/downloaded/patch/file

Be careful about cutting and pasting the patch file, make is picky about
which lines must start with spaces (the ifeq and endif lines) and which
must start with tabs (basically everything else).

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.18-bf2.4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dh-make-perl depends on:
ii  debhelper                     4.2.31     helper programs for debian/rules
ii  dpkg-dev                      1.10.27    Package building tools for Debian
ii  fakeroot                      1.2.2      Gives a fake root environment
ii  libyaml-perl                  0.35-1     YAML Ain't Markup Language (tm)
ii  make                          3.80-9     The GNU version of the "make" util
ii  perl                          5.8.4-6    Larry Wall's Practical Extraction 
ii  perl-modules [libpod-parser-p 5.8.4-6    Core Perl modules

-- no debconf information
[rules.patch (text/plain, attachment)]

Tags added: fixed Request was from Marc 'HE' Brockschmidt <> to Full text and rfc822 format available.

Tags removed: fixed Request was from Marc 'HE' Brockschmidt <> to Full text and rfc822 format available.

Tags added: pending Request was from Marc 'HE' Brockschmidt <> to Full text and rfc822 format available.

Reply sent to Gunnar Wolf <>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Jason Kohles <>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #16 received at (full text, mbox):

From: Gunnar Wolf <>
Subject: Bug#300121: fixed in dh-make-perl 0.14
Date: Wed, 23 Mar 2005 21:17:16 -0500
Source: dh-make-perl
Source-Version: 0.14

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:

  to pool/main/d/dh-make-perl/dh-make-perl_0.14.dsc
  to pool/main/d/dh-make-perl/dh-make-perl_0.14.tar.gz
  to pool/main/d/dh-make-perl/dh-make-perl_0.14_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Gunnar Wolf <> (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

Hash: SHA1

Format: 1.7
Date: Wed, 23 Mar 2005 19:32:08 -0600
Source: dh-make-perl
Binary: dh-make-perl
Architecture: source all
Version: 0.14
Distribution: unstable
Urgency: medium
Maintainer: Gunnar Wolf <>
Changed-By: Gunnar Wolf <>
 dh-make-perl - Create debian packages from perl modules
Closes: 258123 285941 300121
 dh-make-perl (0.14) unstable; urgency=medium
   * rules.ModuleBuild.{noxs,xs}: Add rules templates for Module::Build
     based packages. Thanks for the (slightly modified) patch from
     Jason Kohles <>. (Closes: #258123, #285941, #300121).
     Thanks to Marc 'HE' Brockschmidt for incorporating this work.
   * Now performs tests as part of the build process. Added the --notest
     switch to revert the behavior to the old one.
   * Added a Recommends: libmodule-build-perl relationship
 c12b01cf80f43847160b7c0fc7be420c 610 devel optional dh-make-perl_0.14.dsc
 91e8e1e6c810a3a637d48905a3b186ce 24417 devel optional dh-make-perl_0.14.tar.gz
 7d8748efa60ac8c891724d8719e6e164 21598 devel optional dh-make-perl_0.14_all.deb

Version: GnuPG v1.4.0 (GNU/Linux)


Send a report that this bug log contains spam.

Debian bug tracking system administrator <>. Last modified: Fri Apr 18 05:43:22 2014; Machine Name:

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.