Bug#632830: dh-make-perl: Should configure away /root/.cpan

Nicholas Bamber nicholas at periapt.co.uk
Wed Jul 6 09:38:31 UTC 2011


Package: dh-make-perl
Version: 0.73-1
Severity: normal
Tags: upstream


After I upgraded dh-make-perl it tried to download the CPAN tarballs to
somewhere below /root/.cpan . To continue working I cleaned out /root/.cpan
and made it universally writeable but I do not believe this is correct. 
It should be possible to make a temporary directoy and use that 
and to do something sensible with the CPAN config to facilitate this.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-make-perl depends on:
ii  debhelper                     8.9.0      helper programs for debian/rules
ii  dpkg-dev                      1.16.0.3   Debian package development tools
ii  fakeroot                      1.16-1     tool for simulating superuser priv
ii  libapt-pkg-perl               0.1.24+b2  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  libcpan-meta-perl             2.110930-1 Perl module to access distribution
ii  libdpkg-perl                  1.16.0.3   Dpkg perl modules
ii  libemail-address-perl         1.892-1    Perl module for RFC 2822 address p
ii  libemail-date-format-perl     1.002-1    Module to generate RFC-2822-valid 
ii  liblist-moreutils-perl        0.32-1     Perl module with additional list f
ii  libmodule-corelist-perl       2.52-1     module to determine modules shippe
ii  libmodule-depends-perl        0.15-2     Perl module to identify the depend
ii  libparse-debcontrol-perl      2.005-2    Easy OO parsing of Debian control-
ii  libparse-debianchangelog-perl 1.2.0-1    parse Debian changelogs and output
ii  libsoftware-license-perl      0.103002-1 module providing templated softwar
ii  libtie-ixhash-perl            1.21-2     ordered associative arrays for Per
ii  libwww-mechanize-perl         1.68-1     module to automate interaction wit
ii  libyaml-perl                  0.73-1     YAML Ain't Markup Language
ii  make                          3.81-8.1   An utility for Directing compilati
ii  perl                          5.12.4-1   Larry Wall's Practical Extraction 
ii  perl-modules [libmodule-corel 5.12.4-1   Core Perl modules

Versions of packages dh-make-perl recommends:
ii  apt-file                   2.4.2         search for files within Debian pac
ii  git                        1:1.7.2.3-2.2 fast, scalable, distributed revisi

dh-make-perl suggests no packages.

-- no debconf information
-------------- next part --------------
Script started on Wed 06 Jul 2011 07:18:13 BST
? svn-upgrade --uscan
cd ../libcgi-session-perl/
pwddebcommit
pwdcd ../libcgi-session-perl/
svn-upgrade --uscan
pwd
/home/nicholas/svn
? pwdsvn-upgrade --uscan
cd ../libcgi-session-perl/
pwddebcommit
vi debian/changelog 
svn-upgrade --uscan
vi debian/changelog 
cd libnetpacket-perl/
svnco libnetpacket-perl-packet-perl
pwdcd ..
pwdcd ..
pwdsvnco libnet-packet-perlpacket-perl
cd libnetpacket-perl/
vi debian/changelog 
svn-upgrade --uscan
vi debian/changelog 
debcommit
pwdcd ../libcgi-session-perl/
svn-upgrade --uscan
pwddh0=-make-perl --pkg-perl --cpan Data::Session
CPAN: File::HomeDir loaded ok (v0.97)
Going to read '/root/.cpan/Metadata'
  Database was generated on Fri, 10 Jun 2011 23:30:05 GMT
CPAN: Time::HiRes loaded ok (v1.9719)
Warning: You are not allowed to write into directory "/root/.cpan/sources/authors".
    I'll continue, but if you encounter problems, they may be due
    to insufficient permissions.
Fetching with LWP:
ftp://cpan.etla.org/pub/CPAN/authors/01mailrc.txt.gz
Can't write to '/root/.cpan/sources/authors/01mailrc.txt.gz.tmp26472-26472': Permission denied at /usr/share/perl5/LWP/Protocol.pm line 105. at /usr/share/perl5/LWP/UserAgent.pm line 898.
? exit

Script done on Wed 06 Jul 2011 07:18:57 BST


More information about the pkg-perl-maintainers mailing list