AVCodecContext *codec; ^~~~~ /var/tmp/portage/games-emulation/vbam-2.0.2/work/visualboyadvance-m-2.0.2/src/common/ffmpeg.cpp:90:36: error: ‘FF_MIN_BUFFER_SIZE’ was not declared in this scope #define AUDIO_BUF_LEN (frame_len > FF_MIN_BUFFER_SIZE ? frame_len : FF_MIN_BUFFER_SIZE) ^ /var/tmp/portage/games-emulation/vbam-2.0.2/work/visualboyadvance-m-2.0.2/src/common/ffmpeg.cpp:296:32: note: in expansion of macro ‘AUDIO_BUF_LEN’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-ffmpeg4_20180425-205701 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) [3] pypy3 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) [2] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: emerge -qpv games-emulation/vbam [ebuild N ] games-emulation/vbam-2.0.2 USE="ffmpeg nls sdl wxwidgets -link -lirc -openal"
Created attachment 528662 [details] emerge-info.txt
Created attachment 528664 [details] emerge-history.txt
Created attachment 528666 [details] environment
Created attachment 528668 [details] etc.portage.tbz2
Created attachment 528670 [details] games-emulation:vbam-2.0.2:20180427-081327.log
Created attachment 528672 [details] logs.tbz2
Created attachment 528674 [details] temp.tbz2
Created attachment 543224 [details, diff] Patch to fix ffmpeg 4.0 incompatibility This macro was later renamed to AV_INPUT_BUFFER_MIN_SIZE.
Created attachment 543226 [details, diff] ffmpeg4 fix
ahh, my last patch isn't very helpful. After fixing all instances of that macro (I missed a few), it turns out they were using a now unsupported AVFORMAT (RAWPICTURE). Patches will probably need more careful consideration.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef9f6bf56e2a038da4cdda33020cf9d8decf1e85 commit ef9f6bf56e2a038da4cdda33020cf9d8decf1e85 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2018-08-29 21:21:24 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2018-08-29 21:22:05 +0000 games-emulation/vbam: Pin ffmpeg back to version 3 It doesn't build with ffmpeg 4, the dependency is optional, and upstream don't appear to be in a hurry to fix it. Closes: https://bugs.gentoo.org/654176 Package-Manager: Portage-2.3.48, Repoman-2.3.10 games-emulation/vbam/vbam-2.0.2.ebuild | 2 +- games-emulation/vbam/vbam-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
*** Bug 686444 has been marked as a duplicate of this bug. ***
oops