This package has been identified via automation as potentially impacted by upcoming Clang 16 changes. The following have been identified as potential issues: [-Werror,-Wcompound-token-split-by-macro] [-Werror,-Wcompound-token-split-by-macro] error: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro] error: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
Created attachment 827161 [details] clang-14.log build log
Created attachment 827163 [details] clang-15.log build log
Created attachment 827165 [details] clang.diff build log
@sam: Do you have an idea for fix? Upstream ask, if we could fill a PR.
I'll take a look.
Left a comment at https://github.com/collectd/collectd/issues/4061#issuecomment-1407274858. There's a mix of issues.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eff1ccb300e56b56ceea1fa204946647366afff3 commit eff1ccb300e56b56ceea1fa204946647366afff3 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-14 02:50:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-14 03:23:02 +0000 app-metrics/collectd: fix configure w/ clang 16 Closes: https://bugs.gentoo.org/879633 Closes: https://bugs.gentoo.org/900392 Signed-off-by: Sam James <sam@gentoo.org> ...-5.12.0-r7.ebuild => collectd-5.12.0-r8.ebuild} | 1 + .../files/collectd-5.12.0-clang16-configure.patch | 127 +++++++++++++++++++++ 2 files changed, 128 insertions(+)
Thank you!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70e9a9462d2ab905cc2daeba69bc3a502de0729c commit 70e9a9462d2ab905cc2daeba69bc3a502de0729c Author: Sam James <sam@gentoo.org> AuthorDate: 2023-12-04 07:32:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-04 07:32:14 +0000 app-metrics/collectd: fix another modern c issue in configure (for nut) Bug: https://bugs.gentoo.org/879633 Signed-off-by: Sam James <sam@gentoo.org> app-metrics/collectd/collectd-5.12.0-r9.ebuild | 563 +++++++++++++++++++++ .../collectd/files/collectd-5.12.0-nut-c99.patch | 143 ++++++ 2 files changed, 706 insertions(+)