Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32162 - xine-dvdnav fails to emerge, missing xine/events.h
Summary: xine-dvdnav fails to emerge, missing xine/events.h
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-27 17:38 UTC by Dan Elder
Modified: 2003-10-29 13:44 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 Dan Elder 2003-10-27 17:38:47 UTC
When I try to emerge media-plugins/xine-dvdnav-0.9.13 with a revdep-rebuild it
fails with the following:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O3 -pipe -fomit-frame-poin
ter -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-bounda
ry=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-mat
h -funroll-loops -finline-functions -mcpu=pentiumpro -Wall -D_FILE_OFFSET_BITS=6
4 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/include -I/usr/include/dvdnav -c i
nput_dvdnav.c  -fPIC -DPIC -o input_dvdnav.lo
input_dvdnav.c:61:25: xine/events.h: No such file or directory
input_dvdnav.c:63:34: xine/spu_decoder_api.h: No such file or directory
input_dvdnav.c:150: error: syntax error before "mrl_t"
input_dvdnav.c:150: warning: no semicolon at end of struct or union
input_dvdnav.c:159: error: syntax error before '}' token
input_dvdnav.c:159: warning: type defaults to `int' in declaration of `dvdnav_in
put_plugin_t'
input_dvdnav.c:159: warning: data definition has no type or storage class
input_dvdnav.c:161: error: syntax error before '*' token
input_dvdnav.c:162: error: syntax error before '*' token
input_dvdnav.c: In function `device_change_cb':
input_dvdnav.c:166: error: `this' undeclared (first use in this function)
input_dvdnav.c:166: error: (Each undeclared identifier is reported only once
input_dvdnav.c:166: error: for each function it appears in.)
input_dvdnav.c:166: error: syntax error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_get_capabilities':
input_dvdnav.c:174: error: `INPUT_CAP_AUTOPLAY' undeclared (first use in this fu
nction)
input_dvdnav.c:174: error: `INPUT_CAP_CLUT' undeclared (first use in this functi on)
input_dvdnav.c:176: error: `INPUT_CAP_VARIABLE_BITRATE' undeclared (first use in
 this function)
input_dvdnav.c:178: error: `INPUT_CAP_GET_DIR' undeclared (first use in this fun
ction)
input_dvdnav.c: In function `read_ahead_cb':
input_dvdnav.c:182: error: `this' undeclared (first use in this function)
input_dvdnav.c:182: error: syntax error before ')' token
input_dvdnav.c: In function `region_changed_cb':
input_dvdnav.c:194: error: `this' undeclared (first use in this function)
input_dvdnav.c:194: error: syntax error before ')' token
input_dvdnav.c: In function `language_changed_cb':
input_dvdnav.c:211: error: `this' undeclared (first use in this function)
input_dvdnav.c:211: error: syntax error before ')' token
input_dvdnav.c: At top level:
input_dvdnav.c:224: error: syntax error before '*' token
input_dvdnav.c: In function `update_title_display':
input_dvdnav.c:225: error: `xine_ui_event_t' undeclared (first use in this funct
ion)
input_dvdnav.c:225: error: syntax error before "uevent"
input_dvdnav.c:229: error: `this' undeclared (first use in this function)
input_dvdnav.c:233: error: `uevent' undeclared (first use in this function)
input_dvdnav.c:264: warning: implicit declaration of function `xine_send_event'
input_dvdnav.c: In function `dvdnav_plugin_stop':
input_dvdnav.c:268: error: `this' undeclared (first use in this function)
input_dvdnav.c:268: error: syntax error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_close':
input_dvdnav.c:277: error: `this' undeclared (first use in this function)
input_dvdnav.c:277: error: syntax error before ')' token
input_dvdnav.c: At top level:
input_dvdnav.c:289: error: syntax error before '*' token
input_dvdnav.c: In function `dvdnav_build_mrl_list':
input_dvdnav.c:293: error: `this' undeclared (first use in this function)
input_dvdnav.c:311: warning: implicit declaration of function `dvdnav_get_number
_of_programs'
input_dvdnav.c:321: error: `mrl_t' undeclared (first use in this function)
input_dvdnav.c:321: error: syntax error before ')' token
input_dvdnav.c:322: error: syntax error before ')' token
input_dvdnav.c:322: error: syntax error before ')' token
input_dvdnav.c:327: error: `mrl' undeclared (first use in this function)
input_dvdnav.c: At top level:
input_dvdnav.c:354: error: syntax error before '->' token
input_dvdnav.c:354: warning: type defaults to `int' in declaration of `dvdnav_cl
ose'
input_dvdnav.c:354: warning: data definition has no type or storage class
input_dvdnav.c: In function `dvdnav_plugin_open':
input_dvdnav.c:371: error: `this' undeclared (first use in this function)
input_dvdnav.c:371: error: syntax error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_free_buffer':
input_dvdnav.c:568: error: `this' undeclared (first use in this function)
input_dvdnav.c: In function `dvdnav_plugin_read_block':
input_dvdnav.c:584: error: `this' undeclared (first use in this function)
input_dvdnav.c:584: error: syntax error before ')' token
input_dvdnav.c:726: error: `xine_ui_event_t' undeclared (first use in this funct
ion)
input_dvdnav.c:726: error: syntax error before "uevent"
input_dvdnav.c:729: error: `uevent' undeclared (first use in this function)
input_dvdnav.c:736: error: `DVDNAV_SEEK_DONE' undeclared (first use in this func
tion)
input_dvdnav.c:757: error: `BUF_SPU_CLUT' undeclared (first use in this function )
input_dvdnav.c: In function `dvdnav_plugin_seek':
input_dvdnav.c:809: error: `this' undeclared (first use in this function)
input_dvdnav.c:809: error: syntax error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_get_current_pos':
input_dvdnav.c:823: error: `this' undeclared (first use in this function)
input_dvdnav.c:823: error: syntax error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_get_length':
input_dvdnav.c:837: error: `this' undeclared (first use in this function)
input_dvdnav.c:837: error: syntax error before ')' token
input_dvdnav.c: At top level:
input_dvdnav.c:858: error: syntax error before '*' token
input_dvdnav.c:859: warning: return type defaults to `int'
input_dvdnav.c: In function `dvdnav_plugin_get_dir':
input_dvdnav.c:860: error: `this' undeclared (first use in this function)
input_dvdnav.c:860: error: syntax error before ')' token
input_dvdnav.c:865: error: syntax error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_eject_media':
input_dvdnav.c:899: error: `this' undeclared (first use in this function)
input_dvdnav.c:899: error: syntax error before ')' token
input_dvdnav.c: In function `dvdnav_plugin_get_mrl':
input_dvdnav.c:960: error: `this' undeclared (first use in this function)
input_dvdnav.c:960: error: syntax error before ')' token
input_dvdnav.c: At top level:
input_dvdnav.c:979: error: syntax error before '*' token
input_dvdnav.c: In function `flush_buffers':
input_dvdnav.c:985: error: `this' undeclared (first use in this function)
......... etc.....

Normally I would think it's the result of my crazy USE flags (fstack-protecter,
etc..) but in this case the events.h file just isn't there.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test8)
=================================================================
System uname: 2.6.0-test8 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.70GHz
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-fstack-protector -fpic -O3 -mcpu=pentium4 -ffast-math -funroll-loops
-fomit-frame-pointer -fforce-addr -falign-functions=4 -pipe -mmmx -msse -msse2
-mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox prelink ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg mad mpeg ncurses nls
pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm
berkdb slang readline aalib nas bonobo svga tcltk guile mysql postgres X sdl gpm
tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl
mozilla ldap cdr acl acpi acpi4linux apache2 bluetooth curl dga dv dvd ethereal
evms2 evo faad fbcon ffmpeg flac flash freetds gb gd geoip glut gnomedb gphoto2
gps gstreamer gtk2 hbci imagemagick imap innodb ipv6 irda irmc java javascript
lcms libgda maildir mbox mcal md5sum mdb memlimit mmx mozinterfaceinfo mozp3p
mozsvg mozxmlterm music nocd nptl oci8 offensive ofx openal opie pcap pcmcia pda
php pic plotutils pnp ppds prelude S3TC samba sasl scanner skey snmp sqlite sse
tiff transcode transparent-proxy unicode usb videos vim-with-x wmf wxwin
wxwindows X509 xine xinerama xml xosd xvid -kde -libg++ -mikmod -arts -tetex"
Comment 1 Max Kalika (RETIRED) gentoo-dev 2003-10-27 20:07:55 UTC
You're using ~x86, so I assume you have xine-lib-1_rc.  xine-dvdnav works
only with xine-lib-0.9.x.  Besides, you don't need dvdnav with the new xine
-- it comes included.  Jut get xine-ui and you should be all set for watching
dvds.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-10-28 02:57:21 UTC
which xine-lib ?
Comment 3 Dan Elder 2003-10-28 20:45:52 UTC
I'm using xine-lib 1_rc0-r3 .  I didn't realize that it was obsoleted.  I'll
just enmerge it then.  Thank you for the advice.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-10-29 13:44:14 UTC
unmerge to prevent this error