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

Bug 879739

Summary: net-mail/notmuch: possible configure breakage with Clang 16
Product: Gentoo Linux Reporter: Matt Jolly <kangie>
Component: Current packagesAssignee: Georgy Yakovlev <gyakovlev>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo
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:13:54 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 function 'strcasestr'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:13:55 UTC
Created attachment 827465 [details]
clang-14.log

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

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

build log
Comment 5 Larry the Git Cow gentoo-dev 2023-01-13 08:22:50 UTC
The bug has been closed via the following commit(s):

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

commit 80e849132c5477f51fcb9323316cc8546ea9564f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-13 08:21:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-13 08:22:43 +0000

    net-mail/notmuch: fix configure w/ clang 16
    
    Closes: https://bugs.gentoo.org/879739
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/notmuch-0.37-configure-clang16.patch     |  24 ++
 net-mail/notmuch/notmuch-0.37-r1.ebuild            | 303 +++++++++++++++++++++
 2 files changed, 327 insertions(+)