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 CONAN_CMAKE_POSITION_INDEPENDENT_CODE CONAN_COMPILER CONAN_COMPILER_VERSION CONAN_CXX_FLAGS CONAN_C_FLAGS CONAN_EXPORTED CONAN_IN_LOCAL_CACHE CONAN_LIBCXX CONAN_SHARED_LINKER_FLAGS SOCI_DB2 SOCI_FIREBIRD SOCI_MYSQL SOCI_ODBC SOCI_ORACLE SOCI_POSTGRESQL -- Conan libs: fmtd;soci_core;soci_empty;soci_sqlite3;sqlite3;pthread;dl -- Conan libs: fmtd;soci_core;soci_empty;soci_sqlite3;sqlite3;pthread;dl -- Conan libs: fmtd;soci_core;soci_empty;soci_sqlite3;sqlite3;pthread;dl CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMakeFiles/conan.soci.empty.tests.dir/empty.test.cpp.o: In function `__cxx_global_var_init.2': /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/empty/empty.test.cpp:9: undefined reference to `soci::session::session(soci::backend_factory const&, std::__1::basic_string, std::__1::allocator > const&)' clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [empty/conan.soci.empty.tests] Error 1 make[1]: *** [empty/CMakeFiles/conan.soci.empty.tests.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:119:15: error: use of undeclared identifier 'id' const auto [id, name] = getValues(table, idToFind); ^ /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:119:25: error: expected unqualified-id const auto [id, name] = getValues(table, idToFind); ^ /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:121:10: error: use of undeclared identifier 'id' CHECK( id == 9); ^ /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:121:10: error: use of undeclared identifier 'id' /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:121:10: error: use of undeclared identifier 'id' /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:122:10: error: use of undeclared identifier 'name' CHECK( name == "Jane"); ^ /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:122:10: error: use of undeclared identifier 'name' /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:122:10: error: use of undeclared identifier 'name' In file included from /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:1: /home/conan/w/cci_PR-3924/.conan/data/catch2/2.13.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/catch2/catch.hpp:2311:98: error: comparison of distinct pointer types ('float (*)(const char *)' and 'const char *') auto compareEqual( LhsT const& lhs, RhsT const& rhs ) -> bool { return static_cast(lhs == rhs); } ~~~ ^ ~~~ /home/conan/w/cci_PR-3924/.conan/data/catch2/2.13.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/catch2/catch.hpp:2340:22: note: in instantiation of function template specialization 'Catch::compareEqual' requested here return { compareEqual( m_lhs, rhs ), m_lhs, "==", rhs }; ^ /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:122:15: note: in instantiation of function template specialization 'Catch::ExprLhs::operator==' requested here CHECK( name == "Jane"); ^ In file included from /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:1: /home/conan/w/cci_PR-3924/.conan/data/catch2/2.13.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/catch2/catch.hpp:2311:98: error: comparison of distinct pointer types ('long double (*)(const char *)' and 'const char *') auto compareEqual( LhsT const& lhs, RhsT const& rhs ) -> bool { return static_cast(lhs == rhs); } ~~~ ^ ~~~ /home/conan/w/cci_PR-3924/.conan/data/catch2/2.13.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/catch2/catch.hpp:2340:22: note: in instantiation of function template specialization 'Catch::compareEqual' requested here return { compareEqual( m_lhs, rhs ), m_lhs, "==", rhs }; ^ /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:122:15: note: in instantiation of function template specialization 'Catch::ExprLhs::operator==' requested here CHECK( name == "Jane"); ^ In file included from /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:1: /home/conan/w/cci_PR-3924/.conan/data/catch2/2.13.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/catch2/catch.hpp:2311:98: error: comparison of distinct pointer types ('long (*)(long *)' and 'const char *') auto compareEqual( LhsT const& lhs, RhsT const& rhs ) -> bool { return static_cast(lhs == rhs); } ~~~ ^ ~~~ /home/conan/w/cci_PR-3924/.conan/data/catch2/2.13.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/catch2/catch.hpp:2340:22: note: in instantiation of function template specialization 'Catch::compareEqual' requested here return { compareEqual( m_lhs, rhs ), m_lhs, "==", rhs }; ^ /home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/sqlite3/sqlite3.test.cpp:122:15: note: in instantiation of function template specialization 'Catch::ExprLhs::operator==' requested here CHECK( name == "Jane"); ^ 11 errors generated. make[2]: *** [sqlite3/CMakeFiles/conan.soci.sqlite3.tests.dir/sqlite3.test.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [sqlite3/CMakeFiles/conan.soci.sqlite3.tests.dir/all] Error 2 make: *** [all] Error 2 ERROR: soci/4.0.1 (test package): Error in build() method, line 34 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/cci_PR-3924/2/f6807f16-0e20-446c-b480-a12285b93c5c/recipes/soci/all/test_package/build/be79856edbba8a957870a44d838470389ccd1ff7' '--' '-j3'