Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37106 - unable to compile xine-ui 0.9.23 (it fails on main.c)
Summary: unable to compile xine-ui 0.9.23 (it fails on main.c)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-03 07:37 UTC by Matteo Settenvini
Modified: 2004-02-18 01:00 UTC (History)
1 user (show)

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


Attachments
xine-ui-0.9.23 portage log (1832-xine-ui-0.9.23.log,120.68 KB, text/plain)
2004-01-03 07:53 UTC, FieldySnuts
Details
xine-ui-0.9.23 portage log with CFLAGS="-mcpu=i686 -O2" (1859-xine-ui-0.9.23.log,103.39 KB, text/plain)
2004-01-07 17:39 UTC, FieldySnuts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Settenvini 2004-01-03 07:37:41 UTC
Trying to do an emerge xine-ui fails when trying to compile main.c.

Here are the last lines of output : 

----------------
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 -O3 -mcpu=pentium4 -funroll-loops -pipe   -MT mediamark.o -MD -MP -MF ".deps/mediamark.Tpo" \
  -c -o mediamark.o `test -f 'mediamark.c' || echo './'`mediamark.c; \
then mv -f ".deps/mediamark.Tpo" ".deps/mediamark.Po"; \
else rm -f ".deps/mediamark.Tpo"; exit 1; \
fi
main.c: In function `list_plugins':
main.c:484: `xine_list_demuxer_plugins' undeclared (first use in this function)
main.c:484: (Each undeclared identifier is reported only once
main.c:484: for each function it appears in.)
main.c:485: `xine_list_input_plugins' undeclared (first use in this function)
main.c:486: `xine_list_spu_plugins' undeclared (first use in this function)
main.c:488: `xine_list_audio_decoder_plugins' undeclared (first use in this function)
main.c:489: `xine_list_video_decoder_plugins' undeclared (first use in this function)
make[4]: *** [main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/xine-ui-0.9.23/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/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/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/work/xine-ui-0.9.23'
make: *** [all] Error 2

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

Reproducible: Always
Steps to Reproduce:



Expected Results:  
Xine UI should compile flawless... 

Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 
2.4.23_pre8-gss) 
================================================================= 
System uname: 2.4.23_pre8-gss i686 Intel(R) Pentium(R) 4 CPU 2.40GHz 
Gentoo Base System version 1.4.3.12 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/
kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/
texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/
control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://
linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://
ftp.gentoo.skynet.be/pub/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups doc dvd encode esd 
foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imap imlib java jpeg kde 
libg++ libwww mad maildir mikmod motif mozilla mpeg mysql ncurses nls 
oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline 
sasl sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib 
video_cards_i810 video_cards_i830"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-01-03 07:50:35 UTC
which version of xine-lib is installed ?
Comment 2 FieldySnuts 2004-01-03 07:52:46 UTC
I also received this error. I am attaching my portage log. I have xine-lib 1_rc2 installed.

Portage 2.0.49-r18 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0)
=================================================================
System uname: 2.6.0 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.4.3.10p1
distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache notitles sandbox"
GENTOO_MIRRORS="http://gentoo.noved.org/ http://mirrors.tds.net/gentoo http://cudlug.cudenver.edu/gentoo/ http://mirror.tucdemonic.org/gentoo/ http://www.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm avi berkdb cdr crypt cups dv encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xv zlib"
Comment 3 FieldySnuts 2004-01-03 07:53:24 UTC
Created attachment 23065 [details]
xine-ui-0.9.23 portage log
Comment 4 Matteo Settenvini 2004-01-03 07:58:26 UTC
idem for me: it's xine-lib 1_rc2
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2004-01-07 13:05:34 UTC
try
CFLAGS="-mcpu=i686 -O2"
Comment 6 Matteo Settenvini 2004-01-07 13:13:16 UTC
Doesn't work. Still halt on the same point.
Comment 7 FieldySnuts 2004-01-07 17:38:05 UTC
Failed again for me, too. Attaching portage log.
Comment 8 FieldySnuts 2004-01-07 17:39:12 UTC
Created attachment 23358 [details]
xine-ui-0.9.23 portage log with CFLAGS="-mcpu=i686 -O2"
Comment 9 Matteo Settenvini 2004-01-09 14:57:30 UTC
Manually emerging xine-lib-1_rc3-r1 should fix this bug. Please test, and if it's correct, please update the xine-ui ebuild dependencies to include the new version of xine-lib as a requirement.
Comment 10 Martin Holzer (RETIRED) gentoo-dev 2004-02-18 01:00:23 UTC
ok
xine-lib-1_rc3 is now as depend