* Package: dev-libs/leatherman-1.12.4 * Repository: gentoo * Maintainer: prometheanfire@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking leatherman-1.12.4.tar.gz to /var/tmp/portage/dev-libs/leatherman-1.12.4/work >>> Source unpacked in /var/tmp/portage/dev-libs/leatherman-1.12.4/work >>> Preparing source in /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4 ... * Applying portage-sandbox-test-fix.patch ... [ ok ] * Applying 1.12.2-shared_nowide.patch ... [ ok ] * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4 ... >>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build" cmake -C /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DLEATHERMAN_SHARED=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4 loading initial cache file /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build/gentoo_common_config.cmake -- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Unpacking /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/vendor/Catch-1.10.0.zip into /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build/src/Catch-1.10.0 -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.54") -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.73") found components: date_time chrono system nowide -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.54") found components: locale system -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.54") found components: log log_setup thread date_time filesystem system chrono regex atomic -- Unpacking /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/vendor/rapidjson-1.0.2.zip into /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build/src/rapidjson -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.54") found components: regex -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.73") found components: regex filesystem system nowide -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.54") found components: regex system filesystem -- Found CURL: /usr/lib64/libcurl.so (found version "7.76.1") -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.54") found components: regex system -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.73") found components: regex filesystem system nowide -- Looking for closefrom in c -- Looking for closefrom in c - not found -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.54") found components: regex filesystem system -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.73") found components: system date_time chrono log log_setup thread filesystem regex nowide locale atomic -- Found PythonInterp: /usr/bin/python (found version "3.8.9") -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -pipe -march=native -fno-diagnostics-color -Og -g C++ -Wno-maybe-uninitialized -pipe -march=native -fno-diagnostics-color -Og -g Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -- Configuring done CMake Warning (dev) in tests/CMakeLists.txt: Policy CMP0110 is not set: add_test() supports arbitrary characters in test names. Run "cmake --help-policy CMP0110" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The following name given to add_test() is invalid if CMP0110 is not set or set to OLD: `leatherman\ tests´ This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done -- Build files have been written to: /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4 ... >>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build" ninja -v -j1 -l0 [1/85] cd /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build/locales && /usr/bin/xgettext --sort-by-file --copyright-holder Puppet\ \ --package-name=leatherman --package-version=1.12.4 --msgid-bugs-address docs@puppet.com -d leatherman -o /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/locales/leatherman.pot --keyword=LOG_DEBUG:1,\"debug\" --keyword=LOG_INFO:1,\"info\" --keyword=LOG_WARNING:1,\"warning\" --keyword=LOG_ERROR:1,\"error\" --keyword=LOG_FATAL:1,\"fatal\" --keyword=log:2,\"log\" --keyword=translate:1 --keyword=translate_n:1,2 --keyword=translate_p:1c,2 --keyword=translate_np:1c,2,3 --keyword=format:1 --keyword=format_n:1,2 --keyword=format_p:1c,2 --keyword=format_np:1c,2,3 --keyword=_:1 --keyword=n_:1,2 --keyword=p_:1c,2 --keyword=np_:1c,2,3 --add-location=file --add-comments=LOCALE /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/curl/inc/leatherman/curl/client.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/curl/inc/leatherman/curl/request.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/curl/inc/leatherman/curl/response.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/curl/src/client.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/curl/src/request.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/curl/src/response.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/dynamic_library/inc/leatherman/dynamic_library/dynamic_library.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/dynamic_library/src/dynamic_library.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/dynamic_library/src/posix/dynamic_library.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/dynamic_library/src/windows/dynamic_library.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/execution/inc/leatherman/execution/execution.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/execution/src/execution.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/execution/src/posix/execution.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/execution/src/posix/generic/platform.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/execution/src/posix/solaris/platform.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/execution/src/windows/execution.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/file_util/inc/leatherman/file_util/directory.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/file_util/inc/leatherman/file_util/file.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/file_util/src/directory.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/file_util/src/file.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/json_container/inc/leatherman/json_container/json_container.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/json_container/src/json_container.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/locale/inc/leatherman/locale/locale.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/locale/src/locale.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/logging/inc/leatherman/logging/logging.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/logging/src/logging.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/logging/src/posix/logging.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/logging/src/windows/logging.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/ruby/inc/leatherman/ruby/api.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/ruby/src/api.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/ruby/src/posix/api.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/ruby/src/windows/api.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/environment.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/option_set.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/posix/scoped_descriptor.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/regex.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scoped_env.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scoped_resource.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/strings.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/time.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/timer.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/uri.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/windows/scoped_handle.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/environment.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/posix/environment.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/posix/scoped_descriptor.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/posix/time.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/scope_exit.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/scoped_env.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/strings.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/time.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/uri.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/windows/environment.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/windows/scoped_handle.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/windows/time.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/windows/inc/leatherman/windows/file_util.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/windows/inc/leatherman/windows/process.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/windows/inc/leatherman/windows/registry.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/windows/inc/leatherman/windows/system_error.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/windows/inc/leatherman/windows/user.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/windows/inc/leatherman/windows/windows.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/windows/inc/leatherman/windows/wmi.hpp /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/windows/src/file_util.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/windows/src/process.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/windows/src/registry.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/windows/src/system_error.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/windows/src/user.cc /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/windows/src/wmi.cc && /usr/bin/cmake -DPOT_FILE=/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/locales/leatherman.pot -DSOURCE_DIR=/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4 -P /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/cmake/normalize_pot.cmake [2/85] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DLEATHERMAN_LOCALE_INSTALL=\"/usr/share/locale\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build\" -DPROJECT_NAME=\"leatherman\" -Dleatherman_util_EXPORTS -I/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc -DNDEBUG -Wno-maybe-uninitialized -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-maybe-uninitialized -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -nostdlib -nodefaultlibs -MD -MT util/CMakeFiles/leatherman_util.dir/src/strings.cc.o -MF util/CMakeFiles/leatherman_util.dir/src/strings.cc.o.d -o util/CMakeFiles/leatherman_util.dir/src/strings.cc.o -c /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/strings.cc [3/85] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DLEATHERMAN_LOCALE_INSTALL=\"/usr/share/locale\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build\" -DPROJECT_NAME=\"leatherman\" -Dleatherman_util_EXPORTS -I/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc -DNDEBUG -Wno-maybe-uninitialized -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-maybe-uninitialized -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -nostdlib -nodefaultlibs -MD -MT util/CMakeFiles/leatherman_util.dir/src/time.cc.o -MF util/CMakeFiles/leatherman_util.dir/src/time.cc.o.d -o util/CMakeFiles/leatherman_util.dir/src/time.cc.o -c /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/time.cc [4/85] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DLEATHERMAN_LOCALE_INSTALL=\"/usr/share/locale\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build\" -DPROJECT_NAME=\"leatherman\" -Dleatherman_util_EXPORTS -I/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc -DNDEBUG -Wno-maybe-uninitialized -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-maybe-uninitialized -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -nostdlib -nodefaultlibs -MD -MT util/CMakeFiles/leatherman_util.dir/src/environment.cc.o -MF util/CMakeFiles/leatherman_util.dir/src/environment.cc.o.d -o util/CMakeFiles/leatherman_util.dir/src/environment.cc.o -c /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/environment.cc [5/85] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DLEATHERMAN_LOCALE_INSTALL=\"/usr/share/locale\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build\" -DPROJECT_NAME=\"leatherman\" -Dleatherman_util_EXPORTS -I/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc -DNDEBUG -Wno-maybe-uninitialized -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-maybe-uninitialized -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -nostdlib -nodefaultlibs -MD -MT util/CMakeFiles/leatherman_util.dir/src/scope_exit.cc.o -MF util/CMakeFiles/leatherman_util.dir/src/scope_exit.cc.o.d -o util/CMakeFiles/leatherman_util.dir/src/scope_exit.cc.o -c /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/scope_exit.cc FAILED: util/CMakeFiles/leatherman_util.dir/src/scope_exit.cc.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DLEATHERMAN_LOCALE_INSTALL=\"/usr/share/locale\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build\" -DPROJECT_NAME=\"leatherman\" -Dleatherman_util_EXPORTS -I/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc -DNDEBUG -Wno-maybe-uninitialized -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-maybe-uninitialized -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -nostdlib -nodefaultlibs -MD -MT util/CMakeFiles/leatherman_util.dir/src/scope_exit.cc.o -MF util/CMakeFiles/leatherman_util.dir/src/scope_exit.cc.o.d -o util/CMakeFiles/leatherman_util.dir/src/scope_exit.cc.o -c /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/scope_exit.cc In file included from /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/src/scope_exit.cc:1: /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:54:15: error: declaration of ‘operator new’ as non-function 54 | void* operator new(size_t) = delete; | ^~~~~~~~ /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:54:24: error: expected ‘;’ at end of member declaration 54 | void* operator new(size_t) = delete; | ^~~ | ; /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:54:28: error: ISO C++ forbids declaration of ‘size_t’ with no type [-fpermissive] 54 | void* operator new(size_t) = delete; | ^~~~~~ /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:54:27: warning: unnecessary parentheses in declaration of ‘size_t’ [-Wparentheses] 54 | void* operator new(size_t) = delete; | ^~~~~~~~ /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:54:27: note: remove parentheses 54 | void* operator new(size_t) = delete; | ^~~~~~~~ | - - /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:56:15: error: declaration of ‘operator new []’ as non-function 56 | void* operator new[](size_t) = delete; | ^~~~~~~~ /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:56:28: error: expected ‘;’ at end of member declaration 56 | void* operator new[](size_t) = delete; | ^ | ; /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:56:30: error: ISO C++ forbids declaration of ‘size_t’ with no type [-fpermissive] 56 | void* operator new[](size_t) = delete; | ^~~~~~ /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:56:29: warning: unnecessary parentheses in declaration of ‘size_t’ [-Wparentheses] 56 | void* operator new[](size_t) = delete; | ^~~~~~~~ /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:56:29: note: remove parentheses 56 | void* operator new[](size_t) = delete; | ^~~~~~~~ | - - /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:56:40: error: redeclaration of ‘int leatherman::util::scope_exit::size_t’ 56 | void* operator new[](size_t) = delete; | ^~~~~~ /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:54:28: note: previous declaration ‘int leatherman::util::scope_exit::size_t’ 54 | void* operator new(size_t) = delete; | ^~~~~~ /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:54:44: error: expected primary-expression at end of input 54 | void* operator new(size_t) = delete; | ^ /var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp:56:46: error: expected primary-expression at end of input 56 | void* operator new[](size_t) = delete; | ^ ninja: build stopped: subcommand failed. * ERROR: dev-libs/leatherman-1.12.4::gentoo failed (compile phase): * ninja -v -j1 -l0 failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2211: Called cmake-utils_src_compile * environment, line 838: Called cmake-utils_src_make * environment, line 1022: Called _cmake_ninja_src_make * environment, line 485: Called eninja * environment, line 1328: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=dev-libs/leatherman-1.12.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/leatherman-1.12.4::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:leatherman-1.12.4:20210428-062300.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/leatherman-1.12.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/leatherman-1.12.4/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4_build' * S: '/var/tmp/portage/dev-libs/leatherman-1.12.4/work/leatherman-1.12.4'