Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879739 - net-mail/notmuch: possible configure breakage with Clang 16
Summary: net-mail/notmuch: possible configure breakage with Clang 16
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 906027
  Show dependency tree
 
Reported: 2022-11-04 22:13 UTC by Matt Jolly
Modified: 2023-05-09 13:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
clang-14.log (clang-14.log,703 bytes, text/plain)
2022-11-04 22:13 UTC, Matt Jolly
Details
clang-15.log (clang-15.log,932 bytes, text/plain)
2022-11-04 22:13 UTC, Matt Jolly
Details
clang.diff (clang.diff,1021 bytes, text/plain)
2022-11-04 22:13 UTC, Matt Jolly
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)