[MacPorts] #69697: Error: Failed to configure mpv: no files matched glob pattern "MacOSX*.sdk"

MacPorts noreply at macports.org
Wed Apr 10 03:40:12 UTC 2024


#69697: Error: Failed to configure mpv: no files matched glob pattern "MacOSX*.sdk"
---------------------+--------------------
  Reporter:  jf      |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  mpv     |
---------------------+--------------------

Comment (by kencu):

 OK, so now you know there are SDKs in there, and you have used xcode-
 select in the past.

 That is all fine.

 Now -- you need to sort out why this is not finding them:

 {{{
         if {${use_xcode}} {
             set sdks_dir
 ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs
             set sdks [glob -directory ${sdks_dir} MacOSX*.sdk]
             configure.sdkroot [lindex [lsort -command vercmp ${sdks}] end]
         }
 }}}

 and there -- you may need to use the "puts" or similar mechanisms I
 mentioned above to show why your non-standard setup is not finding the
 SDKs.

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


More information about the macports-tickets mailing list