Bug#517423: dh-make-perl: Should ignore $HOME/.modulebuildrc

Paul LeoNerd Evans leonerd at leonerd.org.uk
Fri Feb 27 16:43:38 UTC 2009


Package: dh-make-perl
Version: 0.47
Severity: normal

I have a $HOME/.modulebuildrc containing the following, which I find
useful for directly installing modules in my $HOME:

 install install_base=~

When running through dh-make-perl this file needs to be ignored, or else
bad things happen:

 W: libio-async-perl: file-in-unusual-dir root/lib/perl5/IO/Async.pm

I find that the following change fixes it:

--- debian/rules	2009-02-27 16:40:25.000000000 +0000
+++ debian/rules	2009-02-27 16:38:49.000000000 +0000
@@ -40,7 +40,7 @@
 	dh_testroot
 	dh_clean -k
 	# Add commands to install the package into $(TMP) here
-	$(PERL) Build install destdir=$(TMP) create_packlist=0
+	MODULEBUILDRC=/dev/null $(PERL) Build install destdir=$(TMP) create_packlist=0
 	touch $@
 
 binary-arch:


I'm not sure if that's the best/safest plan, but it does at least stop
Module::Build from reading my $HOME/.modulebuildrc during the install
phase. Perhaps there's a better way?

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.nim
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dh-make-perl depends on:
ii  debhelper                     7.0.15     helper programs for debian/rules
ii  dpkg-dev                      1.14.24    Debian package development tools
ii  fakeroot                      1.11       Gives a fake root environment
ii  libemail-date-format-perl     1.002-1    Module to generate RFC-2822-valid 
ii  libmodule-depends-perl        0.14-1     identify the dependencies of a dis
ii  libwww-mechanize-perl         1.34-2     Automate interaction with websites
ii  libyaml-perl                  0.66-1     YAML Ain't Markup Language (tm)
ii  make                          3.81-5     The GNU version of the "make" util
ii  perl                          5.10.0-19  Larry Wall's Practical Extraction 
ii  perl-modules [libpod-parser-p 5.10.0-19  Core Perl modules

Versions of packages dh-make-perl recommends:
ii  apt-file                     2.1.5       APT package searching utility -- c
ii  libmodule-build-perl         0.2808.01-2 Subclassable and make-independent 
ii  perl-modules [libmodule-buil 5.10.0-19   Core Perl modules

dh-make-perl suggests no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list