Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294287 - media-video/ffmpeg2theora-0.25 requires media-video/ffmpeg-0.5_p20373
Summary: media-video/ffmpeg2theora-0.25 requires media-video/ffmpeg-0.5_p20373
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-23 19:48 UTC by Arne Babenhauserheide
Modified: 2009-11-23 20:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :)