[MacPorts] #64713: qscintilla-qt5: xcrun: error: SDK "macosx11" cannot be located

MacPorts noreply at macports.org
Fri Mar 25 23:05:17 UTC 2022


#64713: qscintilla-qt5: xcrun: error: SDK "macosx11" cannot be located
-----------------------------+-----------------------
  Reporter:  pcmock          |      Owner:  michaelld
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  qscintilla-qt5  |
-----------------------------+-----------------------

Comment (by Kyshman):

 While installing QGIS3 I got this


 {{{
 :info:build /opt/local/libexec/qt5/bin/qmake -recursive QScintilla.pro
 :info:build sip-build-3.10: '/opt/local/libexec/qt5/bin/qmake -recursive
 QScintilla.pro' failed returning 3
 :info:build Project ERROR: Could not resolve SDK Path for 'macosx11' using
 --show-sdk-path
 }}}

 My OS: 11.6.5
 xcrun info:

 {{{
 fish>> xcrun --sdk macosx11 --show-sdk-path
 xcodebuild: error: SDK "macosx11" cannot be located.
 xcodebuild: error: SDK "macosx11" cannot be located.
 xcrun: error: unable to lookup item 'Path' in SDK 'macosx11'

 fish>> xcrun --sdk macosx --show-sdk-path
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk
 }}}


 Tried the suggestions here and the other
 [https://trac.macports.org/query?status=!closed&port=qscintilla-
 qt5&order=priority open qscintilla-qt5 tickets]

 None worked so changed tact and edited the file
 {{{/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python
 /py-pyqt5-scintilla/work/QScintilla-2.13.2/.qmake.cache}}} and changed the
 following;

 `QMAKE_MACOSX_DEPLOYMENT_TARGET=11.0` to
 `QMAKE_MACOSX_DEPLOYMENT_TARGET=11.3`\\

 `QMAKE_MAC_SDK=macosx11` to `QMAKE_MAC_SDK=macosx11.3`

 The configure, build & install process was then successful.

 Hopefully this wont cause any issues until the next upgrade.

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


More information about the macports-tickets mailing list