[issue8366] OS X universal builds fail on 2.7b1 and py3k with "Don't know machine value for archs"
Shashwat Anand
report at bugs.python.org
Sun Apr 11 11:49:10 CEST 2010
Shashwat Anand <anand.shashwat at gmail.com> added the comment:
The error was finally reproduced with :
$make distclean; ./configure --enable-universalsdk=/Developer/SDKs/MacOSX10.6.sdk --with-universal-archs=32-bit MACOSX_DEPLOYMENT_TARGET=10.6; make
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.6.sdk -u _PyMac_Error -o python.exe \
Modules/python.o \
libpython2.7.a -ldl -framework CoreFoundation
Traceback (most recent call last):
File "/Volumes/CoreHD/python-svn/Lib/site.py", line 544, in <module>
main()
File "/Volumes/CoreHD/python-svn/Lib/site.py", line 523, in main
addbuilddir()
File "/Volumes/CoreHD/python-svn/Lib/site.py", line 118, in addbuilddir
s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
File "/Volumes/CoreHD/python-svn/Lib/sysconfig.py", line 646, in get_platform
"Don't know machine value for archs=%r"%(archs,))
ValueError: Don't know machine value for archs=('i386', 'i386', 'ppc', 'ppc')
make: *** [sharedmods] Error 1
Also,
$ ls /Developer/SDKs/
MacOSX10.5.sdk MacOSX10.6.sdk
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8366>
_______________________________________
More information about the Python-bugs-list
mailing list