Summary: | sys-apps/coreutils-9.4-r1 fails to build with clang-18: lib/posixtm.c:194:15: error: operand argument to checked integer operation must be an integer type other than plain 'char', 'bool', bit-precise, or an enumeration ('bool' invalid) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petr Šabata <contyk> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | contyk, lockalsash, StormByte |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 926505 | ||
Attachments: | build.log |
Description
Petr Šabata
2024-03-07 11:01:32 UTC
Created attachment 886896 [details]
build.log
I think this is the result of improved C23 support for stdckdint. (In reply to Sv. Lockal from comment #3) > Upstream patch: > https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=67c298c36f6 I confirm this patch fixes the issue. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=502e78b6185f3351434b7345dd9b36ce4131a76e commit 502e78b6185f3351434b7345dd9b36ce4131a76e Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-23 20:01:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-23 20:02:03 +0000 sys-apps/coreutils: add 9.4_p20240323 (unkeyworded) Reworked tests as well. Closes: https://bugs.gentoo.org/413621 Closes: https://bugs.gentoo.org/629660 Closes: https://bugs.gentoo.org/803377 Closes: https://bugs.gentoo.org/898370 Closes: https://bugs.gentoo.org/910640 Closes: https://bugs.gentoo.org/926349 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/coreutils/Manifest | 3 + sys-apps/coreutils/coreutils-9.4_p20240323.ebuild | 302 ++++++++++++++++++++++ sys-apps/coreutils/coreutils-9999.ebuild | 63 +++-- 3 files changed, 352 insertions(+), 16 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c182cea4b7c5516ddaa3d69dad06fd1c088ae7 commit b6c182cea4b7c5516ddaa3d69dad06fd1c088ae7 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-23 20:08:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-23 20:08:20 +0000 sys-apps/coreutils: backport test fixes to 9.4 Bug: https://bugs.gentoo.org/413621 Bug: https://bugs.gentoo.org/629660 Bug: https://bugs.gentoo.org/803377 Bug: https://bugs.gentoo.org/898370 Bug: https://bugs.gentoo.org/910640 Bug: https://bugs.gentoo.org/926349 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/coreutils/coreutils-9.4.ebuild | 59 +++++++++++++++++++++++++-------- 1 file changed, 45 insertions(+), 14 deletions(-) I'll backport later. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=941cbe454bc58735a04ac0bbcc83167cd9fd8aa8 commit 941cbe454bc58735a04ac0bbcc83167cd9fd8aa8 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-24 05:57:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-24 05:57:18 +0000 sys-apps/coreutils: backport Clang 18 patch Closes: https://bugs.gentoo.org/926349 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/coreutils/coreutils-9.4-r1.ebuild | 1 + ...reutils-9.4-gnulib-clang-18-c23-stdckdint.patch | 30 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) |