[MacPorts] #20940: Error upgrading python26 port

MacPorts noreply at macports.org
Sun Aug 30 13:20:21 PDT 2009


#20940: Error upgrading python26 port
--------------------------------+-------------------------------------------
 Reporter:  conradwt@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.0                                
 Keywords:  snowleopard         |        Port:  python26                             
--------------------------------+-------------------------------------------
 MacPorts Team, I received the following error upgrading python26 port:

 {{{

 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2"
 && /usr/bin/make all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.2" " returned
 error 2
 Command output: /usr/bin/gcc-4.2 -L/opt/local/lib -arch x86_64 -u
 _PyMac_Error Python.framework/Versions/2.6/Python -o python.exe \
                         Modules/python.o \
                          -ldl
 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

 Error: Problem while installing python26

 }}}

 My environment is as follows:

 $ sw_vers
 ProductName:    Mac OS X
 ProductVersion: 10.6
 BuildVersion:   10A432

 Last but not least, I have re-built all ports under Snow Leopard using the
 Xcode 3.2 tools for Snow Leopard build 10A432 contained on the DVD
 distribution.

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


More information about the macports-tickets mailing list