[MacPorts] #21177: python26 build failure

MacPorts noreply at macports.org
Mon Sep 7 10:32:38 PDT 2009


#21177: python26 build failure
----------------------------+-----------------------------------------------
 Reporter:  egan@…          |       Owner:  macports-tickets@…                   
     Type:  defect          |      Status:  new                                  
 Priority:  Normal          |   Milestone:                                       
Component:  ports           |     Version:                                       
 Keywords:                  |        Port:  python26                             
----------------------------+-----------------------------------------------
Changes (by toby@…):

  * version:  1.8.0 =>


Old description:

> $ sudo port install python26
> --->  Computing dependencies for python26
> --->  Building python26
> 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 -j1 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.0" "
> returned error 2
> Command output: /usr/bin/gcc-4.0 -L/opt/local/lib -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:
>   "_Py_Main", referenced from:
>       _main in python.o
>   "_PyMac_Error", referenced from:
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: *** [python.exe] Error 1
>
> Error: Status 1 encountered during processing.

New description:

 {{{
 $ sudo port install python26
 --->  Computing dependencies for python26
 --->  Building python26
 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 -j1 all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.0" "
 returned error 2
 Command output: /usr/bin/gcc-4.0 -L/opt/local/lib -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:
   "_Py_Main", referenced from:
       _main in python.o
   "_PyMac_Error", referenced from:
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make: *** [python.exe] Error 1

 Error: Status 1 encountered during processing.
 }}}

--

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


More information about the macports-tickets mailing list