Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567638 - media-libs/gegl-0.3.4 fails to merge with USE="ffmpeg" (ffmpeg-2.6.3), ff-save.c:354:34: error: AV_CODEC_CAP_VARIABLE_FRAME_SIZE undeclared
Summary: media-libs/gegl-0.3.4 fails to merge with USE="ffmpeg" (ffmpeg-2.6.3), ff-sav...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-06 12:12 UTC by J.Borme
Modified: 2015-12-08 22:04 UTC (History)
1 user (show)

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


Attachments
Build log (gegl-gcc493.txt,786.53 KB, text/plain)
2015-12-06 12:13 UTC, J.Borme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J.Borme 2015-12-06 12:12:00 UTC
While upgrading to gimp 2.9.2 (bug #567366), gegl-0.3.4 fails to build. I tried with gcc 4.9.3 and 4.8.5 with same result. Last lines on the console are:

ff-save.c: In function ‘write_audio_frame’:
ff-save.c:354:34: error: ‘AV_CODEC_CAP_VARIABLE_FRAME_SIZE’ undeclared (first use in this function)
   if (!(c->codec->capabilities & AV_CODEC_CAP_VARIABLE_FRAME_SIZE))
                                  ^
ff-save.c:354:34: note: each undeclared identifier is reported only once for each function it appears in
Makefile:1183: recipe for target 'ff_save_la-ff-save.lo' failed


Reproducible: Always
Comment 1 J.Borme 2015-12-06 12:13:23 UTC
Created attachment 418664 [details]
Build log

Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r1, 4.3.0-gentoo x86_64)
=================================================================
System uname: Linux-4.3.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    14357476 total,   6494396 free
KiB Swap:    2104508 total,   2104508 free
Timestamp of repository gentoo: Sun, 06 Dec 2015 10:00:02 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.4::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            3.4.6-r2::gentoo, 4.2.4-r1::gentoo, 4.4.7::gentoo, 4.5.4::gentoo, 4.6.4::gentoo, 4.7.4::gentoo, 4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /mnt/stockage/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

stuff
    location: /var/lib/layman/stuff
    masters: gentoo
    priority: 0

palemoon
    location: /var/lib/layman/palemoon
    masters: gentoo
    priority: 1

personnel
    location: /mnt/stockage/overlays/personnel
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mtune=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.dei.uc.pt/pub/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://www.ibiblio.org/pub/Linux/distribution/gentoo http://distfiles.gentoo.org"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--itemize-changes --recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/mnt/stockage/var-tmp-portage"
USE="X acl alsa amd64 bash-completion berkdb bzip2 c++0x cli consolekit crypt cups cxx dbus dri exif flac fortran gdbm gpm hal iconv icu idn ipv6 jpeg jpeg2k kde lzma mmx mmxext modules multilib ncurses nls nptl opengl openmp pam pch pcre pdf png readline seccomp session spell sse sse2 ssl svg tcpd threads tiff truetype udev unicode vim-syntax xattr xetex zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="braindump flow karbon krita sheets stage words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr pt de pt_PT fr_FR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="radeon" 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"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 J.Borme 2015-12-06 12:21:05 UTC
It builds with USE="-ffmpeg" (media-video/ffmpeg-2.6.3:0/54.56.56)
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-12-06 22:25:22 UTC
This got added in ffmpeg-2.8 https://github.com/FFmpeg/FFmpeg/commit/def97856de6021965db86c25a732d78689bd6bb0, we should raise the dependency in the ebuild.
Comment 4 Sebastian Pipping gentoo-dev 2015-12-08 22:04:24 UTC
(In reply to Gilles Dartiguelongue from comment #3)
> This got added in ffmpeg-2.8
> https://github.com/FFmpeg/FFmpeg/commit/
> def97856de6021965db86c25a732d78689bd6bb0, we should raise the dependency in
> the ebuild.

Thank you!


I have notified upstream that configure checks are out of sync [1], pushed a fix to the ebuild [2] and opened Gentoo bug #567802 to get back dropped ~ia64 and ~sparc.

On a side note, it turned out that libav doesn't have any releases recent enough to build GEGL 0.3.4, see [1] and [2].

Closing, please re-open as needed.


[1] https://bugzilla.gnome.org/show_bug.cgi?id=758875#c1
[2] https://github.com/gentoo/gentoo/commit/a1ea06b430e14f68b5b7bf1947a681215157c034