Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537350 - media-libs/xine-lib-1.2.6[vaapi] with x11-libs/libva-1.5.0 - video_out_vaapi.c:70:23: fatal error: va/va_glx.h: No such file or directory
Summary: media-libs/xine-lib-1.2.6[vaapi] with x11-libs/libva-1.5.0 - video_out_vaapi....
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: media-video herd
Depends on:
Reported: 2015-01-22 12:42 UTC by parafin
Modified: 2017-01-13 23:44 UTC (History)
2 users (show)

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

build.log (build.log,222.39 KB, text/plain)
2015-01-22 12:42 UTC, parafin
/var/tmp/portage/media-libs/xine-lib-1.2.6/temp/build.log (build.log,255.91 KB, text/x-log)
2015-05-26 14:31 UTC, Fred Dinkler IV

Note You need to log in before you can comment on or make changes to this bug.
Description parafin 2015-01-22 12:42:54 UTC
Created attachment 394610 [details]

After upgrade of x11-libs/libva from 1.4.1 to 1.5.0 media-libs/xine-lib-1.2.6 fails to emerge with vaapi USE flag enabled:

video_out_vaapi.c:70:23: fatal error: va/va_glx.h: No such file or directory
 #include <va/va_glx.h>
compilation terminated.
Makefile:1509: recipe for target 'xineplug_vo_out_vaapi_la-video_out_vaapi.lo' failed

darkhorse ~ # emerge --info '=media-libs/xine-lib-1.2.6::gentoo'
Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r1, 3.7.3 x86_64)
                         System Settings
System uname: Linux-3.7.3-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    16366652 total,   7515776 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 21 Jan 2015 19:00:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33-r1
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1
dev-util/cmake:           3.1.0
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r4, 1.11.6-r1, 1.13.4, 1.15
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.9.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.5
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo local darktable-live
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=y --keep-going=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage /home/parafin/junk/src/darktable/darktable-org/packaging/gentoo"
USE="X a52 aac acpi alsa amd64 amr audiofile avx bash-completion berkdb bluetooth bluray bzip2 cairo caps cdparanoia cracklib crypt cscope css cups curl cxx dbus djvu dri drm dts dvb dvd dvdr dvdread egl enca encode exceptions exif expat faac faad fam fbcon ffmpeg fftw flac fltk fluidsynth fontconfig foomaticdb ftp gcrypt gd gdbm geoip gif gimp git glib gmp gpm graphviz gstreamer gtk gtk2 hunspell iconv icu id3tag idn imagemagick imap imlib ipv6 ithreads jack javascript jpeg jpeg2k kerberos kmod ladspa lame lash lcms libsamplerate lua lzma lzo mad matroska mbox midi mikmod mmap mmx mmxext mng mp3 mp4 mpeg ncurses nettle network network-cron nls nocd nptl nsplugin offensive ogg opencl opengl openmp openssl orc pam pcre pdf perl png portaudio postscript pulseaudio python qt3support qt4 quicktime raw readline recode ruby sasl sdl session smp sndfile speex spell sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 svg taglib tcl tcltk tcpd theora threads tiff tk truetype udev unicode usb v4l vaapi vdpau video videos vim-syntax vorbis vpx webkit webp wifi win32codecs wxwidgets x264 xcb xface xml xmp xosd xpm xulrunner xv xvid xz zlib" ABI_X86="64" CAMERAS="directory ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="nvidia intel"

                        Package Settings

media-libs/xine-lib-1.2.6 was built with the following:
USE="X a52 aac alsa bluray css dts dvb fbcon flac gtk imagemagick ipv6 jack jpeg mad mmap mng nls opengl pulseaudio sdl speex theora truetype v4l vdpau vorbis vpx xcb xv -aalib (-altivec) -directfb -dxr3 -fusion -libcaca -modplug -musepack -oss -samba -vaapi -vcd -vdr (-vidix) (-vis) -wavpack -xinerama -xvmc" ABI_X86="64"

x11-libs/libva-1.5.0 was built with the following:
USE="X drm egl opengl vdpau -wayland" ABI_X86="64 -32 -x32" VIDEO_CARDS="intel nvidia -dummy -fglrx"
Comment 1 Fred Dinkler IV 2015-05-26 14:29:20 UTC
I also get this error:

video_out_vaapi.c:70:23: fatal error: va/va_glx.h: No such file or directory
 #include <va/va_glx.h>
compilation terminated.
Comment 2 Fred Dinkler IV 2015-05-26 14:31:17 UTC
Created attachment 404006 [details]
Comment 3 Fred Dinkler IV 2015-05-26 14:32:55 UTC
Portage 2.2.18 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.4, glibc-2.20-r2, 3.15.8.david x86_64)
System uname: Linux-3.15.8.david-x86_64-AMD_Phenom-tm-_II_X6_1100T_Processor-with-gentoo-2.2
KiB Mem:    16408652 total,    240596 free
KiB Swap:  131239184 total, 131155524 free
Timestamp of repository gentoo: Tue, 26 May 2015 01:15:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

    location: /usr/local/portage
    masters: gentoo
    priority: 0

CFLAGS="-O3 -march=native -mtune=k8 -pipe -fomit-frame-pointer -funroll-loops -msse -msse2 -msse3 -mmmx -mfpmath=sse -mcx16 -msahf"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -march=native -mtune=k8 -pipe -fomit-frame-pointer -funroll-loops -msse -msse2 -msse3 -mmmx -mfpmath=sse -mcx16 -msahf"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow 3dnowext X Xaw3d a52 aac aacplus aacs aalib accessibility acl acpi alsa amazon amd64 amr amrnb amrwb apache2 apng applet artworkextra asf ass atm autoipd automount avahi avi avx bash-completion berkdb bgpclassless bitmap-fonts bluetooth bluray bonobo branding browserplugin bzip2 cairo calendar cdb cdda cddb cdio cdr cjk clang clearpasswd cli colord cracklib crypt css cuda cups curl cxx daap dbase dbus dc1394 dell device-mapper dga dia dirac directx divx dlloader dmx doc dri dts dv dvb dvd dvdnav dvdr dvdread eds effects egl elf emboss encode epiphany evo examples exchange exif extrafilters faac fam fbcon ffmpeg fftw firefox flac flash fluidsynth font-server fontconfig fortran freetts ftp fuse g3dvl gadu gb gcj gd gdbm gdu gecko-sdk gedit ggi gif gimp glade glamor gles2 glitz glx gnokii gnome gnome-keyring gnome-online-accounts gnome3 gnustep gnutls gphoto gphoto2 gpm gps graphviz gs gsm gstreamer gtk gtk3 gtkhtml gudev h323 hddtemp hotplug howl-compat http httpd hwdb iconv icu id3tag ieee1394 imagemagick imap inkjar introspection ipv6 irda ithreads jabber java jfs jingle jpeg jpeg2k jsapi kde kerberos kipi krb4 krb5 lame lastfm lcms ldap libcaca libcanberra libnotify libsecret libv4l libv4l2 libvisual libwww llvm llvm-gcc lm_sensors logitech-mouse logrotate lua lzo mad madwifi maildir matroska mbrola md5sum mdnsresponder-compat midi mikmod mjpeg mktemp mmx mmxext mng mod_php modemmanager modules mono motif mozcalendar mozdevelop mozilla mozsvg mp2 mp3 mp4 mpeg mplayer mppe-mppc mtp multilib musicbrainz mysql nautilus ncurses ndiswrapper nemesi network networking networkmanager new-login nfs nls nntp nodrm notlsbeforeauth nptl nptlonly nscd nsplugin ntfs nuv nvidia objc odbc offensive ogg oggvorbis openal opencl openexr opengl openmp openntpd openvg opus osmesa ospfapi pam pango pcmcia pcre pda pdf pdflib perl php plotutils plugin plugins png pnm policykit posix postproc postscript povray ppds pulseaudio pvr python q32 q8 qmail qt qt3support qt4 quicktime radio rar rdesktop readline real realmedia reiser4 reiserfs remote rle rtmp rtsp ruby samba sasl scanner sdk sdl sdl-image seamonkey semantic-desktop sensord server session sipim skins smbmount smp smpeg sms snmp sound sounds speex spell sql sse sse2 sse3 ssl startup-notification stream subtitles svg systemd tcl tcltk tcp-zebra tcpd tcpmd5 teletext tga theora threads thunar tidy tiff tk toolbar tracker truetype udev udisks unicode upnp upower usb utils v4l v4l2 vaapi vcd vcdinfo vcdx vdpau vhosts videos vim-pager vim-syntax vim-with-x visualization vnc vorbis webkit wifi win32codecs win64 wmf wxwidgets wxwindows x264 xanim xattr xcb xcomposite xine xinerama xml xml2 xmlreader xmlrpc xmlwriter xmms xmp xosd xpm xprint xrandr xsl xulrunner xv xvid xvmc yv12 zeitgeist zephyr zip zlib zlibi" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport wiki-publisher scripting-javascript scripting-beanshell nlpsolver presenter-console presenter-minimizer" LINGUAS="en en_US en_GB de fi es fr ru it" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia nv sisusb fbdev v4l i810 vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 4 Toralf Förster gentoo-dev 2015-12-29 21:20:21 UTC
happened at the tinderbox image amd64-13.0-unstable_20151227-130400 too
Comment 5 Elfenbein, Karsten 2015-12-31 16:30:13 UTC
VIDEO_CARDS without "dummy" card results in x11-libs/libva-1.3.1 to build without installing /usr/include/va/va_glx.h

I changed my VIDEO_CARDS in /etc/portage/make.conf from
VIDEO_CARDS="nvidia dummy"

emerge -uND --with-bdeps=y --changed-deps=y @world

After that the /usr/include/va/va_glx.h was present and media-libs/xine-lib was installing as expected
Comment 6 Toralf Förster gentoo-dev 2016-06-12 09:10:43 UTC
(In reply to Elfenbein, Karsten from comment #5)
not confirmed here
VIDEO_CARDS="intel i965 dummy" doesn't made it at a hardened Gentoo desktop

and "equery f libva | grep 'va_glx'" is empty gives an empty result set
Comment 7 Matthew Schultz 2016-08-28 05:54:38 UTC
va_glx.h was also not installed with libva-1.6.2 on my mythfrontend box which is required by mythtv as well.  I first tried with the dummy option and that installed it but it may have just been a coincidence because when I unmerged libva and then installed it again without the dummy option, it installed va_glx.h.
Comment 8 Petric Frank 2017-01-13 23:44:20 UTC
Had the same problem.

After some digging it seems i got the reason.

Seems the opengl use flag triggers the installation of va_glx.h

Tested with libva-1.6.2 and libva-1.7.3