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

Bug 879707

Summary: media-libs/opusfile: possible configure breakage with Clang 16
Product: Gentoo Linux Reporter: Matt Jolly <kangie>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: steils
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906027    
Attachments: clang-14.log
clang-15.log
clang.diff

Description Matt Jolly gentoo-dev 2022-11-04 22:11:54 UTC
This package has been identified via automation as potentially impacted by upcoming Clang 16 changes.
The following have been identified as potential issues:

[-Werror,-Wstrict-prototypes]

[-Werror,-Wstrict-prototypes]
error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:11:56 UTC
Created attachment 827369 [details]
clang-14.log

build log
Comment 2 Matt Jolly gentoo-dev 2022-11-04 22:11:58 UTC
Created attachment 827371 [details]
clang-15.log

build log
Comment 3 Matt Jolly gentoo-dev 2022-11-04 22:12:00 UTC
Created attachment 827373 [details]
clang.diff

build log
Comment 4 Larry the Git Cow gentoo-dev 2022-11-22 03:23:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=754c8b4df67d9e16962c4d41c5d4730218c86346

commit 754c8b4df67d9e16962c4d41c5d4730218c86346
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-22 03:17:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-22 03:17:24 +0000

    media-libs/opusfile: EAPI 8, fix configure w/ clang 16
    
    Closes: https://bugs.gentoo.org/879707
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/opusfile-0.12-configure-clang16.patch    | 77 ++++++++++++++++++++++
 media-libs/opusfile/opusfile-0.12-r1.ebuild        | 54 +++++++++++++++
 2 files changed, 131 insertions(+)