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

Bug 879657

Summary: dev-lang/swi-prolog: possible configure breakage with Clang 16
Product: Gentoo Linux Reporter: Matt Jolly <kangie>
Component: Current packagesAssignee: Gentoo Prolog project <prolog>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=892427
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:08:49 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-int]

[-Werror,-Wimplicit-int]
error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:08:52 UTC
Created attachment 827225 [details]
clang-14.log

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

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

build log
Comment 4 Larry the Git Cow gentoo-dev 2023-02-11 04:26:42 UTC
The bug has been closed via the following commit(s):

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

commit 3cc10101043aa2994d613ddd371323275a7beb42
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-11 03:57:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-11 04:18:58 +0000

    dev-lang/swi-prolog: fix configure w/ clang 16
    
    Closes: https://bugs.gentoo.org/879657
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/swi-prolog-9.1.2-configure-clang16.patch | 61 ++++++++++++++++++++++
 ...log-9.1.2.ebuild => swi-prolog-9.1.2-r1.ebuild} |  5 ++
 2 files changed, 66 insertions(+)