[MacPorts] #24383: python26 2.6.5 does not build if macport.conf build_arch=i386

MacPorts noreply at macports.org
Tue Apr 6 07:49:30 PDT 2010


#24383: python26 2.6.5 does not build if macport.conf build_arch=i386
-----------------------------------+----------------------------------------
 Reporter:  bletofarine@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.8.2                                
 Keywords:                         |        Port:  python26                             
-----------------------------------+----------------------------------------
 I'm running MacOSX 10.6.3 with an up-to-date port tree.

 In order to build a i386-only python, I set my build_arch flag to i386 in
 my macports.conf file.

 Unfortunately, it does not work. I tried to perform a port clean on
 python26, without success.

 {{{
 /usr/bin/gcc-4.2 -L/opt/local/lib -u _PyMac_Error
 Python.framework/Versions/2.6/Python -o python.exe \
                         Modules/python.o \
                          -ldl  -framework CoreFoundation
 ld: warning: in Python.framework/Versions/2.6/Python, file is not of
 required architecture
 Undefined symbols:
   "_PyMac_Error", referenced from:
   "_Py_Main", referenced from:
       _main in python.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make: *** [python.exe] Error 1
 }}}

 I'm going to attach the complete build log to the ticket.

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


More information about the macports-tickets mailing list