[MacPorts] #39044: [python33] [3.3.1] [Processing of port python33 failed]
#39044: [python33] [3.3.1] [Processing of port python33 failed] ---------------------------+-------------------------------- Reporter: fabiograetz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ---------------------------+-------------------------------- Hi, i tried to install python3.3 but the installation failed, I have no idea why. I use OS 10.7.5 and Xcode Version 4.1 Please help me :) F -- Ticket URL: <https://trac.macports.org/ticket/39044> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | ----------------------------+------------------- Changes (by larryv@…): * owner: macports-tickets@… => jwa@… * port: => python33 Comment: Thanks. In the future, please Cc relevant port maintainers. -- Ticket URL: <https://trac.macports.org/ticket/39044#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#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 fabiograetz@…): I attached the requested file. I had the 3.3.1 version installed from [http://www.python.org/download/] but I deleted it because I couldn't find out how to install SciPhy without macports and decided to install python3.3 over macports as well. Could it be that some remaining files block the macports installation? -- Ticket URL: <https://trac.macports.org/ticket/39044#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#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@…): Actually looking at the OP again, Xcode 4.1 is outdated, please update to Xcode 4.6, make sure your Command-Line Tools are up to date, and then try again. -- Ticket URL: <https://trac.macports.org/ticket/39044#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#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 petr@…): Python 3.3 is now @3.3.5_1. Does this build failure still occur? -- Ticket URL: <https://trac.macports.org/ticket/39044#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#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 nad@…): Judging from the traceback, this could be an another instance of the bootstrap problem in http://bugs.python.org/issue21166. Another possibility might be the use of the `llvm-gcc` compiler which upstream python-dev had various problems with apparently producing bad code for Python 3.3+ builds and was blacklisted in favor of either newer versions of `clang` or Apple's old `gcc-4.2`. -- Ticket URL: <https://trac.macports.org/ticket/39044#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts