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

Bug 879689

Summary: games-arcade/yarsrevenge: possible configure breakage with Clang 16
Product: Gentoo Linux Reporter: Matt Jolly <kangie>
Component: Current packagesAssignee: Gentoo Games <games>
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:10:52 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,-Wimplicit-function-declaration]

[-Werror,-Wimplicit-function-declaration]
error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:10:53 UTC
Created attachment 827315 [details]
clang-14.log

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

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

build log
Comment 4 Larry the Git Cow gentoo-dev 2023-01-05 07:47:56 UTC
The bug has been closed via the following commit(s):

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

commit 5e7551573baae3b8530295e07cf19afd5a9f2705
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-05 07:38:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-05 07:45:28 +0000

    games-arcade/yarsrevenge: fix configure w/ clang 16
    
    Closes: https://bugs.gentoo.org/879689
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/yarsrevenge-0.99-configure-clang16.patch         | 14 ++++++++++++++
 ...rsrevenge-0.99-r1.ebuild => yarsrevenge-0.99-r2.ebuild} |  7 ++++---
 2 files changed, 18 insertions(+), 3 deletions(-)