Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52385 - libmatroska fails to compile on gcc 3.4
Summary: libmatroska fails to compile on gcc 3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All All
: High normal
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-29 12:27 UTC by Bret Towe
Modified: 2004-06-28 13:03 UTC (History)
1 user (show)

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


Attachments
patches the ebuild to inherit gcc and adds -finput-charset=ISO8859-15 based on gcc3.4 (libmatroska-0.7.0.ebuild.patch,1018 bytes, patch)
2004-06-07 15:54 UTC, Disenchanted (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bret Towe 2004-05-29 12:27:24 UTC
libmatroska compiles for the most part and looks to bomb out on a
test app of some sort

g++ -c -march=athlon -O2 -fomit-frame-pointer -pipe  -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE -Wshadow -I/var/tmp/portage/libmatroska-0.7.0/work/libmatroska-0.7.0/make/linux/../.. -I/usr/include/ebml -o test6.o /var/tmp/portage/libmatroska-0.7.0/work/libmatroska-0.7.0/make/linux/../../test/mux/test6.cpp
/var/tmp/portage/libmatroska-0.7.0/work/libmatroska-0.7.0/make/linux/../../test/mux/test6.cpp:125:63: converting to execution character set: Invalid or incomplete multibyte or wide character
/var/tmp/portage/libmatroska-0.7.0/work/libmatroska-0.7.0/make/linux/../../test/mux/test6.cpp:323:53: converting to execution character set: Invalid or incomplete multibyte or wide character
/var/tmp/portage/libmatroska-0.7.0/work/libmatroska-0.7.0/make/linux/../../test/mux/test6.cpp:352:49: converting to execution character set: Invalid or incomplete multibyte or wide character
/var/tmp/portage/libmatroska-0.7.0/work/libmatroska-0.7.0/make/linux/../../test/mux/test6.cpp:355:48: converting to execution character set: Invalid or incomplete multibyte or wide character
make: *** [test6.o] Error 1

!!! ERROR: media-libs/libmatroska-0.7.0 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! make failed
Comment 1 Disenchanted (RETIRED) gentoo-dev 2004-06-07 14:36:33 UTC
g++ needs -finput-charset=ISO8859-15 set

will add patch later today that inherits flag-o-matic and append-flag -finput-charset=ISO8859-15

successful build of libmatroska-0.7.0 with gcc3.4.0-r6 on ~x86


 
Comment 2 Disenchanted (RETIRED) gentoo-dev 2004-06-07 15:54:19 UTC
Created attachment 32894 [details, diff]
patches the ebuild to inherit gcc and adds -finput-charset=ISO8859-15 based on gcc3.4

this should close this bug
please verify
Comment 3 Bret Towe 2004-06-08 18:35:28 UTC
the attached patch works fine for me
Comment 4 Disenchanted (RETIRED) gentoo-dev 2004-06-28 13:03:57 UTC
Included fix conditionally into ebuild
Give it some time, then sync and emerge