Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 513184

Summary: media-video/ffmpeg-2.2.3-r1 - src_install(): Header files have changed between ABIs.
Product: Gentoo Linux Reporter: Artemii <aaaaaa111111>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: adam.gentoo-bugzilla, creideiki+gentoo-bugzilla, idarktemplar, kredba, multilib+disabled, pageexec, root, yamadharma
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.tar.bz2
build.log.bz2

Description Artemii 2014-06-14 07:25:47 UTC
Ytader files changed on amd64 multilib system while building ffmpeg.

* Header files have changed between ABIs.
 * --- /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/temp/.multilib_header_cksum 2014-06-14 11:15:04.988885801 +0400
 * +++ /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/temp/.multilib_header_cksum.new     2014-06-14 11:15:13.114936478 +0400
 * @@ -38,7 +38,7 @@
 *  1149946859 22782 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/frame.h
 *  3056042241 2313 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/blowfish.h
 *  2961245807 2410 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/file.h
 * -2105608049 251 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/avconfig.h
 * +1344849805 251 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/avconfig.h
 *  990392217 2616 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/timestamp.h
 *  1007592562 26878 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/pixfmt.h
 *  3486433977 2708 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/crc.h
 * ERROR: media-video/ffmpeg-2.2.3-r1::gentoo failed (install phase):
 *   Header checksum mismatch, aborting.

Reproducible: Always




NP1localhost ~ # emerge --info
Portage 2.2.10 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.19, 3.15.0-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.15.0-gentoo-r1-x86_64-AMD_FX-tm-8120_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16412308 total,    894172 free
KiB Swap:     525308 total,    525308 free
Timestamp of tree: Fri, 13 Jun 2014 19:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0::java-overlay
dev-lang/python:          2.7.6-r1, 3.4.0
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo science java-overlay x11 gamerlay local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 Oracle-BCLA-JavaSE Intel-SDP"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -msseregparm -ftree-vectorize -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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 -march=native -mtune=native -msseregparm -ftree-vectorize -fomit-frame-pointer"
DISTDIR="/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
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 userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,now"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="/usr/local/portage/layman/science /usr/local/portage/layman/java-overlay /usr/local/portage/layman/x11 /usr/local/portage/layman/gamerlay /usr/local/portage"
USE="X a52 aac acl acpi alsa amd64 apache2 avahi avx berkdb bitmap-fonts bluetooth bluray boost branding browserplugin bzip2 c++0x cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dirac djvu dri dts dvb dvd dvdr egl emboss encode exif fam ffmpeg fftw firefox flac fortran freetype freetype2 gdbm gfortran gif gnutls gphoto2 gpm gtk iconv idn ieee1394 ipv6 jack java jpeg jpeg2k kde kipi ladspa latex lcms ldap libnotify lm_sensors logrotate lzma mad midi mmap mmx mng modules mozilla mp3 mp4 mpeg multilib ncurses nls nptl nptlonly nsplugin ogg openal openexr opengl openmp pam pango pcre pdf phonon pic plasma png policykit postgres postresql ppds python python3 qt qt3support qt4 readline sdl semantic-desktop session shroedinger slang speex spell sqlite3 sse sse2 ssl startup-notification svg tcpd theora thread threads tiff truetype truetype-fonts type1-fonts udev udisks unicode upower usb utf8 v4l vaapi vorbis vpx wxwidgets x264 xattr xcb xcomposite xinerama xml xrandr xscreensaver xv xvid xvmc xz zlib" ABI_X86="64 32" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon fuji template ptp2 directory" 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 ublox ubx" GRUB_PLATFORMS="efi-64 coreboot" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="vesa radeonsi 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.4"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-14 10:54:38 UTC
Please attach the entire build log to this bug report.
Comment 2 i.Dark_Templar 2014-06-14 11:43:47 UTC
Created attachment 378864 [details]
build.log.tar.bz2

# emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.12.21-gentoo-r1.44 x86_64)
=================================================================
System uname: Linux-3.12.21-gentoo-r1.44-x86_64-Pentium-R-_Dual-Core_CPU_T4200_@_2.00GHz-with-gentoo-2.2
KiB Mem:     4050828 total,   1239028 free
KiB Swap:    4190880 total,   4190880 free
Timestamp of tree: Sat, 14 Jun 2014 00:45:02 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo rion sunrise local-overlay
Installed sets: @enlightenment, @fortune, @kde, @pidgin, @psi
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y --autounmask=n --complete-graph=y --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="binpkg-logs distlocks ebuild-locks fakeroot fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.bloodhost.ru/ http://mirror.mdfnet.se/gentoo ftp://mirror.mdfnet.se/gentoo http://gentoo.inode.at/ http://ftp.df.lth.se/pub/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.halifax.rwth-aachen.de/gentoo/"
INSTALL_MASK=" /etc/systemd /lib/systemd /lib32/systemd /lib64/systemd /lib/tmpfiles.d /lib32/tmpfiles.d /lib64/tmpfiles.d /usr/lib/systemd /usr/lib32/systemd /usr/lib64/systemd /usr/lib/tmpfiles.d /usr/lib32/tmpfiles.d /usr/lib64/tmpfiles.d "
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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/rion /var/lib/layman/sunrise /usr/local/portage"
SYNC=""
USE="X a52 aac acl acpi alsa amd64 amr apm ares bash-completion bidi bluetooth branding bzip2 c++0x cairo caps cdda cdio cdr cleartype cli consolekit cracklib crypt cue cups custom-cflags custom-optimization cxx dbus dga dirac dri dts dvd dvdr emboss encode exif faad fam fbcon ffmpeg firefox flac fontconfig fontforge freetype gcrypt gif gme gmp gnutls gpm gtk iconv icu idn imlib inotify ipv6 jadetex jpeg kde lcms libass libdvdcss lzma lzo mad matroska midi mmap mmx mng modules mp3 mp4 mpeg mpi multilib ncurses network nfs nls nptl offensive ogg openal opengl openmp pango pch pcmcia pcntl pcre pdf pic plasma pm-utils png policykit posix postproc ppds private-headers projectm qt3support qt4 raw readline schroedinger session sftp sndfile sockets spell sse sse2 ssl ssse3 startup-notification svg system-cairo system-icu system-jpeg system-sqlite tcpd tga theora threads tiff truetype udev udisks unicode upower usb utils v4l vaapi vdpau vorbis vpx wavpack wicd wifi wma wxwidgets x264 xattr xcb xcomposite xft xinerama xpm xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en ru_RU en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="vesa vga 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Artemii 2014-06-14 11:46:16 UTC
Created attachment 378866 [details]
build.log.bz2
Comment 4 David Kredba 2014-06-14 16:12:25 UTC
 * --- /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/temp/.multilib_header_cksum 2014-06-14 18:03:09.123988503 +0200
 * +++ /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/temp/.multilib_header_cksum.new     2014-06-14 18:03:15.912918821 +0200
 * @@ -38,7 +38,7 @@
 *  1149946859 22782 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/frame.h
 *  3056042241 2313 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/blowfish.h
 *  2961245807 2410 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/file.h
 * -2105608049 251 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/avconfig.h
 * +1344849805 251 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/avconfig.h
 *  990392217 2616 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/timestamp.h
 *  1007592562 26878 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/pixfmt.h
 *  3486433977 2708 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/crc.h
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-14 21:32:21 UTC
Comment on attachment 378864 [details]
build.log.tar.bz2

Why is it in a tar archive?
Comment 6 i.Dark_Templar 2014-06-16 09:16:49 UTC
# diff -u /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/work/ffmpeg-2.2.3-abi_x86_{32.x86,64.amd64}/libavutil/avconfig.h 
--- /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/work/ffmpeg-2.2.3-abi_x86_32.x86/libavutil/avconfig.h
        2014-06-16 13:07:26.000000000 +0400
+++ /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/work/ffmpeg-2.2.3-abi_x86_64.amd64/libavutil/avconfig.h      2014-06-16 13:07:26.000000000 +0400
@@ -2,7 +2,7 @@
 #ifndef AVUTIL_AVCONFIG_H
 #define AVUTIL_AVCONFIG_H
 #define AV_HAVE_BIGENDIAN 0
-#define AV_HAVE_FAST_UNALIGNED 0
+#define AV_HAVE_FAST_UNALIGNED 1
 #define AV_HAVE_INCOMPATIBLE_LIBAV_ABI 0
 #define AV_HAVE_INCOMPATIBLE_FORK_ABI 0
 #endif /* AVUTIL_AVCONFIG_H */

I guess it's the cause of the bug
Comment 7 ganthore 2014-06-16 14:40:23 UTC
Can someone please confirm this error? I am also experiencing this problem. Error and emerge info are below...

Error:
 * Header files have changed between ABIs.
 * --- /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/temp/.multilib_header_cksum 2014-06-16 10:20:35.809731831 -0400
 * +++ /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/temp/.multilib_header_cksum.new     2014-06-16 10:20:41.705732251 -0400
 * @@ -38,7 +38,7 @@
 *  1149946859 22782 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/frame.h
 *  3056042241 2313 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/blowfish.h
 *  2961245807 2410 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/file.h
 * -2105608049 251 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/avconfig.h
 * +1344849805 251 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/avconfig.h
 *  990392217 2616 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/timestamp.h
 *  1007592562 26878 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/pixfmt.h
 *  3486433977 2708 /var/tmp/portage/media-video/ffmpeg-2.2.3-r1/image/usr/include/libavutil/crc.h
 * ERROR: media-video/ffmpeg-2.2.3-r1::gentoo failed (install phase):
 *   Header checksum mismatch, aborting.
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 3193:  Called multilib-minimal_src_install
 *   environment, line 2305:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 2492:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2098:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 2096:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line  621:  Called multilib-minimal_abi_src_install
 *   environment, line 2302:  Called multilib_check_headers
 *   environment, line 2355:  Called die
 * The specific snippet of code:
 *               die "Header checksum mismatch, aborting.";
 * 
 * If you need support, post the output of `emerge --info '=media-video/ffmpeg-2.2.3-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-2.2.3-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-2.2.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-2.2.3-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/ffmpeg-2.2.3-r1/work/ffmpeg-2.2.3-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-video/ffmpeg-2.2.3-r1/work/ffmpeg-2.2.3'

Info:

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.7.3, glibc-2.17, 3.14.4-ck x86_64)
=================================================================
System uname: Linux-3.14.4-ck-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16378120 total,  10127176 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Mon, 16 Jun 2014 14:00:02 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo roxxorx steam-overlay anders-larsson gamerlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core-avx2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/themes/oxygen-gtk/gtk-2.0"
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"
CXXFLAGS="-O2 -pipe -march=core-avx2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache 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="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="/usr/local/portage/roxxorx /var/lib/layman/steam /var/lib/layman/anders-larsson /var/lib/layman/gamerlay"
USE="X a52 aac aacplus aalib acl acpi alsa amd64 ao atmo attica autoipd avahi avx avx2 berkdb bidi bluray branding bzip2 cairo ccache cdda cddb cdr celt clang cli corefonts cracklib crypt cups custom-cflags cxx dbus dc1394 declarative desktopglobe dirac dri dri3 dts dvb dvd dvdr dxr3 egl emboss encode exif faac faad facebook fam fcitx fdk ffmpeg firefox flac flite fluidsynth fma3 fma4 fortran frei0r fuse gbm gdbm gif gles gles1 gles2 gme gold google gphoto2 gpm gsm gstreamer gtkstyle ibus iconv imagemagick inotify ios ipod ithreads ivorbis jack jpeg json kate kde kerberos kipi kolab ladspa lame lcms ldap libass libcaca libnotify libsamplerate libsoxr libtiger libv4l libxml2 lto lzma lzo mad matroska midi mjpeg mmap mmx mng mod modplug modules mp3 mp4 mpeg mtp multilib musepack ncurses networkmanager nls nptl oauth ofa ogg omxil openal opencl opencv openexr opengl openmax openmp openntpd openvg optimisememory opus osmesa pam pango pcre pdf phonon pic plasma plymouth png policykit portaudio posix postscript ppds projectm pulseaudio python python3 qalculate qt3support qt4 quicktime qwt r600-llvm-compiler raw readline rtaudio rtmp rtsp samba schroedinger scim sdl semantic-desktop session smp sndfile sox speex spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification steamruntime svg systemd taglib tcpd theora threads threadsafe threadsonly thumbnail tiff timidity tremor truetype twolame udev udisks unicode upnp upower usb v4l vaapi vdpau vlc vlm vorbis vpx wavpack wayland webp wma-fixed wmf wxwidgets x264 x265 xa xcb xcomposite xine xinerama xml xpm xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="32 64" ALSA_CARDS="hda-intel usb-audio" 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox ubx" GRUB_PLATFORMS="efi-64" 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 en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-16 22:01:32 UTC
Thanks for the report. It seems that this header file changes only in some sets of USE-flags -- and it didn't for the almost-all-on set I've tested it with :).

+  16 Jun 2014; Michał Górny <mgorny@gentoo.org> ffmpeg-1.2.6-r1.ebuild,
+  ffmpeg-2.2.3-r1.ebuild, ffmpeg-9999.ebuild:
+  Wrap libavutil/avconfig.h since in some cases it differs per-ABI, bug #513184.
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-16 22:01:50 UTC
And just to be clear, I've made the same change for libav :).
Comment 10 Ed Freezy 2014-06-18 06:01:47 UTC
Hi there,


could you please confirm .

the usage of
USE="pic" 

seems to cause the problem on the package.


Greetz
Comment 11 Adam Felson 2015-04-01 00:56:30 UTC
I'm having the same header file mismatch since removing the emul-linux's and adding the abi_x86_32 use flag.  2014-03-31