| Summary: | mplayer-1.0_pre5 build failed: error with libmatroska | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | alex f <acid.punk> |
| Component: | New packages | Assignee: | Chris White (RETIRED) <chriswhite> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | mplayer-1.0_pre5-r2_libmatroska-0.7_depend.patch | ||
|
Description
alex f
2004-07-20 10:30:49 UTC
I'm cleaning up the ebuild right now so I'm going to have to check that out. Thanks for reporting! Can you please confirm the issue still exists? 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 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" 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.
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. Fixed in _pre5-r3. This was done to prevent some odities with sparc stable marking. |