| ^~~~ cdargs.cc: In function char* get_cwd_as_charp(): cdargs.cc:930:14: error: PATH_MAX was not declared in this scope 930 | char buf[PATH_MAX]; | ^~~~~~~~ cdargs.cc:931:27: error: buf was not declared in this scope ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200316-165821 ------------------------------------------------------------------- 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-1.41.1 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Sun Mar 22 04:39:13 UTC 2020 /var/db/repos/musl Sun Mar 22 03:12:57 UTC 2020 emerge -qpvO app-misc/cdargs [ebuild N ] app-misc/cdargs-1.35-r2 USE="-emacs"
Created attachment 624312 [details] emerge-info.txt
Created attachment 624314 [details] app-misc:cdargs-1.35-r2:20200322-052407.log
Created attachment 624316 [details] emerge-history.txt
Created attachment 624318 [details] environment
Created attachment 624320 [details] etc.portage.tbz2
Created attachment 624322 [details] logs.tbz2
Created attachment 624324 [details] temp.tbz2
I suspect this is a case of a missing #include <limits.h> which is required explicitly on musl-libc.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ea943b229eaf30b5e065bd5450a46cf313c99ed commit 7ea943b229eaf30b5e065bd5450a46cf313c99ed Author: Pascal Jäger <pascal.jaeger@leimstift.de> AuthorDate: 2023-10-14 07:14:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-15 03:19:45 +0000 app-misc/cdargs: vbump to 2.1 EAPI bump Build system changed to meson Closes: https://bugs.gentoo.org/713962 Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de> Closes: https://github.com/gentoo/gentoo/pull/33323 Signed-off-by: Sam James <sam@gentoo.org> app-misc/cdargs/Manifest | 1 + app-misc/cdargs/cdargs-2.1.ebuild | 65 +++++++++++++++++++++++++++++ app-misc/cdargs/files/cdargs-2.1-musl.patch | 17 ++++++++ app-misc/cdargs/metadata.xml | 3 ++ 4 files changed, 86 insertions(+)