[MacPorts] #39044: python33 @3.3.1: build failure

MacPorts noreply at macports.org
Thu May 9 10:09:00 PDT 2013


#39044: python33 @3.3.1: build failure
----------------------------+-------------------
  Reporter:  fabiograetz@…  |      Owner:  jwa@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.3
Resolution:                 |   Keywords:
      Port:  python33       |
----------------------------+-------------------

Comment (by egall@…):

 Huh, this looks odd: relevant error from the log:
 {{{
 :info:build /usr/bin/llvm-gcc-4.2 -arch x86_64 -arch i386 -isysroot /
 -L/opt/local/lib -arch x86_64 -arch i386  -framework CoreFoundation
 Python.framework/Versions/3.3/Python -o python.exe Modules/python.o
 -lintl -ldl  -framework CoreFoundation
 :info:build /usr/bin/llvm-gcc-4.2 -arch x86_64 -arch i386 -isysroot /
 -L/opt/local/lib -arch x86_64 -arch i386  -framework CoreFoundation
 Python.framework/Versions/3.3/Python -o Modules/_testembed
 Modules/_testembed.o  -lintl -ldl  -framework CoreFoundation
 :info:build
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python33/python33/work/Python-3.3.1:
 ./python.exe -E -S -m sysconfig --generate-posix-vars
 :info:build Could not find platform dependent libraries <exec_prefix>
 :info:build Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
 :info:build python.exe(13684) malloc: *** mmap(size=7310873954244194304)
 failed (error code=12)
 :info:build *** error: can't allocate region
 :info:build *** set a breakpoint in malloc_error_break to debug
 :info:build Fatal Python error: Py_Initialize: can't initialize sys
 standard streams
 :info:build Traceback (most recent call last):
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python33/python33/work/Python-3.3.1/Lib/locale.py",
 line 17, in <module>
 :info:build     import re
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python33/python33/work/Python-3.3.1/Lib/re.py",
 line 124, in <module>
 :info:build     import functools
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python33/python33/work/Python-3.3.1/Lib/functools.py",
 line 15, in <module>
 :info:build     from collections import namedtuple
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python33/python33/work/Python-3.3.1/Lib/collections/__init__.py",
 line 14, in <module>
 :info:build     import heapq as _heapq
 :info:build   File "<frozen importlib._bootstrap>", line 1564, in
 _find_and_load
 :info:build   File "<frozen importlib._bootstrap>", line 1531, in
 _find_and_load_unlocked
 :info:build   File "<frozen importlib._bootstrap>", line 586, in
 _check_name_wrapper
 :info:build   File "<frozen importlib._bootstrap>", line 1023, in
 load_module
 :info:build   File "<frozen importlib._bootstrap>", line 1004, in
 load_module
 :info:build   File "<frozen importlib._bootstrap>", line 562, in
 module_for_loader_wrapper
 :info:build   File "<frozen importlib._bootstrap>", line 854, in
 _load_module
 :info:build   File "<frozen importlib._bootstrap>", line 988, in get_code
 :info:build ValueError: unmarshallable object
 :info:build make: *** [pybuilddir.txt] Segmentation fault: 11
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python33/python33/work/Python-3.3.1'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python33/python33/work/Python-3.3.1"
 && /usr/bin/make -j2 -w all MAKE="/usr/bin/make CC=/usr/bin/llvm-gcc-4.2"
 :info:build Exit code: 2
 }}}
 Not sure how that happened... OP, could you attach your `config.log`, too?
 It should be in your build directory for this port.

-- 
Ticket URL: <https://trac.macports.org/ticket/39044#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list