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

Bug 654330

Summary: media-libs/libgroove-4.3.0-r1: fails to build with ffmpeg-4 or libav-13
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Diogo Pereira <sir.suriv>
Status: RESOLVED FIXED    
Severity: normal CC: asturm, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/8902
https://github.com/gentoo/gentoo/pull/9935
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 653678    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-libs:libgroove-4.3.0-r1:20180429-072133.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-04-29 11:38:54 UTC
                     ^~~~~
/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"
Comment 1 Toralf Förster gentoo-dev 2018-04-29 11:38:57 UTC
Created attachment 528900 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-29 11:39:02 UTC
Created attachment 528902 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-04-29 11:39:06 UTC
Created attachment 528904 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-04-29 11:39:09 UTC
Created attachment 528906 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-04-29 11:39:13 UTC
Created attachment 528908 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-04-29 11:39:17 UTC
Created attachment 528910 [details]
media-libs:libgroove-4.3.0-r1:20180429-072133.log
Comment 7 Toralf Förster gentoo-dev 2018-04-29 11:39:20 UTC
Created attachment 528912 [details]
temp.tbz2
Comment 8 Andreas Sturmlechner gentoo-dev 2018-09-16 11:02:04 UTC
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.
Comment 10 Larry the Git Cow gentoo-dev 2018-09-21 14:50:50 UTC
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(-)