Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326133 - media-video/ffmpegthumbnailer-1.5.4 does not work with media-video/ffmpeg-0.6
Summary: media-video/ffmpegthumbnailer-1.5.4 does not work with media-video/ffmpeg-0.6
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-29 08:06 UTC by Paolo Pedroni
Modified: 2010-06-29 09:20 UTC (History)
0 users

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


Attachments
Build log for media-video/ffmpegthumbnailer-1.5.4 (media-video:ffmpegthumbnailer-1.5.4:20100629-075019.log,12.01 KB, text/plain)
2010-06-29 08:08 UTC, Paolo Pedroni
Details
Ebuild environment for media-video/ffmpegthumbnailer-1.5.4 (environment,9.12 KB, text/plain)
2010-06-29 08:09 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2010-06-29 08:06:24 UTC
I upgraded one of my systems to media-video/ffmpeg-0.6, and today (rebuilding all packages linking to libpng12.so, after upgrading to new stable libpng), I found out that ffmpegthumbnailer-1.5.4 does not build anymore.

Whenever I try (and I tried with and without distcc and ccache, and with MAKEOPTS=-j1 as well) it always yields the following error:
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/libpng14 -march=amdfam10 -O2 -pipe -fomit-frame-pointer -c libffmpegthumbnailer/videothumbnailer.cpp  -fPIC -DPIC -o .libs/libffmpegthumbnailer_la-videothumbnailer.o
In file included from /usr/include/libavutil/avutil.h:81,
                 from /usr/include/libavcodec/avcodec.h:30,
                 from libffmpegthumbnailer/moviedecoder.h:37,
                 from libffmpegthumbnailer/videothumbnailer.cpp:23:
/usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32(int64_t)’:
/usr/include/libavutil/common.h:154: error: ‘UINT64_C’ was not declared in this scope
make[2]: *** [libffmpegthumbnailer_la-videothumbnailer.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/ffmpegthumbnailer-1.5.4/work/ffmpegthumbnailer-1.5.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/ffmpegthumbnailer-1.5.4/work/ffmpegthumbnailer-1.5.4'
make: *** [all] Error 2
 * ERROR: media-video/ffmpegthumbnailer-1.5.4 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 213:  Called _eapi2_src_compile
 *     ebuild.sh, line 646:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =media-video/ffmpegthumbnailer-1.5.4',
 * the complete build log and the output of 'emerge -pqv =media-video/ffmpegthumbnailer-1.5.4'.
 * The complete build log is located at '/var/log/portage/media-video:ffmpegthumbnailer-1.5.4:20100629-075019.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpegthumbnailer-1.5.4/temp/environment'.
 * S: '/var/tmp/portage/media-video/ffmpegthumbnailer-1.5.4/work/ffmpegthumbnailer-1.5.4'

I will post the required logs ASAP.

Reproducible: Always

Steps to Reproduce:
1. Upgrade to ffmpeg-0.6
2. emerge -1 =media-video/ffmpegthumbnailer-1.5.4
Actual Results:  
The error above.

Expected Results:  
Normal rebuild of the package.

# emerge --info =media-video/ffmpegthumbnailer-1.5.4
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.0.1
Timestamp of tree: Mon, 28 Jun 2010 10:15:03 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests autoaddcvs ccache collision-protect confcache distcc distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://gentoo.tiscali.nl/ http://gentoo.virginmedia.com/ http://gentoo.mneisen.org/ http://gentoo.mirror.pw.edu.pl/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="it"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 ao audiofile bash-completion bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus dga djvu dri dts dvd dvdr emboss encode exif expat fam fbcon ffmpeg fftw flac fontconfig fortran ftp gd gdbm ggi gif gmp gnutls gpm graphviz gstreamer gtk hal handbook iconv icu idn ieee1394 imagemagick imlib java jbig jpeg jpeg2k kde lame lcms libcaca libnotify libsamplerate lm_sensors lua lzo mad mikmod mmap mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime rdesktop readline reflection samba sdl session smartcard sndfile sox speex spell spl sse sse2 ssl startup-notification svg symlink sysfs syslog taglib tcpd theora threads tiff truetype unicode usb vcd vim-syntax vorbis wavpack wmf x264 xcb xcomposite xine xinerama xml xorg xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="kodak ptp2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-video/ffmpegthumbnailer-1.5.4 was built with the following:
USE="jpeg (multilib) png"

# emerge -pqv =media-video/ffmpegthumbnailer-1.5.4
[ebuild   R   ] media-video/ffmpegthumbnailer-1.5.4  USE="jpeg png"
Comment 1 Paolo Pedroni 2010-06-29 08:08:25 UTC
Created attachment 236889 [details]
Build log for media-video/ffmpegthumbnailer-1.5.4
Comment 2 Paolo Pedroni 2010-06-29 08:09:45 UTC
Created attachment 236891 [details]
Ebuild environment for media-video/ffmpegthumbnailer-1.5.4
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-06-29 08:12:31 UTC
Yes, ffmpeg-0.6 is still in ~arch instead of stable. You need ffmpegthumbnailer
from ~arch as well, the support was added in version 2.0.2. 
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-06-29 08:16:17 UTC
see bug 326135
Comment 5 Paolo Pedroni 2010-06-29 08:19:05 UTC
Thanks for the rapid feedback. 2.0.2 compiles fine, and I'll check if it works later in the day, when I go home.

Wouldn't it be the case to DEPEND version 1.5.4 on <ffmpeg-0.6?
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-06-29 08:42:06 UTC
(In reply to comment #5)
> Thanks for the rapid feedback. 2.0.2 compiles fine, and I'll check if it works
> later in the day, when I go home.
> 
> Wouldn't it be the case to DEPEND version 1.5.4 on <ffmpeg-0.6?
> 

basically yes, but it's not worth the effort... when we can simply stable the working version.   impossible to test all combinations.
Comment 7 Paolo Pedroni 2010-06-29 09:20:40 UTC
(In reply to comment #6)
> > Wouldn't it be the case to DEPEND version 1.5.4 on <ffmpeg-0.6?
> > 
> 
> basically yes, but it's not worth the effort... when we can simply stable the
> working version.   impossible to test all combinations.

OK. Thanks for your kind replies.