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

Bug 294287

Summary: media-video/ffmpeg2theora-0.25 requires media-video/ffmpeg-0.5_p20373
Product: Gentoo Linux Reporter: Arne Babenhauserheide <arne_bab>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal CC: media-video, spatz
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arne Babenhauserheide 2009-11-23 19:48:55 UTC
Building with USE="-x264" worked: USE="-x264" emerge -u ffmpeg2theora

Rebuilding with USE=x264 also worked. 

Before doing the "remerge without x264, remerge with x264" dance it didn't work: 

gcc -o ffmpeg2theora -Wl,-O1 src/theorautils.o src/avinfo.o src/ffmpeg2theora.o src/subtitles.o src/iso639.o -lvorbisenc -lvorbis -lm -ltheoraenc -ltheoradec -lavcodec -lavformat -lavdevice -lpostproc -lswscale -loggkate -lkate -logg                                                                               
src/ffmpeg2theora.o: In function `ff2theora_output':                                                    
/var/tmp/portage/media-video/ffmpeg2theora-0.25/work/ffmpeg2theora-0.25/src/ffmpeg2theora.c:1279: undefined reference to `avcodec_decode_video2'                                                                
/var/tmp/portage/media-video/ffmpeg2theora-0.25/work/ffmpeg2theora-0.25/src/ffmpeg2theora.c:1428: undefined reference to `avcodec_decode_audio3'                                                                
/var/tmp/portage/media-video/ffmpeg2theora-0.25/work/ffmpeg2theora-0.25/src/ffmpeg2theora.c:1260: undefined reference to `avcodec_decode_video2'                                                                
collect2: ld returned 1 exit status                                                                     
scons: *** [ffmpeg2theora] Error 1
scons: building terminated because of errors.


Reproducible: Always



Expected Results:  
require up to date x264 up front.
Comment 1 Dror Levin (RETIRED) gentoo-dev 2009-11-23 20:08:42 UTC
ffmpeg2theora doesn't have x264 USE flag, nor does it use and/or link with it. Anyway, I updated the ffmpeg dep, which should do the trick. Please reopen if it doesn't.

Thanks for reporting :)