#27624 closed defect (fixed)
git-core @1.7.3.3 fails to build with macports gcc selected
Reported by: | jason.swails@… | Owned by: | maccheck@… |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | larryv (Lawrence Velázquez), ryandesign (Ryan Carsten Schmidt) | |
Port: | git-core |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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.
Change History (7)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to maccheck@… |
---|---|
Port: | git-core added |
Summary: | latest version of git-core fails to build → git-core @1.7.3.3 fails to build with macports gcc selected |
comment:2 Changed 14 years ago by maccheck@…
I believe that this was introduced by the variant universal. But as I didn't introduce that I have no clue how to fix it.
comment:4 Changed 14 years ago by larryv (Lawrence Velázquez)
Same problem here. Why doesn’t the install fail until the destroot
phase?
comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r74293.
comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Similar problem with the test phase fixed in r74294.
Please remember to fill in the Port field and cc the maintainer, and state a specific version since the "latest version" may change tomorrow.