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

Bug 879751

Summary: sci-biology/tree-puzzle: possible configure breakage with Clang 16
Product: Gentoo Linux Reporter: Matt Jolly <kangie>
Component: Current packagesAssignee: Gentoo Science Biology related packages <sci-biology>
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:14:39 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: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:14:40 UTC
Created attachment 827501 [details]
clang-14.log

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

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

build log
Comment 4 Larry the Git Cow gentoo-dev 2022-11-19 04:46:06 UTC
The bug has been closed via the following commit(s):

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

commit d4d7228930146c4626f8da2c0fb68c788329eb6a
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-11-19 04:45:55 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-11-19 04:45:55 +0000

    sci-biology/tree-puzzle: regenerate configure script for clang 16
    
    Closes: https://bugs.gentoo.org/879751
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/tree-puzzle-5.2-C99-decls.patch          | 360 +++++++++++++++++++++
 .../tree-puzzle/files/tree-puzzle-impl-dec.patch   |  14 -
 sci-biology/tree-puzzle/tree-puzzle-5.2.ebuild     |   9 +-
 3 files changed, 368 insertions(+), 15 deletions(-)