Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 928611

Summary: media-video/ffmpeg-6.1.1-r5 build failedwith vulkan related error([/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/work/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_decode.o] Error 1)
Product: Gentoo Linux Reporter: nurali <nurali258>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nurali258, zoltan
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info output
emerge -pqv output
build env file

Description nurali 2024-04-05 02:27:48 UTC
ffmpeg-6.1.1-r5 build failed,I asked about this on Gentoo forum,a retired dev told me to file this bug

cc1: some warnings being treated as errors
make: *** [/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/work/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_av1.o] Error 1
src/libavcodec/vulkan_decode.c:1122:18: error: ‘VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_MESA’ undeclared (first use in this function); did you mean ‘VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR’?
 1122 |         .sType = VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_MESA,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                  VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR
cc1: some warnings being treated as errors
make: *** [/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/work/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_decode.o] Error 1
 * ERROR: media-video/ffmpeg-6.1.1-r5::gentoo failed (compile phase):
 *   emake failed
Comment 1 nurali 2024-04-05 02:32:10 UTC
build.log is 3mb,I can not upload complete log file here
This is the link to it:
http://0x0.st/XioO.txt
Comment 2 nurali 2024-04-05 02:35:39 UTC
Created attachment 889481 [details]
emerge --info output
Comment 3 nurali 2024-04-05 02:36:32 UTC
Created attachment 889482 [details]
emerge -pqv output
Comment 4 nurali 2024-04-05 02:37:02 UTC
Created attachment 889483 [details]
build env file
Comment 5 Zoltan Puskas 2024-04-05 03:01:19 UTC

*** This bug has been marked as a duplicate of bug 928593 ***