libmatroska fails to compile with the following message: g++ -c -O2 -march=pentium4 -pipe -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE -I/tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../.. -I/usr/include/ebml -o test6.o /tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../../test/mux/test6.cpp /tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../../test/mux/test6.cpp:128:63: converting to execution character set: Invalid or incomplete multibyte or wide character /tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../../test/mux/test6.cpp:315:53: converting to execution character set: Invalid or incomplete multibyte or wide character /tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../../test/mux/test6.cpp:344:49: converting to execution character set: Invalid or incomplete multibyte or wide character /tmp/portage/libmatroska-0.6.2/work/libmatroska-0.6.2/make/linux/../../test/mux/test6.cpp:347:48: converting to execution character set: Invalid or incomplete multibyte or wide character make: *** [test6.o] Error 1 !!! ERROR: media-libs/libmatroska-0.6.2 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! make failed # emerge info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.2-r10, 2.6.7) ================================================================= System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/mpd/conf /opt/opera/share/opera/config /usr/X11R6/lib/X11/xkb /usr/X11R6/lib/X11/xkb/rules /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/local/apache/conf /usr/share/config /usr/share/cups/model /usr/share/ogle/oglerc /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/src/portage-distfiles" FEATURES="autoaddcvs ccache sandbox userpriv" GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo// http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo// ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo// http://trumpetti.atm.tut.fi/gentoo// ftp://trumpetti.atm.tut.fi/gentoo// http://gentoo.mirror.sdv.fr/ http://gentoo.math.bme.hu/ ftp://ftp.rxd.hu/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources// http://ftp.easynet.nl/mirror/gentoo// ftp://ftp.easynet.nl/mirror/gentoo// http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://gentoo.tiscali.nl/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo// ftp://mirror.switch.ch/mirror/gentoo// ftp://ftp.solnet.ch/mirror/Gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" 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="X aalib acl alsa apm arts avi berkdb canna cdr cjk crypt cups curl directfb dvd emacs encode esd flac foomaticdb gdbm gif gimpprint gnome gpm gtk gtk2 guile imagemagick imlib java jpeg kde ldap lesstiff libg++ libwww mad mikmod mmx mng motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex theora tiff truetype unicode wmf wxwindows x86 xml2 xmms xv zlib"
Seems like the source contained non-utf8 or non-ascii chars. Can you reproduce with never versions of libmatroska? Thank you.
0.7.4 uses the -finput-charset=ISO8859-15 parameter for g++. 0.6.3 is not compileable on my system.
ah, and of course 0.7.4 works well
closing with 0.7.4