Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864721 - media-video/vlc-3.0.17.4 can't find libavcodec/vaapi.h with media-video/ffmpeg-5
Summary: media-video/vlc-3.0.17.4 can't find libavcodec/vaapi.h with media-video/ffmpeg-5
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-5.0
  Show dependency tree
 
Reported: 2022-08-09 22:00 UTC by Rafael Kitover
Modified: 2022-10-01 09:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt.gz,7.77 KB, application/gzip)
2022-08-09 22:01 UTC, Rafael Kitover
Details
build.log (build.log.gz,6.32 KB, application/gzip)
2022-08-09 22:04 UTC, Rafael Kitover
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Kitover 2022-08-09 22:00:59 UTC
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"
Comment 1 Rafael Kitover 2022-08-09 22:01:44 UTC
Created attachment 799043 [details]
emerge --info
Comment 2 Rafael Kitover 2022-08-09 22:04:54 UTC
Created attachment 799045 [details]
build.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-09 23:01:27 UTC
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.
Comment 4 Rafael Kitover 2022-08-09 23:40:19 UTC
I saw another bug with ffmpeg-5.0, I'll try it too and let you know.
Comment 5 Rafael Kitover 2022-08-10 00:25:14 UTC
Exact same problem with ffmpeg-5.0.1, as you suspected.