x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -c -o evtest.o evtest.c evtest.c: In function scan_devices: evtest.c:886:14: error: PATH_MAX undeclared (first use in this function) 886 | char fname[PATH_MAX]; | ^~~~~~~~ evtest.c:886:14: 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-20200328-201618 ------------------------------------------------------------------- Please see the tracker bug for details. 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 [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.42.0 [2] rust-1.42.0 * Available Java Virtual Machines: (none found) timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Thu Apr 9 20:37:56 UTC 2020 /var/db/repos/musl Wed Apr 8 18:15:58 UTC 2020 emerge -qpvO app-misc/evtest [ebuild N ] app-misc/evtest-1.34
Created attachment 631740 [details] emerge-info.txt
Created attachment 631742 [details] app-misc:evtest-1.34:20200409-215003.log
Created attachment 631744 [details] emerge-history.txt
Created attachment 631746 [details] environment
Created attachment 631748 [details] etc.portage.tbz2
Created attachment 631750 [details] logs.tbz2
Created attachment 631752 [details] temp.tbz2
Likely an occurrence of missing #include <limits.h> .
(In reply to Michael 'veremitz' Everitt from comment #8) > Likely an occurrence of missing #include <limits.h> . Yep! https://git.alpinelinux.org/aports/tree/community/evtest/fix-ppc64le-musl.patch No idea why the patch name mentions ppc64...
Upstream patch: https://cgit.freedesktop.org/evtest/commit/?id=049396aab18849eef257af1116951a83416339e6
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf303a2bd691cc0c9165b5435db1a8f6f19a32a commit bbf303a2bd691cc0c9165b5435db1a8f6f19a32a Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-29 06:07:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-29 06:27:09 +0000 app-misc/evtest: fix musl build (upstream patch) Closes: https://bugs.gentoo.org/716876 Signed-off-by: Sam James <sam@gentoo.org> app-misc/evtest/evtest-1.34.ebuild | 13 ++++++----- .../evtest/files/evtest-1.34-musl-include.patch | 26 ++++++++++++++++++++++ 2 files changed, 34 insertions(+), 5 deletions(-)