x86_64-gentoo-linux-musl-g++ -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c astyle_main.cpp -o obj/astyle_main.o astyle_main.cpp: In member function std::string astyle::ASConsole::getFullPathName(const string&) const: astyle_main.cpp:1385:16: error: PATH_MAX was not declared in this scope 1385 | char fullPath[PATH_MAX]; | ^~~~~~~~ astyle_main.cpp:1386:33: error: fullPath was not declared in this scope ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200316-165821 ------------------------------------------------------------------- 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 * repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Wed, 18 Mar 2020 13:38:27 +0000 emerge -qpvO dev-util/astyle [ebuild N ] dev-util/astyle-3.1-r2 USE="-examples -java -static-libs"
Created attachment 623250 [details] emerge-info.txt
Created attachment 623252 [details] dev-util:astyle-3.1-r2:20200320-120446.log
Created attachment 623254 [details] emerge-history.txt
Created attachment 623256 [details] environment
Created attachment 623258 [details] etc.portage.tbz2
Created attachment 623260 [details] temp.tbz2
I suspect this is a case of a missing #include <limits.h> which is required explicitly on musl-libc.