[MacPorts] #27624: latest version of git-core fails to build

MacPorts noreply at macports.org
Thu Dec 9 15:55:20 PST 2010


#27624: latest version of git-core fails to build
------------------------------------+---------------------------------------
 Reporter:  jason.swails@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Low                     |   Milestone:                                       
Component:  ports                   |     Version:  1.9.2                                
 Keywords:                          |        Port:                                       
------------------------------------+---------------------------------------
 Hopefully this is not a repeat, I tried searching to see if it was.  Here
 are my system specs:

 Xcode v3.2.3
 MacBook Pro, OS X 10.6.5
 2.53 GHz Core 2 Duo

 Here is the tail of the verbose build log after "port install git-core"

     * new build flags or prefix
     CC fast-import.o
 cc1: error: unrecognized command line option "-arch"
 make: *** [fast-import.o] Error 1
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_de

 ... etc.

 I have multiple GCCs built along with gcc_select, and the default GCC
 version is typically 4.4 or 4.5, depending on my mood, but never the Xcode
 version.  -arch is recognized by the Xcode gcc, but not by any of the
 MacPorts builds.  Temporarily making gcc42 my default fixes the above
 issue, but I've never encountered it with any other port before (as Ports
 that require Xcode GCC often use gcc-4.2 as their default compiler)  I'm
 not quite familiar enough with some of the inner-workings of MacPorts to
 know how to fix this.

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


More information about the macports-tickets mailing list