malloc error can't allocate region, when installing ruby port

Carina C. Zona cczona at gmail.com
Sun Apr 13 22:13:00 PDT 2008


I'm having problems during the installation phase of 'port install ruby'.
Even after nuking the entire /opt directory and installing/updating a fresh
copy of macports, it's still bailing out with a bunch of malloc errors.
Googling and the FAQ don't turn up an obvious solution.  Any ideas?  (OS X
10.5.2, MacPorts 1.600)

$ sudo port install ruby
--->  Fetching libiconv
--->  Attempting to fetch libiconv-1.12.tar.gz from
http://ftp.gnu.org/gnu/libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
--->  Configuring libiconv
--->  Building libiconv with target all
--->  Staging libiconv into destroot
--->  Installing libiconv 1.12_0
--->  Activating libiconv 1.12_0
--->  Cleaning libiconv
--->  Fetching ncursesw
--->  Attempting to fetch ncurses-5.6.tar.gz from
http://ftp.gnu.org/gnu/ncurses
--->  Verifying checksum(s) for ncursesw
--->  Extracting ncursesw
--->  Applying patches to ncursesw
--->  Configuring ncursesw
--->  Building ncursesw with target all
--->  Staging ncursesw into destroot
--->  Installing ncursesw 5.6_1
--->  Activating ncursesw 5.6_1
--->  Cleaning ncursesw
--->  Fetching ncurses
--->  Verifying checksum(s) for ncurses
--->  Extracting ncurses
--->  Applying patches to ncurses
--->  Configuring ncurses
--->  Building ncurses with target all
--->  Staging ncurses into destroot
--->  Installing ncurses 5.6_0
--->  Activating ncurses 5.6_0
--->  Cleaning ncurses
--->  Fetching zlib
--->  Attempting to fetch zlib-1.2.3.tar.bz2 from http://www.zlib.net/
--->  Verifying checksum(s) for zlib
--->  Extracting zlib
--->  Applying patches to zlib
--->  Configuring zlib
--->  Building zlib with target all
--->  Staging zlib into destroot
--->  Installing zlib 1.2.3_1
--->  Activating zlib 1.2.3_1
--->  Cleaning zlib
--->  Fetching openssl
--->  Attempting to fetch openssl-0.9.8g.tar.gz from
http://www.openssl.org/source/
--->  Verifying checksum(s) for openssl
--->  Extracting openssl
--->  Applying patches to openssl
--->  Configuring openssl
--->  Building openssl with target all
--->  Staging openssl into destroot
--->  Installing openssl 0.9.8g_0
--->  Activating openssl 0.9.8g_0
--->  Cleaning openssl
--->  Fetching readline
--->  Attempting to fetch readline52-001 from
http://ftp.gnu.org/gnu/readline/readline-5.2-patches/
--->  Attempting to fetch readline52-002 from
http://ftp.gnu.org/gnu/readline/readline-5.2-patches/
--->  Attempting to fetch readline52-003 from
http://ftp.gnu.org/gnu/readline/readline-5.2-patches/
--->  Attempting to fetch readline52-004 from
http://ftp.gnu.org/gnu/readline/readline-5.2-patches/
--->  Attempting to fetch readline52-005 from
http://ftp.gnu.org/gnu/readline/readline-5.2-patches/
--->  Attempting to fetch readline52-006 from
http://ftp.gnu.org/gnu/readline/readline-5.2-patches/
--->  Attempting to fetch readline52-007 from
http://ftp.gnu.org/gnu/readline/readline-5.2-patches/
--->  Attempting to fetch readline-5.2.tar.gz from
http://ftp.gnu.org/gnu/readline
--->  Verifying checksum(s) for readline
--->  Extracting readline
--->  Applying patches to readline
--->  Configuring readline
--->  Building readline with target all
--->  Staging readline into destroot
--->  Installing readline 5.2.007_0+darwin_9
--->  Activating readline 5.2.007_0+darwin_9
--->  Cleaning readline
--->  Fetching ruby
--->  Attempting to fetch ruby-1.8.6-p111.tar.gz from
http://www.ibiblio.org/pub/languages/ruby/1.8
--->  Verifying checksum(s) for ruby
--->  Extracting ruby
--->  Applying patches to ruby
--->  Configuring ruby
--->  Building ruby with target all
--->  Staging ruby into destroot
--->  Installing ruby 1.8.6-p111_1+darwin_9+thread_hooks
tclsh(81836,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81837,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81838,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81839,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81840,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81841,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81842,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81843,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81844,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81845,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81846,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81847,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81848,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81849,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81850,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81851,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81852,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81853,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81854,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81855,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81856,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81857,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81858,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81859,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81860,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81861,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81862,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81863,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81864,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81865,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81866,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81867,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81868,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81869,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81870,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81871,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81872,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81873,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81874,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81875,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81876,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81877,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81878,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81879,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(81881,0x80254fa0) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
tclsh(55731,0xa09c3074) malloc: *** mmap(size=16384) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
unable to alloc 4096 bytes
Abort trap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080413/b2d61c4b/attachment-0001.html


More information about the macports-users mailing list