develooper Front page | perl.perl5.porters | Postings from March 2000

[5.6.0-RC1] Problem with CPAN.pm

Thread Next
From:
JVromans
Date:
March 10, 2000 03:52
Subject:
[5.6.0-RC1] Problem with CPAN.pm
Message ID:
14536.57830.326552.342224@plume.nl.compuware.com
I suspect that Net::FTP fails to correctly transfer the files
01mailrc, 02package.details and 03modlist, but nevertheless this
should not happen:

    # perl -MCPAN -e shell

    cpan shell -- CPAN exploration and modules installation (v1.52)
    ReadLine support enabled

    cpan> reload index
    CPAN: Net::FTP loaded ok
    Fetching with Net::FTP:
      ftp://ftp.cs.uu.nl/mirror/CPAN/authors/01mailrc.txt.gz
    Going to read /var/spool/cpan/sources/authors/01mailrc.txt.gz
    CPAN: Compress::Zlib loaded ok
    Fetching with Net::FTP:
      ftp://ftp.cs.uu.nl/mirror/CPAN/modules/02packages.details.txt.gz
    Going to read /var/spool/cpan/sources/modules/02packages.details.txt.gz
    Fetching with Net::FTP:
      ftp://ftp.cs.uu.nl/mirror/CPAN/modules/03modlist.data.gz
    Going to read /var/spool/cpan/sources/modules/03modlist.data.gz
    Can't locate object method "data" via package "CPAN::Modulelist" at (eval 22) line 1.
	    CPAN::Index::rd_modlist('CPAN::Index', '/var/spool/cpan/sources/modules/03modlist.data.gz') called at /opt/perl-5.6.0-RC1/lib/5.6.0/CPAN.pm line 2705
	    CPAN::Index::reload('CPAN::Index', 1) called at /opt/perl-5.6.0-RC1/lib/5.6.0/CPAN.pm line 2658
	    CPAN::Index::force_reload('CPAN::Index') called at /opt/perl-5.6.0-RC1/lib/5.6.0/CPAN.pm line 1406
	    CPAN::Shell::reload('CPAN::Shell', 'index') called at /opt/perl-5.6.0-RC1/lib/5.6.0/CPAN.pm line 181
	    require 0 called at /opt/perl-5.6.0-RC1/lib/5.6.0/CPAN.pm line 181
	    CPAN::shell() called at -e line 1

    cpan> q
    Lockfile removed.

When run under the debugger:

    [root@plume /root]# perl -de 0

    Loading DB routines from perl5db.pl version 1.06
    Emacs support available.

    Enter h or `h h' for help, run `perldoc perldebug' for more help.

    main::(-e:1):	0
      DB<1> use CPAN

      DB<2> shell()
    Cannot create second readline interface, falling back to dumb.
	    Term::ReadLine::Perl::new('CPAN::Config', 'Term::ReadLine', 'CPAN Monitor') called at /opt/perl-5.6.0-RC1/lib/5.6.0/CPAN.pm line 101
	    CPAN::shell('Term::ReadLine::Perl::Tie=HASH(0x81de8c8)', '!', '!!') called at (eval 9)[/opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl:1290] line 2
	    eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D | $DB::db_stop;
    shell();

    ;' called at /opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl line 1290
	    DB::eval called at /opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl line 1184
	    DB::DB called at -e line 1
    Use of uninitialized value in pattern match (m//) at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/Cap.pm line 284, <IN> line 2.
	    Term::Cap::Tpad('strict', 'Term::Cap=HASH(0x80ebc68)', undef, 1) called at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/Cap.pm line 308
	    Term::Cap::Tputs('strict', 'Term::Cap=HASH(0x80ebc68)', 'us', 1) called at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/ReadLine.pm line 321
	    Term::ReadLine::TermCap::ornaments('warnings', 'strict', 'Text::Tabs', undef, 'Term::ReadLine::Stub=ARRAY(0x85b1104)', 1) called at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/ReadLine.pm line 241
	    Term::ReadLine::Stub::new('Term::ReadLine::Perl=ARRAY(0x81baf70)', 'MM', 'Term::ReadLine', 'CPAN Monitor') called at /opt/perl-5.6.0-RC1/lib/site_perl/5.6.0/Term/ReadLine/Perl.pm line 32
	    Term::ReadLine::Perl::new('CPAN::Config', 'Term::ReadLine', 'CPAN Monitor') called at /opt/perl-5.6.0-RC1/lib/5.6.0/CPAN.pm line 101
	    CPAN::shell('Term::ReadLine::Perl::Tie=HASH(0x81de8c8)', '!', '!!') called at (eval 9)[/opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl:1290] line 2
	    eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D | $DB::db_stop;
    shell();

    ;' called at /opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl line 1290
	    DB::eval called at /opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl line 1184
	    DB::DB called at -e line 1
    Use of uninitialized value in pattern match (m//) at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/Cap.pm line 284, <IN> line 2.
	    Term::Cap::Tpad('Term::Cap=HASH(0x80ebc68)', undef, 1) called at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/Cap.pm line 308
	    Term::Cap::Tputs('strict', 'Term::Cap=HASH(0x80ebc68)', 'Term::Cap=HASH(0x80ebc68)', 'ue', 1) called at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/ReadLine.pm line 321
	    Term::ReadLine::TermCap::ornaments('warnings', 'strict', 'Text::Tabs', undef, 'Term::ReadLine::Stub=ARRAY(0x85b1104)', 1) called at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/ReadLine.pm line 241
	    Term::ReadLine::Stub::new('Term::ReadLine::Perl=ARRAY(0x81baf70)', 'MM', 'Term::ReadLine', 'CPAN Monitor') called at /opt/perl-5.6.0-RC1/lib/site_perl/5.6.0/Term/ReadLine/Perl.pm line 32
	    Term::ReadLine::Perl::new('CPAN::Config', 'Term::ReadLine', 'CPAN Monitor') called at /opt/perl-5.6.0-RC1/lib/5.6.0/CPAN.pm line 101
	    CPAN::shell('Term::ReadLine::Perl::Tie=HASH(0x81de8c8)', '!', '!!') called at (eval 9)[/opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl:1290] line 2
	    eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D | $DB::db_stop;
    shell();

    ;' called at /opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl line 1290
	    DB::eval called at /opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl line 1184
	    DB::DB called at -e line 1
    Use of uninitialized value in pattern match (m//) at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/Cap.pm line 284, <IN> line 2.
	    Term::Cap::Tpad('Term::Cap=HASH(0x80ebc68)', 'Term::Cap=HASH(0x80ebc68)', undef, 1) called at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/Cap.pm line 308
	    Term::Cap::Tputs('strict', 'Term::Cap=HASH(0x80ebc68)', 'Term::Cap=HASH(0x80ebc68)', 'Term::Cap=HASH(0x80ebc68)', 'md', 1) called at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/ReadLine.pm line 321
	    Term::ReadLine::TermCap::ornaments('warnings', 'strict', 'Text::Tabs', undef, 'Term::ReadLine::Stub=ARRAY(0x85b1104)', 1) called at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/ReadLine.pm line 241
	    Term::ReadLine::Stub::new('Term::ReadLine::Perl=ARRAY(0x81baf70)', 'MM', 'Term::ReadLine', 'CPAN Monitor') called at /opt/perl-5.6.0-RC1/lib/site_perl/5.6.0/Term/ReadLine/Perl.pm line 32
	    Term::ReadLine::Perl::new('CPAN::Config', 'Term::ReadLine', 'CPAN Monitor') called at /opt/perl-5.6.0-RC1/lib/5.6.0/CPAN.pm line 101
	    CPAN::shell('Term::ReadLine::Perl::Tie=HASH(0x81de8c8)', '!', '!!') called at (eval 9)[/opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl:1290] line 2
	    eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D | $DB::db_stop;
    shell();

    ;' called at /opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl line 1290
	    DB::eval called at /opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl line 1184
	    DB::DB called at -e line 1
    Use of uninitialized value in pattern match (m//) at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/Cap.pm line 284, <IN> line 2.
	    Term::Cap::Tpad('Term::Cap=HASH(0x80ebc68)', undef, 1) called at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/Cap.pm line 308
	    Term::Cap::Tputs('strict', 'Term::Cap=HASH(0x80ebc68)', 'Term::Cap=HASH(0x80ebc68)', 'Term::Cap=HASH(0x80ebc68)', 'Term::Cap=HASH(0x80ebc68)', 'me', 1) called at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/ReadLine.pm line 321
	    Term::ReadLine::TermCap::ornaments('warnings', 'strict', 'Text::Tabs', undef, 'Term::ReadLine::Stub=ARRAY(0x85b1104)', 1) called at /opt/perl-5.6.0-RC1/lib/5.6.0/Term/ReadLine.pm line 241
	    Term::ReadLine::Stub::new('Term::ReadLine::Perl=ARRAY(0x81baf70)', 'MM', 'Term::ReadLine', 'CPAN Monitor') called at /opt/perl-5.6.0-RC1/lib/site_perl/5.6.0/Term/ReadLine/Perl.pm line 32
	    Term::ReadLine::Perl::new('CPAN::Config', 'Term::ReadLine', 'CPAN Monitor') called at /opt/perl-5.6.0-RC1/lib/5.6.0/CPAN.pm line 101
	    CPAN::shell('Term::ReadLine::Perl::Tie=HASH(0x81de8c8)', '!', '!!') called at (eval 9)[/opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl:1290] line 2
	    eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D | $DB::db_stop;
    shell();

    ;' called at /opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl line 1290
	    DB::eval called at /opt/perl-5.6.0-RC1/lib/5.6.0/perl5db.pl line 1184
	    DB::DB called at -e line 1

    cpan shell -- CPAN exploration and modules installation (v1.52)
    ReadLine support available (try ``install Bundle::CPAN'')

    cpan> reload index
    CPAN: Net::FTP loaded ok
    Fetching with Net::FTP:
      ftp://ftp.cs.uu.nl/mirror/CPAN/authors/01mailrc.txt.gz
    Going to read /var/spool/cpan/sources/authors/01mailrc.txt.gz
    CPAN: Compress::Zlib loaded ok
    Fetching with Net::FTP:
      ftp://ftp.cs.uu.nl/mirror/CPAN/modules/02packages.details.txt.gz
    Going to read /var/spool/cpan/sources/modules/02packages.details.txt.gz
    Fetching with Net::FTP:
      ftp://ftp.cs.uu.nl/mirror/CPAN/modules/03modlist.data.gz
    Going to read /var/spool/cpan/sources/modules/03modlist.data.gz
    Segmentation fault (core dumped)

This is RedHat Linux 6.1 on a PentiumIII.
Sorry, I've no time to debug this now.

-- Johan

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