[MacPorts] #60062: selfupdate fails with Xcode 10.1 on macOS 10.13 because it uses the 10.14 SDK which doesn't have i386 bits (was: port 2.5.4: Error: Unable to open port: invalid command name "compiler.cxx_standard")

MacPorts noreply at macports.org
Tue Jun 16 15:29:26 UTC 2020


#60062: selfupdate fails with Xcode 10.1 on macOS 10.13 because it uses the 10.14
SDK which doesn't have i386 bits
------------------------+------------------------
  Reporter:  nikgervae  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:  2.5.4
Resolution:             |   Keywords:  highsierra
      Port:             |
------------------------+------------------------
Changes (by ryandesign):

 * keywords:   => highsierra


Comment:

 Agreed. On 10.13, it should not be trying to use an SDK; it should be
 using /usr/include. The fact that it's not suggests that you don't have
 /usr/include. Even though you said above that you already tried
 reinstalling the command-line tools, please try it again. Make sure you've
 downloaded "Command Line Tools (macOS 10.13) for Xcode 10.1" from
 https://developer.apple.com/download/more/?=macOS%2010.13

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


More information about the macports-tickets mailing list