=media-video/mpv-0.30.0 with USE=vaapi fails to link. ld.gold output: video/out/hwdec/hwdec_vaapi.c.19.o:hwdec_vaapi.c:function init: error: undefined reference to 'vaapi_gl_init' video/out/hwdec/hwdec_vaapi.c.19.o:hwdec_vaapi.c:interop_inits: error: undefined reference to 'vaapi_gl_init' collect2: error: ld returned 1 exit status ld.bfd output: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: video/out/hwdec/hwdec_vaapi.c.19.o: in function `init': hwdec_vaapi.c:(.text+0x63a): undefined reference to `vaapi_gl_init' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: video/out/hwdec/hwdec_vaapi.c.19.o:(.data.rel.ro+0x0): undefined reference to `vaapi_gl_init' collect2: error: ld returned 1 exit status
Please attach the entire build log to this bug report.
Trying to add attachment but getting: Software error: Malformed multipart POST: data truncated For help, please send mail to the webmaster (webmaster@gentoo.org), giving this error message and the time and date of the error.
Please post the output of "emerge --info media-video/mpv x11-libs/libva"
Created attachment 602626 [details] build log
I got the build log to upload this time, probably a local permissions issue
I can reproduce this with USE="-egl opengl"
(In reply to Alexander Tsoy from comment #6) > I can reproduce this with USE="-egl opengl" My use flags for media-video/mpv per eix are: X alsa archive bluray cdda cli drm dvd iconv jpeg lcms libass libcaca lua luajit openal opengl pulseaudio rubberband uchardet vdpau vulkan xv zimg zlib -aqua -coreaudio -cplugins -cuda -debug -doc -dvb -egl -gamepad -gbm -jack -javascript -libmpv -oss -raspberry-pi -samba -sdl -selinux -test -tools -vaapi -wayland PYTHON_TARGETS="python3_6 -python3_7" (vaapi would normally be enabled if it were not for this bug.)
I get the same problem too. However, media-video/mpv-0.31.0 compiles fine.
(In reply to Charo del Genio from comment #8) > I get the same problem too. However, media-video/mpv-0.31.0 compiles fine. =media-video/mpv-0.31.0 with USE=vaapi builds fine for me too.
I have marked newer version stable.