******************************************************************************** conan test cci-f13b8bab\recipes\ruby\all\test_package\conanfile.py ruby/3.1.0@#3cb6f6ad2cfade33fd47ae66bc4a67f4 -pr C:/J2/w/prod-v1/bsr/95503/daabd/profile_windows_16_md_vs_release_64.ruby-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=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows [options] ruby:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True ruby/3.1.0 (test package): Installing package Requirements gmp/6.2.1 from 'conan-center' - Cache openssl/1.1.1q from 'conan-center' - Cache ruby/3.1.0 from local cache - Cache zlib/1.2.12 from 'conan-center' - Cache Packages gmp/6.2.1:c1430fa7339501202f6eff5c00c1be2706543a7c - Cache openssl/1.1.1q:3fb49604f9c2f729b85ba3115852006824e72cab - Cache ruby/3.1.0:330443ee72da87f9e3d9f0b0195e9da7e14a065c - Cache zlib/1.2.12:3fb49604f9c2f729b85ba3115852006824e72cab - Cache Installing (downloading, building) binaries... gmp/6.2.1: Already installed! openssl/1.1.1q: Already installed! zlib/1.2.12: Already installed! ruby/3.1.0: Already installed! ruby/3.1.0 (test package): Generator 'VirtualRunEnv' calling 'generate()' ruby/3.1.0 (test package): Generator txt created conanbuildinfo.txt ruby/3.1.0 (test package): Generator 'CMakeDeps' calling 'generate()' ruby/3.1.0 (test package): Calling generate() ruby/3.1.0 (test package): Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' ruby/3.1.0 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE=C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_package\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' ruby/3.1.0 (test package): Aggregating env generators ruby/3.1.0 (test package): Generated conaninfo.txt ruby/3.1.0 (test package): Generated graphinfo Using lockfile: 'C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_package\build\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 ruby/3.1.0 (test package): Calling build() ruby/3.1.0 (test package): CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J2/w/prod-v1/bsr/cci-f13b8bab/recipes/ruby/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_package\." ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J2/w/prod-v1/bsr/cci-f13b8bab/recipes/ruby/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_package\." ----------------- -- Using Conan toolchain: C:/J2/w/prod-v1/bsr/cci-f13b8bab/recipes/ruby/all/test_package/build/generators/conan_toolchain.cmake -- The CXX compiler identification is MSVC 19.29.30148.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'Ruby::Ruby' -- Conan: Target declared 'ZLIB::ZLIB' -- Conan: Component target declared 'OpenSSL::Crypto' -- Conan: Component target declared 'OpenSSL::SSL' -- Conan: Target declared 'openssl::openssl' -- Conan: Including build module from 'C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/openssl/1.1.1q/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/cmake/conan-official-openssl-variables.cmake' -- Conan: Component target declared 'gmp::libgmp' -- Conan: Component target declared 'gmp::gmpxx' -- Conan: Target declared 'gmp::gmp' -- Configuring done -- Generating done -- Build files have been written to: C:/J2/w/prod-v1/bsr/cci-f13b8bab/recipes/ruby/all/test_package/build ruby/3.1.0 (test package): CMake command: cmake --build "C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_package\build" --config Release ----Running------ > cmake --build "C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_package\build" --config Release ----------------- Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J2/w/prod-v1/bsr/cci-f13b8bab/recipes/ruby/all/test_package/CMakeLists.txt test_package.cpp test_package.vcxproj -> C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_package\build\Release\test_package.exe Building Custom Rule C:/J2/w/prod-v1/bsr/cci-f13b8bab/recipes/ruby/all/test_package/CMakeLists.txt ruby/3.1.0 (test package): Running test() ruby/3.1.0 (test package): Installed version: ----Running------ > "C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_package\build\generators\conanrun.bat" && ruby --version ----------------- ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x64-mswin64_140] ruby/3.1.0 (test package): Expected version: ruby 3.1.0 ruby/3.1.0 (test package): ruby -e "puts RUBY_VERSION": "----Running------ > "C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_package\build\generators\conanrun.bat" && ruby -e "puts RUBY_VERSION" ----------------- 3.1.0" ruby/3.1.0 (test package): Expected version: '3.1.0' ----Running------ > "C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_package\build\generators\conanrun.bat" && Release\test_package ----------------- Hello, ruby! Ruby itself is dynamically linked Ruby has dynamically linked extensions Ruby has dynamically linked extensions (EXTSTATIC) I can correctly load one of the extension gems - bigdecimal ruby/3.1.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 ruby/3.1.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-f13b8bab\recipes\ruby\all\test_v1_package\conanfile.py ruby/3.1.0@#3cb6f6ad2cfade33fd47ae66bc4a67f4 -pr C:/J2/w/prod-v1/bsr/95503/daabd/profile_windows_16_md_vs_release_64.ruby-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=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows [options] ruby:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True ruby/3.1.0 (test package): Installing package Requirements gmp/6.2.1 from 'conan-center' - Cache openssl/1.1.1q from 'conan-center' - Cache ruby/3.1.0 from local cache - Cache zlib/1.2.12 from 'conan-center' - Cache Packages gmp/6.2.1:c1430fa7339501202f6eff5c00c1be2706543a7c - Cache openssl/1.1.1q:3fb49604f9c2f729b85ba3115852006824e72cab - Cache ruby/3.1.0:330443ee72da87f9e3d9f0b0195e9da7e14a065c - Cache zlib/1.2.12:3fb49604f9c2f729b85ba3115852006824e72cab - Cache Installing (downloading, building) binaries... gmp/6.2.1: Already installed! openssl/1.1.1q: Already installed! zlib/1.2.12: Already installed! ruby/3.1.0: Already installed! ruby/3.1.0 (test package): Generator txt created conanbuildinfo.txt ruby/3.1.0 (test package): Generator cmake created conanbuildinfo.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created RubyConfigVersion.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created RubyConfig.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created RubyTargets.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created RubyTarget-release.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created ZLIBConfigVersion.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created ZLIBConfig.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created ZLIBTargets.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created ZLIBTarget-release.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created OpenSSLConfigVersion.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created OpenSSLTarget-release.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created OpenSSLTargets.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created OpenSSLConfig.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created gmp-config-version.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created gmpTarget-release.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created gmpTargets.cmake ruby/3.1.0 (test package): Generator cmake_find_package_multi created gmp-config.cmake ruby/3.1.0 (test package): Aggregating env generators ruby/3.1.0 (test package): Generated conaninfo.txt ruby/3.1.0 (test package): Generated graphinfo Using lockfile: 'C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_v1_package\build\c335b09f659db8a98e68a5042b12499d39c628c4/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 ruby/3.1.0 (test package): Calling build() ----Running------ > cd C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_v1_package\build\c335b09f659db8a98e68a5042b12499d39c628c4 && cmake -G "Visual Studio 16 2019" -A "x64" -DCONAN_LINK_RUNTIME="/MD" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP8" -DCONAN_C_FLAGS="/MP8" -DCMAKE_INSTALL_PREFIX="C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_v1_package\build\c335b09f659db8a98e68a5042b12499d39c628c4\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="C:/J2/w/prod-v1/bsr/cci-f13b8bab/recipes/ruby/all/test_v1_package/build/c335b09f659db8a98e68a5042b12499d39c628c4" -DCMAKE_MODULE_PATH="C:/J2/w/prod-v1/bsr/cci-f13b8bab/recipes/ruby/all/test_v1_package/build/c335b09f659db8a98e68a5042b12499d39c628c4" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_v1_package ----------------- -- The CXX compiler identification is MSVC 19.29.30148.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - 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 x64-vcruntime140-ruby310 found C:/J2/w/prod-v1/bsr/95503/fdeff/s/7b67e7/1/lib/x64-vcruntime140-ruby310.lib -- Library zlib found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/zlib/1.2.12/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/zlib.lib -- Library libssl found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/openssl/1.1.1q/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/libssl.lib -- Library libcrypto found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/openssl/1.1.1q/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/libcrypto.lib -- Library gmpxx found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/gmp/6.2.1/_/_/package/c1430fa7339501202f6eff5c00c1be2706543a7c/lib/gmpxx.lib -- Library gmp found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/gmp/6.2.1/_/_/package/c1430fa7339501202f6eff5c00c1be2706543a7c/lib/gmp.lib -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Library x64-vcruntime140-ruby310 found C:/J2/w/prod-v1/bsr/95503/fdeff/s/7b67e7/1/lib/x64-vcruntime140-ruby310.lib -- Found: C:/J2/w/prod-v1/bsr/95503/fdeff/s/7b67e7/1/lib/x64-vcruntime140-ruby310.lib -- Library zlib found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/zlib/1.2.12/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/zlib.lib -- Found: C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/zlib/1.2.12/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/zlib.lib -- Library libssl found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/openssl/1.1.1q/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/libssl.lib -- Found: C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/openssl/1.1.1q/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/libssl.lib -- Library libcrypto found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/openssl/1.1.1q/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/libcrypto.lib -- Found: C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/openssl/1.1.1q/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/libcrypto.lib -- Library libcrypto found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/openssl/1.1.1q/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/libcrypto.lib -- Found: C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/openssl/1.1.1q/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/libcrypto.lib -- Library libssl found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/openssl/1.1.1q/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/libssl.lib -- Found: C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/openssl/1.1.1q/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/libssl.lib -- Library gmpxx found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/gmp/6.2.1/_/_/package/c1430fa7339501202f6eff5c00c1be2706543a7c/lib/gmpxx.lib -- Found: C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/gmp/6.2.1/_/_/package/c1430fa7339501202f6eff5c00c1be2706543a7c/lib/gmpxx.lib -- Library gmp found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/gmp/6.2.1/_/_/package/c1430fa7339501202f6eff5c00c1be2706543a7c/lib/gmp.lib -- Found: C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/gmp/6.2.1/_/_/package/c1430fa7339501202f6eff5c00c1be2706543a7c/lib/gmp.lib -- Library gmp found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/gmp/6.2.1/_/_/package/c1430fa7339501202f6eff5c00c1be2706543a7c/lib/gmp.lib -- Found: C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/gmp/6.2.1/_/_/package/c1430fa7339501202f6eff5c00c1be2706543a7c/lib/gmp.lib -- Library gmpxx found C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/gmp/6.2.1/_/_/package/c1430fa7339501202f6eff5c00c1be2706543a7c/lib/gmpxx.lib -- Found: C:/J2/w/prod-v1/bsr/95503/fdeff/.conan/data/gmp/6.2.1/_/_/package/c1430fa7339501202f6eff5c00c1be2706543a7c/lib/gmpxx.lib -- Configuring done -- Generating done -- Build files have been written to: C:/J2/w/prod-v1/bsr/cci-f13b8bab/recipes/ruby/all/test_v1_package/build/c335b09f659db8a98e68a5042b12499d39c628c4 ----Running------ > cmake --build C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_v1_package\build\c335b09f659db8a98e68a5042b12499d39c628c4 --config Release -- /m:8 /verbosity:minimal ----------------- Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J2/w/prod-v1/bsr/cci-f13b8bab/recipes/ruby/all/test_v1_package/CMakeLists.txt test_package.cpp test_v1_package.vcxproj -> C:\J2\w\prod-v1\bsr\cci-f13b8bab\recipes\ruby\all\test_v1_package\build\c335b09f659db8a98e68a5042b12499d39c628c4\bin\test_v1_package.exe Building Custom Rule C:/J2/w/prod-v1/bsr/cci-f13b8bab/recipes/ruby/all/test_v1_package/CMakeLists.txt ruby/3.1.0 (test package): Running test() ----Running------ > ruby --version ----------------- ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x64-mswin64_140] ----Running------ > bin\test_v1_package ----------------- Hello, ruby! Ruby itself is dynamically linked Ruby has dynamically linked extensions Ruby has dynamically linked extensions (EXTSTATIC) I can correctly load one of the extension gems - bigdecimal 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 ruby/3.1.0 (test package): WARN: ************************************************ The 'cmake' generator is deprecated. Please update your code and remove it. ************************************************* ruby/3.1.0 (test package): WARN: ************************************************ The 'cmake_find_package_multi' generator is deprecated. Please update your code and remove it. ************************************************* ruby/3.1.0 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. ****