Summary: | x11-misc/i3blocks-contrib-2.0.0 fails to compile with clang/lld: cpu_usage2.c:127:25: error: invalid suffix D on floating constant | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Ben Kohler <bkohler> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bkohler |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/vivien/i3blocks-contrib/pull/505 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 763789 [details]
build.log
build log and emerge --info
Can reproduce the issue on an llvm installation. The fix is really easy, and I've made a pull-request upstream. https://github.com/vivien/i3blocks-contrib/pull/505 The project seems dead (no commit since last december), but the fix can at least be pulled and applied on the ebuild The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6f1926d1b73035f496c7bafe11c5c1da9aba041 commit e6f1926d1b73035f496c7bafe11c5c1da9aba041 Author: Ben Kohler <bkohler@gentoo.org> AuthorDate: 2023-09-27 17:20:17 +0000 Commit: Ben Kohler <bkohler@gentoo.org> CommitDate: 2023-09-27 17:56:15 +0000 x11-misc/i3blocks-contrib: fix clang/llvm build Closes: https://bugs.gentoo.org/832200 Signed-off-by: Ben Kohler <bkohler@gentoo.org> ...cks-contrib-2.0.0-fix-build-on-clang-llvm.patch | 25 ++++++++++++++++++++++ .../i3blocks-contrib/i3blocks-contrib-2.0.0.ebuild | 5 ++++- 2 files changed, 29 insertions(+), 1 deletion(-) |