[Shipwright] cannot import CPAN module
Brad Cavanagh
b.cavanagh at jach.hawaii.edu
Tue Jul 7 22:29:32 EDT 2009
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.
More information about the Shipwright
mailing list