Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261660 - media-video/ffmpegthumbnailer does not compile with media-video/ffmpeg-9999
Summary: media-video/ffmpegthumbnailer does not compile with media-video/ffmpeg-9999
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: media-video herd
Depends on:
Reported: 2009-03-08 10:01 UTC by Hendrik Friedel
Modified: 2009-03-08 19:54 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik Friedel 2009-03-08 10:01:16 UTC
If you use ffmpeg-9999, compiling of ffmpegthumbnailer (all recent versions) will fail.
This is a known bug, that is fixed in the ffmpegthumbnailer trunk:

Thus, a ffmpegthumbnailer-9999 ebuild would solve this.

ffmpeg-9999 is masked, ok. But as the ffmpeg homepage *advises* to use the latest trunk version instead of a release, I think that it is advisable to use the -9999 ebuild.

Reproducible: Always

Steps to Reproduce:
1. emerge ffmpeg-9999
2. emerge ffmpegthumbnailer

Actual Results:  
moviedecoder.cpp: In member function 'void MovieDecoder::convertAndScaleFrame(int, int, int&, int&)':
moviedecoder.cpp:303: error: invalid conversion from 'int' to 'PixelFormat'
moviedecoder.cpp:303: error:   initializing argument 6 of 'SwsContext* sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, SwsFilter*, SwsFilter*, double*)'
make[2]: *** [moviedecoder.lo] Error 1
make[2]: Leaving directory `/mnt/data/tmp/portage/media-video/ffmpegthumbnailer-1.2.5/work/ffmpegthumbnailer-1.2.5/src/libffmpegthumbnailer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/data/tmp/portage/media-video/ffmpegthumbnailer-1.2.5/work/ffmpegthumbnailer-1.2.5/src'
make: *** [all-recursive] Error 1
 * ERROR: media-video/ffmpegthumbnailer-1.2.5 failed.
 * Call stack:
 *     , line   49:  Called src_compile
 *             environment, line  106:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed."
 *  The die message:
 *   emake failed.
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/log/portage/media-video:ffmpegthumbnailer-1.2.5:20090308-094111.log'.
 * The ebuild environment file is located at '/mnt/data/tmp/portage/media-video/ffmpegthumbnailer-1.2.5/temp/environment'.
Comment 1 Lars Wendler (Polynomial-C) gentoo-dev 2009-03-08 10:19:06 UTC
Reassigning to video herd.
Comment 2 Luca Barbato gentoo-dev 2009-03-08 16:29:16 UTC
Sorry, using live ebuilds is unsupported, we cannot even guess what exact revision you installed and there is no warranty live ebuild for different applications will play nice.

the ffmpeg-9999 ebuild is just a commodity to let lazy people try svn before snapshotting but beside that there isn't support for it.
Comment 3 Hendrik Friedel 2009-03-08 19:54:13 UTC
Well, at least it's documented for others having that problem now.