develooper Front page | perl.perl5.porters | Postings from December 2009

5.11.3's CPAN shell fails silently

Thread Next
From:
Joshua ben Jore
Date:
December 31, 2009 00:42
Subject:
5.11.3's CPAN shell fails silently
Message ID:
dc5c751d0912310042o694e0af5mc710db8b9c6daed8@mail.gmail.com
The following transcript is from a freshly built 5.11.3 using my
pre-existing ~/.cpan and ~/.cpan/CPAN/Config.pm. The initial silent
failure and later more verbose errors seemed wrong.

$ /opt/perl-5.11.3-dbg/bin/cpan5.11.3 App::EUMM::Upgrade

$ echo $?
2

$ /opt/perl-5.11.3-dbg/bin/cpan5.11.3
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.945301)
Enter 'h' for help.

cpan[1]> install App::EUMM::Upgrade
CPAN: Storable loaded ok (v2.22)
Going to read '/Users/jbenjore/.cpan/Metadata'
  Database was generated on Fri, 20 Nov 2009 08:32:00 GMT
CPAN: Time::HiRes loaded ok (v1.9719)
  LWP not available

Trying with "/usr/bin/curl -L -f -s -S --netrc-optional" to get
    "http://cpan.mirror.facebook.net/authors/01mailrc.txt.gz"
CPAN: Compress::Zlib loaded ok (v2.022)
Error while trying to rename
'/Users/jbenjore/.cpan/sources/authors/01mailrc.txt.gz.tmp33163' to
'/Users/jbenjore/.cpan/sources/authors/01mailrc.txt.gz': No such file
or directory  LWP not available

Trying with "/usr/bin/curl -L -f -s -S --netrc-optional" to get
    "http://cpan.mirror.facebook.net/authors/01mailrc.txt.gz"
Error while trying to rename
'/Users/jbenjore/.cpan/sources/authors/01mailrc.txt.gz.tmp33163' to
'/Users/jbenjore/.cpan/sources/authors/01mailrc.txt.gz': No such file
or directoryTerminal does not support GetHistory.
Lockfile removed.

$ ls -l ~/.cpan/sources/authors

01mailrc.txt.gz.bak32078	01mailrc.txt.tmp33157		01mailrc.txt.tmp33163		01mailrc.txt.tmp33179		id
01mailrc.txt.gz.bak33157	01mailrc.txt.tmp33157.gz	01mailrc.txt.tmp33163.gz	01mailrc.txt.tmp33179.gz

Some error I'm debugging about this:

  DB<10>
CPAN::Shell::expandany(/opt/perl-5.11.3-dbg/lib/5.11.3/CPAN/Shell.pm:1257):
1257:	        return $self->expand('Module',$s)
1258:	            if $CPAN::META->exists('CPAN::Module',$s);
  DB<10>

 at /opt/perl-5.11.3-dbg/lib/5.11.3/CPAN/Shell.pm line 1535
	CPAN::Shell::mydie('CPAN::Shell', 'Error while trying to rename
\'/Users/jbenjore/.cpan/sources/...') called at
/opt/perl-5.11.3-dbg/lib/5.11.3/CPAN/FTP.pm line 452
	CPAN::FTP::localize('CPAN::FTP', 'authors/01mailrc.txt.gz',
'/Users/jbenjore/.cpan/sources/authors/01mailrc.txt.gz', 3) called at
/opt/perl-5.11.3-dbg/lib/5.11.3/CPAN/Index.pm line 225
	CPAN::Index::reload_x('CPAN::Index', 'authors/01mailrc.txt.gz',
'authors/01mailrc.txt.gz', undef) called at
/opt/perl-5.11.3-dbg/lib/5.11.3/CPAN/Index.pm line 84
	CPAN::Index::reload('CPAN::Index') called at
/opt/perl-5.11.3-dbg/lib/5.11.3/CPAN.pm line 955
	CPAN::exists('CPAN=HASH(0x100b938a8)', 'CPAN::Module',
'App::EUMM::Upgrade') called at
/opt/perl-5.11.3-dbg/lib/5.11.3/CPAN/Shell.pm line 1257
	CPAN::Shell::expandany('CPAN::Shell', 'App::EUMM::Upgrade') called at
/opt/perl-5.11.3-dbg/lib/5.11.3/CPAN/Shell.pm line 1667
	CPAN::Shell::rematein('CPAN::Shell', 'install', 'App::EUMM::Upgrade')
called at /opt/perl-5.11.3-dbg/lib/5.11.3/CPAN/Shell.pm line 1963
	CPAN::Shell::__ANON__[/opt/perl-5.11.3-dbg/lib/5.11.3/CPAN/Shell.pm:1963]('CPAN::Shell',
'App::EUMM::Upgrade') called at
/opt/perl-5.11.3-dbg/lib/5.11.3/App/Cpan.pm line 459
	App::Cpan::__ANON__[/opt/perl-5.11.3-dbg/lib/5.11.3/App/Cpan.pm:459]('App::EUMM::Upgrade')
called at /opt/perl-5.11.3-dbg/lib/5.11.3/App/Cpan.pm line 468
	App::Cpan::_default('ARRAY(0x100826d78)', 'HASH(0x100e5b090)') called
at /opt/perl-5.11.3-dbg/lib/5.11.3/App/Cpan.pm line 386
	App::Cpan::run('App::Cpan', 'App::EUMM::Upgrade') called at
/opt/perl-5.11.3-dbg/bin/cpan5.11.3 line 11

Josh

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About