[Shipwright] cannot import CPAN module
Brad Cavanagh
b.cavanagh at jach.hawaii.edu
Wed Jul 8 02:26:28 EDT 2009
Actually, never mind. The CPAN mirror that was being used has at some
point ceased to be a CPAN mirror. It is, in fact, an ex-mirror.
If I switch to use a proper mirror everything works fine.
Cheers,
Brad.
On Jul 7, 2009, at 4:29 PM, Brad Cavanagh wrote:
> I'm trying to do a simple import of a CPAN module into Shipwright and
> it's failing with a syntax error:
>
> % mkdir test-shipwright
> % cd test-shipwright
> % shipwright create -r fs:`pwd`
> created with success
> % shipwright import -r fs:`pwd` cpan:Proc::Simple
> CPAN related output will be at /tmp/shipwright_cpan.log
> syntax error at (eval 142) line 1, near "){"
> syntax error at (eval 142) line 15, near "}
> }"
> at /local/perl-5.8/lib/5.8.8/CPAN/Index.pm line 518
> CPAN::Index::rd_modlist('CPAN::Index', '/tmp/
> shipwright_cpan_JI3nK5/sources/modules/03modlist.data.gz') called at /
> local/perl-5.8/lib/5.8.8/CPAN/Index.pm line 85
> CPAN::Index::reload('CPAN::Index') called at /local/perl-5.8/
> lib/5.8.8/CPAN.pm line 955
> CPAN::exists('CPAN=HASH(0x127c2a30)', 'CPAN::Module',
> 'Proc::Simple') called at /local/perl-5.8/lib/5.8.8/CPAN/Shell.pm line
> 1343
> CPAN::Shell::expand_by_method('CPAN::Shell', 'CPAN::Module',
> 'ARRAY(0x11a68500)', 'Proc::Simple') called at /local/perl-5.8/lib/
> 5.8.8/CPAN/Shell.pm line 1260
> CPAN::Shell::expand('CPAN::Shell', 'Module', 'Proc::Simple')
> called at /local/perl-5.8/lib/site_perl/5.8.8/Shipwright/Source/
> CPAN.pm line 134
>
> Shipwright
> ::Source::CPAN::_run('Shipwright::Source::CPAN=HASH(0x128013c0)')
> called at /local/perl-5.8/lib/site_perl/5.8.8/Shipwright/Source/
> CPAN.pm line 84
>
> Shipwright
> ::Source::CPAN::run('Shipwright::Source::CPAN=HASH(0x128013c0)',
> 'copy', 'HASH(0x11a684e0)') called at /local/perl-5.8/lib/site_perl/
> 5.8.8/Shipwright/Script/Import.pm line 157
>
> Shipwright
> ::Script::Import::run('Shipwright::Script::Import=HASH(0x118a10c0)',
> 'cpan:Proc::Simple') called at /local/perl-5.8/lib/site_perl/5.8.8/
> App/
> CLI/Command.pm line 53
>
> App
> ::CLI
> ::Command::run_command('Shipwright::Script::Import=HASH(0x118a10c0)',
> 'cpan:Proc::Simple') called at /local/perl-5.8/lib/site_perl/5.8.8/
> App/
> CLI.pm line 79
> App::CLI::dispatch('Shipwright::Script') called at /local/
> perl/bin/shipwright line 16
>
> I'm running shipwright version 2.2.1. The shipwright_cpan.log file can
> be found at http://www.jach.hawaii.edu/~bradc/shipwright_cpan.log
>
> Cheers,
> Brad.
> _______________________________________________
> Shipwright mailing list
> Shipwright at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/shipwright
More information about the Shipwright
mailing list