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

Bug 55645

Summary: media-libs/xine-lib-1_rc5-r2 compilation fails
Product: Gentoo Linux Reporter: Andreas Simon <andreas.w.simon>
Component: [OLD] LibraryAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alpeterson
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Simon 2004-06-30 02:10:19 UTC
xine-lib-1_rc5-r2 fails to compile.
r1 compiles fine.

...
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5/src/video_out'
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5/src/video_out'
Making all in dxr3
make[3]: Entering directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5/src/dxr3'
if /bin/sh ../../libtool-nofpic --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils  -I../../src/input -I../../src/input -I../../src/input/libdvdnav  -I/usr/X11R6/include  -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4  -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DENABLE_IPV6 -march=athlon-xp -O2 -ftracer -pipe -fno-stack-protector -fno-web -O1 -mno-sse2 -mno-sse3 -ffunction-sections -MT dxr3_decode_video.lo -MD -MP -MF ".deps/dxr3_decode_video.Tpo" \
  -c -o dxr3_decode_video.lo `test -f 'dxr3_decode_video.c' || echo './'`dxr3_decode_video.c; \
then mv -f ".deps/dxr3_decode_video.Tpo" ".deps/dxr3_decode_video.Plo"; \
else rm -f ".deps/dxr3_decode_video.Tpo"; exit 1; \
fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../src/input/libdvdnav -I/usr/X11R6/include -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DENABLE_IPV6 -march=athlon-xp -O2 -ftracer -pipe -fno-stack-protector -fno-web -O1 -mno-sse2 -mno-sse3 -ffunction-sections -MT dxr3_decode_video.lo -MD -MP -MF .deps/dxr3_decode_video.Tpo -c dxr3_decode_video.c -o .libs/dxr3_decode_video.o
dxr3_decode_video.c: In function `dxr3_open_plugin':
dxr3_decode_video.c:147: sorry, unimplemented: inlining failed in call to 'dxr3_present': function body not available
dxr3_decode_video.c:189: sorry, unimplemented: called from here
make[3]: *** [dxr3_decode_video.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5/src/dxr3'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1_rc5-r2 failed.
!!! Function src_compile, Line 138, Exitcode 2
!!! Parallel make failed


# emerge --info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r6)
=================================================================
System uname: 2.6.7-gentoo-r6 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage /opt/portage-kde"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl alsa apm arts artswrappersuid avi berkdb cdr crypt cups dga divx4linux dvb dvd encode faad flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ipv6 java jpeg kde lcms ldap libg++ libwww mad maildir mikmod mmx mng motif mozilla mpeg mule ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sasl sdl slang spell sse ssl tcltk tcpd tetex theora threads tiff truetype unicode x86 xml2 xmms xv xvid zlib"
Comment 1 Aaron Peterson 2004-06-30 03:20:29 UTC
same here,

it looks like we need to set -J1 in our make.conf for this as a temporary work arround.
MAKEOPTS="-j1"

I'll report back if it doesn't work..

I'm using gcc 3.4
Comment 2 Aaron Peterson 2004-06-30 03:37:46 UTC
hehe, forgot to add myself to the cc list :(
and, nope!
the makeopts -j1 didn't help anything

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../src/input/libdvdnav -I/usr/X11R6/include -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall -fno-stack-protector -fno-web -O1 -mno-sse2 -mno-sse3 -ffunction-sections -MT dxr3_decode_video.lo -MD -MP -MF .deps/dxr3_decode_video.Tpo -c dxr3_decode_video.c -o .libs/dxr3_decode_video.o
dxr3_decode_video.c: In function `dxr3_open_plugin':
dxr3_decode_video.c:147: sorry, unimplemented: inlining failed in call to 'dxr3_present': function body not available
dxr3_decode_video.c:189: sorry, unimplemented: called from here
make[3]: *** [dxr3_decode_video.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5/src/dxr3'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1_rc5-r2 failed.
!!! Function src_compile, Line 138, Exitcode 2
!!! Parallel make failed

Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-06-30 05:02:52 UTC

*** This bug has been marked as a duplicate of 55630 ***
Comment 4 cerement 2004-06-30 22:56:56 UTC
Well, since its a different set of errors as bug 55630 and the fix for bug 55630 doesn't work for this, was there a reason this was marked as a dupe?

Anyways, the sed changes for bug 55630 don't fix this bug, and editing protect-CFLAGS-* doesn't fix this bug.

----------

dxr3_decode_video.c: In function `dxr3_open_plugin':
dxr3_decode_video.c:147: sorry, unimplemented: inlining failed in call to 'dxr3_present': function body not available
dxr3_decode_video.c:189: sorry, unimplemented: called from here
make[3]: *** [dxr3_decode_video.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5/src/dxr3'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1_rc5-r2 failed.
!!! Function src_compile, Line 138, Exitcode 2
!!! Parallel make failed

----------

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3.20040420-r0, 2.6.7-ck3)
=================================================================
System uname: 2.6.7-ck3 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer -fweb"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.ndlug.nd.edu/pub/gentoo/ rsync://mirrors.tds.net/gentoo http://gentoo.ccccom.com http://gentoo.eliteitminds.com ftp://gentoo.ccccom.com"
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="3dnow X alsa apm avi berkdb cdr cjk crypt cups doc dvd dvdr encode esd flac foomaticdb gdbm gif gimpprint gnome gpm gtk gtk2 gtkhtml guile imlib jpeg libg++ libwww mad mikmod mmx mng motif mozilla moznocompose moznoirc moznomail mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline scanner sdl slang spell sse ssl svga tcpd tiff truetype usb x86 xml2 xmms xv zlib"
Comment 5 cerement 2004-06-30 23:44:03 UTC
this fix works for me, comment 24 on bug 55202

http://bugs.gentoo.org/show_bug.cgi?id=55202#c24
Comment 6 Andreas Simon 2004-07-01 00:47:23 UTC
This bug seems to be a duplicate of 55202 and not 55630.
Anyway, I can confirm that the fix from comment 24 on bug 55202
fixes this issue.