Summary: | media-video/vlc-3.0.17.4[vaapi]: can't find libavcodec/vaapi.h with media-video/ffmpeg-5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rafael Kitover <rkitover> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | andrewammerlaan, bertrand, bugzilla, chris, drmccoy, galiven, gentoo.2019, gentoo.qxrin, gentoo, gentoo, gentoo, hagar-dunor, jaak, jetdog330, john.einar, kocelfc, kripton, leonchik1976, mads, Manfred.Knick, me, mmokrejs, nurali258, orodruinlair, ostroffjh, pacho, panard, s7mon, sam, schulz.benjamin, steffen.weber, StormByte, theli.ua, thomas.bettler, _me262 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://code.videolan.org/videolan/vlc/-/issues/26489 https://code.videolan.org/videolan/vlc/-/merge_requests/1238 https://code.videolan.org/videolan/vlc/-/merge_requests/1245 https://code.videolan.org/videolan/vlc/-/issues/26772 |
||
Whiteboard: | Workaround dep applied | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 831437 | ||
Attachments: |
emerge --info
build.log |
Created attachment 799043 [details]
emerge --info
Created attachment 799045 [details]
build.log
I don't think this is a huge surprise, tbh. https://code.videolan.org/videolan/vlc/-/merge_requests/1245 https://code.videolan.org/videolan/vlc/-/merge_requests/1238 Upstream are already not thrilled about fixing various dep issues like this, but given they need to overhaul a fair bit to make master build w/ ffmpeg 5.0(+), I suspect this won't be backported. What would be interesting is if it builds with ffmpeg-5.0 or not? I'm guessing no, but that would be more of a problem for us. I saw another bug with ffmpeg-5.0, I'll try it too and let you know. Exact same problem with ffmpeg-5.0.1, as you suspected. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d1263e7486432859276f19e2341c4fcfd5b98f5 commit 3d1263e7486432859276f19e2341c4fcfd5b98f5 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-02-15 06:22:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-15 06:22:36 +0000 media-video/vlc: depend on <ffmpeg-5 for USE='ffmpeg vaapi' for 3.x Bug: https://bugs.gentoo.org/864721 Signed-off-by: Sam James <sam@gentoo.org> media-video/vlc/vlc-3.0.18.ebuild | 8 ++++++-- media-video/vlc/vlc-3.0.9999.ebuild | 10 +++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) *** Bug 914627 has been marked as a duplicate of this bug. *** *** Bug 927365 has been marked as a duplicate of this bug. *** There's a new development in this. For the longest time I was not able to update to FFMPEG 6 until today, when I disabled the vaapi useflag for VLC and recompiled. After that I was able to update to FFMPEG 6. If you still haven't upgraded to FFMPEG 6, check if your vaapi useflag is enabled, and disable it. |
Fails in configure phase: checking for libavcodec/vaapi.h... no configure: error: libva is present but libavcodec/vaapi.h is missing Works fine if I add -vaapi to USE flags. Reproducible: Always > emerge -pqv media-video/vlc [ebuild R ] media-video/vlc-3.0.17.4 USE="X a52 alsa -aom -archive -aribsub -bidi -bluray -cddb -chromaprint -chromecast -dav1d dbus -dc1394 -debug (-directx) dts dvbpsi dvd encode -faad -fdk ffmpeg flac -fluidsynth fontconfig gcrypt -gme gnome-keyring -gstreamer gui -ieee1394 -jack jpeg -kate -libass -libcaca libnotify libsamplerate -libtar -libtiger -linsys -lirc -live lua -macosx-notifications mad -matroska -modplug mp3 mpeg -mtp -musepack ncurses -nfs ogg -omxil -optimisememory -opus png -projectm pulseaudio -rdp -run-as-root samba -sdl-image -sftp -shout -sid -skins -soxr -speex -srt ssl svg -taglib -test -theora -tremor truetype -twolame udev upnp -v4l vaapi* vdpau -vnc -vpx wayland x264 -x265 xml -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1"