Skip Menu |
 

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 48040
Status: open
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: IKEGAMI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.9402
Fixed in: (no value)



Subject: A couple of small, easy to fix bugs
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 2246
Download (untitled) / with headers
text/plain 2.1k
I was confronted with: Show quoted text
---------- BEGIN ---------- t/13tarzip.............Use of uninitialized value in sprintf at C:\progs\perl5100\cpan\build\CPAN-1.9402-jt9Gcc\blib\lib/CPAN/Tarzip.pm line 251. # Looks like your test exited with 9 before it could output anything. t/13tarzip.............dubious Test returned status 9 (wstat 2304, 0x900) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay ---------- END ---------- The warning and the problem can be fixed with the following changes: ---------- BEGIN patch to CPAN/Tarzip.pm ---------- if ($CPAN::META->has_usable("Archive::Tar")) { - $foundAT = sprintf "'%s'", "Archive::Tar::"->VERSION; + $foundAT = sprintf "'%s'", "Archive::Tar"->VERSION; ---------- END patch to CPAN/Tarzip.pm ---------- ---------- BEGIN patch to CPAN/Tarzip.pm ---------- if ($CPAN::META->has_inst("Compress::Zlib")) { - $foundCZ = sprintf "'%s'", "Compress::Zlib::"->VERSION; + $foundCZ = sprintf "'%s'", "Compress::Zlib"->VERSION; ---------- END patch to CPAN/Tarzip.pm ---------- ---------- BEGIN patch to CPAN.pm ---------- 'Archive::Tar' => [ sub {require Archive::Tar; - unless (CPAN::Version->vge(Archive::Tar::->VERSION, 1.50)) { + unless (CPAN::Version->vge(Archive::Tar::->VERSION, 1.00)) { for ("Will not use Archive::Tar, need 1.00\n") { $CPAN::Frontend->mywarn($_); die $_; } } unless (CPAN::Version->vge(Archive::Tar::->VERSION, 1.50)) { my $atv = Archive::Tar->VERSION; $CPAN::Frontend->mywarn("You have Archive::Tar $atv, but 1.50 or later is recommended. Please upgrade.\n"); } }, ], ---------- END patch to CPAN.pm ----------
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Charset: utf8
Content-Type: multipart/mixed; boundary="----------=_1248137257-6413-77"
Message-ID: <rt-3.6.HEAD-6413-1248137257-1460.48040-0-0 [...] rt.cpan.org>
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 57
Bah, RT wrapped the text. Attaching the patches as files
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1248137175-6413-74"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: text/plain; charset="utf-8"; name="CPAN_patch.txt"
Content-Disposition: inline; filename="CPAN_patch.txt"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1082
Download CPAN_patch.txt
text/plain 1k
'Archive::Tar' => [ sub {require Archive::Tar; - unless (CPAN::Version->vge(Archive::Tar::->VERSION, 1.50)) { + unless (CPAN::Version->vge(Archive::Tar::->VERSION, 1.00)) { for ("Will not use Archive::Tar, need 1.00\n") { $CPAN::Frontend->mywarn($_); die $_; } } unless (CPAN::Version->vge(Archive::Tar::->VERSION, 1.50)) { my $atv = Archive::Tar->VERSION; $CPAN::Frontend->mywarn("You have Archive::Tar $atv, but 1.50 or later is recommended. Please upgrade.\n"); } }, ],
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1248137222-6413-76"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: text/plain; charset="utf-8"; name="CPAN_Tarzip_patch_2.txt"
Content-Disposition: inline; filename="CPAN_Tarzip_patch_2.txt"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 195
if ($CPAN::META->has_inst("Compress::Zlib")) { - $foundCZ = sprintf "'%s'", "Compress::Zlib::"->VERSION; + $foundCZ = sprintf "'%s'", "Compress::Zlib"->VERSION;
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: multipart/mixed; boundary="----------=_1248137207-6413-75"
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: text/plain; charset="utf-8"; name="CPAN_Tarzip_patch_1.txt"
Content-Disposition: inline; filename="CPAN_Tarzip_patch_1.txt"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 191
if ($CPAN::META->has_usable("Archive::Tar")) { - $foundAT = sprintf "'%s'", "Archive::Tar::"->VERSION; + $foundAT = sprintf "'%s'", "Archive::Tar"->VERSION;
MIME-Version: 1.0
X-Spam-Status: No, hits=0.0 required=8.0 tests=
X-Authentication-Warning: k75.linux.bogus: k set sender to andreas.koenig.7os6VVqR [...] franz.ak.mind.de using -f
In-Reply-To: <rt-3.6.HEAD-6413-1248137257-1460.48040-5-0 [...] rt.cpan.org> (ikegami via RT's message of "Mon\, 20 Jul 2009 20\:47\:39 -0400")
References: <RT-Ticket-48040 [...] rt.cpan.org> <rt-3.6.HEAD-6413-1248137257-1460.48040-5-0 [...] rt.cpan.org>
Message-ID: <87y6qig4yn.fsf [...] k75.linux.bogus>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by diesel.bestpractical.com (Postfix) with SMTP id 71BDA4D812D for <bug-CPAN [...] rt.cpan.org>; Mon, 20 Jul 2009 22:12:01 -0400 (EDT)
Received: (qmail 14930 invoked by uid 103); 21 Jul 2009 02:12:00 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 21 Jul 2009 02:12:00 -0000
Received: from franz.ak.mind.de (HELO franz.ak.mind.de) (212.42.235.66) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Mon, 20 Jul 2009 19:11:56 -0700
Received: from k75.linux.bogus (localhost.localdomain [127.0.0.1]) by k75.linux.bogus (8.14.3/8.14.3/Debian-6) with ESMTP id n6L2BioH005751 for <bug-CPAN [...] rt.cpan.org>; Tue, 21 Jul 2009 04:11:44 +0200
Received: (from k [...] localhost) by k75.linux.bogus (8.14.3/8.14.3/Submit) id n6L2Bi1f005749; Tue, 21 Jul 2009 04:11:44 +0200
Delivered-To: cpan-bug+CPAN [...] diesel.bestpractical.com
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.2 (gnu/linux)
Subject: Re: [rt.cpan.org #48040] A couple of small, easy to fix bugs
Return-Path: <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-CPAN [...] rt.cpan.org
Date: Tue, 21 Jul 2009 04:11:44 +0200
X-Spam-Level: *
To: bug-CPAN [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
RT-Message-ID: <rt-3.6.HEAD-6413-1248142333-1314.48040-0-0 [...] rt.cpan.org>
Content-Length: 188
Download (untitled) / with headers
text/plain 188b
Please patch against the repository, code has moved forward already to deal with this bug. % grep repo META.yml repository: git://github.com/andk/cpanpm.git Thanks! -- andreas
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-6413-1248142333-1314.48040-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
References: <RT-Ticket-48040 [...] rt.cpan.org> <rt-3.6.HEAD-6413-1248137257-1460.48040-5-0 [...] rt.cpan.org> <87y6qig4yn.fsf [...] k75.linux.bogus> <rt-3.6.HEAD-6413-1248142333-1314.48040-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-6413-1248146636-1138.48040-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 253
Download (untitled) / with headers
text/plain 253b
On Mon Jul 20 22:12:13 2009, andreas.koenig.7os6VVqR@franz.ak.mind.de wrote: Show quoted text
> Please patch against the repository, code has moved forward already to > deal with this bug.
The patch to CPAN.pm is moot. The patches to CPAN/Tarzip.pm are still needed.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.