Compiling media-video/libav-11.3-r1 against media-libs/libvpx-1.5.0 leads to failures such as: error: 'VP8E_UPD_ENTROPY' undeclared here (not in a function) error: 'VP8E_UPD_REFERENCE' undeclared here (not in a function) error: 'VP8E_USE_REFERENCE' undeclared here (not in a function) Reproducible: Always Steps to Reproduce: 1.USE="vpx" emerge -1 =media-libs/libvpx-1.5.0:0/3::gentoo =media-video/libav-11.3-r1:0/11::gentoo Actual Results: error: 'VP8E_UPD_ENTROPY' undeclared here (not in a function) error: 'VP8E_UPD_REFERENCE' undeclared here (not in a function) error: 'VP8E_USE_REFERENCE' undeclared here (not in a function) Expected Results: Successful merge. Related to: https://github.com/jb-alvarado/media-autobuild_suite/issues/185 http://git.videolan.org/?p=ffmpeg.git;a=commit;h=6540fe04a3f9a11ba7084a49b3ee5fa2fc5b32ab
Created attachment 416862 [details, diff] libav-11.3_libvpxenc.patch Based on: http://git.videolan.org/?p=ffmpeg.git;a=commit;h=6540fe04a3f9a11ba7084a49b3ee5fa2fc5b32ab
Created attachment 416874 [details] emerge --info
Created attachment 416876 [details] build.log
same problem here: Portage 2.2.25 (python 3.5.0-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r1, 4.3.0-gentoo x86_64) ================================================================= System uname: Linux-4.3.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2 KiB Mem: 24627044 total, 15883732 free KiB Swap: 26488828 total, 26488828 free Timestamp of repository gentoo: Fri, 20 Nov 2015 10:00:01 +0000 Timestamp of repository poly-c: Thu, 19 Nov 2015 18:36:38 +0000 sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.10-r3::gentoo, 3.4.3-r2::gentoo, 3.5.0-r1::gentoo dev-util/cmake: 3.4.0-r1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.18.3::gentoo sys-apps/sandbox: 2.9::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::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: 4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /mnt/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 bumblebee location: /mnt/portage/local/layman/bumblebee masters: gentoo priority: 0 dotnet location: /mnt/portage/local/layman/dotnet masters: gentoo priority: 1 steam-overlay location: /mnt/portage/local/layman/steam-overlay masters: gentoo priority: 2 media-overlay location: /mnt/portage/local/layman/media-overlay masters: gentoo priority: 3 dr location: /mnt/portage/local/layman/dr masters: gentoo priority: 4 brother-overlay location: /mnt/portage/local/layman/brother-overlay masters: gentoo priority: 5 poly-c location: /mnt/portage/local/layman/poly-c masters: gentoo priority: 6 bitcoin location: /mnt/portage/local/layman/bitcoin masters: gentoo priority: 7 lokal location: /mnt/portage/local/local-overlay masters: gentoo priority: 8 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu"
I can confirm this issue on my ~amd64 system.
Got hit with this yesterday on ~amd64 update, tested the patch, everything seems to work. I vote go with it.
Pushed as: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e0515713cdef6345aeb04bc57df0468df492bed