Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 92395
Status: new
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.9600
Fixed in: (no value)



Subject: Non-obvious errors on fork() out of memory
Underlying problem (found by strace): clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f7216df19d0) = -1 ENOMEM (Cannot allocate memory) Resultant terminal output: $ cpan cpan shell -- CPAN exploration and modules installation (v1.960001) Enter 'h' for help. cpan[1]> look Future Going to read '/home/leo/.cpan/Metadata' Database was generated on Wed, 22 Jan 2014 02:53:02 GMT Running look for module 'Future' Trying to open a subshell in the build directory... Fetching with LWP: http://cpan.weepeetelecom.nl/authors/id/P/PE/PEVANS/Future-0.23.tar.gz Fetching with LWP: http://cpan.weepeetelecom.nl/authors/id/P/PE/PEVANS/CHECKSUMS Checksum for /home/leo/.cpan/sources/authors/id/P/PE/PEVANS/Future-0.23.tar.gz ok Scanning cache /home/leo/.cpan/build for sizes Use of uninitialized value $newdir in substitution (s///) at /usr/lib/perl/5.14/Cwd.pm line 330. Use of uninitialized value $newdir in chdir at /usr/lib/perl/5.14/Cwd.pm line 338. Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/lib/perl/5.14/Cwd.pm line 338. Use of uninitialized value $newdir in pattern match (m//) at /usr/lib/perl/5.14/Cwd.pm line 353. Use of uninitialized value $newdir in split at /usr/lib/perl/5.14/Cwd.pm line 359. DONE Uncompressed /home/leo/.cpan/sources/authors/id/P/PE/PEVANS/Future-0.23.tar.gz successfully Using Tar:/bin/tar xf "Future-0.23.tar": Couldn't untar Future-0.23.tar Package seems to come without Makefile.PL. (The test -f "/home/leo/.cpan/build/PEVANS-WQhHb3/Makefile.PL" returned false.) Writing one on our own (setting NAME to Future) Working directory is /home/leo/.cpan/build/PEVANS-WQhHb3 Subprocess shell exit code 72057594037927935 Catching error: "safe_chdir called without todir argument at /usr/share/perl/5.14/CPAN/InfoObj.pm line 53\cJ\cICPAN::InfoObj::safe_chdir('CPAN::Distribution=HASH(0xc84dd90)', undef) called at /usr/share/perl/5.14/CPAN/Distribution.pm line 1276\cJ\cICPAN::Distribution::look('CPAN::Distribution=HASH(0xc84dd90)') called at /usr/share/perl/5.14/CPAN/Module.pm line 479\cJ\cIeval {...} called at /usr/share/perl/5.14/CPAN/Module.pm line 478\cJ\cICPAN::Module::rematein('CPAN::Module=HASH(0xaac9b40)', 'look') called at /usr/share/perl/5.14/CPAN/Module.pm line 497\cJ\cICPAN::Module::look('CPAN::Module=HASH(0xaac9b40)') called at /usr/share/perl/5.14/CPAN/Shell.pm line 1796\cJ\cICPAN::Shell::rematein('CPAN::Shell', 'look', 'Future') called at /usr/share/perl/5.14/CPAN/Shell.pm line 1976\cJ\cICPAN::Shell::__ANON__('CPAN::Shell', 'Future') called at /usr/share/perl/5.14/CPAN.pm line 375\cJ\cIeval {...} called at /usr/share/perl/5.14/CPAN.pm line 372\cJ\cICPAN::shell() called at /usr/share/perl/5.14/App/Cpan.pm line 295\cJ\cIApp::Cpan::_process_options('App::Cpan') called at /usr/share/perl/5.14/App/Cpan.pm line 364\cJ\cIApp::Cpan::run('App::Cpan') called at /usr/bin/cpan line 11\cJ" at /usr/share/perl/5.14/CPAN.pm line 391 CPAN::shell() called at /usr/share/perl/5.14/App/Cpan.pm line 295 App::Cpan::_process_options('App::Cpan') called at /usr/share/perl/5.14/App/Cpan.pm line 364 App::Cpan::run('App::Cpan') called at /usr/bin/cpan line 11 cpan[2]> Highly non-obvious that was the failure. $ perlmodversion CPAN 1.960001 -- Paul Evans