Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39081 - mplayer-1.0_pre3 fails when compiling against libmatroska-0.6.3
Summary: mplayer-1.0_pre3 fails when compiling against libmatroska-0.6.3
Status: RESOLVED DUPLICATE of bug 42820
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brian Harring (RETIRED)
URL:
Whiteboard:
Keywords:
: 39085 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-22 16:30 UTC by Corey Downing
Modified: 2005-07-17 13:06 UTC (History)
4 users (show)

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 Corey Downing 2004-01-22 16:30:10 UTC
When emerging mplayer, I repeatedly get an error when compiling dsputil.c

I've tried USE="-opengl" as I saw it fixed someone elses error, but I still received the same error.

Reproducible: Always
Steps to Reproduce:
1. Log in as root
2. emerge mplayer
Actual Results:  
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[1]: *** [dsputil.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mplayer-0.92/work/MPlayer-0.92/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

!!! ERROR: media-video/mplayer-0.92 failed.
!!! Function src_compile, Line 306, Exitcode 2
!!! Failed to build MPlayer!

Expected Results:  
Compile and install mplayer.

Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.4.3.10
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -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
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox"
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="3dnow X alsa apm arts avi berkdb cdr crypt cups dga dvd encode esd flac
foomaticdb gd gdbm gif gnome gpm gtk gtk2 gtk2imlib imlib java jpeg kde libg++
libwww mad matrox mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss
pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk
tcpd tiff truetype wxwindows x86 xml2 xmms xv zlib"
Comment 1 Corey Downing 2004-01-22 17:54:24 UTC
Now I'm just getting lots of Segmentation Faults in just about everything I try and compile. Switched out the ram for newer and better ram and that didn't do the trick. Going to move my big fan down here and see if its a heat problem or something
Comment 2 SpanKY gentoo-dev 2004-01-22 21:36:54 UTC
*** Bug 39085 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2004-01-22 21:37:22 UTC
could you post a little more of the output please ?

and does it fail everytime at the same file ?
Comment 4 Marc Hildebrand (RETIRED) gentoo-dev 2004-01-22 22:31:59 UTC
Does your system enable sse?
the 2.4.22-gentoo-sources should enable it but you never know.
I had such a problem a few months ago and spend a few days searching just because it did not come to my mind that I simply had binaries compiled to use sse without any sse enabled.
So first step ;) : Take a look at /proc/cpuinfo
Comment 5 Brian Harring (RETIRED) gentoo-dev 2004-02-25 16:30:13 UTC
Status of this?  Is this still an issue?
Comment 6 Tim 2004-03-13 02:23:37 UTC
I'm not sure this is exactly the same issue, but I've been unable to compile mplayer-1.0_pre3-r1 with matroska support. With libebml-0.6.4 and libmatroska-0.6.3 installed, mplayer-1.0_pre3-r1 fails to compile (producing the same output everytime), shown here:

gcc -c -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../loader  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -I/usr/lib/live/liveMedia/include -I/usr/lib/live/UsageEnvironment/include -I/usr/lib/live/BasicUsageEnvironment/include -I/usr/lib/live/groupsock/include -o demux_mkv.o demux_mkv.cpp
demux_mkv.cpp: In function `void parse_cues(mkv_demuxer_t*, long long unsigned
   int)':
demux_mkv.cpp:1229: error: `KaxCueReference' undeclared (first use this
   function)
demux_mkv.cpp:1229: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
demux_mkv.cpp:1229: error: `cref' undeclared (first use this function)
demux_mkv.cpp:1303: error: parse error before `*' token
distcc[20939] ERROR: compile on quantum failed
make[1]: *** [demux_mkv.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre3-r1/work/MPlayer-1.0pre3/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre3-r1 failed.
!!! Function src_compile, Line 307, Exitcode 2
!!! Failed to build MPlayer!

emerge info:

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-rc2-mm1)
=================================================================
System uname: 2.6.4-rc2-mm1 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.4.3.13p1
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -funroll-loops -pipe -fomit-frame-pointer -fexpensive-optimizations -falign-functions=4 -ffast-math -fforce-addr -mfpmath=387,sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs distcc sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
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 acpi aim alsa arts artswrappersuid avi berkdb cdr crypt cups curl dga directfb dv dvd encode faad fbcon flac foomaticdb gdbm gif gstreamer gtk gtk2 icq imagemagick imlib java jikes jpeg kde lcms mad matroska mikmod mmx motif mpeg ncurses oggvorbis opengl oss pam pda pdflib perl png ppds python qt quicktime readline samba sdl slang speex spell sse ssl svga tcpd theora tiff transcode truetype usb x86 xml2 xmms xv xvid zlib"
Comment 7 Ronald Hummelink 2004-03-15 11:13:24 UTC
This version of Mplayer is not compatible with libmatroska 0.6.{2,3}

You can work around the initial problem by issueing:
make all CSS_INC=-DMATROSKA_VERSION=2
but then linking the mplayer binary fails due to an undefined reference which can only be fixed by building libmatroska with features that are under development... This is inapropriate: "Handle MATROSKA_VERSION to enable/disable some future additions" :-)

Mplayer is requiring features of libmatroska not yet ready. Mplayer has fixed it in CVS by bundling a version of libmatroska I believe (woo yes thats truly a proper 'fix' Ahem)

I'm putting a private mask on this version of mplayer ;-)
Comment 8 Joel Martin (RETIRED) gentoo-dev 2004-03-15 13:53:22 UTC
I'm closing this as a dupe of 42820 even though this is the older bug. 
http://bugs.gentoo.org/show_bug.cgi?id=42820 has more info and is more
active, including some work on fixing the matroska problem.

*** This bug has been marked as a duplicate of 42820 ***