The new stable version of FLAC, flac-1.1.2-r3 cannot encode Swedish characters,
The new stable version of FLAC, flac-1.1.2-r3 cannot encode Swedish characters, ÅÄÖåäö, in Vorbis comment tags using flac or metaflac programs. The character gets replaced by "#", and if UTF-8 is used, it is replaced by "##". Reproducible: Always Steps to Reproduce: 1. > flac -5 --tag=ARTIST=ÅÄÖ test.wav or 1. > metaflac --set-tag=ARTIST=ÅÄÖ test.flac Actual Results: > metaflac --list --block-type=VORBIS_COMMENT test.flac METADATA block #2 type: 4 (VORBIS_COMMENT) is last: false length: 54 vendor string: reference libFLAC 1.1.2 20050205 comments: 1 comment[0]: ARTIST=### Expected Results: > metaflac --list --block-type=VORBIS_COMMENT test.flac METADATA block #2 type: 4 (VORBIS_COMMENT) is last: false length: 54 vendor string: reference libFLAC 1.1.2 20050205 comments: 1 comment[0]: ARTIST=ÅÄÖ Tested on two systems: Gentoo Base System version 1.6.13 Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.5-r2, 2.6.13-suspend2-r4 i686) ================================================================= System uname: 2.6.13-suspend2-r4 i686 Intel(R) Pentium(R) M processor 1600MHz dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium3 -msse2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/ qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium3 -msse2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/ gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acpi alsa apache2 avi bitmap-fonts bzip2 bzlib cdparanoia cdr crypt cscope divx4linux dvd dvdread eds emboss encode expat fbcon flac ftp gif gstreamer gtk2 imagemagick imap imlib ipv6 java jpeg lcms libg++ libwww mad mime mmx mmx2 mng mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sockets sqlite sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev unicode vcd vorbis x86 xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686) ================================================================= System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -msse2 -pipe -ftracer -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -msse2 -pipe -ftracer -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo" LANG="sv_SE" LC_ALL="sv_SE" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X aac acpi alsa apache2 audiofile avi bitmap-fonts bzip2 bzlib cdparanoia cdr crypt cscope curl divx4linux dts dvd dvdr dvdread eds emboss encode exif expat fbcon flac ftp gif gstreamer gtk2 imagemagick imap imlib ipv6 java jpeg lcms libg++ libwww mad mhash mime mmx mmx2 mng mp3 mpeg mysql ncurses nls nocardbus nptl ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sockets sqlite sse2 ssl svga tcpd tetex truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis x86 xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS The programs work as expected if I compile the source by hand, even with all the patches added in the ebuild. I have done some tests using flac-1.1.2-r4.ebuild, and the problem disappears when I remove line 34 from the ebuild: AT_M4DIR="m4" eautoreconf
The eautoreconf just recreates autotools support after patching the sources, so removing it most of the sources get invalidated. It might be another problem with LFS.
Created attachment 85456 [details] flac-1.1.2-r3.ebuild without largefile patch I independently tracked down the cause of this problem after discovering that it didn't exist in Ubuntu. After ripping over 60 CDs in Gentoo, I wish I'd discovered it earlier. I narrowed it down to the largefile patch in flac-1.1.2-r3.ebuild, omitting the patch fixes the issue. I did not look into the issue any further than that. Attached is the ebuild modified so that the largefile patch isn't applied.
(In reply to comment #3) > Created an attachment (id=85456) [edit] > flac-1.1.2-r3.ebuild without largefile patch > > I independently tracked down the cause of this problem after discovering that > it didn't exist in Ubuntu. After ripping over 60 CDs in Gentoo, I wish I'd > discovered it earlier. I narrowed it down to the largefile patch in > flac-1.1.2-r3.ebuild, omitting the patch fixes the issue. I did not look into > the issue any further than that. > > Attached is the ebuild modified so that the largefile patch isn't applied. > Can you reproduce with flac-1.1.4 (or 1.2.0) ?
I just tried with flac-1.1.2-r8 and it seems fine.
Closing, see Comment #5. Also 1.1.4 is going stable, and is stable allready on some arches.