-- 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/cc - 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/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Unpacking /build/leatherman/src/leatherman-1.12.2/vendor/Catch-1.10.0.zip into /build/leatherman/src/leatherman-1.12.2/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 -- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.54") found components: regex -- RapidJSON found. Headers: /usr/include -- 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/lib/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.9.5") -- 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: /build/leatherman/src/leatherman-1.12.2/build [ 1%] Generating ../../fr/LC_MESSAGES/leatherman_logging.mo [ 2%] Built target leatherman.pot [ 3%] Built target leatherman_locale.pot [ 6%] Building CXX object util/CMakeFiles/leatherman_util.dir/src/environment.cc.o [ 6%] Building CXX object util/CMakeFiles/leatherman_util.dir/src/strings.cc.o [ 7%] Building CXX object util/CMakeFiles/leatherman_util.dir/src/scope_exit.cc.o [ 9%] Building CXX object util/CMakeFiles/leatherman_util.dir/src/scoped_env.cc.o [ 11%] Generating ../../fr/LC_MESSAGES/leatherman_locale.mo [ 11%] Building CXX object curl/tests/CMakeFiles/mock_curl.dir/mock_curl.cc.o [ 14%] Building CXX object dynamic_library/CMakeFiles/libtest1.dir/tests/test-lib/hello.cc.o [ 14%] Building CXX object util/CMakeFiles/leatherman_util.dir/src/posix/time.cc.o [ 15%] Building CXX object dynamic_library/CMakeFiles/libtest.dir/tests/test-lib/hello.cc.o [ 17%] Built target leatherman_logging.pot [ 18%] Building CXX object util/CMakeFiles/leatherman_util.dir/src/uri.cc.o [ 21%] Building CXX object execution/CMakeFiles/lth_cat.dir/tests/lth_cat.cc.o [ 21%] Building CXX object util/CMakeFiles/leatherman_util.dir/src/time.cc.o [ 22%] Building CXX object dynamic_library/CMakeFiles/libtest1.dir/tests/test-lib/goodbye.cc.o [ 23%] Building CXX object util/CMakeFiles/leatherman_util.dir/src/posix/environment.cc.o [ 25%] Building CXX object util/CMakeFiles/leatherman_util.dir/src/posix/scoped_descriptor.cc.o 11 translated messages. 4 translated messages. [ 25%] Built target fr-leatherman_locale [ 25%] Built target fr-leatherman_logging [ 25%] Built target translations In file included from /build/leatherman/src/leatherman-1.12.2/util/src/scope_exit.cc:1: /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scope_exit.hpp:54:15: error: declaration of ‘operator new’ as non-function 54 | void* operator new(size_t) = delete; | ^~~~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scope_exit.hpp:54:24: error: expected ‘;’ at end of member declaration 54 | void* operator new(size_t) = delete; | ^~~ | ; /build/leatherman/src/leatherman-1.12.2/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; | ^~~~~~ /build/leatherman/src/leatherman-1.12.2/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; | ^~~~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scope_exit.hpp:54:27: note: remove parentheses 54 | void* operator new(size_t) = delete; | ^~~~~~~~ | - - /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scope_exit.hpp:56:15: error: declaration of ‘operator new []’ as non-function 56 | void* operator new[](size_t) = delete; | ^~~~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scope_exit.hpp:56:28: error: expected ‘;’ at end of member declaration 56 | void* operator new[](size_t) = delete; | ^ | ; /build/leatherman/src/leatherman-1.12.2/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; | ^~~~~~ /build/leatherman/src/leatherman-1.12.2/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; | ^~~~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scope_exit.hpp:56:29: note: remove parentheses 56 | void* operator new[](size_t) = delete; | ^~~~~~~~ | - - /build/leatherman/src/leatherman-1.12.2/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; | ^~~~~~ /build/leatherman/src/leatherman-1.12.2/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; | ^~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scope_exit.hpp:54:44: error: expected primary-expression at end of input 54 | void* operator new(size_t) = delete; | ^ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scope_exit.hpp:56:46: error: expected primary-expression at end of input 56 | void* operator new[](size_t) = delete; | ^ In file included from /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/posix/scoped_descriptor.hpp:7, from /build/leatherman/src/leatherman-1.12.2/util/src/posix/scoped_descriptor.cc:1: /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:15: error: declaration of ‘operator new’ as non-function 124 | void* operator new(size_t) = delete; | ^~~~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:24: error: expected ‘;’ at end of member declaration 124 | void* operator new(size_t) = delete; | ^~~ | ; /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:28: error: ISO C++ forbids declaration of ‘size_t’ with no type [-fpermissive] 124 | void* operator new(size_t) = delete; | ^~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:27: warning: unnecessary parentheses in declaration of ‘size_t’ [-Wparentheses] 124 | void* operator new(size_t) = delete; | ^~~~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:27: note: remove parentheses 124 | void* operator new(size_t) = delete; | ^~~~~~~~ | - - /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:15: error: declaration of ‘operator new []’ as non-function 126 | void* operator new[](size_t) = delete; | ^~~~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:28: error: expected ‘;’ at end of member declaration 126 | void* operator new[](size_t) = delete; | ^ | ; /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:30: error: ISO C++ forbids declaration of ‘size_t’ with no type [-fpermissive] 126 | void* operator new[](size_t) = delete; | ^~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:29: warning: unnecessary parentheses in declaration of ‘size_t’ [-Wparentheses] 126 | void* operator new[](size_t) = delete; | ^~~~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:29: note: remove parentheses 126 | void* operator new[](size_t) = delete; | ^~~~~~~~ | - - /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:40: error: redeclaration of ‘int leatherman::util::scoped_resource::size_t’ 126 | void* operator new[](size_t) = delete; | ^~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:28: note: previous declaration ‘int leatherman::util::scoped_resource::size_t’ 124 | void* operator new(size_t) = delete; | ^~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:44: error: expected primary-expression at end of input 124 | void* operator new(size_t) = delete; | ^ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:46: error: expected primary-expression at end of input 126 | void* operator new[](size_t) = delete; | ^ make[2]: *** [util/CMakeFiles/leatherman_util.dir/build.make:118: util/CMakeFiles/leatherman_util.dir/src/scope_exit.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [util/CMakeFiles/leatherman_util.dir/build.make:188: util/CMakeFiles/leatherman_util.dir/src/posix/scoped_descriptor.cc.o] Error 1 In file included from /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_env.hpp:7, from /build/leatherman/src/leatherman-1.12.2/util/src/scoped_env.cc:1: /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:15: error: declaration of ‘operator new’ as non-function 124 | void* operator new(size_t) = delete; | ^~~~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:24: error: expected ‘;’ at end of member declaration 124 | void* operator new(size_t) = delete; | ^~~ | ; /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:28: error: ISO C++ forbids declaration of ‘size_t’ with no type [-fpermissive] 124 | void* operator new(size_t) = delete; | ^~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:27: warning: unnecessary parentheses in declaration of ‘size_t’ [-Wparentheses] 124 | void* operator new(size_t) = delete; | ^~~~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:27: note: remove parentheses 124 | void* operator new(size_t) = delete; | ^~~~~~~~ | - - /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:15: error: declaration of ‘operator new []’ as non-function 126 | void* operator new[](size_t) = delete; | ^~~~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:28: error: expected ‘;’ at end of member declaration 126 | void* operator new[](size_t) = delete; | ^ | ; /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:30: error: ISO C++ forbids declaration of ‘size_t’ with no type [-fpermissive] 126 | void* operator new[](size_t) = delete; | ^~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:29: warning: unnecessary parentheses in declaration of ‘size_t’ [-Wparentheses] 126 | void* operator new[](size_t) = delete; | ^~~~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:29: note: remove parentheses 126 | void* operator new[](size_t) = delete; | ^~~~~~~~ | - - /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:40: error: redeclaration of ‘int leatherman::util::scoped_resource::size_t’ 126 | void* operator new[](size_t) = delete; | ^~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:28: note: previous declaration ‘int leatherman::util::scoped_resource::size_t’ 124 | void* operator new(size_t) = delete; | ^~~~~~ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:124:44: error: expected primary-expression at end of input 124 | void* operator new(size_t) = delete; | ^ /build/leatherman/src/leatherman-1.12.2/util/inc/leatherman/util/scoped_resource.hpp:126:46: error: expected primary-expression at end of input 126 | void* operator new[](size_t) = delete; | ^ [ 26%] Linking CXX shared library ../lib/libtest.so [ 27%] Linking CXX shared library ../lib/libtest1.so [ 27%] Built target libtest [ 27%] Built target libtest1 make[2]: *** [util/CMakeFiles/leatherman_util.dir/build.make:132: util/CMakeFiles/leatherman_util.dir/src/scoped_env.cc.o] Error 1 [ 28%] Linking CXX shared library ../../lib/libmock_curl.so [ 30%] Linking CXX executable ../bin/lth_cat [ 30%] Built target mock_curl [ 30%] Built target lth_cat make[1]: *** [CMakeFiles/Makefile2:508: util/CMakeFiles/leatherman_util.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 ==> ERROR:(B A failure occurred in build().(B  Aborting...(B