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 <pkg-perl-maintainers@lists.alioth.debian.org>; Source for dh-make-perl is src:dh-make-perl.

Reported by: Jason Kohles <email@jasonkohles.com>

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 <gwolf@debian.org>

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 debian-bugs-dist@lists.debian.org, Gunnar Wolf <gwolf@debian.org>:
Bug#300121; Package dh-make-perl. Full text and rfc822 format available.

Acknowledgement sent to Jason Kohles <email@jasonkohles.com>:
New Bug report received and forwarded. Copy sent to Gunnar Wolf <gwolf@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Jason Kohles <email@jasonkohles.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
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 <he@debian.org> to control@bugs.debian.org. Full text and rfc822 format available.

Tags removed: fixed Request was from Marc 'HE' Brockschmidt <marc@marcbrockschmidt.de> to control@bugs.debian.org. Full text and rfc822 format available.

Tags added: pending Request was from Marc 'HE' Brockschmidt <marc@marcbrockschmidt.de> to control@bugs.debian.org. Full text and rfc822 format available.

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

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

Message #16 received at 300121-close@bugs.debian.org (full text, mbox):

From: Gunnar Wolf <gwolf@debian.org>
To: 300121-close@bugs.debian.org
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:

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

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

Debian distribution maintenance software
pp.
Gunnar Wolf <gwolf@debian.org> (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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
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 <gwolf@debian.org>
Changed-By: Gunnar Wolf <gwolf@debian.org>
Description: 
 dh-make-perl - Create debian packages from perl modules
Closes: 258123 285941 300121
Changes: 
 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 <email@jasonkohles.com>. (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
Files: 
 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

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

iD8DBQFCQh9e2A7zWou1J68RAjnkAJ0U9yXXSR9yppIwG4z/yPnC9TcRoACfcgHQ
sI3UR7kwnPTyxSq8NrNze7s=
=QS3n
-----END PGP SIGNATURE-----




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 24 21:37:11 2014; Machine Name: beach.debian.org

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