port -v upgrade outdated breaking in python packages

Ryan Schmidt ryandesign at macports.org
Tue Apr 10 17:22:53 PDT 2012


On Apr 10, 2012, at 17:58, Kok-Yong Tan wrote:

> I've done a "sudo port -v selfupdate" which finished successfully.  Then I tried "sudo port -v upgrade outdate" which gave me this error and then ground to a halt:
> 
> Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmllib.py ...
> Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py ...
> Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/zipfile.py ...
> make: *** [libinstall] Error 1
> make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.2'
> shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.2" && /usr/bin/make -w frameworkinstall maninstall MAKE="/usr/bin/make CC=/usr/bin/gcc-4.0" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot " returned error 2
> Error: Target org.macports.destroot returned: shell command failed (see log for details)
> Warning: the following items did not execute (for python27): org.macports.install org.macports.destroot

The output you've shown here doesn't seem to contain the actual error message. Perhaps it's earlier in the log.

> Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log

Please file a ticket in the issue tracker and attach this file to it.





More information about the macports-users mailing list