Summary: | dev-libs/libtsm-4.0.2 fails to compile (MUSL-CLANG-SYSTEM): shl-macro.h:206:2: error: call to undeclared function static_assert; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Ben Kohler <bkohler> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jy6x2b32pie9, tigrmango |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/33651 | ||
Whiteboard: | ~arch only | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 851966 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: -- Could NOT find XKBCommon (missing: XKBCommon_KeySyms_FOUND KeySyms) -- Could NOT find XKBCommon_KeySyms (missing: XKBCommon_KeySyms_INCLUDE_DIR) (found version "") FAILED: src/shared/CMakeFiles/shl.dir/shl-pty.c.o FAILED: src/shared/CMakeFiles/shl.dir/shl-ring.c.o /var/tmp/portage/dev-libs/libtsm-4.0.2/work/libtsm-4.0.2/src/shared/shl-macro.h:206:2: error: call to undeclared function 'static_assert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] *** Bug 921326 has been marked as a duplicate of this bug. *** Compilation error fixed upstream in https://github.com/Aetf/libtsm/commit/37ab668857967052cd394628a32347affb330cde The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ae890a4cfe1d8d88e91cd035e93a7238d79917 commit 96ae890a4cfe1d8d88e91cd035e93a7238d79917 Author: Ben Kohler <bkohler@gentoo.org> AuthorDate: 2024-03-29 15:16:13 +0000 Commit: Ben Kohler <bkohler@gentoo.org> CommitDate: 2024-03-29 15:16:51 +0000 dev-libs/libtsm: add 4.0.2_p20231223 Closes: https://bugs.gentoo.org/895052 Signed-off-by: Ben Kohler <bkohler@gentoo.org> dev-libs/libtsm/Manifest | 1 + dev-libs/libtsm/libtsm-4.0.2_p20231223.ebuild | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=518afe3c3a29496c364bbad08361908a52739716 commit 518afe3c3a29496c364bbad08361908a52739716 Author: Brahmajit Das <brahmajit.xyz@gmail.com> AuthorDate: 2023-11-02 17:45:10 +0000 Commit: Ben Kohler <bkohler@gentoo.org> CommitDate: 2024-05-09 14:21:41 +0000 dev-libs/libtsm: Fix call to undeclared function static_assert and update EAPI 7 -> 8 Closes: https://bugs.gentoo.org/895052 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33651 Signed-off-by: Ben Kohler <bkohler@gentoo.org> .../files/libtsm-clang16-static_assert-fix.patch | 10 ++++++++++ dev-libs/libtsm/libtsm-4.0.2-r1.ebuild | 20 ++++++++++++++++++++ 2 files changed, 30 insertions(+) |