******************************************************************************** conan install gtest/1.12.1@#90c3c55fb5032a680427098888972ce6 --build=gtest -pr /home/conan/w/prod/BuildSingleReference/75030/5aa3d872-2fbd-4dec-a6c4-3c23bf4b5ced/profile_linux_5_libstdcpp11_gcc_release_64.gtest-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod/BuildSingleReference/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 5.4 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/home/conan/w/prod/BuildSingleReference/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=5 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] gtest:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True gtest/1.12.1: Forced build from source Installing package: gtest/1.12.1 Requirements gtest/1.12.1 from local cache - Cache Packages gtest/1.12.1:ce7acc4b5209eff7c9672a84872bc73779af799a - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK gtest/1.12.1: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/source/. gtest/1.12.1: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK gtest/1.12.1: Copying sources to build folder gtest/1.12.1: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/build/ce7acc4b5209eff7c9672a84872bc73779af799a gtest/1.12.1: Generator txt created conanbuildinfo.txt gtest/1.12.1: Calling generate() gtest/1.12.1: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK gtest/1.12.1: Calling build() gtest/1.12.1: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/build/ce7acc4b5209eff7c9672a84872bc73779af799a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/package/ce7acc4b5209eff7c9672a84872bc73779af799a" -DBUILD_GMOCK="ON" -Dgtest_hide_internal_symbols="OFF" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/build/ce7acc4b5209eff7c9672a84872bc73779af799a/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/build/ce7acc4b5209eff7c9672a84872bc73779af799a/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/package/ce7acc4b5209eff7c9672a84872bc73779af799a" -DBUILD_GMOCK="ON" -Dgtest_hide_internal_symbols="OFF" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/build/ce7acc4b5209eff7c9672a84872bc73779af799a/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/build/ce7acc4b5209eff7c9672a84872bc73779af799a/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/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/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Python: /opt/pyenv/versions/3.7.13/bin/python3.7 (found version "3.7.13") found components: Interpreter -- 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/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/build/ce7acc4b5209eff7c9672a84872bc73779af799a/build/Release gtest/1.12.1: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/build/ce7acc4b5209eff7c9672a84872bc73779af799a/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/build/ce7acc4b5209eff7c9672a84872bc73779af799a/build/Release" '--' '-j3' ----------------- Scanning dependencies of target gtest [ 12%] Building CXX object googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 25%] Linking CXX static library ../lib/libgtest.a [ 25%] Built target gtest Scanning dependencies of target gtest_main [ 37%] Building CXX object googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o Scanning dependencies of target gmock [ 50%] Building CXX object googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o [ 62%] Linking CXX static library ../lib/libgtest_main.a [ 62%] Built target gtest_main [ 75%] Linking CXX shared library ../lib/libgmock.so googlemock/CMakeFiles/gmock.dir/build.make:103: recipe for target 'lib/libgmock.so.1.12.1' failed CMakeFiles/Makefile2:164: recipe for target 'googlemock/CMakeFiles/gmock.dir/all' failed Makefile:159: recipe for target 'all' failed gtest/1.12.1: CMake Warning (dev) at googletest/CMakeLists.txt:66 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'BUILD_SHARED_LIBS'. This warning is for project developers. Use -Wno-dev to suppress it. /usr/bin/ld: ../lib/libgtest.a(gtest-all.cc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC ../lib/libgtest.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make[2]: *** [lib/libgmock.so.1.12.1] Error 1 make[1]: *** [googlemock/CMakeFiles/gmock.dir/all] Error 2 make: *** [all] Error 2 gtest/1.12.1: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior gtest/1.12.1: ERROR: Package 'ce7acc4b5209eff7c9672a84872bc73779af799a' build failed gtest/1.12.1: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/build/ce7acc4b5209eff7c9672a84872bc73779af799a/build/Release ERROR: gtest/1.12.1: Error in build() method, line 156 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.12.1/_/_/build/ce7acc4b5209eff7c9672a84872bc73779af799a/build/Release" '--' '-j3'