Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104883 - libXvMC depends on libXv
Summary: libXvMC depends on libXv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest critical
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-05 05:22 UTC by Søren Færløv
Modified: 2005-11-20 21:29 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Søren Færløv 2005-09-05 05:22:51 UTC
emerging libXvMC fails due to a missing header file for libXv (libXv.h)

Reproducible: Always
Steps to Reproduce:
0. Unmerge (or don't emerge) libXv
1. Emerge libXvMC
Actual Results:  
Compilation failed with an error about a missing header file (libXv.h)

Expected Results:  
Compiled without problems.

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-DXVMC_CONFIGDIR=XConfigDir -DXVMC_SOVERSION=\"1.0\" -DXV_SOVERSION=\"1.0\" -Os
-march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer -fforce-addr
-ftracer -MT libXvMCW_la-XvMCWrapper.lo -MD -MP -MF
.deps/libXvMCW_la-XvMCWrapper.Tpo -c XvMCWrapper.c  -fPIC -DPIC -o
.libs/libXvMCW_la-XvMCWrapper.o
In file included from /usr/include/X11/extensions/vldXvMC.h:33,
                 from XvMCWrapper.c:48:
../include/X11/extensions/XvMClib.h:8:34: X11/extensions/Xvlib.h: No such file
or directory
In file included from /usr/include/X11/extensions/vldXvMC.h:33,
                 from XvMCWrapper.c:48:
../include/X11/extensions/XvMClib.h:46: error: parse error before '*' token
../include/X11/extensions/XvMClib.h:97: error: parse error before "XvImage"
../include/X11/extensions/XvMClib.h:192: error: parse error before '*' token
...
... Loads of errors
...
XvMCWrapper.c: In function `XvMCPutSlice2':
XvMCWrapper.c:777: error: request for member `vldextension' in something not a
structure or union
XvMCWrapper.c:778: error: request for member `XvMCPutSlice2' in something not a
structure or union
make[2]: *** [libXvMCW_la-XvMCWrapper.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os
-march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer -fforce-addr
-ftracer -MT libXvMC_la-XvMC.lo -MD -MP -MF .deps/libXvMC_la-XvMC.Tpo -c XvMC.c
 -fPIC -DPIC -o .libs/libXvMC_la-XvMC.o
In file included from XvMClibint.h:10,
                 from XvMC.c:6:
../include/X11/extensions/XvMClib.h:8:34: X11/extensions/Xvlib.h: No such file
or directory
In file included from XvMClibint.h:10,
                 from XvMC.c:6:
../include/X11/extensions/XvMClib.h:46: error: parse error before '*' token
../include/X11/extensions/XvMClib.h:51: warning: data definition has no type or
storage class
../include/X11/extensions/XvMClib.h:97: error: parse error before "XvImage"
../include/X11/extensions/XvMClib.h:192: error: parse error before '*' token
../include/X11/extensions/XvMClib.h:197: warning: data definition has no type or
storage class
XvMC.c:147: error: parse error before '*' token
XvMC.c: In function `XvMCListSubpictureTypes':
XvMC.c:157: error: `XvImageFormatValues' undeclared (first use in this function)
XvMC.c:157: error: (Each undeclared identifier is reported only once
XvMC.c:157: error: for each function it appears in.)
XvMC.c:157: error: `ret' undeclared (first use in this function)
XvMC.c:177: error: parse error before ')' token
make[2]: *** [libXvMC_la-XvMC.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libXvMC-0.99.0/work/libXvMC-0.99.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libXvMC-0.99.0/work/libXvMC-0.99.0'
make: *** [all] Error 2
Comment 1 Søren Færløv 2005-09-05 05:30:20 UTC
This is my first ever Gentoo bug report, so please bear with me ;-)

Forgot to include emerge info:
 # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo i686)
=================================================================
System uname: 2.6.13-gentoo i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer
-fforce-addr -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer
-fforce-addr -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.uni-c.dk/gentoo/ http://ftp.du.se/pub/os/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirror.pudas.net/gentoo/ http://ds.thn.htu.se/linux/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.mirror.solnet.ch/
http://gentoo.mirror.icd.hu/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/
http://gentoo.binarycompass.org/ http://gentoo.ccccom.com/
http://mirror.datapipe.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 # 16bit 7.0 For X Xorg a52 aac acl acpi acpi4linux alsa apm avi
bash-completion berkdb bitmap-fonts bluetooth cdr chroot codecs crypt cups curl
directfb divx4linux dri dv dvd dvdread eds emacs emboss encode esd evo fam fbcon
fbdev flac foomaticdb freetype gb gd gdbm gif gimpprint glitz glut glx gnome
gphoto2 gpm gstreamer gtk gtk2 hal i8x0 imagemagick imlib ipv6 irda irmc jabber
java javascript jp2 jpeg kde ladcca libg++ libwww ltsp mad mailbox maildir mbox
mikmod mime mmx motif mozcalendar mozctl mozilla mozsvg mp3 mpeg mpi mppe-mppc
mysql mysqli ncurses nls no-old-linux nocd nptl oav ogg oggvorbis openal opengl
oss pam pcmcia pda pdflib perl png pnp ppds pthreads python qt quicktime
readline real rtc samba sdk sdl slang sms snmp speedo spell sse sse2 ssl svg
svga sysvipc tcltk tcpd tiff truetype truetype-fonts trusted type1 type1-fonts
udev unicode usb v4l2 videos vorbis wifi xanim xine xinerama xml xml2 xmms xosd
xpm xv xvid xvmc yv12 zlib video_cards_i810 input_devices_keyboard
input_devices_mouse userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Joshua Baergen (RETIRED) gentoo-dev 2005-09-05 18:52:45 UTC
Fixed in CVS.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-09-05 21:55:35 UTC
This needs to get upstreamed as well.
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2005-09-06 07:58:26 UTC
Done.
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2005-09-06 09:57:43 UTC
Oops, wrong URL.
Comment 6 Joshua Baergen (RETIRED) gentoo-dev 2005-11-20 21:29:13 UTC
This is fixed upstream now as well.
Comment 7 Joshua Baergen (RETIRED) gentoo-dev 2005-11-20 21:29:25 UTC
Marking fixed.