Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 312371

Summary: CPAN calling ncftpget with http URL
Product: Gentoo Linux Reporter: Sven <sven.koehler>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED NEEDINFO    
Severity: normal CC: tomka
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sven 2010-03-31 12:04:21 UTC
Hi,

I have just been using g-cpan for the first time, thus it downloaded some stuff from cpan. It was quite annoying, because on every download, g-cpan first called ncftpget with illegal parameters which shows ncftpget's help screen.
If I exited that help screen, then g-cpan used wget which succeeded.

So after all, g-cpan is usuable, but quite annoying. Anyway: fix this.

Below is an example output of g-cpan 0.16.2. As you can see, it tries to fetch a HTTP url with ncftpget, which is very very wrong.


Trying with "/usr/bin/ncftpget" to get
    "http://search.cpan.org/CPAN"/authors/01mailrc.txt.gz

System call "cd /var/tmp/g-cpan/.cpan/sources/authors && /usr/bin/ncftpget ""http://search.cpan.org/CPAN"/authors/01mailrc.txt.gz" "
returned status 8 (wstat 2048)
Warning: expected file [/var/tmp/g-cpan/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
    "http://search.cpan.org/CPAN"/authors/01mailrc.txt.gz


Reproducible: Always

Steps to Reproduce:
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-01-23 23:14:01 UTC
This is the CPAN module itself trying to download http:// with ncftpget.
g-cpan does not make this call.

What version of the CPAN module are you using?
Please provide your emerge --info.
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-10-12 16:40:40 UTC
no response over a year, closed as NEEDINFO.