brandon@y0shi The Process of Belief $ oggenc -q1 01.\ Bad\ Religion\ -\ Supersonic.flac ERROR: Input file "01. Bad Religion - Supersonic.flac" is not a supported format [ebuild R ] media-sound/vorbis-tools-1.0.1 +flac -nls -speex 0 kB From the manpage: oggenc reads audio data in either raw, WAV, or AIFF format and encodes it into an Ogg Vorbis stream. oggenc may also read audio data from FLAC and Ogg FLAC files depending upon compile-time options. It is expected that the useflag would apply the correct "compile-time options". Any hints to what I've done wrong, or what is amiss in the ebuild would be appreciated.
Created attachment 30560 [details, diff] patch to fix configuration with USE="flac" Added patch to fix the bug, check it out.
using vorbis-tools-1.0.1, i got flac support... ~ $ ldd `which oggenc` libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x4003e000) libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x40127000) libOggFLAC.so.1 => /usr/lib/libOggFLAC.so.1 (0x4014f000) libFLAC.so.4 => /usr/lib/libFLAC.so.4 (0x40155000) libm.so.6 => /lib/libm.so.6 (0x4018c000) libogg.so.0 => /usr/lib/libogg.so.0 (0x401ae000) libc.so.6 => /lib/libc.so.6 (0x401b3000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Your patch does nothing except omit the '--with-flac' when USE=flac is set... Can youu please verify that this doesn't work by emerging it again using our ebuild and checking oggenc with the above ldd command?
brandon@y0shi brandon $ ldd `which oggenc` linux-gate.so.1 => (0xffffe000) libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x40022000) libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x4010a000) libOggFLAC.so.1 => /usr/lib/libOggFLAC.so.1 (0x40133000) libFLAC.so.4 => /usr/lib/libFLAC.so.4 (0x40139000) libm.so.6 => /lib/libm.so.6 (0x4016e000) libogg.so.0 => /usr/lib/libogg.so.0 (0x4018f000) libc.so.6 => /lib/libc.so.6 (0x40195000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) This is all well and good, oggenc is linked to Flac libs.. however, it just doesnt support flac, as I have already posted, confirmed with someone else, and fixed. Here is the output again for kicks, please try to reproduce. If you need a .flac to test, ping me on irc and I'll send one your way. brandon@y0shi brandon $ oggenc -q1 music/Nirvana/Nirvana/12.\ Nirvana\ -\ Dumb.flac ERROR: Input file "music/Nirvana/Nirvana/12. Nirvana - Dumb.flac" is not a supported format When built with my patch, it works beautifully. Seems to be a bug in the configure script.
Note that the configure script does not recognize --with-flac, only --without-flac, so the use_with is technically incorrect in any case.
in portage. thanks.