[MacPorts] #50821: Python: Fix building for strange architecture combinations
#50821: Python: Fix building for strange architecture combinations --------------------------+-------------------------------- Reporter: land.apfel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: python27 --------------------------+-------------------------------- When trying to build a version of Python for a set of architectures not listed in https://hg.python.org/cpython/file/2.7/Lib/_osx_support.py#l471, the build fails with {{{ File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.11/Lib/_osx_support.py", line 485, in get_platform_osx "Don't know machine value for archs=%r" % (archs,)) ValueError: Don't know machine value for archs=('ppc', 'ppc64') generate-posix-vars failed make: *** [pybuilddir.txt] Error 1 }}} Upstream they appear to have good reasons to not extend the list of "machine values" (http://bugs.python.org/issue26487). I think that MacPorts should either restrict builds to architecture sets supported upstream or add a patch that generates machine values for all combinations (similar to http://bugs.python.org/file42073/patch-plat-ppc- fat.diff). PS: This problem probably affects all Python versions (not only python27). -- Ticket URL: <https://trac.macports.org/ticket/50821> MacPorts <https://www.macports.org/> Ports system for OS X
#50821: python24, python25, python26, python27, python31, python32, python33, python34, python35: Fix building for strange architecture combinations -------------------------------------------------+------------------------- Reporter: land.apfel@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: python24, python25, python26, | python27, python31, python32, python33, | python34, python35 | -------------------------------------------------+------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jwa@… * port: python27 => python24, python25, python26, python27, python31, python32, python33, python34, python35 Comment: Or use the muniversal portgroup. -- Ticket URL: <https://trac.macports.org/ticket/50821#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts