[MacPorts] #65293: qtads @3.3.0 +debug: Project ERROR: Could not resolve SDK Path for 'macosx11' using --show-sdk-path

MacPorts noreply at macports.org
Sat Jun 4 17:52:23 UTC 2022


#65293: qtads @3.3.0 +debug: Project ERROR: Could not resolve SDK Path for
'macosx11' using --show-sdk-path
--------------------------+--------------------
  Reporter:  cooljeanius  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.2
Resolution:               |   Keywords:  bigsur
      Port:  qtads        |
--------------------------+--------------------

Comment (by kencu):

 the qmake5 PortGroup recently had [https://github.com/macports/macports-
 ports/commit/9887e90d69f4265f9056cddc45e41551d7400235 changes] to it that
 make it only work if this is added to every PortFile that uses the
 PortGroup:

 {{{
 use_xcode yes
 }}}

 basically, the above change makes xcrun call through to xcodebuild, and
 that is only invoked by MacPorts if {{{use_xcode yes}}} is in the
 Portfile.

 {{{
 % /usr/bin/xcrun --sdk macosx --show-sdk-path
 2022-06-04 10:47:50.901 xcodebuild[4258:85644] Requested but did not find
 extension point with identifier
 Xcode.IDEKit.ExtensionSentinelHostApplications for extension
 Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in
 com.apple.dt.IDEWatchSupportCore
 2022-06-04 10:47:50.902 xcodebuild[4258:85644] Requested but did not find
 extension point with identifier
 Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
 Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of
 plug-in com.apple.dt.IDEWatchSupportCore
 2022-06-04 10:47:51.944 xcodebuild[4259:85660] Requested but did not find
 extension point with identifier
 Xcode.IDEKit.ExtensionSentinelHostApplications for extension
 Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in
 com.apple.dt.IDEWatchSupportCore
 2022-06-04 10:47:51.944 xcodebuild[4259:85660] Requested but did not find
 extension point with identifier
 Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
 Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of
 plug-in com.apple.dt.IDEWatchSupportCore
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk
 }}}

 I have pondered whether this should be changed to something else, or
 perhaps just bite the bullet and add {{{use_xcode yes}}} to the qmake5
 PortGroup and be done with it.

 But that is for someone else to do, as there will be too much controversy.

 adding {{{use_xcode yes}}} to the {{{qtads}}} PortFile fixes it.

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


More information about the macports-tickets mailing list