Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357937 - =x11-libs/libva-1.0.10 - i965_drv_video.c:1855:16: error: request for member ‘vaTerminate’ in something not a structure or union
Summary: =x11-libs/libva-1.0.10 - i965_drv_video.c:1855:16: error: request for member ...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 358067 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-08 15:26 UTC by Olivier Huber
Modified: 2011-03-09 16:01 UTC (History)
10 users (show)

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


Attachments
build.log (x11-libs:libva-1.0.10:20110308-142009.log,31.95 KB, text/plain)
2011-03-08 17:20 UTC, Olivier Huber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Huber 2011-03-08 15:26:33 UTC
from build.log :

/bin/sh ../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -I../va -I../va/x11 -I/usr/include/libdrm   -march=core2 -O2 -pipe -g -mssse3 -msse4.1 -c -o i965_avc_hw_scoreboard.lo i965_avc_hw_scoreboard.c
i965_drv_video.c: In function ‘i965_DestroyConfig’:
i965_drv_video.c:344:38: attention : unused variable ‘intel’
i965_drv_video.c: In function ‘i965_BeginPicture’:
i965_drv_video.c:1004:38: attention : unused variable ‘intel’
i965_drv_video.c: In function ‘__vaDriverInit_0_32’:
i965_drv_video.c:1855:16: erreur: request for member ‘vaTerminate’ in something not a structure or union
i965_drv_video.c:1856:16: erreur: request for member ‘vaQueryConfigEntrypoints’ in something not a structure or union
i965_drv_video.c:1857:16: erreur: request for member ‘vaQueryConfigProfiles’ in something not a structure or union
i965_drv_video.c:1858:16: erreur: request for member ‘vaQueryConfigEntrypoints’ in something not a structure or union
i965_drv_video.c:1859:16: erreur: request for member ‘vaQueryConfigAttributes’ in something not a structure or union
i965_drv_video.c:1860:16: erreur: request for member ‘vaCreateConfig’ in something not a structure or union
i965_drv_video.c:1861:16: erreur: request for member ‘vaDestroyConfig’ in something not a structure or union
i965_drv_video.c:1862:16: erreur: request for member ‘vaGetConfigAttributes’ in something not a structure or union
i965_drv_video.c:1863:16: erreur: request for member ‘vaCreateSurfaces’ in something not a structure or union
i965_drv_video.c:1864:16: erreur: request for member ‘vaDestroySurfaces’ in something not a structure or union
i965_drv_video.c:1865:16: erreur: request for member ‘vaCreateContext’ in something not a structure or union
i965_drv_video.c:1866:16: erreur: request for member ‘vaDestroyContext’ in something not a structure or union
i965_drv_video.c:1867:16: erreur: request for member ‘vaCreateBuffer’ in something not a structure or union
i965_drv_video.c:1868:16: erreur: request for member ‘vaBufferSetNumElements’ in something not a structure or union
i965_drv_video.c:1869:16: erreur: request for member ‘vaMapBuffer’ in something not a structure or union
i965_drv_video.c:1870:16: erreur: request for member ‘vaUnmapBuffer’ in something not a structure or union
i965_drv_video.c:1871:16: erreur: request for member ‘vaDestroyBuffer’ in something not a structure or union
i965_drv_video.c:1872:16: erreur: request for member ‘vaBeginPicture’ in something not a structure or union
i965_drv_video.c:1873:16: erreur: request for member ‘vaRenderPicture’ in something not a structure or union
i965_drv_video.c:1874:16: erreur: request for member ‘vaEndPicture’ in something not a structure or union
i965_drv_video.c:1875:16: erreur: request for member ‘vaSyncSurface’ in something not a structure or union
i965_drv_video.c:1876:16: erreur: request for member ‘vaQuerySurfaceStatus’ in something not a structure or union
i965_drv_video.c:1877:16: erreur: request for member ‘vaPutSurface’ in something not a structure or union
i965_drv_video.c:1878:16: erreur: request for member ‘vaQueryImageFormats’ in something not a structure or union
i965_drv_video.c:1879:16: erreur: request for member ‘vaCreateImage’ in something not a structure or union
i965_drv_video.c:1880:16: erreur: request for member ‘vaDeriveImage’ in something not a structure or union
i965_drv_video.c:1881:16: erreur: request for member ‘vaDestroyImage’ in something not a structure or union
i965_drv_video.c:1882:16: erreur: request for member ‘vaSetImagePalette’ in something not a structure or union
i965_drv_video.c:1883:16: erreur: request for member ‘vaGetImage’ in something not a structure or union
i965_drv_video.c:1884:16: erreur: request for member ‘vaPutImage’ in something not a structure or union
i965_drv_video.c:1885:16: erreur: request for member ‘vaQuerySubpictureFormats’ in something not a structure or union
i965_drv_video.c:1886:16: erreur: request for member ‘vaCreateSubpicture’ in something not a structure or union
i965_drv_video.c:1887:16: erreur: request for member ‘vaDestroySubpicture’ in something not a structure or union
i965_drv_video.c:1888:16: erreur: request for member ‘vaSetSubpictureImage’ in something not a structure or union
i965_drv_video.c:1889:16: erreur: request for member ‘vaSetSubpictureChromakey’ in something not a structure or union
i965_drv_video.c:1890:16: erreur: request for member ‘vaSetSubpictureGlobalAlpha’ in something not a structure or union
i965_drv_video.c:1891:16: erreur: request for member ‘vaAssociateSubpicture’ in something not a structure or union
i965_drv_video.c:1892:16: erreur: request for member ‘vaDeassociateSubpicture’ in something not a structure or union
i965_drv_video.c:1893:16: erreur: request for member ‘vaQueryDisplayAttributes’ in something not a structure or union
i965_drv_video.c:1894:16: erreur: request for member ‘vaGetDisplayAttributes’ in something not a structure or union
i965_drv_video.c:1895:16: erreur: request for member ‘vaSetDisplayAttributes’ in something not a structure or union
make[3]: *** [i965_drv_video.lo] Erreur 1
make[3]: *** Attente des tâches non terminées....
make[3] : on quitte le répertoire « /var/tmp/portage/x11-libs/libva-1.0.10/work/libva-1.0.10/i965_drv_video »
make[2]: *** [all-recursive] Erreur 1
make[2] : on quitte le répertoire « /var/tmp/portage/x11-libs/libva-1.0.10/work/libva-1.0.10/i965_drv_video »
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /var/tmp/portage/x11-libs/libva-1.0.10/work/libva-1.0.10 »
make: *** [all] Erreur 2
 * ERROR: x11-libs/libva-1.0.10 failed (compile phase):
 *   emake failed


This has been fixed upstream :
http://cgit.freedesktop.org/libva/commit/?id=2b7850b35a51c59a6692781d5e40e4bb608b6344

On a side note, now there's two "version" of libva in the tree :
<libva-1.0.0 is maintained by splitted-desktop and there's a bunch
of patches (see http://www.splitted-desktop.com/~gbeauchesne/libva/patches/)
on top on the version maintained by the intel guys and hosted at
freedesktop (>=libva-1.0.0).
Hopefully the two versions are going to converge, but right now,
libva from splitted-desktop has more features and iirc some are
needed in order to make mplayer work w/ vaapi (I try to maintained
an ebuild in my overlay).
I just checked the version given in configure.ac for libva-0.32.0_p2
and it's also 1.0.10. Then it seems reasonnable to think that the libva
shipped by splitted-desktop is fairly up to date wrt the version shipped
by intel. Unless the former suffers some regressions, I don't see the point in having the stock version in the tree.
Imho, it can only confuse users.

emerge --info libva:
Portage 2.2.0_alpha26 (default/linux/amd64/10.0/developer, gcc-4.5.2, glibc-2.13-r1, 2.6.37-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 08 Mar 2011 12:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.4 [enabled]
app-shells/bash:     4.2_p7
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2::sage-on-gentoo, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.4_p6-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo CRAN sage-on-gentoo kde science x11 embedded-cross bibletime xhub
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -g -mssse3 -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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="-march=core2 -O2 -pipe -g -mssse3 -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.utf-8"
LC_ALL="fr_FR.utf-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/CRAN /usr/local/overlays/sage-on-gentoo /usr/local/overlays/kde /usr/local/overlays/sci /usr/local/overlays/x11 /usr/local/overlays/embedded-cross /usr/local/overlays/bibletime /usr/local/overlays/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac abook acl acpi adns alsa amd64 amr amrnb amrwb ares aspell ass bash-completion berkdb bluetooth boehm-gc boost bzip2 cairo caps cblas cdaudio cdda cddb cdio cdparanoia cdr cgroup cli consolekit cracklib crypt ctypes-python cups curl custom-cxxflags custom-optimization cvs cxx daap dbus declarative detex device-mapper dia dirac djvu dns dri dts dv dvb dvd dvdnav dvdr dvipdfm emboss enca encode exif expat extensions extra faac faad fam fbcondecor ffmpeg fftw firefox flac fontconfig fontforge fortran frei0r ft2232 ftd2xx ftdi ftp fts3 fuse gallium gcrypt gd gdbm gdu geoip gif gimp git gles glitz gmp gnutls gpg gpgme gpm graphics graphite graphviz gs gsm gstreamer gtk hdri humanities iconv icu id3tag idn imagemagick imap iproute2 ipv6 jack jadetex jingle jpeg jpeg2k kde kpathsea kqemu kvm lame lapack laptop lash latex latex3 lcms ldap libass libftdi libgcrypt libnotify libproxy libsamplerate libusb-0 libv4l libv4l2 live llvm llvm-gcc lto lua lvm lzma lzo mad matroska mbox melt messenger mikmod mjpeg mktemp mmx mng modplug modules mp3 mp4 mpc mpeg mplayer msn mtp mudflap multilib musepack music ncurses nemesi netlink nls nptl nptlonly nsplugin nspluginwrapper nss ntl ntp ocaml ocamlopt octave ogg omega openexr opengl openmp openntpd openssl otr pam pango pari24 parport parport-giveio passwdqc pch pcre pda pdf perl phonon pipechan pkcs11 plotutils png policykit pop postgres postproc postscript ppds pppd presto projectm pstricks publishers pulseaudio python qalculate qemu qt3support qt4 quicktime qwt rar readline rnca rss rtmp rtsp ruby sage sasl schroedinger science sdl sdl-image secure-delete semantic-desktop sensord session shout sidebar sip smi smime smp sms smtp sndfile snmp speex spell sqlite sqlite3 sse sse2 sse3 ssh ssl ssse3 startup-notification stream strong-optimization subversion svg sysfs syslog system-sqlite t1lib taglib tcpd teletext text tga theora threads thumbnail tiff tokyocabinet tools toplevel tordns truetype udev udev-acl unicode upnp usb utils v4l v4l2 vaapi vcd vcdinfo vcdx vim vim-syntax virtualbox vorbis vpx wav wavpack webdav webkit wifi winpopup wmf x264 xattr xcb xcomposite xetex xine xml xorg xosd xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa intel v4l fbdev" 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" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

x11-libs/libva-1.0.10 was built with the following:
USE="(multilib) opengl test" VIDEO_CARDS="intel -dummy -nvidia"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-08 17:13:10 UTC
Please attach the entire build log to this bug report.
Comment 2 Olivier Huber 2011-03-08 17:20:29 UTC
Created attachment 265179 [details]
build.log
Comment 4 Alec Meyers 2011-03-09 04:44:24 UTC
(In reply to comment #0)
> On a side note, now there's two "version" of libva in the tree :
> <libva-1.0.0 is maintained by splitted-desktop and there's a bunch
> of patches (see http://www.splitted-desktop.com/~gbeauchesne/libva/patches/)
> on top on the version maintained by the intel guys and hosted at
> freedesktop (>=libva-1.0.0).
> Hopefully the two versions are going to converge, but right now,
> libva from splitted-desktop has more features and iirc some are
> needed in order to make mplayer work w/ vaapi (I try to maintained
> an ebuild in my overlay).
> I just checked the version given in configure.ac for libva-0.32.0_p2
> and it's also 1.0.10. Then it seems reasonnable to think that the libva
> shipped by splitted-desktop is fairly up to date wrt the version shipped
> by intel. Unless the former suffers some regressions, I don't see the point in
> having the stock version in the tree.
> Imho, it can only confuse users.

I think that should be a separate bug report.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2011-03-09 13:20:44 UTC
As maintainer explained the version of 0.32 contain some extra patches over 1.0.10 release so release was dropped from main tree.

Please downgrade to 0.32.0p2 and report new bug if issue still occurs.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-09 16:01:36 UTC
*** Bug 358067 has been marked as a duplicate of this bug. ***