This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
21692
Status:
resolved
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
Critical
Broken in:
1.8801
Fixed in:
(no value)



Subject: 'upgrade' wants to upgrade perl as well
Probably caused by this line (of the 'r' command): B::Concise 0.65 0.66 NWCLARK/perl-5.8.8.tar.gz CPAN tried to upgrade perl itself (from 5.8.7 to 5.8.8) OR sort-of tried, it said it won't try but then it complained. See below. Gabor The most recent version "0.66" of the module "B::Concise" comes with the current version of perl (5.8.8). I'll build that only if you ask for something like force install B::Concise or install N/NW/NWCLARK/perl-5.8.8.tar.gz Running make test Can't test without successful make Has no own directory Running make install Has no own directory make had returned bad status, install seems impossible Running install for module B::Deparse Running make for N/NW/NWCLARK/perl-5.8.8.tar.gz
Subject: Re: [rt.cpan.org #21692] 'upgrade' wants to upgrade perl as well
Date: Mon, 25 Sep 2006 22:10:48 +0200
To: bug-CPAN@rt.cpan.org
From: andreas.koenig.gmwojprw@franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Mon, 25 Sep 2006 07:08:36 -0400, "Gabor Szabo via RT" <bug-CPAN@rt.cpan.org> said:
Show quoted text
> Mon Sep 25 07:08:34 2006: Request 21692 was acted upon. > Transaction: Ticket created by SZABGAB > Queue: CPAN > Subject: 'upgrade' wants to upgrade perl as well > Broken in: 1.8801 > Severity: Critical > Owner: Nobody > Requestors: SZABGAB@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=21692 >
Show quoted text
> Probably caused by this line (of the 'r' command): > B::Concise 0.65 0.66 NWCLARK/perl-5.8.8.tar.gz
Show quoted text
> CPAN tried to upgrade perl itself (from 5.8.7 to 5.8.8) > OR sort-of tried, it said it won't try but then it complained.
I now have a perl installation where I can reproduce a similar situation. In my case it is Dumpvalue.pm which triggers the demand to upgrade to 5.8.8. The result is not very beautiful, but I'm glad to say, that CPAN.pm did NOT try to install 5.8.8. It finally gave up with Running make install Has no own directory make had returned bad status, install seems impossible Running install for module warnings::register Running make for N/NW/NWCLARK/perl-5.8.8.tar.gz The most recent version "1.01" of the module "warnings::register" comes with the current version of perl (5.8.8). I'll build that only if you ask for something like force install warnings::register or install N/NW/NWCLARK/perl-5.8.8.tar.gz Running make test Can't test without successful make Has no own directory Running make install Has no own directory make had returned bad status, install seems impossible Failed during this command: NWCLARK/perl-5.8.8.tar.gz : make NO isa perl Can you be more specific just *how* bad your outcome was? Did it untar perl-5.8.8.tar.gz? Or did it fail before it came to that (IMO) worst case? -- andreas
Subject: Re: [rt.cpan.org #21692] 'upgrade' wants to upgrade perl as well
Date: Tue, 26 Sep 2006 08:40:22 +0300
To: bug-CPAN@rt.cpan.org
From: "Gabor Szabo" <SZABGAB@cpan.org>
On 9/25/06, andreas.koenig.gmwojprw@franz.ak.mind.de via RT
Show quoted text
> > The result is not very beautiful, but I'm glad to say, that CPAN.pm > did NOT try to install 5.8.8. It finally gave up with
[...]
Show quoted text
> Can you be more specific just *how* bad your outcome was? Did it untar > perl-5.8.8.tar.gz? Or did it fail before it came to that (IMO) worst > case?
Hmm, I thought I pasted the relevant part of the output of
Show quoted text
cpan> upgrade
anyway I tried it again, I got a similar set of messages as you did and as far as I can tell it did not even download the perl source. at least I cannot find it anywhere under ~/.cpan So the situation isn't as bad as it was a few years ago but for people with the fear from the past it is frightening :-) So actually the behavior culd be decided as correct just it is too verbose: It should not even talk about trying to run "make test" On the other hand I am not sure if CPAN.pm should ever be able (even with force) to upgrade perl. So maybe it should just say that this module is not upgradable within the current version of Perl. Gabor
I think this is reasonably well solved.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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