[MacPorts] #69697: Error: Failed to configure mpv: no files matched glob pattern "MacOSX*.sdk"
MacPorts
noreply at macports.org
Wed Apr 10 06:27:17 UTC 2024
#69697: Error: Failed to configure mpv: no files matched glob pattern "MacOSX*.sdk"
---------------------+----------------------
Reporter: jf | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: mpv |
---------------------+----------------------
Comment (by kencu):
That block of code is in the Portfile now.
https://github.com/macports/macports-
ports/blob/74fd7cf10be3cd8008ec9b61fd9203d5472c620e/multimedia/mpv/Portfile#L166
Apparently it does work (in the default situation) to find the MacOSX.sdk
in the SDKs folder. It's non-standard code. I don't know why it is needed.
Most ports don't need to use code like this to specify the SDK. But this
port uses this code for some reason.
Eyeballing it, it looks like it should work. Yet it doesn't work in your
setup.
So what is different about your setup? -- what are the permissions set
like in your home folder? Are you dealing with any symlinks or other
unusual redirects that might break the code?
To sort that out you perhaps would start sprinkling "puts" in the code to
see what the variables are really being set to, just like back in the
1980s when we would debug code with "printf" statements to see what is
going on with it.
Somehow, somewhere, that "glob" is not "globbing" the SDK from that
directory, when apparently it should be globbing it.
But there is not enough informaiton here to have an idea why not.
--
Ticket URL: <https://trac.macports.org/ticket/69697#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list