[MacPorts] #65107: py310-pyqt5-webengine: xcrun: error: SDK "macosx10.13" cannot be located

MacPorts noreply at macports.org
Tue May 3 15:18:49 UTC 2022


#65107: py310-pyqt5-webengine: xcrun: error: SDK "macosx10.13" cannot be located
----------------------------------------+------------------------
  Reporter:  RivetBenoit                |      Owner:  reneeotten
      Type:  defect                     |     Status:  reopened
  Priority:  Normal                     |  Milestone:
 Component:  ports                      |    Version:  2.7.2
Resolution:                             |   Keywords:  highsierra
      Port:  py-pyqt5-webengine py-sip  |
----------------------------------------+------------------------

Comment (by reneeotten):

 I don't know... this type of error {{{:info:build Project ERROR: Could not
 resolve SDK Path for 'macosx10.13' using --show-sdk-path}}}

 shows up occasionally on some systems (e.g., [ticket:62309]) for ports
 that are related to Qt5. Unfortunately, I don't think we have ever gotten
 to the bottom of this... it could be related to whether you have a full
 XCode installation or only the CLT, which one applies to you?

 If you want to help and troubleshoot this (I don't have an older macOS and
 it works for me locally) then you could try to add `use_xcode yes` to the
 Portfile, try to build it again and report back here. Assuming that you
 don't have a [https://guide.macports.org/chunked/development.local-
 repositories.html local Portfile repository] [if you do, you likely now
 your way around Portfiles and don't need these instructions ;)] you can do
 this by opening a terminal and typing:
 {{{
 sudo vi `port file py-pyqt5-webengine`
 }}}

 in that file you add the `use_xcode yes`, save the file and regenerate the
 portindex and do the usual clean and install:
 {{{
 portindex && sudo port clean --all subportof:py-pyqt5-webengine && sudo
 port -dv install py310-pyqt5-webengine
 }}}

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


More information about the macports-tickets mailing list