[MacPorts] #63694: mpv: fatal error encountered while reading from module 'Foundation'

MacPorts noreply at macports.org
Tue Nov 9 21:55:05 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 Gandoon):

 Replying to [comment:27 i0ntempest]:
 > Replying to [comment:25 Gandoon]:
 > > Replying to [comment:24 i0ntempest]:
 > > > For 10.15 use Xcode 11. If you don't know the version you need to
 build this, take a look at the buildbot log of your system version, here
 on the right: https://ports.macports.org/port/mpv/details/
 > > . . .
 >
 > All I know is something weird could happen when you try building Swift
 code with mismatched Xcode and/or SDK. Xcode 12 has SDK for macOS 11 and
 not 10.15, although theoretically you can use new SDKs to target old
 systems, the changes could still break stuff, which is the case here.
 Unfortunately I'm not skilled enough to do Swift debugging and the
 original maintainer isn't really active. I'm thinking maybe I'm gonna shot
 an email into MP developer list for some help.
 > >
 > > . . .

 As a test I did download mpv directly from the github repository and built
 that version, and it worked perfectly except for the libjpeg dependency
 from macports could not be found (all other macports based dependencies
 were detected and used without problem), and it does not build a .app
 which is less of a concern to me.
 However, it is interesting to note that the waf version used there seems
 to be 2.0.20 rather than 2.0.22 that seems to be what is used in the port.
 There are also discrepancies in various scripts when referring to the waf
 version number. Shuffling around a bit, I still can't get the macport to
 build, but as I said, the github clone I got builds perfectly fine, and it
 does not complain about Swift.

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


More information about the macports-tickets mailing list