cc -O2 -pipe -march=native -Wextra -pedantic -fstack-protector-strong -fno-plt -c uksmd.c uksmd.c: In function ksm_advise: uksmd.c:62:12: error: PATH_MAX undeclared (first use in this function) 62 | char path[PATH_MAX]; | ^~~~~~~~ uksmd.c:62:12: note: each undeclared identifier is reported only once for each function it appears in ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-20200425-233309 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 (uninstalled) [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-bin-1.43.0 [2] rust-1.43.0 * timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Mon Apr 27 21:41:25 UTC 2020 /var/db/repos/musl Mon Apr 27 18:53:47 UTC 2020 emerge -qpvO sys-process/uksmd [ebuild N ] sys-process/uksmd-0_pre20200420
Created attachment 634982 [details] emerge-info.txt
Created attachment 634984 [details] emerge-history.txt
Created attachment 634986 [details] environment
Created attachment 634988 [details] etc.portage.tbz2
Created attachment 634990 [details] sys-process:uksmd-0_pre20200420:20200427-230226.log
Created attachment 634992 [details] temp.tbz2
Likely an occurrence of missing #include <limits.h> .
Does [1] address the issue? [1] https://gitlab.com/post-factum/uksmd/-/commit/5325ae51733ebb010862365c5a474f0d68f1ca1f
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e6b8985084256d7afce1953701d08f4a1d84fbe commit 3e6b8985084256d7afce1953701d08f4a1d84fbe Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2020-05-06 05:02:44 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-05-06 05:03:20 +0000 sys-process/uksmd: 2020-05-04 snapshot Bug: https://bugs.gentoo.org/719896 Signed-off-by: Joonas Niilola <juippis@gentoo.org> sys-process/uksmd/Manifest | 1 + ...ksmd-0_pre20200504-respect-cflags-ldflags.patch | 15 ++++++++++ sys-process/uksmd/uksmd-0_pre20200504.ebuild | 35 ++++++++++++++++++++++ 3 files changed, 51 insertions(+)