* Package: dev-util/astyle-3.1-r2 * Repository: gentoo * Maintainer: tamiko@gentoo.org * Upstream: jimp03@email.com https://sourceforge.net/p/astyle/bugs/ * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking astyle_3.1_linux.tar.gz to /var/tmp/portage/dev-util/astyle-3.1-r2/work >>> Source unpacked in /var/tmp/portage/dev-util/astyle-3.1-r2/work >>> Preparing source in /var/tmp/portage/dev-util/astyle-3.1-r2/work/astyle ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/astyle-3.1-r2/work/astyle ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/astyle-3.1-r2/work/astyle ... make -j1 CXX=x86_64-gentoo-linux-musl-g++ -f ../build/gcc/Makefile -C src astyle shared make: Entering directory '/var/tmp/portage/dev-util/astyle-3.1-r2/work/astyle/src' 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 1386 | realpath(relativePath.c_str(), fullPath); | ^~~~~~~~ make: *** [../build/gcc/Makefile:97: obj/astyle_main.o] Error 1 make: Leaving directory '/var/tmp/portage/dev-util/astyle-3.1-r2/work/astyle/src' * ERROR: dev-util/astyle-3.1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/astyle-3.1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/astyle-3.1-r2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:astyle-3.1-r2:20200320-120446.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/astyle-3.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/astyle-3.1-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/astyle-3.1-r2/work/astyle' * S: '/var/tmp/portage/dev-util/astyle-3.1-r2/work/astyle' !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =astyle-3.1