too long lines were shrinked: | VkVideoDecodeH265SessionParametersAddInfoKHR src/libavcodec/vulkan_av1.c:115:5: error: unknown type name VkVideoDecodeAV1SessionParametersCreateInfoMESA; did you mean VkVideoDecodeAV1SessionParametersCreateInfoKHR? 115 | VkVideoDecodeAV1SessionParametersCreateInfoMESA av1_params; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VkVideoDecodeAV1SessionParametersCreateInfoKHR x86_64-pc-linux-gnu-gcc -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -DBUILDING_avcodec -O2 -pipe -march=native -fno-diagnostics-color -march=znver3 -std=c11 -fPIC -pthread -I/usr/inclu src/libavcodec/vulkan_av1.c:120:28: error: StdVideoAV1MESASequenceHeader undeclared (first use in this function); did you mean StdVideoAV1SequenceHeader? 120 | av1_sequence_header = (StdVideoAV1MESASequenceHeader) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_systemd-20240403-050854 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 18.1.2 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.2 Python 3.11.8 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.77.1 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21] Available Java Virtual Machines: [1] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.22.1 linux/amd64 HEAD of ::gentoo commit 2339f9b5b33f89d6fca6292793d6c42fcd4e57eb Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Apr 4 16:34:14 2024 +0000 2024-04-04 16:34:13 UTC emerge -qpvO media-video/ffmpeg [ebuild N ] media-video/ffmpeg-6.1.1-r5 USE="X alsa bzip2 dav1d encode fontconfig gnutls gpl iconv jpegxl lcms libass libcaca lzma mp3 network openal opengl opus pic postproc pulseaudio samba sdl threads verify-sig vorbis vulkan webp x264 xvid zlib -amf -amr -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection -cuda -debug -doc -fdk -flite -frei0r -fribidi -gcrypt -glslang -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa -libaom -libaribb24 -libdrm -libilbc -libplacebo -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -modplug -nvenc -opencl -openh264 -openssl -oss -qsv -rav1e -rubberband -shaderc -snappy -sndio -soc -speex -srt -ssh -static-libs -svg -svt-av1 -test -theora -truetype -twolame -v4l -vaapi -vdpau -vidstab -vmaf -vpx -x265 -zeromq -zimg -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher"
Created attachment 889447 [details] emerge-info.txt
Created attachment 889448 [details] emerge-history.txt
Created attachment 889449 [details] environment
Created attachment 889450 [details] etc.clang.tar.xz
Created attachment 889451 [details] etc.portage.tar.xz
Created attachment 889452 [details] logs.tar.xz
Created attachment 889453 [details] media-video:ffmpeg-6.1.1-r5:20240404-170522.log.xz
Created attachment 889454 [details] qlist-info.txt
Created attachment 889455 [details] temp.tar.xz
*** Bug 928611 has been marked as a duplicate of this bug. ***
Build with USE="-vulcan" succeeds. Additionally I've built this version with USE="vulcan" was successful before this (on March 30th). Could it be related to the recent bump of dev-util/vulkan-headers to 1.3.280.0?
(In reply to Zoltan Puskas from comment #11) > Build with USE="-vulcan" succeeds. Additionally I've built this version with > USE="vulcan" was successful before this (on March 30th). Could it be related > to the recent bump of dev-util/vulkan-headers to 1.3.280.0? It is not a very big problem but....you may want to say "vulkan" instead of "vulcan"
Sorry that's a typo on my side, yes I meant USE="vulkan". I think the solution is in commit https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/ecdc94b97f809d5f2b88640842fd0541951ad295 of FFmpeg. I've tried applying the exported commit as a patch but it won't apply cleanly via /etc/portage/patches mechanism, so it seems this has to be backported manually for Gentoo.
(In reply to Zoltan Puskas from comment #13) > Sorry that's a typo on my side, yes I meant USE="vulkan". > > I think the solution is in commit > https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/ > ecdc94b97f809d5f2b88640842fd0541951ad295 of FFmpeg. > > I've tried applying the exported commit as a patch but it won't apply > cleanly via /etc/portage/patches mechanism, so it seems this has to be > backported manually for Gentoo. This is commit for 7.0, you need this commit https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/fef22c87ada4517441701e6e61e062c9f4399c8e for 6.1
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a7ae185d12135418fee061d38e3d2e9ae497ddd commit 2a7ae185d12135418fee061d38e3d2e9ae497ddd Author: germ <germtoo@outlook.com> AuthorDate: 2024-04-09 23:13:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-10 01:46:06 +0000 media-video/ffmpeg: fix build with vulkan-headers-1.3.280.0 Adds https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/fef22c87ada4517441701e6e61e062c9f4399c8e [sam: Fixup commit message and add references to patch.] Closes: https://bugs.gentoo.org/928593 Signed-off-by: germ <germtoo@outlook.com> Closes: https://github.com/gentoo/gentoo/pull/36186 Signed-off-by: Sam James <sam@gentoo.org> media-video/ffmpeg/ffmpeg-6.1.1-r5.ebuild | 2 + .../ffmpeg/files/ffmpeg-6.1.1-vulkan-rename.patch | 127 +++++++++++++++++++++ 2 files changed, 129 insertions(+)
Created attachment 890129 [details] test results for vulkan rename patch output of ebuild ffmpeg-6.1.1.ebuild clean test