Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704838 - =media-video/mpv-0.30.0 USE=vaapi - video/out/hwdec/hwdec_vaapi.c.19.o:hwdec_vaapi.c:function init: error: undefined reference to 'vaapi_gl_init'
Summary: =media-video/mpv-0.30.0 USE=vaapi - video/out/hwdec/hwdec_vaapi.c.19.o:hwdec_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-05 22:14 UTC by Red
Modified: 2020-01-27 13:32 UTC (History)
3 users (show)

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


Attachments
build log (build.log,301.33 KB, text/plain)
2020-01-06 00:10 UTC, Red
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Red 2020-01-05 22:14:01 UTC
=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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-05 22:32:46 UTC
Please attach the entire build log to this bug report.
Comment 2 Red 2020-01-05 22:54:23 UTC
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.
Comment 3 Alexander Tsoy 2020-01-05 23:18:17 UTC
Please post the output of "emerge --info media-video/mpv x11-libs/libva"
Comment 4 Red 2020-01-06 00:10:12 UTC
Created attachment 602626 [details]
build log
Comment 5 Red 2020-01-06 00:11:01 UTC
I got the build log to upload this time, probably a local permissions issue
Comment 6 Alexander Tsoy 2020-01-06 22:39:04 UTC
I can reproduce this with USE="-egl opengl"
Comment 7 Red 2020-01-07 00:04:00 UTC
(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.)
Comment 8 Charo del Genio 2020-01-07 12:57:16 UTC
I get the same problem too. However, media-video/mpv-0.31.0 compiles fine.
Comment 9 Red 2020-01-07 15:45:12 UTC
(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.
Comment 10 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-01-27 13:32:25 UTC
I have marked newer version stable.