Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895052 - 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]
Summary: dev-libs/libtsm-4.0.2 fails to compile (MUSL-CLANG-SYSTEM): shl-macro.h:206:2...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
Depends on:
Blocks: c99-porting, clang-16-porting
  Show dependency tree
Reported: 2023-02-17 08:16 UTC by Agostino Sarubbo
Modified: 2023-02-17 08:16 UTC (History)
0 users

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

build.log (build.log,58.78 KB, text/plain)
2023-02-17 08:16 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-17 08:16:36 UTC

Issue: dev-libs/libtsm-4.0.2 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-17 08:16:38 UTC
Created attachment 851966 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-17 08:16:39 UTC
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]