First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 49763
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Jeremy Huddleston (RETIRED) <eradicator@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Brandon Hale (RETIRED) <tseng@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
vorbis-tools-1.0.1.ebuild.diff patch to fix configuration with USE="flac" patch Brandon Hale (RETIRED) 2004-05-02 15:50 0000 477 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 49763 depends on: Show dependency tree
Bug 49763 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-02 14:56 0000
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.

------- Comment #1 From Brandon Hale (RETIRED) 2004-05-02 15:50:29 0000 -------
Created an attachment (id=30560) [edit]
patch to fix configuration with USE="flac"

Added patch to fix the bug, check it out.

------- Comment #2 From Jeremy Huddleston (RETIRED) 2004-05-03 18:24:00 0000 -------
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?

------- Comment #3 From Brandon Hale (RETIRED) 2004-05-03 19:46:03 0000 -------
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.

------- Comment #4 From Brandon Hale (RETIRED) 2004-05-03 19:47:22 0000 -------
Note that the configure script does not recognize --with-flac, only
--without-flac, so the use_with is technically incorrect in any case.

------- Comment #5 From Jeremy Huddleston (RETIRED) 2004-05-03 20:57:36 0000 -------
in portage.  thanks.

First Last Prev Next    No search results available      Search page      Enter new bug