[MacPorts] #64927: qwt-qt5 @6.1.6_0: Could not resolve SDK path for 'macosx 12' using --show-sdk-path

MacPorts noreply at macports.org
Sat Apr 2 04:33:58 UTC 2022


#64927: qwt-qt5 @6.1.6_0: Could not resolve SDK path for 'macosx 12' using --show-
sdk-path
-----------------------------+---------------------------------
 Reporter:  jcannon-gplates  |      Owner:  MarcusCalhoun-Lopez
     Type:  defect           |     Status:  assigned
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.7.2
 Keywords:  arm64 monterey   |       Port:  qwt-qt5
-----------------------------+---------------------------------
 Configure phase fails with:

 {{{
 xcrun: error: SDK "macosx12" cannot be located
 }}}

 ...and opening ".../qwt-qt5/main.log" shows:


 {{{
 Could not resolve SDK path for 'macosx 12' using --show-sdk-path
 }}}

 Adding the change from https://github.com/macports/macports-
 ports/commit/4ccdc73094c259eb53235c7ddeea041763f3e568 to the Portfile
 appears to fix it:

 {{{
 if { ${xcodeversion} ne "none" } {
     use_xcode       yes
 }
 }}}

 ...and despite now getting the following error message it still configures
 and builds/installs:

 {{{
 xcodebuild: error: SDK "macosx12" cannot be located
 }}}

 Note that I'm using `buildfromsource always` in macports.conf (and
 `macosx_deployment_target 11.0`). And building on Monterey on M1 using
 XCode 13.3.

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


More information about the macports-tickets mailing list