[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 02:54:14 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 barracuda156):

 I have found a patch, but using it leads to another related error:
 https://github.com/FFmpeg/FFmpeg/commit/fef22c87ada4517441701e6e61e062c9f4399c8e.patch

 {{{
 In file included from libavcodec/vulkan_decode.h:26,
                  from libavcodec/vulkan_av1.c:21:
 libavcodec/vulkan_video.h:26:10: fatal error:
 vulkan_video_codec_av1std_mesa.h: No such file or directory
    26 | #include "vulkan_video_codec_av1std_mesa.h"
       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 compilation terminated.
 gmake: *** [ffbuild/common.mak:81: libavcodec/vulkan_av1.o] Error 1
 gmake: *** Waiting for unfinished jobs....
 In file included from libavcodec/vulkan_decode.c:20:
 libavcodec/vulkan_video.h:26:10: fatal error:
 vulkan_video_codec_av1std_mesa.h: No such file or directory
    26 | #include "vulkan_video_codec_av1std_mesa.h"
       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 compilation terminated.
 gmake: *** [ffbuild/common.mak:81: libavcodec/vulkan_decode.o] Error 1
 }}}

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


More information about the macports-tickets mailing list