[MacPorts] #61371: git @2.29.0 doesn't use configure.sdkroot when building (was: git +credential_osxkeychain fails to compile)

MacPorts noreply at macports.org
Sun Oct 25 04:36:12 UTC 2020


#61371: git @2.29.0 doesn't use configure.sdkroot when building
-------------------------+----------------------
  Reporter:  mouse07410  |      Owner:  ci42
      Type:  defect      |     Status:  reopened
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  git         |
-------------------------+----------------------
Changes (by jmroot):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 Replying to [comment:2 mouse07410]:
 > After I installed CLT, {{{sudo port upgrade git}}} succeeded.
 >
 > IMHO, though, it is unfortunate that Macports seems to insist on
 presence of CLT when Xcode is installed.

 It doesn't. It is a very good idea to have the CLTs installed though,
 mainly because newer Xcode versions only ship an SDK for the latest OS,
 not necessarily the version that you're running.

 Whether the CLTs are installed or not, configure.sdkroot will be set to an
 appropriate value, which is normally added to all the *FLAGS environment
 variables. It appears that git is not using this setting, which is
 problematic for both this reason and others.

-- 
Ticket URL: <https://trac.macports.org/ticket/61371#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list