******************************************************************************** conan install gtest/1.10.0@ --build=gtest --profile=/home/conan/w/BuildSingleReference/75967/22daa76d-bcdb-4c18-b6db-67a6ff04deaf/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] gtest:shared=False [build_requires] [env] gtest/1.10.0: Forced build from source Installing package: gtest/1.10.0 Requirements gtest/1.10.0 from local cache - Cache Packages gtest/1.10.0:63868df56b76903d4ad40ecbd5b2e8238cee50c9 - Build Installing (downloading, building) binaries... gtest/1.10.0: Copying sources to build folder gtest/1.10.0: Building your package in /home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/build/63868df56b76903d4ad40ecbd5b2e8238cee50c9 gtest/1.10.0: Generator cmake created conanbuildinfo.cmake gtest/1.10.0: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK gtest/1.10.0: Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/build/63868df56b76903d4ad40ecbd5b2e8238cee50c9/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="11" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/63868df56b76903d4ad40ecbd5b2e8238cee50c9" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCUSTOM_DEBUG_POSTFIX="d" -DBUILD_GMOCK="True" -Dgtest_hide_internal_symbols="False" -Wno-dev '/home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/build/63868df56b76903d4ad40ecbd5b2e8238cee50c9' ----------------- -- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- Check for working C compiler: /usr/local/bin/cc -- Check for working C compiler: /usr/local/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/local/bin/c++ -- Check for working CXX compiler: /usr/local/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- Conan: Compiler GCC>=5, checking major version 11 -- Conan: Checking correct version: 11 -- Conan: C++ stdlib: libstdc++11 -- Found PythonInterp: /opt/pyenv/versions/3.6.15/bin/python (found version "3.6.15") -- 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 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/build/63868df56b76903d4ad40ecbd5b2e8238cee50c9/build_subfolder ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/build/63868df56b76903d4ad40ecbd5b2e8238cee50c9/build_subfolder' '--' '-j3' ----------------- Scanning dependencies of target gtest [ 12%] Building CXX object source_subfolder/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o source_subfolder/googletest/CMakeFiles/gtest.dir/build.make:62: recipe for target 'source_subfolder/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o' failed CMakeFiles/Makefile2:232: recipe for target 'source_subfolder/googletest/CMakeFiles/gtest.dir/all' failed Makefile:129: recipe for target 'all' failed gtest/1.10.0: CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY In file included from /home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/build/63868df56b76903d4ad40ecbd5b2e8238cee50c9/source_subfolder/googletest/src/gtest-all.cc:42: /home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/build/63868df56b76903d4ad40ecbd5b2e8238cee50c9/source_subfolder/googletest/src/gtest-death-test.cc: In function 'bool testing::internal::StackGrowsDown()': /home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/build/63868df56b76903d4ad40ecbd5b2e8238cee50c9/source_subfolder/googletest/src/gtest-death-test.cc:1301:24: error: 'dummy' may be used uninitialized [-Werror=maybe-uninitialized] 1301 | StackLowerThanAddress(&dummy, &result); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/build/63868df56b76903d4ad40ecbd5b2e8238cee50c9/source_subfolder/googletest/src/gtest-death-test.cc:1290:13: note: by argument 1 of type 'const void*' to 'void testing::internal::StackLowerThanAddress(const void*, bool*)' declared here 1290 | static void StackLowerThanAddress(const void* ptr, bool* result) { | ^~~~~~~~~~~~~~~~~~~~~ /home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/build/63868df56b76903d4ad40ecbd5b2e8238cee50c9/source_subfolder/googletest/src/gtest-death-test.cc:1299:7: note: 'dummy' declared here 1299 | int dummy; | ^~~~~ cc1plus: all warnings being treated as errors make[2]: *** [source_subfolder/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o] Error 1 make[1]: *** [source_subfolder/googletest/CMakeFiles/gtest.dir/all] Error 2 make: *** [all] Error 2 gtest/1.10.0: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/build/63868df56b76903d4ad40ecbd5b2e8238cee50c9 gtest/1.10.0: ERROR: Package '63868df56b76903d4ad40ecbd5b2e8238cee50c9' build failed gtest/1.10.0: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/build/63868df56b76903d4ad40ecbd5b2e8238cee50c9 ERROR: gtest/1.10.0: Error in build() method, line 143 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/build/63868df56b76903d4ad40ecbd5b2e8238cee50c9/build_subfolder' '--' '-j3'