[MacPorts] #59837: macOS 10.14 SDK does not appear to be installed even though Command Line Tools are installed

MacPorts noreply at macports.org
Fri Feb 14 04:10:55 UTC 2020


#59837: macOS 10.14 SDK does not appear to be installed even though Command Line
Tools are installed
------------------------+--------------------
  Reporter:  manulcaux  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------

Comment (by RiotNrrrd):

 The responses in this ticket all seem to come from an attitude of "User
 error", as if the OP has done something wrong.

 I have two Macs running Mojave 10.14.6 that have this same exact problem.
 I doubt I did anything wrong when it comes to Xcode installation, yet I am
 in the same boat.


 {{{
 mac:~ root# port install mercurial
 Warning: The macOS 10.14 SDK does not appear to be installed. Ports may
 not build correctly.
 Warning: You can install it as part of the Xcode Command Line Tools
 package by running `xcode-select --install'.
 --->  Computing dependencies for mercurial
 --->  Fetching archive for mercurial
 --->  Attempting to fetch mercurial-5.3_1.darwin_18.x86_64.tbz2 from
 https://packages.macports.org/mercurial
 --->  Attempting to fetch mercurial-5.3_1.darwin_18.x86_64.tbz2 from
 http://aus.us.packages.macports.org/macports/packages/mercurial
 --->  Attempting to fetch mercurial-5.3_1.darwin_18.x86_64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/mercurial
 --->  Building mercurial
 Error: Failed to build mercurial: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mercurial/mercurial/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port mercurial failed
 }}}

 I have Xcode installed and the command-line tools and ''xcrun --sdk
 macosx10.14 --show-sdk-path'' finds the SDK in both places mentioned by
 "Joshua Root":

 {{{
 mac:~ root# ls -ldhF `locate MacOSX10.14`
 lrwxr-xr-x  1 root  wheel    10B Nov  1 18:49
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk@
 -> MacOSX.sdk
 lrwxr-xr-x  1 root  wheel    10B Nov  1 18:56
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk@ -> MacOSX.sdk

 mac:~ root# xcode-select --install
 xcode-select: error: command line tools are already installed, use
 "Software Update" to install updates

 mac:~ root# xcrun --sdk macosx10.14 --show-sdk-path
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 }}}

 So why am I getting the warning?

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


More information about the macports-tickets mailing list