[MacPorts] #59947: python27 +universal precompiled binary for 10.6 broken
MacPorts
noreply at macports.org
Sat Jan 11 21:15:12 UTC 2020
#59947: python27 +universal precompiled binary for 10.6 broken
-----------------------+----------------------
Reporter: fhgwright | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: python27
-----------------------+----------------------
While investigating a broken icu build, I discovered a problem with
python27 +universal on 10.6:
{{{
Python 2.7.17 (default, Nov 1 2019, 05:40:09)
[GCC 4.2.1 Compatible Clang 3.4.2 (tags/RELEASE_34/dot2-final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from collections import namedtuple
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py",
line 20, in <module>
from _collections import deque, defaultdict
ImportError: No module named _collections
}}}
This persisted after reinstalling python27 +universal (from the
precompiled binary), but went away after I rebuilt it from source. So the
current precompiled binary is broken, but the port itself is not. It
claims to have been built with Clang 3.4.2 in both cases, so it probably
wasn't a compiler-selection issue.
--
Ticket URL: <https://trac.macports.org/ticket/59947>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list