[MacPorts] #61741: Use

MacPorts noreply at macports.org
Fri Dec 4 16:58:48 UTC 2020


#61741: Use
--------------------+--------------------
 Reporter:  philgp  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  base    |    Version:
 Keywords:          |       Port:
--------------------+--------------------
 I've gotten this error on a few occasions of updating my ports (via "sudo
 port upgrade outdated"):
 {{{
 Warning: cltversion: The Command Line Tools are installed, but MacPorts
 cannot determine the version.
 }}}
 I've read the page that is also output
 (https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt), and did
 this once, but it seems the latest Xcode update broke it again.

 Can an alternative method be used to get the version of Xcode? This

 https://stackoverflow.com/questions/33732042/check-xcode-version-from-
 command-line

 says that
 {{{
 system_profiler SPDeveloperToolsDataType
 }}}

 can be used. It seems to provide appropriate output on my system (and has
 options for either xml or json output).

-- 
Ticket URL: <https://trac.macports.org/ticket/61741>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list