[MacPorts] #57964: port diagnose: could not execute xcode-select, no such file or directory

MacPorts noreply at macports.org
Sun Jan 27 12:15:27 UTC 2019


#57964: port diagnose: could not execute xcode-select, no such file or directory
---------------------+--------------------
  Reporter:  dzhub   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.5.4
Resolution:          |   Keywords:  tiger
      Port:          |
---------------------+--------------------

Comment (by jmroot):

 There are two separate problems here: `port reclaim` is broken on Tiger,
 which is something we need to fix, and you don't seem to have all the bits
 of Xcode that MacPorts needs, which is probably something you need to fix.

 This is the procedure that is returning the error:
 https://github.com/macports/macports-
 base/blob/v2.5.4/src/port1.0/portconfigure.tcl#L401

 It's pretty straightforward, and should be returning either an empty
 string if the selected SDK version is the same as the current OS version,
 or `${developer_dir}/SDKs/MacOSX10.4u.sdk` if that exists. It only returns
 an error if neither of those is the case.

 You aren't doing anything unusual like building for a deployment target
 different than the OS version you're on? Could you attach the main.log
 from a failed build?

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


More information about the macports-tickets mailing list