Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 203312

Summary: ~media-sound/sox-14.0.0 failed with cannot find ffmpeg
Product: Gentoo Linux Reporter: Dominique Michel <dominique.c.michel>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: mathieu_g1
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log for sox-14.0.0.r1
My emerge --info

Description Dominique Michel 2007-12-25 16:49:27 UTC
checking ffmpeg/avformat.h usability... yes
checking ffmpeg/avformat.h presence... yes
checking for ffmpeg/avformat.h... yes
checking for av_open_input_file in -lavformat... no
checking for av_rescale_q in -lavutil... yes
checking for avcodec_encode_audio in -lavcodec... no
configure: error: cannot find ffmpeg
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /mnt/data/var/tmp/portage/media-sound/sox-14.0.0-r1/work/sox-14.0.0/config.log
 * 
 * ERROR: media-sound/sox-14.0.0-r1 failed.
 * Call stack:
 *              ebuild.sh, line 1701:  Called dyn_compile
 *              ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *              ebuild.sh, line   44:  Called src_compile
 *   sox-14.0.0-r1.ebuild, line   35:  Called econf '--enable-alsa' '--disable-debug' '--disable-libao' '--enable-oss' '--with-lame' '--with-mad' '--with-sndfile' '--with-flac' '--with-ogg' '--with-samplerate' '--with-ffmpeg' '--with-ladspa' '--without-amr-wb' '--without-amr-nb' '--enable-fast-ulaw' '--enable-fast-alaw'
 *              ebuild.sh, line  638:  Called die
 * The specific snippet of code:
 *                      die "econf failed"


Reproducible: Always

Steps to Reproduce:
1.emerge sox
2.
3.

Actual Results:  
configure fail with cannot find ffmpeg

Expected Results:  
That sox configure and compile fine
Comment 1 Dominique Michel 2007-12-25 16:53:41 UTC
Created attachment 139286 [details]
config.log for sox-14.0.0.r1
Comment 2 Dominique Michel 2007-12-25 16:56:10 UTC
Created attachment 139287 [details]
My emerge --info
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-12-25 17:03:16 UTC
Run revdep-rebuild...

<snip>
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libamrnb.so.2, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libavcodec.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libamrwb.so.2, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libavcodec.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libavcodec.so: undefined reference to `Decoder_Interface_exit'
</snip>
Comment 4 Dominique Michel 2007-12-25 17:16:28 UTC
Thanks Jacob.

I see that it is a problem with ffmpeg:

$ ffmpeg -formats
ffmpeg: error while loading shared libraries: libamrnb.so.2: cannot open shared object file: No such file or directory

I will run revdep rebuild in a few days because I am in the middle of an emerge world for now, and huge packages like oofice are in the queue.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-01-04 15:19:58 UTC
*** Bug 204280 has been marked as a duplicate of this bug. ***