port -v upgrade outdated breaking in python packages

Kok-Yong Tan ktan at realityartisans.com
Tue Apr 10 15:58:11 PDT 2012


Hi,

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
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
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

I've tried to work around it by doing a "sudo port -vp upgrade outdated" 
which seemed to upgrade everything else except the python package but 
trying to come back to a "sudo port -v upgrade outdated" still results 
in the above errors.  Advice appreciated.

-- 
Reality Artisans, Inc.             #   Network Wrangling and Delousing
P.O. Box 565, Gracie Station       #   Apple Certified Consultant
New York, NY 10028-0019            #   Apple Consultants Network member
<http://www.realityartisans.com>    #   Apple Developer Connection member
(212) 369-4876 (Voice)             #   My PGP public key can be found at<https://keyserver.pgp.com>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6240 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120410/5b9fd205/attachment.bin>


More information about the macports-users mailing list