[MacPorts] #33102: python27 build fails in Lion

MacPorts noreply at macports.org
Wed Feb 1 08:55:41 PST 2012


#33102: python27 build fails in Lion
-------------------------------+--------------------------------------------
 Reporter:  msun@…             |       Owner:  jwa@…           
     Type:  defect             |      Status:  new             
 Priority:  Normal             |   Milestone:                  
Component:  ports              |     Version:  2.0.3           
 Keywords:                     |        Port:  python27        
-------------------------------+--------------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => jwa@…
  * keywords:  python27 lion =>


Old description:

> 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

New description:

 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
 }}}

--

Comment:

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

-- 
Ticket URL: <https://trac.macports.org/ticket/33102#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list