Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312371 - CPAN calling ncftpget with http URL
Summary: CPAN calling ncftpget with http URL
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-31 12:04 UTC by Sven
Modified: 2013-10-12 16:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.