[MacPorts] #63694: mpv: fatal error encountered while reading from module 'Foundation'
MacPorts
noreply at macports.org
Tue Dec 7 16:03:57 UTC 2021
#63694: mpv: fatal error encountered while reading from module 'Foundation'
---------------------------+------------------------
Reporter: ShadSterling | Owner: i0ntempest
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: mpv |
---------------------------+------------------------
Comment (by jmesmon):
Ok, I've found a Portfile workaround that fixes things: forcing the use of
the 12.0 sdk (even when building for macosx 11.6) results in a successful
build. It seems that macports forcing an older sdk is breaking things
here.
I added `configure.sdk_version 12.0` to my Portfile to workaround the
issue, but the right choice here is likely filtering out broken sdk
versions. Something like this maybe:
```
if {[vercmp ${configure.sdk_version} 11.3] == 0} {
configure.sdk_version 12.0
}
```
--
Ticket URL: <https://trac.macports.org/ticket/63694#comment:36>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list