Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57753 - mplayer-1.0_pre5 build failed: error with libmatroska
Summary: mplayer-1.0_pre5 build failed: error with libmatroska
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 10:30 UTC by alex f
Modified: 2004-08-17 23:27 UTC (History)
0 users

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


Attachments
mplayer-1.0_pre5-r2_libmatroska-0.7_depend.patch (patch,442 bytes, text/plain)
2004-08-17 16:51 UTC, alex f
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alex f 2004-07-20 10:30:49 UTC
mplayer-1.0_pre5 fails to build if libmatroska-0.7.0 isn't installed. so it needs to check for that.
Comment 1 Chris White (RETIRED) gentoo-dev 2004-07-20 11:59:42 UTC
I'm cleaning up the ebuild right now so I'm going to have to check that out.  Thanks for reporting!
Comment 2 Chris White (RETIRED) gentoo-dev 2004-08-10 12:17:00 UTC
Can you please confirm the issue still exists?
Comment 3 alex f 2004-08-10 15:32:56 UTC
Imagine someone with ACCEPT_KEYWORDS=x86 merges mplayer with USE=matroska. Then he puts mplayer with ~x86 into /etc/portage/portage.keywords and merges mplayer-1.0_pre5-r2. It will fail because that mplayer version depends on libmatroska-0.7.x and libebml-0.7.x. But the DEPEND in the mplayer ebuild don't require that, so mplayer will fail to compile. That's what happened to me then. Since I emerged the 0.7.x versions mplayer build fine. Trying to confirm i just unmerged all three ebuilds and tried to merge stable (x86) libmatroska and libebml to then emerge ~x86 mplayer. But I didn't even got that far. libmatroska-0.6.2 failed with:

g++ -c -march=athlon-tbird -O2 -pipe  -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE -I/var/tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../.. -I/usr/include/ebml -o test6.o /var/tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../../test/mux/test6.cpp
/var/tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../../test/mux/test6.cpp:128:63: converting to execution character set: Ung
Comment 4 alex f 2004-08-10 15:32:56 UTC
Imagine someone with ACCEPT_KEYWORDS=x86 merges mplayer with USE=matroska. Then he puts mplayer with ~x86 into /etc/portage/portage.keywords and merges mplayer-1.0_pre5-r2. It will fail because that mplayer version depends on libmatroska-0.7.x and libebml-0.7.x. But the DEPEND in the mplayer ebuild don't require that, so mplayer will fail to compile. That's what happened to me then. Since I emerged the 0.7.x versions mplayer build fine. Trying to confirm i just unmerged all three ebuilds and tried to merge stable (x86) libmatroska and libebml to then emerge ~x86 mplayer. But I didn't even got that far. libmatroska-0.6.2 failed with:

g++ -c -march=athlon-tbird -O2 -pipe  -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE -I/var/tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../.. -I/usr/include/ebml -o test6.o /var/tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../../test/mux/test6.cpp
/var/tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../../test/mux/test6.cpp:128:63: converting to execution character set: Ungültiges oder unvollständiges Multi-Byte- oder Wide-Zeichen
/var/tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../../test/mux/test6.cpp:315:53: converting to execution character set: Ungültiges oder unvollständiges Multi-Byte- oder Wide-Zeichen
/var/tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../../test/mux/test6.cpp:344:49: converting to execution character set: Ungültiges oder unvollständiges Multi-Byte- oder Wide-Zeichen
/var/tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../../test/mux/test6.cpp:347:48: converting to execution character set: Ungültiges oder unvollständiges Multi-Byte- oder Wide-Zeichen
make: *** [test6.o] Fehler 1

!!! ERROR: media-libs/libmatroska-0.6.2 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! make failed

The german message means "Invalid or incomplete Multi-Byte- oder Wide-char"
Comment 5 alex f 2004-08-17 16:51:09 UTC
Created attachment 37633 [details]
mplayer-1.0_pre5-r2_libmatroska-0.7_depend.patch

This uber simple patch fixes the libmatroska dependency bug. I didn't expect
this would take so long. It really is a no-brainer.
Comment 6 Chris White (RETIRED) gentoo-dev 2004-08-17 20:04:08 UTC
Sparc has pre5 marked stable.

I either have to
a) get sparc to mark mplayer unstable
or
b) get sparc to stable mark libmatroska 0.7.0

so this is going to have to wait till I confirm with sparc.
Comment 7 Chris White (RETIRED) gentoo-dev 2004-08-17 23:27:49 UTC
Fixed in _pre5-r3.  This was done to prevent some odities with sparc
stable marking.