Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 99314
Status: rejected
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: esarmas [...] gmail.com
Cc:
AdminCc:

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



Subject: http fetch bugs in cpanm
Date: Sun, 5 Oct 2014 17:25:57 +0300
To: bug-CPAN [...] rt.cpan.org
From: Ev Sarmas <esarmas [...] gmail.com>
Hello, I hope I am mailing this to the right place because I was overwhelmed by the thousand distributions available to report a bug. In short, I want to learn perl and downloaded and use Strawberry Per (5.20) on 32 bit Windows. It works fine but when I wanted to install Padre I used the 'cpanm' tool which is my source of complaints. 1. cpanm cannot get a http url for a distribution on first try immediately and usually on all 3 tries so I have to run a cpanm command many times in sequence for it to get the distribution and try to install it (often 10 times !!!) certainly something is wrong, Chrome gets it immediately on first try this happened with cpanm Padre cpanm Alien::wxWidgets cpanm Wx 2. even when cpanm finally gets the distribution it cannot install it because it often needs to get some other source and fetches further http data which not all result in 200 HTTP code but many times in 301 HTTP code (MOVED) that cpanm handles as error clearly cpanm should handle 301 and finish the installation I paste below the log for cpanm Alien:wxWidgets cpanm (App::cpanminus) 1.7009 on perl 5.020001 built for MSWin32-x86-multi-thread-64int Work directory is C:\DOCUME~1\eis/.cpanm/work/1412516982.2084 You have make C:\Strawberry\c\bin\dmake.exe You have LWP 6.08 Falling back to Archive::Tar 2.02 Searching Alien::wxWidgets on cpanmetadb ... -> FAIL Finding Alien::wxWidgets on cpanmetadb failed. Searching Alien::wxWidgets () on metacpan ... --> Working on Alien::wxWidgets Fetching http://www.cpan.org/authors/id/M/MD/MDOOTSON/Alien-wxWidgets-0.65.tar.gz -> OK Unpacking Alien-wxWidgets-0.65.tar.gz Entering Alien-wxWidgets-0.65 Checking configure dependencies from META.json Checking if you have Module::Build 0.28 ... Yes (0.4210) Configuring Alien-wxWidgets-0.65 Running Build.PL Possible precedence issue with control flow operator at lib/Alien/wxWidgets/Utility.pm line 77. Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Alien-wxWidgets' version '0.65' -> OK Checking dependencies from MYMETA.json ... Checking if you have Module::Pluggable 2.6 ... Yes (5.1) Checking if you have Module::Build 0.28 ... Yes (0.4210) Checking if you have File::Spec 1.50 ... Yes (3.48) Checking if you have ExtUtils::CBuilder 0.24 ... Yes (0.280219) Building and testing Alien-wxWidgets-0.65 Possible precedence issue with control flow operator at lib/Alien/wxWidgets/Utility.pm line 77. Fetch failed! HTTP response: 500 Internal Server Error [500 Can't connect to prdownloads.sourceforge.net:80] at inc/My/Build/Base.pm line 305. Fetch failed! HTTP response: 599 [Internal Exception] at inc/My/Build/Base.pm line 305. Got a '301' from 'prdownloads.sourceforge.net' expected '200' at inc/My/Build/Base.pm line 305. Unable to fetch archive at inc/My/Build/Base.pm line 307. Building Alien-wxWidgets Fetching wxWidgets... fetching from: http://prdownloads.sourceforge.net/wxwindows/wxWidgets-3.0.0.tar.bz2 -> FAIL Installing Alien::wxWidgets failed. See C:\DOCUME~1\eis\.cpanm\work\1412516982.2084\build.log for details. Retry with --force to force install it. Please what can I do ?? I must say the impression one gets is not very favorable for Perl (sorry...) cpanm is not just a tool that may go wrong, it's the main install/upgrade tool for perl packages as I understand and it should work ok Best regards, E.Sarmas
I'm really sorry to hear about your experience. Unfortunately, you're bug report was filed against the "CPAN" distribution, which has nothing to do with "cpanm". (The CPAN distribution provides the original "cpan" client, which might -- or might not -- work better for you.) The right bug tracker for "cpanm" is here: https://github.com/miyagawa/cpanminus/issues Your problem might also be specific to Strawberry Perl, rather than cpanm. The Strawberry Perl bug tracker is here: https://rt.cpan.org/Dist/Display.html?Name=Perl-Dist-Strawberry I encourage you to repost your concern on those two bug trackers and am closing this ticket as there is nothing further we can do to help you.
Subject: Re: [rt.cpan.org #99314] http fetch bugs in cpanm
Date: Mon, 6 Oct 2014 14:18:58 +0300
To: bug-CPAN [...] rt.cpan.org
From: Ev Sarmas <esarmas [...] gmail.com>
Thank you. I got close to the right thread :-D but obviously could never nail it. On 6 Oct 2014 04:56, "David Golden via RT" <bug-CPAN@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=99314 > > > I'm really sorry to hear about your experience. > > Unfortunately, you're bug report was filed against the "CPAN" > distribution, which has nothing to do with "cpanm". (The CPAN distribution > provides the original "cpan" client, which might -- or might not -- work > better for you.) The right bug tracker for "cpanm" is here: > https://github.com/miyagawa/cpanminus/issues > > Your problem might also be specific to Strawberry Perl, rather than > cpanm. The Strawberry Perl bug tracker is here: > https://rt.cpan.org/Dist/Display.html?Name=Perl-Dist-Strawberry > > I encourage you to repost your concern on those two bug trackers and am > closing this ticket as there is nothing further we can do to help you. >