^~~~~ /var/tmp/portage/media-libs/libgroove-4.3.0-r1/work/libgroove-4.3.0/groove/encoder.c: In function ‘groove_encoder_attach’: /var/tmp/portage/media-libs/libgroove-4.3.0-r1/work/libgroove-4.3.0/groove/encoder.c:619:59: error: ‘CODEC_CAP_VARIABLE_FRAME_SIZE’ undeclared (first use in this function); did you mean ‘AV_CODEC_CAP_VARIABLE_FRAME_SIZE’? e->sink->buffer_sample_count = (codec->capabilities & CODEC_CAP_VARIABLE_FRAME_SIZE) ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AV_CODEC_CAP_VARIABLE_FRAME_SIZE ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_20180425-210301 ------------------------------------------------------------------- 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) [4] pypy (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * emerge -qpv media-libs/libgroove [ebuild N ] media-libs/libgroove-4.3.0-r1 USE="chromaprint libav loudness sound -static-libs"
Created attachment 528900 [details] emerge-info.txt
Created attachment 528902 [details] emerge-history.txt
Created attachment 528904 [details] environment
Created attachment 528906 [details] etc.portage.tbz2
Created attachment 528908 [details] logs.tbz2
Created attachment 528910 [details] media-libs:libgroove-4.3.0-r1:20180429-072133.log
Created attachment 528912 [details] temp.tbz2
Upstream seems very inactive these days, Diogo, is there any hope of a fix? Maybe check other distributions to source patches from? Otherwise, this library has no reverse-dependencies and would have to be treecleaned whenever <ffmpeg-4 will be removed. That is probably quite some time away though.
Found a patch in Debian: https://salsa.debian.org/multimedia-team/libgroove/blob/b8492a7458de21d504cd521e4f3135da6a36ca31/debian/patches/ffmpeg-4.0.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acbfec2b102c3bfe316827043191cf623e8673c3 commit acbfec2b102c3bfe316827043191cf623e8673c3 Author: Diogo Pereira <sir.suriv@gmail.com> AuthorDate: 2018-09-21 14:16:21 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-09-21 14:48:16 +0000 media-libs/libgroove: fix build with ffmpeg-4 Closes: https://bugs.gentoo.org/654330 Reported-by: Toralf Förster <toralf@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10 Closes: https://github.com/gentoo/gentoo/pull/9935 .../libgroove/files/libgroove-4.3.0_ffmpeg4.patch | 47 ++++++++++++++++++++++ media-libs/libgroove/libgroove-4.3.0-r1.ebuild | 3 +- 2 files changed, 49 insertions(+), 1 deletion(-)