Opened 4 years ago

Closed 4 years ago

#59947 closed defect (duplicate)

python27 +universal precompiled binary for 10.6 broken

Reported by: fhgwright (Fred Wright) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: jmroot (Joshua Root)
Port: python27

Description

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.

Change History (1)

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

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