[MacPorts] #64777: mpv 0.34.1: Xcode is required even for the precompiled binary

MacPorts noreply at macports.org
Mon Mar 7 18:46:33 UTC 2022


#64777: mpv 0.34.1: Xcode is required even for the precompiled binary
------------------------+--------------------
 Reporter:  dardo82     |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.1
 Keywords:  highsierra  |       Port:  mpv
------------------------+--------------------
 MPV needs Xcode, otherwise it prints an error:

 {{{
 dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib
   Referenced from: /opt/local/bin/mpv
   Reason: image not found
 }}}

 All the missing libraries are available in {{{/usr/lib/swift}}}, \\
 but LC_RPATH (checked with {{{otool -l $(which mpv)}}}) \\
 points only to {{{/opt/local/lib}}} and the Xcode directory. \\
 \\
 Is this issue caused by the way the port is built \\
 or should it be fixed upstream instead of here?

-- 
Ticket URL: <https://trac.macports.org/ticket/64777>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list