******************************************************************************** conan test conan-center-index/recipes/gtest/all/test_package/conanfile.py gtest/1.10.0@#2e1c1f9b895060d567ed848ec54e5113 -pr /home/conan/w/prod/BuildSingleReference/76504/d39e31ad-1c99-46dd-95c8-c953f4f80b7e/profile_linux_11_libstdcpp_clang_release_64.gtest-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=clang compiler.libcxx=libstdc++ compiler.version=11 os=Linux [options] gtest:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True gtest/1.10.0 (test package): Installing package Requirements gtest/1.10.0 from local cache - Cache Packages gtest/1.10.0:253ca1918ec2bda5d5b2c998316a223eee8e6d23 - Cache Installing (downloading, building) binaries... gtest/1.10.0: Already installed! gtest/1.10.0 (test package): Generator txt created conanbuildinfo.txt gtest/1.10.0 (test package): Generator 'CMakeDeps' calling 'generate()' gtest/1.10.0 (test package): Generator 'VirtualRunEnv' calling 'generate()' gtest/1.10.0 (test package): Calling generate() gtest/1.10.0 (test package): Aggregating env generators gtest/1.10.0 (test package): Generated conaninfo.txt gtest/1.10.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/conan.lock' Using cached profile from lockfile [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.10.0 (test package): Calling build() gtest/1.10.0 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/build/generators/conan_toolchain.cmake" -DWITH_GMOCK="ON" -DWITH_MAIN="ON" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/build/generators/conan_toolchain.cmake" -DWITH_GMOCK="ON" -DWITH_MAIN="ON" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/build/generators/conan_toolchain.cmake -- The CXX compiler identification is Clang 11.1.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Component target declared 'GTest::gtest' -- Conan: Component target declared 'GTest::gtest_main' -- Conan: Component target declared 'GTest::gmock' -- Conan: Component target declared 'GTest::gmock_main' -- Conan: Target declared 'gtest::gtest' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/build/Release gtest/1.10.0 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/build/Release" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable test_package CMakeFiles/test_package.dir/build.make:106: recipe for target 'test_package' failed CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/test_package.dir/all' failed Makefile:102: recipe for target 'all' failed CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 CMakeFiles/test_package.dir/test_package.cpp.o: In function `testing::internal::FunctionMocker::DescribeDefaultActionTo(std::tuple<> const&, std::ostream*) const': test_package.cpp:(.text._ZNK7testing8internal14FunctionMockerIFvvEE23DescribeDefaultActionToERKSt5tupleIJEEPSo[_ZNK7testing8internal14FunctionMockerIFvvEE23DescribeDefaultActionToERKSt5tupleIJEEPSo]+0x7b): undefined reference to `testing::internal::FormatFileLocation(char const*, int)' CMakeFiles/test_package.dir/test_package.cpp.o: In function `testing::internal::ExpectationBase::DescribeLocationTo(std::ostream*) const': test_package.cpp:(.text._ZNK7testing8internal15ExpectationBase18DescribeLocationToEPSo[_ZNK7testing8internal15ExpectationBase18DescribeLocationToEPSo]+0x15): undefined reference to `testing::internal::FormatFileLocation(char const*, int)' CMakeFiles/test_package.dir/test_package.cpp.o: In function `testing::internal::TypedExpectation::GetCurrentAction(testing::internal::FunctionMocker const*, std::tuple<> const&) const': test_package.cpp:(.text._ZNK7testing8internal16TypedExpectationIFvvEE16GetCurrentActionEPKNS0_14FunctionMockerIS2_EERKSt5tupleIJEE[_ZNK7testing8internal16TypedExpectationIFvvEE16GetCurrentActionEPKNS0_14FunctionMockerIS2_EERKSt5tupleIJEE]+0x1f0): undefined reference to `testing::internal::Log(testing::internal::LogSeverity, std::string const&, int)' CMakeFiles/test_package.dir/test_package.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure(char const*, char const*, std::string const&, std::string const&)': test_package.cpp:(.text._ZN7testing8internal18CmpHelperEQFailureISsSsEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureISsSsEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x53): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)' CMakeFiles/test_package.dir/test_package.cpp.o: In function `std::string testing::internal::FormatForComparisonFailureMessage(std::string const&, std::string const&)': test_package.cpp:(.text._ZN7testing8internal33FormatForComparisonFailureMessageISsSsEESsRKT_RKT0_[_ZN7testing8internal33FormatForComparisonFailureMessageISsSsEESsRKT_RKT0_]+0x28): undefined reference to `testing::internal::PrintStringTo(std::string const&, std::ostream*)' clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 gtest/1.10.0 (test package): 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.10.0 (test package): 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 ERROR: gtest/1.10.0 (test package): Error in build() method, line 34 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/build/Release" '--' '-j3' ******************************************************************************** conan test conan-center-index/recipes/gtest/all/test_v1_package/conanfile.py gtest/1.10.0@#2e1c1f9b895060d567ed848ec54e5113 -pr /home/conan/w/prod/BuildSingleReference/76504/d39e31ad-1c99-46dd-95c8-c953f4f80b7e/profile_linux_11_libstdcpp_clang_release_64.gtest-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=clang compiler.libcxx=libstdc++ compiler.version=11 os=Linux [options] gtest:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True gtest/1.10.0 (test package): Installing package Requirements gtest/1.10.0 from local cache - Cache Packages gtest/1.10.0:253ca1918ec2bda5d5b2c998316a223eee8e6d23 - Cache Installing (downloading, building) binaries... gtest/1.10.0: Already installed! gtest/1.10.0 (test package): Generator cmake_find_package created FindGTest.cmake gtest/1.10.0 (test package): Generator txt created conanbuildinfo.txt gtest/1.10.0 (test package): Generator cmake created conanbuildinfo.cmake gtest/1.10.0 (test package): Aggregating env generators gtest/1.10.0 (test package): Generated conaninfo.txt gtest/1.10.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_v1_package/build/39e0efb7df4da988af9b4edb0693e35827351d32/conan.lock' Using cached profile from lockfile [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.10.0 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_v1_package/build/39e0efb7df4da988af9b4edb0693e35827351d32' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="11" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_v1_package/build/39e0efb7df4da988af9b4edb0693e35827351d32/package" -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" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_v1_package/build/39e0efb7df4da988af9b4edb0693e35827351d32" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DWITH_GMOCK="True" -DWITH_MAIN="True" -Wno-dev '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_v1_package' ----------------- -- The CXX compiler identification is Clang 11.1.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library gtest_main found /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgtest_main.so -- Library gmock_main found /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgmock_main.so -- Library gmock found /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgmock.so -- Library gtest found /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgtest.so -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler Clang>=8, checking major version 11 -- Conan: Checking correct version: 11 -- Conan: C++ stdlib: libstdc++ -- Conan: Using autogenerated FindGTest.cmake -- Found GTest: None (found version "None") -- Library gtest_main found /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgtest_main.so -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgtest_main.so -- Library gmock_main found /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgmock_main.so -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgmock_main.so -- Library gmock found /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgmock.so -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgmock.so -- Library gtest found /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgtest.so -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgtest.so -- Library gtest found /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgtest.so -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgtest.so -- Library gmock found /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgmock.so -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgmock.so -- Library gmock_main found /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgmock_main.so -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgmock_main.so -- Library gtest_main found /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgtest_main.so -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/gtest/1.10.0/_/_/package/253ca1918ec2bda5d5b2c998316a223eee8e6d23/lib/libgtest_main.so -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_v1_package/build/39e0efb7df4da988af9b4edb0693e35827351d32 ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_v1_package/build/39e0efb7df4da988af9b4edb0693e35827351d32' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/test_package.cpp.o [100%] Linking CXX executable bin/test_package CMakeFiles/test_package.dir/build.make:106: recipe for target 'bin/test_package' failed CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/test_package.dir/all' failed Makefile:102: recipe for target 'all' failed CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR CMakeFiles/test_package.dir/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/test_package.cpp.o: In function `testing::internal::FunctionMocker::DescribeDefaultActionTo(std::tuple<> const&, std::ostream*) const': test_package.cpp:(.text._ZNK7testing8internal14FunctionMockerIFvvEE23DescribeDefaultActionToERKSt5tupleIJEEPSo[_ZNK7testing8internal14FunctionMockerIFvvEE23DescribeDefaultActionToERKSt5tupleIJEEPSo]+0x7b): undefined reference to `testing::internal::FormatFileLocation(char const*, int)' CMakeFiles/test_package.dir/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/test_package.cpp.o: In function `testing::internal::ExpectationBase::DescribeLocationTo(std::ostream*) const': test_package.cpp:(.text._ZNK7testing8internal15ExpectationBase18DescribeLocationToEPSo[_ZNK7testing8internal15ExpectationBase18DescribeLocationToEPSo]+0x15): undefined reference to `testing::internal::FormatFileLocation(char const*, int)' CMakeFiles/test_package.dir/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/test_package.cpp.o: In function `testing::internal::TypedExpectation::GetCurrentAction(testing::internal::FunctionMocker const*, std::tuple<> const&) const': test_package.cpp:(.text._ZNK7testing8internal16TypedExpectationIFvvEE16GetCurrentActionEPKNS0_14FunctionMockerIS2_EERKSt5tupleIJEE[_ZNK7testing8internal16TypedExpectationIFvvEE16GetCurrentActionEPKNS0_14FunctionMockerIS2_EERKSt5tupleIJEE]+0x1f0): undefined reference to `testing::internal::Log(testing::internal::LogSeverity, std::string const&, int)' CMakeFiles/test_package.dir/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/test_package.cpp.o: In function `testing::AssertionResult testing::internal::CmpHelperEQFailure(char const*, char const*, std::string const&, std::string const&)': test_package.cpp:(.text._ZN7testing8internal18CmpHelperEQFailureISsSsEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal18CmpHelperEQFailureISsSsEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x53): undefined reference to `testing::internal::EqFailure(char const*, char const*, std::string const&, std::string const&, bool)' CMakeFiles/test_package.dir/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_package/test_package.cpp.o: In function `std::string testing::internal::FormatForComparisonFailureMessage(std::string const&, std::string const&)': test_package.cpp:(.text._ZN7testing8internal33FormatForComparisonFailureMessageISsSsEESsRKT_RKT0_[_ZN7testing8internal33FormatForComparisonFailureMessageISsSsEESsRKT_RKT0_]+0x28): undefined reference to `testing::internal::PrintStringTo(std::string const&, std::ostream*)' clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [bin/test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ERROR: gtest/1.10.0 (test package): Error in build() method, line 16 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gtest/all/test_v1_package/build/39e0efb7df4da988af9b4edb0693e35827351d32' '--' '-j3'