Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407607 - kde-base/ffmpegthumbs-4.8.1 ffmpeg version dependency.
Summary: kde-base/ffmpegthumbs-4.8.1 ffmpeg version dependency.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
: 407739 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-10 02:21 UTC by kevin kaploe
Modified: 2012-03-16 00:07 UTC (History)
3 users (show)

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


Attachments
error text. (ffmpegthumbs-error.txt,2.93 KB, text/plain)
2012-03-10 02:21 UTC, kevin kaploe
Details
emerge --info text (emerge-info.txt,4.64 KB, text/plain)
2012-03-10 02:23 UTC, kevin kaploe
Details
Fixed version of kde-base/ffmpegthumbs/files/ffmpegthumbs-4.8.1-ffmpeg.patch (ffmpegthumbs-4.8.1-ffmpeg.patch,1.26 KB, patch)
2012-03-10 22:26 UTC, Fabian Kislat
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kevin kaploe 2012-03-10 02:21:29 UTC
Created attachment 304771 [details]
error text.

kde-base/ffmpegthumbs-4.8.1 needs a version of ffmpeg newer then the stable 0.7.8 to build otherwise it error's out right after the configure phase.

steps to repeat.
1. have version 0.7.8 of ffmpeg installed
2. try to install kde-base/ffmpegthumbs-4.8.1
3. compile crashes after configure phase.

attached is the error output of ffmpegthumbs if compiled against the stable version of ffmpeg.
Comment 1 kevin kaploe 2012-03-10 02:23:31 UTC
Created attachment 304773 [details]
emerge --info text
Comment 2 Fabian Kislat 2012-03-10 22:26:17 UTC
Created attachment 304867 [details, diff]
Fixed version of kde-base/ffmpegthumbs/files/ffmpegthumbs-4.8.1-ffmpeg.patch

The patch that comes with ffmpegthumbs-4.8.1 unconditionally uses the function avformat_close_input instead of av_close_input_file. That function however, was only introduced in libavformat major version 54. With the updated patch (attached), ffmpegthumbs should compile fine, both with media-video/ffmpeg-0.7.8 and with newer versions.
Comment 3 kevin kaploe 2012-03-11 02:50:03 UTC
i am a bit of a novice at editing ebuilds, don't know how to add it to the ebuild to test it..
Comment 4 kevin kaploe 2012-03-11 04:25:33 UTC
Okay, i figured out what was needed and tested the fixed patch. it works so thank you.
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2012-03-12 13:27:39 UTC
*** Bug 407739 has been marked as a duplicate of this bug. ***
Comment 6 Alexis Ballier gentoo-dev 2012-03-15 11:55:32 UTC
sorry, my fault, will fix when back home
Comment 7 RedEyedMan 2012-03-15 13:43:58 UTC
I confirm it. ffmpegthumbs-4.8.1 was build fine (I put ebuild with this patch to my local overlay, I created manifest the it was build successfully)

Here's my emerge --info 

Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-Pentium-R-_Dual-Core_CPU_E6500_@_2.93GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 14 Mar 2012 04:15:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo drhouse-overlay mozilla zugaina foo-overlay flameeyes-overlay wish
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/dists1"
EMERGE_DEFAULT_OPTS="--jobs=3 --autounmask-write=y"
FEATURES="binpkg-logs distlocks fixlafiles news parallel-fetch parallel-install protect-owned sandbox sfperms strict unknown-features-warn unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror-kt.neolabs.kz/gentoo/pub/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/home/pkg"
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="/home/overlay /var/lib/layman/mozilla /var/lib/layman/zugaina /var/lib/layman/foo-overlay /var/lib/layman/flameeyes-overlay /var/lib/layman/wish"
SYNC="rsync://mirror-kt.neolabs.kz/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 auto-hinter avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdnav dvdr emboss encode exif faac fam fbcondecor ffmpeg firefox flac fortran gdbm gdu gif gnutls gpm gstreamer gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mpeg2 mpeg4pt2 mudflap multilib ncurses networkmanager nls nptl nptlonly nvidia ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd pulseaudio qt3support qt4 readline samba sdl semantic-desktop session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vdpau vlc vorbis windbind x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="virtualbox evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Alexis Ballier gentoo-dev 2012-03-16 00:07:09 UTC
(In reply to comment #2)
> Created attachment 304867 [details, diff] [details, diff]
> Fixed version of kde-base/ffmpegthumbs/files/ffmpegthumbs-4.8.1-ffmpeg.patch
> 
> The patch that comes with ffmpegthumbs-4.8.1 unconditionally uses the
> function avformat_close_input instead of av_close_input_file. That function
> however, was only introduced in libavformat major version 54. With the
> updated patch (attached), ffmpegthumbs should compile fine, both with
> media-video/ffmpeg-0.7.8 and with newer versions.

applied, thx!

note: avformat_close_input was introduced before libavformat 54, av_close_input was deprecated some time after and removed in libavformat 54. it does not really matter though, your patch fixes the problem anyway.