Opened 11 years ago

Closed 11 years ago

#19989 closed defect (worksforme)

port upgrade installed fails with: unable to alloc 7479321 bytes

Reported by: david1w@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.7.1
Keywords: Cc:
Port:

Description

--->  Configuring libopenraw
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libopenraw/work/libopenraw-0.0.8" && ./configure --prefix=/opt/local --with-boost=/opt/local " returned error 1
Command output: checking if /usr/bin/gcc-4.0 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/gcc-4.0 static flag -static works... no
checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes
checking if /usr/bin/gcc-4.0 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by /usr/bin/g++-4.0... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/g++-4.0 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/g++-4.0 static flag -static works... no
checking if /usr/bin/g++-4.0 supports -c -o file.o... yes
checking if /usr/bin/g++-4.0 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking for Boost headers version >= 1.33.0... /opt/local/include
checking for Boost's header version... 1_39
checking for the toolset name used by Boost for /usr/bin/g++-4.0... gcc40
checking boost/test/unit_test.hpp usability... yes
checking boost/test/unit_test.hpp presence... yes
checking for boost/test/unit_test.hpp... yes
checking for the Boost unit_test_framework library... no
configure: error: Could not find the flags to link with Boost unit_test_framework

Error: Unable to upgrade port: 1
--->  Configuring libopenraw
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libopenraw/work/libopenraw-0.0.8" && ./configure --prefix=/opt/local --with-boost=/opt/local " returned error 1
Command output: checking if /usr/bin/gcc-4.0 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/gcc-4.0 static flag -static works... no
checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes
checking if /usr/bin/gcc-4.0 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by /usr/bin/g++-4.0... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/g++-4.0 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/g++-4.0 static flag -static works... no
checking if /usr/bin/g++-4.0 supports -c -o file.o... yes
checking if /usr/bin/g++-4.0 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking for Boost headers version >= 1.33.0... /opt/local/include
checking for Boost's header version... 1_39
checking for the toolset name used by Boost for /usr/bin/g++-4.0... gcc40
checking boost/test/unit_test.hpp usability... yes
checking boost/test/unit_test.hpp presence... yes
checking for boost/test/unit_test.hpp... yes
checking for the Boost unit_test_framework library... no
configure: error: Could not find the flags to link with Boost unit_test_framework

Error: Unable to upgrade port: 1
tclsh(32042,0xa08a9720) malloc: *** mmap(size=7483392) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
unable to alloc 7479321 bytes
Abort trap

Attachments (1)

config.log (59.6 KB) - added by david1w@… 11 years ago.
config.log

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by david1w@…

Attachment: config.log added

config.log

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Component: portsbase

That's tclsh failing, not boost's build system. Unless you can reproduce this on trunk, it's really hard to know whether it's worth investigating further (at least one major memory leak has been fixed there).

comment:2 Changed 11 years ago by jmroot (Joshua Root)

Can you reproduce this with 1.8.0?

comment:3 Changed 11 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.