Your message dated Thu, 09 Jul 2009 07:55:59 +0000
with message-id <[email protected]>
and subject line Bug#533707: fixed in perl 5.10.0-24
has caused the Debian Bug report #533707,
regarding CPANP not acting consistently with CPAN
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
533707: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533707
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Severity: serious
Tags: confirmed
Package: perl
In an attempt to solve other bugs with Debian playing well with CPAN,
I've come across a new one. It appears as if CPANPLUS is not
configured to behave like CPAN.pm.
In /etc/perl/CPAN/Config.pm you'll find
'makepl_arg' => q[INSTALLDIRS=site],
(might also want mbuildpl_arg)
There is nothing like this for CPANP in the Debian configuration.
Assuming that you're using a version that can be updated, you can test
this and see the problems with it by updating Archive::Extract.
For me CPAN installs to
/usr/local/share/perl/5.10.0/
While Debian installs to
/usr/share/perl/5.10.0/
Notice, Debian doesn't install to local and shouldn't, and cpan only
installs to local as it should. Unfortunately, CPANP isn't configured
properly.
Confirm a number lower than 0.32 which is the current.
$ perl -MArchive::Extract\ 999
My version returns "Archive::Extract version 999 required--this is
only version 0.24 ."
$ sudo cpan Archive::Extract
$ perl -MArchive::Extract\ 999
Confirm a number higher than your previous
Now lets make sure the file exists where it should, you'll see CPAN
installed the update to /usr/local/share/perl
$ ls -la /usr/local/share/perl/5.10.0/Archive/Extract.pm
-r--r--r-- 1 root root 46860 2009-06-12 08:22
/usr/local/share/perl/5.10.0/Archive/Extract.pm
Now, lets delete that
rm -rf /usr/local/share/perl/5.10.0/Archive/
$ perl -MArchive::Extract\ 999
This should return the same number it did when we started.
Now lets install this module with CPANPLUS
$ sudo cpanp install Archive::Extract
Make sure it is update
$ perl -MArchive::Extract\ 999
You should have a version higher than when you started, just like
after you ran CPAN
$ sudo updatedb && locate Archive/Extract.pm | grep -vi cpan
/usr/share/perl/5.10.0/Archive/Extract.pm
Notice only one file (in the same location as the one you had before
you started this scenario that came with the package "perl-modules")
$ grep '$VERSION' /usr/share/perl/5.10.0/Archive/Extract.pm
use vars qw[$VERSION $PREFER_BIN $PROGRAMS $WARN $DEBUG
$VERSION = '0.32';
Notice that one file has the newest version number
As you can see, there is only one installed version of the file when
you use CPANPLUS, there are two when you use CPAN. This is because
CPANPLUS is clobbering the file tracked by dpkg, which is because it
isn't configured properly. This is further evidenced by the version
numbers in /usr/share/perl/5.10.0/Archive/Extract.pm.
--
Evan Carroll
System Lord of the Internets
--- End Message ---
--- Begin Message ---
Source: perl
Source-Version: 5.10.0-24
We believe that the bug you reported is fixed in the latest version of
perl, which is due to be installed in the Debian FTP archive:
libcgi-fast-perl_5.10.0-24_all.deb
to pool/main/p/perl/libcgi-fast-perl_5.10.0-24_all.deb
perl-doc_5.10.0-24_all.deb
to pool/main/p/perl/perl-doc_5.10.0-24_all.deb
perl-modules_5.10.0-24_all.deb
to pool/main/p/perl/perl-modules_5.10.0-24_all.deb
perl_5.10.0-24.diff.gz
to pool/main/p/perl/perl_5.10.0-24.diff.gz
perl_5.10.0-24.dsc
to pool/main/p/perl/perl_5.10.0-24.dsc
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.
Niko Tyni <[email protected]> (supplier of updated 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.8
Date: Wed, 08 Jul 2009 23:21:31 +0300
Source: perl
Binary: perl-base libcgi-fast-perl perl-doc perl-modules perl-debug perl-suid
libperl5.10 libperl-dev perl
Architecture: all source
Version: 5.10.0-24
Distribution: unstable
Urgency: low
Maintainer: Brendan O'Dea <[email protected]>
Changed-By: Niko Tyni <[email protected]>
Closes: 528332 533098 533707
Description:
libcgi-fast-perl - CGI::Fast Perl module
libperl5.10 - Shared Perl library
libperl-dev - Perl library: development files
perl-base - minimal Perl system
perl-debug - Debug-enabled Perl interpreter
perl-doc - Perl documentation
perl - Larry Wall's Practical Extraction and Report Language
perl-modules - Core Perl modules
perl-suid - Runs setuid Perl scripts
Changes:
perl (5.10.0-24) unstable; urgency=low
.
* Change the perl-debug package section and priority to debug/extra.
* POD fix for Module::Build::Cookbook.
* Fix a memory leak with the map operator. (Closes: #528332)
* Add gcc predefined macros to $Config{cppsymbols} on GNU/kFreeBSD.
(Closes: #533098)
* Fix CPAN and CPANPLUS configuration to consistently use the
site directories with both Build.PL and Makefile.PL. (Closes: #533707)
* Save local versions of CPANPLUS::Config::System into /etc/perl.
(See #533707)
Checksums-Sha1:
1f909d684e66a515a47d5df515f520a8d1fb40c4 1340 perl_5.10.0-24.dsc
5557dcabb83d1a35b8fb26e3b812401770afacca 48694
libcgi-fast-perl_5.10.0-24_all.deb
75cd97468c3d3760f28886e9ec857837c838cddb 172461 perl_5.10.0-24.diff.gz
9f1dfca7f3d5953ba39e66293a344594183a151a 8220814 perl-doc_5.10.0-24_all.deb
ad9268328a81f3d1d568c3ce97949fb5886531b3 3198642 perl-modules_5.10.0-24_all.deb
Checksums-Sha256:
0ed4f880b05c40b50cf71daac21efbce2fe14f81fd0d0d0cea13b93dd64590e7 8220814
perl-doc_5.10.0-24_all.deb
545e56170981fedfe9d527b9c5c626a5de1653dee0258192d058ef03da29b964 172461
perl_5.10.0-24.diff.gz
7fd27b99fee6ccfb36c60caad6ee297cedc68f6fa7bcd593b86ee31a51f54b62 1340
perl_5.10.0-24.dsc
8a4c2baa037ad3292cebeb6766981d2f3d2fd9b6f94c6877ecf6abca2b38595e 3198642
perl-modules_5.10.0-24_all.deb
e87162c48415acce3f85e212fc1d211ed1e18c5e53a468667b430d108ab729bc 48694
libcgi-fast-perl_5.10.0-24_all.deb
Files:
9bf9781e62bf7bb1312079ee93716d87 3198642 perl standard
perl-modules_5.10.0-24_all.deb
c86bbe0a23028b49e48883a5399c98bc 8220814 doc optional
perl-doc_5.10.0-24_all.deb
d24a52c4e5f138da7455c9daed0d5be3 48694 perl optional
libcgi-fast-perl_5.10.0-24_all.deb
d73aa6a719d2d79ec803702fec37e613 172461 perl standard perl_5.10.0-24.diff.gz
fa9a90564f2d6de2e78c8d3156a70e5f 1340 perl standard perl_5.10.0-24.dsc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkpVFo4ACgkQiyizGWoHLTnISACeOmaKcq0x/p+7NEI0hGLkIHbd
OXQAnRBHtaGJVcZdVUXPhvKgaOjfRHmO
=aHTZ
-----END PGP SIGNATURE-----
--- End Message ---