[MacPorts] #53909: port diagnose fails in xcode-select

MacPorts noreply at macports.org
Tue Jul 4 18:42:21 UTC 2017


#53909: port diagnose fails in xcode-select
-----------------------+--------------------
  Reporter:  janstary  |      Owner:
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  base      |    Version:  2.4.99
Resolution:            |   Keywords:
      Port:            |
-----------------------+--------------------

Comment (by janstary):

 The problem seems to be in the check_for_clt{} function of diagnose.tcl:
 - if on 10.9, it looks for /Library/Developer/CommandLineTools/
 - otherwise, it tries to call "xcode-select -p"

 On MacOSX 10.6.8 with Xcodde 3.2.6, there is no "-p".
 Changing it to "xcode-select -print-path" fixes that for me here,
 but probably breaks it for someone else on other versions.

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


More information about the macports-tickets mailing list