Opened 13 years ago

Closed 12 years ago

#33102 closed defect (worksforme)

python27 destroot failure: "ImportError: No module named _struct"

Reported by: msun@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: python27

Description (last modified by mf2k (Frank Schima))

Build of python27 failed because of some failed import... here is the relevant log section:

:info:destroot Traceback (most recent call last):
:info:destroot   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/compileall.py", line 16, in <module>
:info:destroot     import struct
:info:destroot   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/struct.py", line 1, in <module>
:info:destroot     from _struct import *
:info:destroot ImportError: No module named _struct
:info:destroot make: *** [libinstall] Error 1

Attachments (1)

main.log (546.9 KB) - added by msun@… 13 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: python27 lion removed
Owner: changed from macports-tickets@… to jwa@…

Please attach the complete main.log. In the future, please use WikiFormatting and Cc the port maintainer(s).

Changed 13 years ago by msun@…

Attachment: main.log added

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Summary: python27 build fails in Lionpython27 destroot failure: "ImportError: No module named _struct"

Is this still a problem with 2.7.3? It works on Lion for me.

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

No response; closing.

Note: See TracTickets for help on using tickets.