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

Bug 929037

Summary: media-video/ffmpeg-6.1.1-r5 fails with multiple "unknown type name"
Product: Gentoo Linux Reporter: tdr <ted.d.rodgers>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: UNCONFIRMED ---    
Severity: normal CC: andreil499, atoth, chewi
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log (last 900 lines)
zipped full log (3667 is where the error msgs starts, shown in the shorter log file too)
emerge--info

Description tdr 2024-04-10 05:34:30 UTC
ffmpeg fails to build with many unknown types names


Reproducible: Always

Steps to Reproduce:


[ebuild   R    ] media-video/ffmpeg-6.1.1-r5:0/58.60.60::gentoo  USE="X alsa amr amrenc bluray bs2b bzip2 cdio chromium codec2 dav1d encode fdk flite fontconfig frei0r fribidi gcrypt gme gmp gnutls gpl gsm hardcoded-tables iconv iec61883 ieee1394 jpeg2k jpegxl kvazaar ladspa lcms libaom libaribb24 libass libcaca libdrm libilbc libplacebo librtmp libsoxr libtesseract libv4l libxml2 lv2 lzma modplug mp3 network openal opencl opengl openh264 opus pic postproc pulseaudio rav1e rubberband sdl shaderc soc speex srt svg svt-av1 theora threads truetype twolame v4l vidstab vorbis vpx vulkan webp x264 x265 xvid zeromq zimg zlib zvbi -amf (-appkit) -chromaprint -cpudetection -cuda -debug -doc -glslang -jack (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -nvenc -openssl -oss -qsv -samba -snappy -sndio -ssh -static-libs -test -vaapi -vdpau -verify-sig -vmaf" 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"


Actual Results:  
In file included from src/libavcodec/vulkan_av1.c:21:
src/libavcodec/vulkan_decode.h:31:5: error: unknown type name ‘VkVideoDecodeAV1ProfileInfoMESA’; did you mean ‘VkVideoDecodeAV1ProfileInfoKHR’?
   31 |     VkVideoDecodeAV1ProfileInfoMESA av1_profile;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     VkVideoDecodeAV1ProfileInfoKHR
src/libavcodec/vulkan_av1.c:38:5: error: unknown type name ‘StdVideoAV1MESATile’; did you mean ‘StdVideoAV1Profile’?
   38 |     StdVideoAV1MESATile            tiles[MAX_TILES];
      |     ^~~~~~~~~~~~~~~~~~~
      |     StdVideoAV1Profile
In file included from src/libavcodec/vulkan_decode.c:21:
src/libavcodec/vulkan_decode.h:31:5: error: unknown type name ‘VkVideoDecodeAV1ProfileInfoMESA’; did you mean ‘VkVideoDecodeAV1ProfileInfoKHR’?
   31 |     VkVideoDecodeAV1ProfileInfoMESA av1_profile;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     VkVideoDecodeAV1ProfileInfoKHR

(many more)




]

ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.1::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.9::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.77.1::gentoo
dev-lang/rust-bin:         1.76.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.3::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo, 14.0.1_pre20240407::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.3::gentoo
sys-kernel/linux-headers:  6.8-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r2::gentoo
Comment 1 tdr 2024-04-10 05:39:27 UTC
Created attachment 890130 [details]
build log (last 900 lines)
Comment 2 tdr 2024-04-10 06:07:59 UTC
Created attachment 890131 [details]
zipped full log (3667 is where the error msgs starts, shown in the shorter log file too)
Comment 3 tdr 2024-04-10 06:46:05 UTC
Created attachment 890132 [details]
emerge--info
Comment 4 Andrei Liavonchykau 2024-04-13 11:57:34 UTC
Same result on last update.
sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.10.14_p1::gentoo, 3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.4::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 18.1.3::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.3::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 17.0.6::gentoo, 18.1.3::gentoo
sys-kernel/linux-headers:  6.8-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r2::gentoo
Comment 5 Attila Tóth 2024-04-18 11:02:12 UTC
Might be related: https://bugs.gentoo.org/928593