[MacPorts] #69678: ffmpeg6 @6.1.1_2+gpl2+gpl3+nonfree+x11: compilation fails (libavcodec/vulkan_av1.c:44:5: error: unknown type name 'StdVideoAV1MESAFrameHeader')

MacPorts noreply at macports.org
Mon Apr 8 14:05:32 UTC 2024


#69678: ffmpeg6 @6.1.1_2+gpl2+gpl3+nonfree+x11: compilation fails
(libavcodec/vulkan_av1.c:44:5: error: unknown type name
'StdVideoAV1MESAFrameHeader')
---------------------------+--------------------
  Reporter:  hugo-ribeiro  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.3
Resolution:                |   Keywords:
      Port:  ffmpeg6       |
---------------------------+--------------------

Comment (by hugo-ribeiro):

 Thank you for looking into this. As I understand, upstream has fixed this
 issue with ffmpeg7 but not ffmpeg6 and I believe this is why there are
 missing headers. A simple fix to get ffmpeg6 to compile and install is to
 disable vulkan support by adding

 {{{
 --disable-vulkan \
 }}}

 to

 {{{
 configure.args-append
 }}}

 in the portfile, but I don't know if this is desirable.

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


More information about the macports-tickets mailing list