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

Bug 834398

Summary: media-sound/xmms2-0.8_p20201016-r1 with ffmpeg-5.0: Checking for header avcodec.h : not found
Product: Gentoo Linux Reporter: Kobboi <gentoo>
Component: Current packagesAssignee: Ionen Wolkens <ionen>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 831437    
Attachments: build.log.gz
emerge-info.txt

Description Kobboi 2022-02-28 20:33:36 UTC
Checking for header faad.h                                        : yes 
Checking for library faad                                         : yes 
Checking for 'mad'                                                : yes 
Checking for 'fluidsynth'                                         : yes 
Checking for 'vorbisfile'                                         : yes 
Checking for 'libcdio_cdda'                                       : yes 
Checking for 'libdiscid'                                          : yes 
Checking for 'libpulse'                                           : yes 
Checking for library m                                            : yes 
Checking for 'libavcodec'                                         : yes 
Checking for header avcodec.h                                     : not found 
Checking for header libavcodec/avcodec.h                          : yes 
Checking for function avcodec_decode_audio4                       : no 
The required plugin avcodec failed to configure: The configuration failed
(complete log in /var/tmp/portage/media-sound/xmms2-0.8_p20201016-r1/work/xmms2-devel-46da10f0e20c53fd2b40843617ed182c0cba4ebb/_build_/config.log)
(complete log in /var/tmp/portage/media-sound/xmms2-0.8_p20201016-r1/work/xmms2-devel-46da10f0e20c53fd2b40843617ed182c0cba4ebb/_build_/config.log)
 * ERROR: media-sound/xmms2-0.8_p20201016-r1::gentoo failed (configure phase):
 *   (no error message)


Reproducible: Always
Comment 1 Kobboi 2022-02-28 20:33:57 UTC
Created attachment 766055 [details]
build.log.gz
Comment 2 Kobboi 2022-02-28 20:33:59 UTC
Created attachment 766056 [details]
emerge-info.txt
Comment 3 Kobboi 2022-02-28 20:34:36 UTC
Compiles fine with:
* USE=ffmpeg and ffmpeg-4.4.1
* USE=-ffmpeg and ffmpeg-5.0
Comment 4 Larry the Git Cow gentoo-dev 2022-03-16 03:42:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=393ed20e6cb0037c61b4ca85edaa5d58cece6719

commit 393ed20e6cb0037c61b4ca85edaa5d58cece6719
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-03-16 03:17:38 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-03-16 03:41:47 +0000

    media-sound/xmms2: fix build with ffmpeg5
    
    Closes: https://bugs.gentoo.org/834398
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../xmms2/files/xmms2-0.8_p20201016-ffmpeg5.patch  | 125 +++++++++++
 media-sound/xmms2/xmms2-0.8_p20201016-r2.ebuild    | 237 +++++++++++++++++++++
 2 files changed, 362 insertions(+)