******************************************************************************** conan test cci-16034019/recipes/libssh2/all/test_package/conanfile.py libssh2/1.11.0@#08fc0b71e465577c8be960d3d8ef20ee -pr /home/conan/w/prod/BuildSingleReference/250088/0465fea2-891b-4377-bcfa-d3e16bd67459/profile_linux_7_libstdcpp11_gcc_release_64.libssh2-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] libssh2:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libssh2/1.11.0 (test package): Installing package Requirements libssh2/1.11.0 from local cache - Cache openssl/1.1.1t from 'conan-center' - Cache zlib/1.2.13 from 'conan-center' - Cache Packages libssh2/1.11.0:11220ebcf47f90468e60979b709aa540f1bcbcad - Cache openssl/1.1.1t:d50a0d523d98c15bb147b18fa7d203887c38be8b - Cache zlib/1.2.13:d50a0d523d98c15bb147b18fa7d203887c38be8b - Cache Installing (downloading, building) binaries... openssl/1.1.1t: Already installed! zlib/1.2.13: Already installed! libssh2/1.11.0: Already installed! libssh2/1.11.0 (test package): Generator 'CMakeDeps' calling 'generate()' libssh2/1.11.0 (test package): Generator txt created conanbuildinfo.txt libssh2/1.11.0 (test package): Generator 'CMakeToolchain' calling 'generate()' libssh2/1.11.0 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' libssh2/1.11.0 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' libssh2/1.11.0 (test package): Aggregating env generators libssh2/1.11.0 (test package): Generated conaninfo.txt libssh2/1.11.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_package/build/Release/generators/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 libssh2/1.11.0 (test package): Calling build() libssh2/1.11.0 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_package/build/Release/generators/conan_toolchain.cmake -- The C compiler identification is GNU 7.2.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 -- Conan: Component target declared 'libssh2::libssh2' -- Conan: Target declared 'Libssh2::libssh2' -- Conan: Component target declared 'OpenSSL::Crypto' -- Conan: Component target declared 'OpenSSL::SSL' -- Conan: Target declared 'openssl::openssl' -- Conan: Including build module from '/home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1t/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/cmake/conan-official-openssl-variables.cmake' -- Conan: Target declared 'ZLIB::ZLIB' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_package/build/Release libssh2/1.11.0 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_package/build/Release" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable test_package [100%] Built target test_package libssh2/1.11.0 (test package): Running test() ----Running------ > ./test_package ----------------- libssh2/1.11.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 libssh2/1.11.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 ******************************************************************************** conan test cci-16034019/recipes/libssh2/all/test_v1_package/conanfile.py libssh2/1.11.0@#08fc0b71e465577c8be960d3d8ef20ee -pr /home/conan/w/prod/BuildSingleReference/250088/0465fea2-891b-4377-bcfa-d3e16bd67459/profile_linux_7_libstdcpp11_gcc_release_64.libssh2-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] libssh2:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libssh2/1.11.0 (test package): Installing package Requirements libssh2/1.11.0 from local cache - Cache openssl/1.1.1t from 'conan-center' - Cache zlib/1.2.13 from 'conan-center' - Cache Packages libssh2/1.11.0:11220ebcf47f90468e60979b709aa540f1bcbcad - Cache openssl/1.1.1t:d50a0d523d98c15bb147b18fa7d203887c38be8b - Cache zlib/1.2.13:d50a0d523d98c15bb147b18fa7d203887c38be8b - Cache Installing (downloading, building) binaries... openssl/1.1.1t: Already installed! zlib/1.2.13: Already installed! libssh2/1.11.0: Already installed! libssh2/1.11.0 (test package): Generator cmake_find_package_multi created libssh2-config-version.cmake libssh2/1.11.0 (test package): Generator cmake_find_package_multi created libssh2Target-release.cmake libssh2/1.11.0 (test package): Generator cmake_find_package_multi created libssh2Targets.cmake libssh2/1.11.0 (test package): Generator cmake_find_package_multi created libssh2-config.cmake libssh2/1.11.0 (test package): Generator cmake_find_package_multi created ZLIBConfigVersion.cmake libssh2/1.11.0 (test package): Generator cmake_find_package_multi created ZLIBConfig.cmake libssh2/1.11.0 (test package): Generator cmake_find_package_multi created ZLIBTargets.cmake libssh2/1.11.0 (test package): Generator cmake_find_package_multi created ZLIBTarget-release.cmake libssh2/1.11.0 (test package): Generator cmake_find_package_multi created OpenSSLConfigVersion.cmake libssh2/1.11.0 (test package): Generator cmake_find_package_multi created OpenSSLTarget-release.cmake libssh2/1.11.0 (test package): Generator cmake_find_package_multi created OpenSSLTargets.cmake libssh2/1.11.0 (test package): Generator cmake_find_package_multi created OpenSSLConfig.cmake libssh2/1.11.0 (test package): Generator cmake created conanbuildinfo.cmake libssh2/1.11.0 (test package): Generator txt created conanbuildinfo.txt libssh2/1.11.0 (test package): Aggregating env generators libssh2/1.11.0 (test package): Generated conaninfo.txt libssh2/1.11.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_v1_package/build/a68c49ab914bce163c51cabad2e332fc46eb6031/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 libssh2/1.11.0 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_v1_package/build/a68c49ab914bce163c51cabad2e332fc46eb6031' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_v1_package/build/a68c49ab914bce163c51cabad2e332fc46eb6031/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_PREFIX_PATH="/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_v1_package/build/a68c49ab914bce163c51cabad2e332fc46eb6031" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_v1_package/build/a68c49ab914bce163c51cabad2e332fc46eb6031" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_v1_package' ----------------- -- The C compiler identification is GNU 7.2.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 -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library ssh2 found /home/conan/w/prod/BuildSingleReference/.conan/data/libssh2/1.11.0/_/_/package/11220ebcf47f90468e60979b709aa540f1bcbcad/lib/libssh2.a -- Library z found /home/conan/w/prod/BuildSingleReference/.conan/data/zlib/1.2.13/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libz.a -- Library ssl found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1t/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a -- Library crypto found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1t/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'GNU' compiler -- Conan: Compiler GCC>=5, checking major version 7 -- Conan: Checking correct version: 7 -- Conan: C++ stdlib: libstdc++11 -- Library ssh2 found /home/conan/w/prod/BuildSingleReference/.conan/data/libssh2/1.11.0/_/_/package/11220ebcf47f90468e60979b709aa540f1bcbcad/lib/libssh2.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/libssh2/1.11.0/_/_/package/11220ebcf47f90468e60979b709aa540f1bcbcad/lib/libssh2.a -- Library ssh2 found /home/conan/w/prod/BuildSingleReference/.conan/data/libssh2/1.11.0/_/_/package/11220ebcf47f90468e60979b709aa540f1bcbcad/lib/libssh2.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/libssh2/1.11.0/_/_/package/11220ebcf47f90468e60979b709aa540f1bcbcad/lib/libssh2.a -- Library ssl found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1t/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1t/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a -- Library crypto found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1t/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1t/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a -- Library crypto found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1t/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1t/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libcrypto.a -- Library ssl found /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1t/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1t/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libssl.a -- Library z found /home/conan/w/prod/BuildSingleReference/.conan/data/zlib/1.2.13/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libz.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/zlib/1.2.13/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libz.a -- Configuring done -- Generating done CMake Error at /home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_package/CMakeLists.txt:6 (add_executable): Target "test_package" links to target "Libssh2::libssh2" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? 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 CMake Generate step failed. Build files cannot be regenerated correctly. ERROR: libssh2/1.11.0 (test package): Error in build() method, line 11 cmake.configure() ConanException: Error 1 while executing cd '/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_v1_package/build/a68c49ab914bce163c51cabad2e332fc46eb6031' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_v1_package/build/a68c49ab914bce163c51cabad2e332fc46eb6031/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_PREFIX_PATH="/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_v1_package/build/a68c49ab914bce163c51cabad2e332fc46eb6031" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_v1_package/build/a68c49ab914bce163c51cabad2e332fc46eb6031" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-16034019/recipes/libssh2/all/test_v1_package'