Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67027

Summary: Errors building kmplayer xine-ui oxine and gxine caused by unknown xine functions
Product: Gentoo Linux Reporter: Axelay <Axelay>
Component: New packagesAssignee: media-video herd <media-video>
Status: VERIFIED NEEDINFO    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Axelay 2004-10-10 17:03:17 UTC
I have installed xine-lib and attempted to install oxine, gxine, kmplayer and xine-ui.  None of these ebuilds will work, they all fail with similar problems that all seem related to xine functions.

Reproducible: Always
Steps to Reproduce:
1. emerge xine-ui
2.
3.

Actual Results:  
+ echo '!!! ERROR: media-video/kmplayer-0.8.2 failed.'
!!! ERROR: media-video/kmplayer-0.8.2 failed.
+ echo '!!! Function kde_src_compile, Line 142, Exitcode 2'
!!! Function kde_src_compile, Line 142, Exitcode 2
+ echo '!!! died running emake, kde_src_compile:make'
!!! died running emake, kde_src_compile:make
+ echo


Expected Results:  
The software should have compiled successfully.

emerge info:

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.6)
=================================================================
System uname: 2.6.6 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2
/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /
usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/s
hare/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/t
ex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org 
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.samerica.gentoo.org/gentoo-portage"
USE="2 3dnow X aalib alsa avi berkdb bitmap-fonts canna cdr cjk crypt dbd 
directfb divx4linux dja doc dvd dvdread encode esd evo fbdev flash flib 
foomaticdb freewnn gd gdbm ggi ggz gif gnome gphoto2 gpm gtk gtk2 gtkhtml imap 
imlib innodv ipv6 java jpeg kde ldap leim libdvdread libg++ libwww live mad 
maildir mbox mmx motif mozilla mpeg mysql nas ncurses network odbc oggvorbis 
opengl oss pd pdflib perl pic png python qt qtmt quicktime readline rtc sdl 
slang snmp spell sse ssl svga tcltk tcpd tiff truetype wmf x86 xface xine xml 
xml2 xmms xprint xv zeo zlib"





xine-ui compile errors:

if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../readline -
I../../readline -I../../src -I../../src -I../../src/common -I../../src/common -
I../../src/xitk/xine-toolkit -I../../src/xitk/xine-toolkit -I/usr/include    -
I/usr/X11R6/include  -I/usr/include   -I../../src/xitk/xine-toolkit -DNDEBUG -
Wall -D_FILE_OFFSET_BITS=64 -march=athlon-xp -O3 -pipe   -MT config_wrapper.o -
MD -MP -MF ".deps/config_wrapper.Tpo" \
  -c -o config_wrapper.o `test -f 'config_wrapper.c' || 
echo './'`config_wrapper.c; \
then mv -f ".deps/config_wrapper.Tpo" ".deps/config_wrapper.Po"; \
else rm -f ".deps/config_wrapper.Tpo"; exit 1; \
fi
actions.c: In function `gui_xine_open_and_play':
actions.c:483: warning: implicit declaration of function 
`xine_stream_master_slave'
actions.c:484: error: `XINE_MASTER_SLAVE_PLAY' undeclared (first use in this 
function)
actions.c:484: error: (Each undeclared identifier is reported only once
actions.c:484: error: for each function it appears in.)
actions.c:484: error: `XINE_MASTER_SLAVE_STOP' undeclared (first use in this 
function)
actions.c:490: error: `XINE_PARAM_SPU_OFFSET' undeclared (first use in this 
function)
actions.c: In function `gui_exit':
actions.c:522: warning: implicit declaration of function `xine_get_audio_source'
actions.c:522: warning: assignment makes pointer from integer without a cast
actions.c:523: warning: implicit declaration of function 
`xine_post_wire_audio_port'
actions.c: In function `gui_set_current_position_thread':
actions.c:1035: error: `XINE_MASTER_SLAVE_PLAY' undeclared (first use in this 
function)
actions.c:1035: error: `XINE_MASTER_SLAVE_STOP' undeclared (first use in this 
function)
actions.c: In function `subselector_callback':
actions.c:1917: error: `XINE_MASTER_SLAVE_PLAY' undeclared (first use in this 
function)
actions.c:1917: error: `XINE_MASTER_SLAVE_STOP' undeclared (first use in this 
function)
make[4]: *** [actions.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/xine-ui-0.9.23-r2/work/xine-ui-
0.9.23/src/xitk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-ui-0.9.23-r2/work/xine-ui-
0.9.23/src/xitk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-ui-0.9.23-r2/work/xine-ui-
0.9.23/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-ui-0.9.23-r2/work/xine-ui-
0.9.23'
make: *** [all] Error 2

!!! ERROR: media-video/xine-ui-0.9.23-r2 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! (no error message)





kmplayer compile errors:

  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-
strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -
Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O3 -pipe -Wformat-
security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-
common  -c -o xineplayer.o `test -f 'xineplayer.cpp' || echo './'`xineplayer.cpp
xineplayer.cpp: In function `void xine_config_cb(void*, xine_cfg_entry_t*)':
xineplayer.cpp:158: error: `xine_get_audio_source' undeclared (first use this
   function)
xineplayer.cpp:158: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
xineplayer.cpp:158: error: `xine_post_wire_audio_port' undeclared (first use
   this function)
xineplayer.cpp: In function `void event_listener(void*, const xine_event_t*)':
xineplayer.cpp:180: error: `XINE_EVENT_MRL_REFERENCE' undeclared (first use
   this function)
xineplayer.cpp:182: error: `xine_mrl_reference_data_t' undeclared (first use
   this function)
xineplayer.cpp:182: error: parse error before `)' token
xineplayer.cpp:183: error: parse error before `)' token
xineplayer.cpp: In member function `void KXinePlayer::init()':
xineplayer.cpp:400: error: `XINE_POST_TYPE_AUDIO_VISUALIZATION' undeclared
   (first use this function)
xineplayer.cpp:400: error: `xine_list_post_plugins_typed' undeclared (first use
   this function)
xineplayer.cpp: In member function `void KXinePlayer::play()':
xineplayer.cpp:512: error: `XINE_MASTER_SLAVE_PLAY' undeclared (first use this
   function)
xineplayer.cpp:512: error: `XINE_MASTER_SLAVE_STOP' undeclared (first use this
   function)
xineplayer.cpp:512: error: `xine_stream_master_slave' undeclared (first use
   this function)
xineplayer.cpp: In function `int main(int, char**)':
xineplayer.cpp:947: error: `XINE_ENGINE_PARAM_VERBOSITY' undeclared (first use
   this function)
xineplayer.cpp:947: error: `XINE_VERBOSITY_LOG' undeclared (first use this
   function)
xineplayer.cpp:947: error: `xine_engine_set_param' undeclared (first use this
   function)
make[2]: *** [xineplayer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/kmplayer-0.8.2/work/kmplayer/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kmplayer-0.8.2/work/kmplayer'
make: *** [all] Error 2

!!! ERROR: media-video/kmplayer-0.8.2 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile:make





oxine compile errors:

if gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/include -Wall -march=athlon-xp -
O3 -pipe -MT fb.o -MD -MP -MF ".deps/fb.Tpo" \
  -c -o fb.o `test -f 'fb.c' || echo './'`fb.c; \
then mv ".deps/fb.Tpo" ".deps/fb.Po"; \
else rm -f ".deps/fb.Tpo"; exit 1; \
fi
fb.c:48: error: syntax error before "fb_visual_t"
fb.c:48: warning: no semicolon at end of struct or union
fb.c:50: warning: type defaults to `int' in declaration of `fb_window_t'
fb.c:50: warning: data definition has no type or storage class
fb.c: In function `frame_output_cb':
fb.c:60: error: `this' undeclared (first use in this function)
fb.c:60: error: (Each undeclared identifier is reported only once
fb.c:60: error: for each function it appears in.)
fb.c:60: error: syntax error before ')' token
fb.c: In function `displace':
fb.c:119: error: `win' undeclared (first use in this function)
fb.c:119: error: syntax error before ')' token
fb.c: In function `stop_event_loop':
fb.c:126: error: `win' undeclared (first use in this function)
fb.c:126: error: syntax error before ')' token
fb.c: In function `dispose':
fb.c:135: error: `win' undeclared (first use in this function)
fb.c:135: error: syntax error before ')' token
fb.c: In function `event_loop':
fb.c:152: error: `win' undeclared (first use in this function)
fb.c:152: error: syntax error before ')' token
fb.c: In function `set_event_handler':
fb.c:162: error: `win' undeclared (first use in this function)
fb.c:162: error: syntax error before ')' token
fb.c: In function `fb_construct':
fb.c:171: error: `win' undeclared (first use in this function)
make[2]: *** [fb.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/oxine-0.2/work/oxine-0.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/oxine-0.2/work/oxine-0.2/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/oxine-0.2 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)





gxine compile errors:

`test -f 'log_window.c' || echo './'`log_window.c
gtkxine.c: In function `gtk_xine_instance_init':
gtkxine.c:142: error: `XINE_ENGINE_PARAM_VERBOSITY' undeclared (first use in 
this function)
gtkxine.c:142: error: (Each undeclared identifier is reported only once
gtkxine.c:142: error: for each function it appears in.)
gtkxine.c: In function `xine_thread':
gtkxine.c:556: warning: assignment makes pointer from integer without a cast
gtkxine.c: In function `gtk_xine_play':
gtkxine.c:904: warning: assignment makes pointer from integer without a cast
gtkxine.c:905: warning: assignment discards qualifiers from pointer target type
gtkxine.c:914: warning: assignment makes pointer from integer without a cast
gtkxine.c: In function `gtk_xine_set_vis':
gtkxine.c:1498: warning: assignment makes pointer from integer without a cast
gtkxine.c:1522: warning: assignment makes pointer from integer without a cast
gtkxine.c:1523: warning: assignment discards qualifiers from pointer target type
gtkxine.c: In function `gtk_xine_list_post_plugins_typed':
gtkxine.c:1536: warning: return makes pointer from integer without a cast
make[2]: *** [gtkxine.o] Error 1
make[2]: *** Waiting for unfinished jobs....
log_window.c: In function `log_window_init':
log_window.c:116: warning: assignment makes pointer from integer without a cast
make[2]: Leaving directory `/var/tmp/portage/gxine-0.3.3/work/gxine-0.3.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gxine-0.3.3/work/gxine-0.3.3/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/gxine-0.3.3 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)
Comment 1 Chris White (RETIRED) gentoo-dev 2004-11-08 21:41:09 UTC
Need more information as to what version of xine-lib you're running.  Please
also verify this with the latest 1_rc7.
Comment 2 Axelay 2004-11-19 02:41:28 UTC
I went to sourceforge and downloaded the sources from there.

EVERYTHING INSTALLED PERFECTLY


So whatever this problem is, it's not Xine's fault.

I received an email requesting the info about what versions I am using.  I'm using the manual build currently, but here is what portage thinks I have.

*  media-libs/xine-lib
      Latest version available: 1_rc6
      Latest version installed: 1_rc5-r3
      Size of downloaded files: 6,838 kB
      Homepage:    http://xine.sourceforge.net/
      Description: Core libraries for Xine movie player
      License:     GPL-2
Comment 3 Axelay 2004-11-19 03:30:58 UTC
Ok, I tried the latest build and everything is working fine now.

Both Xine-UI and kmplayer compiled flawlessly


Whatever the bug was, it is fixed in this latest release:

*  media-libs/xine-lib
      Latest version available: 1_rc6
      Latest version installed: 1_rc6
      Size of downloaded files: 6,838 kB
      Homepage:    http://xine.sourceforge.net/
      Description: Core libraries for Xine movie player
      License:     GPL-2