[MacPorts] #63330: Runtime error ffmpeg @4.4_2

MacPorts noreply at macports.org
Sun Aug 1 12:16:27 UTC 2021


#63330: Runtime error ffmpeg @4.4_2
-------------------------+-------------------------------
  Reporter:  cave-canem  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.99
Resolution:              |   Keywords:  Mavericks, Sierra
      Port:  ffmpeg      |
-------------------------+-------------------------------
Description changed by cave-canem:

Old description:

> The ffmpeg port builds successfully, but a runtime error occurs:
>
> {{{
> ffmpeg -version
> dyld: Library not loaded: @rpath/libdav1d.5.dylib
>   Referenced from: /opt/MacPorts/bin/ffmpeg
>   Reason: image not found
> Trace/BPT trap: 5
> }}}
>
> {{{
> port installed dav1d
> The following ports are currently installed:
>   dav1d @0.9.1_0 (active)
> }}}
>
> {{{
> sudo find -x / -name "libdav1d.5.dylib" -print
> Password:
> /opt/MacPorts/lib/libdav1d.5.dylib
> }}}
>
> That being said, ffmpeg @ 4.4_0 works without any problems:
>

> {{{
> ffmpeg -version
> ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
> built with clang version 10.0.1
> configuration: --prefix=/opt/MacPorts --enable-swscale --enable-avfilter
> --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-
> libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg
> --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex
> --enable-libass --enable-libbluray --enable-lzma --enable-gnutls
> --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-
> libjack --disable-libopencore-amrnb --disable-libopencore-amrwb
> --disable-indev=jack --enable-opencl --disable-outdev=xv --enable-
> audiotoolbox --enable-videotoolbox --enable-sdl2 --disable-
> securetransport --mandir=/opt/MacPorts/share/man --enable-shared
> --enable-pthreads --cc=/opt/MacPorts/bin/clang --enable-libdav1d
> --arch=x86_64 --enable-x86asm --enable-librtmp --enable-nonfree --enable-
> libfdk-aac
> libavutil      56. 70.100 / 56. 70.100
> libavcodec     58.134.100 / 58.134.100
> libavformat    58. 76.100 / 58. 76.100
> libavdevice    58. 13.100 / 58. 13.100
> libavfilter     7.110.100 /  7.110.100
> libavresample   4.  0.  0 /  4.  0.  0
> libswscale      5.  9.100 /  5.  9.100
> libswresample   3.  9.100 /  3.  9.100
> }}}
>

> {{{
> port -v installed active and ffmpeg
> The following ports are currently installed:
>   ffmpeg @4.4_0+librtmp+nonfree+x11-gpl2 (active) platform='darwin 13'
> archs='x86_64' date='2021-05-25T12:28:51+0300'
> }}}

New description:

 The ffmpeg port builds successfully, but a runtime error occurs:

 {{{
 ffmpeg -version
 dyld: Library not loaded: @rpath/libdav1d.5.dylib
   Referenced from: /opt/MacPorts/bin/ffmpeg
   Reason: image not found
 Trace/BPT trap: 5
 }}}

 {{{
 port -v installed dav1d
 The following ports are currently installed:
   dav1d @0.9.1_0 (active) platform='darwin 13' archs='x86_64'
 date='2021-08-01T12:39:53+0300
 }}}

 {{{
 sudo find -x / -name "libdav1d.5.dylib" -print
 Password:
 /opt/MacPorts/lib/libdav1d.5.dylib
 }}}

 That being said, ffmpeg @ 4.4_0 works without any problems:


 {{{
 ffmpeg -version
 ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
 built with clang version 10.0.1
 configuration: --prefix=/opt/MacPorts --enable-swscale --enable-avfilter
 --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-
 libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-
 libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-
 libass --enable-libbluray --enable-lzma --enable-gnutls --enable-
 fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack
 --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-
 indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox
 --enable-videotoolbox --enable-sdl2 --disable-securetransport
 --mandir=/opt/MacPorts/share/man --enable-shared --enable-pthreads
 --cc=/opt/MacPorts/bin/clang --enable-libdav1d --arch=x86_64 --enable-
 x86asm --enable-librtmp --enable-nonfree --enable-libfdk-aac
 libavutil      56. 70.100 / 56. 70.100
 libavcodec     58.134.100 / 58.134.100
 libavformat    58. 76.100 / 58. 76.100
 libavdevice    58. 13.100 / 58. 13.100
 libavfilter     7.110.100 /  7.110.100
 libavresample   4.  0.  0 /  4.  0.  0
 libswscale      5.  9.100 /  5.  9.100
 libswresample   3.  9.100 /  3.  9.100
 }}}


 {{{
 port -v installed active and ffmpeg
 The following ports are currently installed:
   ffmpeg @4.4_0+librtmp+nonfree+x11-gpl2 (active) platform='darwin 13'
 archs='x86_64' date='2021-05-25T12:28:51+0300'
 }}}

--

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


More information about the macports-tickets mailing list