This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics

Nobody in particular
leonerd-cpan [...]

(no value)
Broken in:
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: Fetching with LWP: 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/ line 330. Use of uninitialized value $newdir in chdir at /usr/lib/perl/5.14/ line 338. Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/lib/perl/5.14/ line 338. Use of uninitialized value $newdir in pattern match (m//) at /usr/lib/perl/5.14/ line 353. Use of uninitialized value $newdir in split at /usr/lib/perl/5.14/ 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/ line 53\cJ\cICPAN::InfoObj::safe_chdir('CPAN::Distribution=HASH(0xc84dd90)', undef) called at /usr/share/perl/5.14/CPAN/ line 1276\cJ\cICPAN::Distribution::look('CPAN::Distribution=HASH(0xc84dd90)') called at /usr/share/perl/5.14/CPAN/ line 479\cJ\cIeval {...} called at /usr/share/perl/5.14/CPAN/ line 478\cJ\cICPAN::Module::rematein('CPAN::Module=HASH(0xaac9b40)', 'look') called at /usr/share/perl/5.14/CPAN/ line 497\cJ\cICPAN::Module::look('CPAN::Module=HASH(0xaac9b40)') called at /usr/share/perl/5.14/CPAN/ line 1796\cJ\cICPAN::Shell::rematein('CPAN::Shell', 'look', 'Future') called at /usr/share/perl/5.14/CPAN/ line 1976\cJ\cICPAN::Shell::__ANON__('CPAN::Shell', 'Future') called at /usr/share/perl/5.14/ line 375\cJ\cIeval {...} called at /usr/share/perl/5.14/ line 372\cJ\cICPAN::shell() called at /usr/share/perl/5.14/App/ line 295\cJ\cIApp::Cpan::_process_options('App::Cpan') called at /usr/share/perl/5.14/App/ line 364\cJ\cIApp::Cpan::run('App::Cpan') called at /usr/bin/cpan line 11\cJ" at /usr/share/perl/5.14/ line 391 CPAN::shell() called at /usr/share/perl/5.14/App/ line 295 App::Cpan::_process_options('App::Cpan') called at /usr/share/perl/5.14/App/ 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

This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with to