Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ffmpegthumbs broken with latest ffmpeg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jackgentoo
n00b
n00b


Joined: 04 Apr 2003
Posts: 34
Location: Santa Barbara, CA, USA

PostPosted: Sun Sep 16, 2012 8:00 pm    Post subject: ffmpegthumbs broken with latest ffmpeg Reply with quote

ffmpegthumbs is failing to compile with ffmpeg 0.10.2-r1. I've tried both ffmpegthumbs-4.9.1 (head version) and ffmpegthumbs-4.8.5 (previous) and both fail the same way.

Code:

/var/tmp/portage/kde-base/ffmpegthumbs-4.9.1/work/ffmpegthumbs-4.9.1/ffmpegthumbnailer/moviedecoder.cpp:59: error: 'avformat_open_input' was not declared in this scope


It seems that ffmpegthumbs perhaps has a finer dependency of ffmpeg version than the blanket "virtual/ffmpeg" in the .ebuild. Here are the versions involved.

Code:

[ebuild   R    ] virtual/ffmpeg-0.10.2-r1  USE="X encode theora threads truetype x264 -jpeg2k -mp3 -sdl -vaapi -vdpau" 0 kB
[ebuild     U ~] kde-base/ffmpegthumbs-4.9.1 [4.8.1] USE="(-aqua) -debug" 0 kB


My emerge --info is below. Is there a known working version ffmpeg for ffmpegthumbs? Perhaps I should file a bug ...

Code:

cliff ~ # emerge --info
Portage 2.1.11.9 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.2, 2.6.34-gentoo-r12 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r12-i686-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-2.0.2
Timestamp of tree: Sun, 16 Sep 2012 18:30:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.5-r3, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.8.5-r3, 1.9.6-r3, 1.10.2, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.3.4, 4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo mozilla
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /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=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mozilla"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 apng avahi berkdb bitmap-fonts bzip2 cairo cli cracklib crypt ctype cups cxx dbus declarative device-mapper dri emacs exif extras ffmpeg fomaticdb fortran gb gd gdbm gimp gnutls gpm iconv icu ipv6 java jikes jpeg kde kipi libnotify lm_sensors mdnsresponder-compat mmx mng modules mozilla mudflap mysql ncurses newspr nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf png policykit ppds pppd python qt3support qt4 quicktime raw readline samba scanner secure-delete session smp snmp sockets sql sse sse2 ssl svg system-sqlite taglib tcpd theora tiff truetype truetype-fonts type1-fonts unicode unlock-notify usb v4l v4l2 vorbis vpx webkit wmf x86 xmms xscreensaver xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 proxy proxy_ajp" CALLIGRA_FEATURES="kexi words flow plan sheets 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2208
Location: UK

PostPosted: Sun Sep 16, 2012 10:04 pm    Post subject: Reply with quote

I've just installed it fine, using ffmpeg 0.10.4.
Back to top
View user's profile Send private message
jackgentoo
n00b
n00b


Joined: 04 Apr 2003
Posts: 34
Location: Santa Barbara, CA, USA

PostPosted: Sun Sep 16, 2012 11:36 pm    Post subject: Reply with quote

Ant P. wrote:
I've just installed it fine, using ffmpeg 0.10.4.


Unfortunately still the same issue for me. What version of ffmpegthumbs were you able to build? Maybe I have a tools issue? Hard to imagine, I'm at gcc 4.5.3-r1, latest is gcc 4.5.4.
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2208
Location: UK

PostPosted: Mon Sep 17, 2012 12:22 am    Post subject: Reply with quote

I'm using ~amd64, so gcc 4.6.3 and ffmpegthumbs 4.9.1.

Maybe your MAKEOPTS=-j7 is too high, I've seen that break things often.
Back to top
View user's profile Send private message
jackgentoo
n00b
n00b


Joined: 04 Apr 2003
Posts: 34
Location: Santa Barbara, CA, USA

PostPosted: Mon Sep 17, 2012 12:36 am    Post subject: Reply with quote

Ant P. wrote:
I'm using ~amd64, so gcc 4.6.3 and ffmpegthumbs 4.9.1.

Maybe your MAKEOPTS=-j7 is too high, I've seen that break things often.


I ran it single threaded for the same reason :-) Same breakage :-(

I'll try gcc 4.6.3. It does seems like a c++ thing, the error message is in C++ code calling the extern "C" libavcodec function.
Back to top
View user's profile Send private message
jackgentoo
n00b
n00b


Joined: 04 Apr 2003
Posts: 34
Location: Santa Barbara, CA, USA

PostPosted: Mon Sep 17, 2012 1:26 am    Post subject: Reply with quote

still no joy with gcc 4.6.3. Anyone else have any thoughts as to why it builds for Ant P but not for me?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum