[MacPorts] #28703: Python 2.6 (Universal) does not honor 'arch -i386' command at runtime
MacPorts
noreply at macports.org
Mon Mar 7 20:05:12 PST 2011
#28703: Python 2.6 (Universal) does not honor 'arch -i386' command at runtime
-----------------------------+----------------------------------------------
Reporter: tcwan@… | Owner: mcalhoun@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: python26
-----------------------------+----------------------------------------------
Comment(by tcwan@…):
I apologize for the issues.
For system python, it works if the specific version is used.
{{{
tcmac$ ll /usr/bin/python2.6
lrwxr-xr-x 1 root wheel 75 Jun 22 2010 /usr/bin/python2.6 ->
../../System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
tcmac$ arch -i386 /usr/bin/python2.6
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.maxsize
2147483647
}}}
Is there any reason why this behaves differently for MacPorts between
Python 2.6 and 2.7 when they are both setup similarly?
{{{
tcmac$ ll /opt/local/bin/python2.?
lrwxr-xr-x 1 root wheel 73 Mar 4 09:34 /opt/local/bin/python2.6 ->
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
lrwxr-xr-x 1 root wheel 73 Mar 1 09:29 /opt/local/bin/python2.7 ->
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
}}}
--
Ticket URL: <https://trac.macports.org/ticket/28703#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list