develooper Front page | perl.perl5.porters | Postings from October 2008

[perl #60062] CPAN install pauses due to 'ncftp' error on cygwin

Arthur Dunham
October 23, 2008 02:33
[perl #60062] CPAN install pauses due to 'ncftp' error on cygwin
Message ID:
# New Ticket Created by  Arthur Dunham 
# Please include the string:  [perl #60062]
# in the subject line of all future correspondence about this issue. 
# <URL: >

This is a bug report for perl from,
generated with the help of perlbug 1.35 running under perl v5.8.8.

[Please enter your report here]

After updating the CPAN Bundle (ver 1.9301), some package installs would hang.  My urllist in CPAN has http hosts present.  It appears that the first one is an older one that is now broken (  

The 'get' first tried to pull the bundle with LWP (which failed).  It then
tried to use ncftpget.  It seems that package is unable to retreive
from an 'http://' url, so it just tosses up a (multi-page) usage message,
which requires a keypress to dismiss due to the pager.  

Pretty low priority, but could it avoid handing off non 'ftp' urls
to ncftpget?

cpan[1]> get GBARR/TimeDate-1.16.tar.gz
CPAN: Storable loaded ok (v2.15)
Going to read /home/ddunham/.cpan/Metadata
  Database was generated on Sun, 19 Oct 2008 18:26:50 GMT
CPAN: LWP::UserAgent loaded ok (v2.033)
CPAN: Time::HiRes loaded ok (v1.86)
Fetching with LWP:
LWP failed with code[404] message[Not Found]
NcFTPGet 3.2.1

  ncftpget [flags] remote-host local-dir remote-path-names...      (mode 1)
  ncftpget -f login.cfg [flags] local-dir remote-path-names...     (mode 2)
  ncftpget [flags]                  (mode 3)
  ncftpget -c [flags] remote-host remote-path-name > stdout        (mode 4)
  ncftpget -C [flags] remote-host remote-path-name local-path-name (mode 5)
  ncftpget -c [flags] > stdout      (mode 6)

  -u XX  Use username XX instead of anonymous.
  -p XX  Use password XX with the username.
  -P XX  Use port number XX instead of the default FTP service port (21).
  -d XX  Use the file XX for debug logging.
  -a     Use ASCII transfer type instead of binary.
  -t XX  Timeout after XX seconds.
  -v/-V  Do (do not) use progress meters.
  -f XX  Read the file XX for host, user, and password information.
  -h XX  Connect to host XX.  Useful for overriding host in -f config.file.
  -c     Read from remote host and write locally to stdout.
  -C     Read from remote host and write locally to specified file.
  -A     Append to local files, instead of overwriting them.

[Please do not change anything below this line]
Site configuration information for perl v5.8.8:

Configured by rurban at Sun Jul  8 19:08:44 GMT 2007.

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
    osname=cygwin, osvers=1.5.24(0.15642), archname=cygwin-thread-multi-64int
    uname='cygwin_nt-5.1 reini 1.5.24(0.15642) 2007-01-31 10:57 i686 cygwin '
    config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Uusemymalloc -Doptimize=-O3 -Dman3ext=3pm -Dusesitecustomize -Dusedevel'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement',
    cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement'
    ccversion='', gccversion='3.4.4 (cygming special, gdc 0.12, using dmd 0.125)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld2', ldflags =' -s -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat
    perllibs=-ldl -lcrypt -lgdbm_compat
    libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
    cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'

Locally applied patches:
    CYG01 - ldflags -s
    CYG02 - lib-ExtUtils-Embed insensitive against leading \\s
    CYG03 - lib-Test-Harness-Straps $ENV{PERL5LIB} = ''
    CYG04 - cygperl-5_8.dll and not cygperl-5_8_x.dll
    CYG05 - add Win32CORE to core
    CYG07 - File-Spec-Cygwin-TMPDIR.patch
    Bug#38628 - allow legacy Cwd->cwd()
    Bug#40103 - File-Spec-case_tolerant.patch from 5.9.5

@INC for perl v5.8.8:

Environment for perl v5.8.8:
    LANG (unset)
LANGUAGE (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)
    SHELL (unset) Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About