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

Bug 879701

Summary: media-libs/libopusenc: 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    
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:36 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:38 UTC
Created attachment 827351 [details]
clang-14.log

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

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

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

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

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

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

 .../files/libopusenc-0.2.1-clang16.patch           | 102 +++++++++++++++++++++
 media-libs/libopusenc/libopusenc-0.2.1-r1.ebuild   |  44 +++++++++
 2 files changed, 146 insertions(+)