[MacPorts] #21248: python25 +universal ignores univeral_archs

MacPorts noreply at macports.org
Wed Sep 9 09:26:29 PDT 2009


#21248: python25 +universal ignores univeral_archs
---------------------------------------------+------------------------------
 Reporter:  mmoll@…                          |       Owner:  macports-tickets@…                   
     Type:  defect                           |      Status:  new                                  
 Priority:  Normal                           |   Milestone:  MacPorts 1.8.1                       
Component:  ports                            |     Version:  1.8.0                                
 Keywords:  universal, snow leopard, x86_64  |        Port:  python25                             
---------------------------------------------+------------------------------
 I'm trying to build python25 +universal on Snow Leopard. In my
 macports.conf I have set universal_archs to i386 and x86_64. The python
 configure script hardcodes i386 and ppc as the universal architectures.
 Even if I replace ppc with x86_64, the compilation fails with these
 errors:

 /usr/bin/gcc-4.2 -c -arch x86_64 -arch i386 -isysroot
 /Developer/SDKs/MacOSX10.6.sdk  -fno-strict-aliasing -mno-fused-madd
 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude
 -I./Include -I/opt/local/include -D_DARWIN_C_SOURCE  -DPy_BUILD_CORE -o
 Modules/python.o ./Modules/python.c
 In file included from
 /Developer/SDKs/MacOSX10.6.sdk/usr/include/architecture/i386/math.h:626,
                  from
 /Developer/SDKs/MacOSX10.6.sdk/usr/include/math.h:28,
                  from Include/pyport.h:231,
                  from Include/Python.h:57,
                  from ./Modules/python.c:3:
 /Developer/SDKs/MacOSX10.6.sdk/usr/include/AvailabilityMacros.h:108:14:
 warning: #warning Building for Intel with Mac OS X Deployment Target <
 10.4 is invalid.
 In file included from
 /Developer/SDKs/MacOSX10.6.sdk/usr/include/architecture/i386/math.h:626,
                  from
 /Developer/SDKs/MacOSX10.6.sdk/usr/include/math.h:28,
                  from Include/pyport.h:231,
                  from Include/Python.h:57,
                  from ./Modules/python.c:3:
 /Developer/SDKs/MacOSX10.6.sdk/usr/include/AvailabilityMacros.h:108:14:
 warning: #warning Building for Intel with Mac OS X Deployment Target <
 10.4 is invalid.
 In file included from Include/Python.h:57,
                  from ./Modules/python.c:3:
 Include/pyport.h:761:2: error: #error "LONG_BIT definition appears wrong
 for platform (bad gcc/glibc config?)."
 lipo: can't figure out the architecture type of: /var/tmp//ccD3CsnI.out
 make: *** [Modules/python.o] Error 1

-- 
Ticket URL: <http://trac.macports.org/ticket/21248>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list