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

Bug 879663

Summary: dev-libs/gf2x: possible configure breakage with Clang 16
Product: Gentoo Linux Reporter: Matt Jolly <kangie>
Component: Current packagesAssignee: Gentoo Science Mathematics related packages <sci-mathematics>
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:09:17 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:09:19 UTC
Created attachment 827243 [details]
clang-14.log

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

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

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

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

commit f0fb5cc9d77001e24b84cf76c19ea1abe88d5e74
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-19 01:11:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-19 01:34:43 +0000

    dev-libs/gf2x: fix configure w/ clang 16
    
    Fixed myself then realised upstream patch, you need to request an account for inria
    *from a member* so not bothering with strict prototypes...
    
    Closes: https://bugs.gentoo.org/879663
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gf2x/files/gf2x-1.3.0-configure-clang16.patch  | 28 ++++++++++++++++++++++
 .../{gf2x-1.3.0.ebuild => gf2x-1.3.0-r1.ebuild}    |  1 +
 2 files changed, 29 insertions(+)