[MacPorts] #34750: py32-numpy fails to build on snow leopard/XCode4.2

MacPorts noreply at macports.org
Wed Jun 6 22:36:03 PDT 2012


#34750: py32-numpy fails to build on snow leopard/XCode4.2
------------------------------------+---------------------------------------
 Reporter:  miguel.barao@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  2.1.1                                
 Keywords:                          |        Port:  py32-numpy                           
------------------------------------+---------------------------------------

Comment(by ryandesign@…):

 As explained in our ProblemHotlist, the python ports (python32, etc.)
 contain the location of the compiler used to compile them, and then use
 that same compiler when compiling other python modules.

 Our buildbot uses Xcode 3.2 and therefore the compiler used is
 /usr/bin/gcc-4.2. Although you use Xcode 4.2 which uses a different
 compiler, you could receive (and probably have received) a binary from our
 buildbot for python32, therefore it is configured to use the wrong
 compiler on your system. You must rebuild python32 on your machine, and
 not use the binary from our server:

 {{{
 sudo port -ns upgrade --force python32
 }}}

 Any future upgrade of python32 will reintroduce this problem, so you must
 either remember to use the -s flag whenever you upgrade python32 and other
 ports that hardcode the compiler location, or turn off the use of binaries
 entirely in macports.conf.

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


More information about the macports-tickets mailing list