Python 2.7 installation errors

Jasper Frumau jasperfrumau at gmail.com
Fri Sep 7 22:55:01 PDT 2012


Did a sudo port deactivate py27-xml as suggested here:
https://trac.macports.org/ticket/32090 and now it is continuing again. The
saga continues....

On Sat, Sep 8, 2012 at 12:32 PM, Jasper Frumau <jasperfrumau at gmail.com>wrote:

> Some more data here using sudo port -v upgrade outdated. Seems to be an
> architecture issue...?
>
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/_xmlplus/parsers/expat.py",
> line 4, in <module>
>     from pyexpat import *
> ImportError:
> dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/_xmlplus/parsers/pyexpat.so,
> 2): no suitable image found.  Did find:
>  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/_xmlplus/parsers/pyexpat.so:
> mach-o, but wrong architecture
> make[1]: *** [install_BuildApplet] Error 1
> make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.3/Mac'
> make: *** [frameworkinstallapps] Error 2
> 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.3'
> Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.3"
> && /usr/bin/make -w frameworkinstall maninstall MAKE="/usr/bin/make
> CC=/usr/bin/clang"
> DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot
> Exit code: 2
> Error: org.macports.destroot for port python27 returned: command execution
> failed
> Warning: targets not executed for python27: org.macports.activate
> org.macports.destroot org.macports.install
> Error: Failed to install python27
> Please see the log file for port python27 for details:
>
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log
> Error: The following dependencies were not installed: python27
> Error: Unable to upgrade port: 1
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
>
> On Sat, Sep 8, 2012 at 12:23 PM, Jasper Frumau <jasperfrumau at gmail.com>wrote:
>
>> Hmm, still more issues:
>>
>> Staging python27 into destroot
>> Error: org.macports.destroot for port python27 returned: command
>> execution failed
>> Error: Failed to install python27
>>  Please see the log file for port python27 for details:
>>
>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log
>> Error: The following dependencies were not installed: python27
>> Error: Unable to upgrade port: 1
>> To report a bug, follow the instructions in the guide:
>>     http://guide.macports.org/#project.tickets
>>
>> Tail of the log:
>>
>>
>> jaspersmbp:osticket-reloaded-new jasper$ tail
>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log
>> "$procedure $targetname"
>> :info:destroot Warning: targets not executed for python27:
>> org.macports.activate org.macports.destroot org.macports.install
>> :error:destroot Failed to install python27
>> :debug:destroot can not find channel named "debuglog"
>>     while executing
>> "tcl::puts debuglog {DEBUG: Starting logging for gobject-introspection}"
>>     invoked from within
>> "catch "tcl::puts $args""
>> :notice:destroot Please see the log file for port python27 for details:
>>
>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log
>>
>>
>> On Sat, Sep 8, 2012 at 12:12 PM, Jasper Frumau <jasperfrumau at gmail.com>wrote:
>>
>>> Well, activated python27 as it was not active, then did a clean to make
>>> the upgrade run again. All working again now..
>>>
>>>
>>> On Sat, Sep 8, 2012 at 11:19 AM, Jasper Frumau <jasperfrumau at gmail.com>wrote:
>>>
>>>> I was upgrading all ports and got stuck at Python 2.7:
>>>>
>>>> --->  Staging python27 into destroot
>>>> Error: org.macports.destroot for port python27 returned: command
>>>> execution failed
>>>> Please see the log file for port python27 for details:
>>>>
>>>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log
>>>> --->  Computing dependencies for gobject-introspection
>>>> --->  Dependencies to be installed: python27
>>>> --->  Staging python27 into destroot
>>>> Error: org.macports.destroot for port python27 returned: command
>>>> execution failed
>>>> Error: Failed to install python27
>>>> Please see the log file for port python27 for details:
>>>>
>>>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log
>>>> Error: The following dependencies were not installed: python27
>>>> Error: Unable to upgrade port: 1
>>>> To report a bug, follow the instructions in the guide:
>>>>     http://guide.macports.org/#project.tickets
>>>>
>>>> So I did a did a tail of the main log:
>>>>
>>>>
>>>> jaspersmbp:osticket-reloaded-new jasper$ tail
>>>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log
>>>> "$procedure $targetname"
>>>> :info:destroot Warning: targets not executed for python27:
>>>> org.macports.activate org.macports.destroot org.macports.install
>>>> :error:destroot Failed to install python27
>>>> :debug:destroot Registry error: python27 not registered as installed &
>>>> active.
>>>>     invoked from within
>>>> "registry_active ${subport}"
>>>>     invoked from within
>>>> "$workername eval registry_active \${subport}"
>>>> :notice:destroot Please see the log file for port python27 for details:
>>>>
>>>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log
>>>>
>>>> Should I just activate python 2.7? Do not recall it not being active in
>>>> the first place....
>>>>
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120908/16a23994/attachment.html>


More information about the macports-users mailing list