******************************************************************************** conan test conan-center-index/recipes/ruby/all/test_package/conanfile.py ruby/3.1.0@#3b2abc068e5f21860249eafacc65e14b -pr /home/conan/w/prod/BuildSingleReference/78680/53fc49b3-00f4-49b7-8892-226cfc6b56b5/profile_linux_10_libstdcpp11_gcc_debug_64.ruby-shared-False.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 10 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=10 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=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=10 os=Linux [options] ruby:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True zlib/1.2.12: Not found in local cache, looking in remotes... zlib/1.2.12: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.12: Downloaded recipe revision a30750797caa71bd61bd0a18189caa28 openssl/1.1.1o: Not found in local cache, looking in remotes... openssl/1.1.1o: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/1.1.1o: Downloaded recipe revision 6dd82364702cbaf633906c91a9e75ed4 libyaml/0.2.5: Not found in local cache, looking in remotes... libyaml/0.2.5: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libyaml/0.2.5: Downloaded recipe revision 946af9274a51725ba49d6d708b0b4660 libffi/3.4.2: Not found in local cache, looking in remotes... libffi/3.4.2: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libffi/3.4.2: Downloaded recipe revision 4121e32bfd908d32864cb97643b2b5a9 readline/8.1.2: Not found in local cache, looking in remotes... readline/8.1.2: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz readline/8.1.2: Downloaded recipe revision ae31d1d71b027b0fe35903eb6c2e8333 termcap/1.3.1: Not found in local cache, looking in remotes... termcap/1.3.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz termcap/1.3.1: Downloaded recipe revision 733491d29bb22e81d06edaf78c6727c9 gmp/6.2.1: Not found in local cache, looking in remotes... gmp/6.2.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz gmp/6.2.1: Downloaded recipe revision 2011237c81178d014a4c08ae40cfe0cb ruby/3.1.0 (test package): Installing package Requirements gmp/6.2.1 from 'conan-center' - Downloaded libffi/3.4.2 from 'conan-center' - Downloaded libyaml/0.2.5 from 'conan-center' - Downloaded openssl/1.1.1o from 'conan-center' - Downloaded readline/8.1.2 from 'conan-center' - Downloaded ruby/3.1.0 from local cache - Cache termcap/1.3.1 from 'conan-center' - Downloaded zlib/1.2.12 from 'conan-center' - Downloaded Packages gmp/6.2.1:f18760887692af6dc18ffcc3bf0a48e1c02322ca - Download libffi/3.4.2:75e99b627c196b65c439728670655ec3c366b334 - Download libyaml/0.2.5:75e99b627c196b65c439728670655ec3c366b334 - Download openssl/1.1.1o:75e99b627c196b65c439728670655ec3c366b334 - Download readline/8.1.2:adcbf8ecbce351b257a7edb13a6afc81d2e5c6dd - Download ruby/3.1.0:9035175122abdda8153adc5a338002b801f888e7 - Download termcap/1.3.1:75e99b627c196b65c439728670655ec3c366b334 - Download zlib/1.2.12:75e99b627c196b65c439728670655ec3c366b334 - Download Installing (downloading, building) binaries... gmp/6.2.1: Retrieving package f18760887692af6dc18ffcc3bf0a48e1c02322ca from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz gmp/6.2.1: Package installed f18760887692af6dc18ffcc3bf0a48e1c02322ca gmp/6.2.1: Downloaded package revision 3c0c4f348ad27bd1cee5841326e91214 libffi/3.4.2: Retrieving package 75e99b627c196b65c439728670655ec3c366b334 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libffi/3.4.2: Package installed 75e99b627c196b65c439728670655ec3c366b334 libffi/3.4.2: Downloaded package revision bddb76c7dcaffcd11d9e75c517ef3f7c libyaml/0.2.5: Retrieving package 75e99b627c196b65c439728670655ec3c366b334 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libyaml/0.2.5: Package installed 75e99b627c196b65c439728670655ec3c366b334 libyaml/0.2.5: Downloaded package revision c82099de3dcebedf59775f57e3a47bfa openssl/1.1.1o: Retrieving package 75e99b627c196b65c439728670655ec3c366b334 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1o: Package installed 75e99b627c196b65c439728670655ec3c366b334 openssl/1.1.1o: Downloaded package revision 64445633917152447e7452e20161437c termcap/1.3.1: Retrieving package 75e99b627c196b65c439728670655ec3c366b334 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz termcap/1.3.1: Package installed 75e99b627c196b65c439728670655ec3c366b334 termcap/1.3.1: Downloaded package revision 643c9d138a5c8c119dd84e8f73ef2dbc zlib/1.2.12: Retrieving package 75e99b627c196b65c439728670655ec3c366b334 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.12: Package installed 75e99b627c196b65c439728670655ec3c366b334 zlib/1.2.12: Downloaded package revision 8b27874ba38636a86a6c9a29f01719e3 readline/8.1.2: Retrieving package adcbf8ecbce351b257a7edb13a6afc81d2e5c6dd from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz readline/8.1.2: Package installed adcbf8ecbce351b257a7edb13a6afc81d2e5c6dd readline/8.1.2: Downloaded package revision e60cd37dfb6c6f56e74c4c89fb6c61d2 ruby/3.1.0: Retrieving package 9035175122abdda8153adc5a338002b801f888e7 from remote 'c3i_PR-12456' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz ruby/3.1.0: Package installed 9035175122abdda8153adc5a338002b801f888e7 ruby/3.1.0: Downloaded package revision e3ed22027dd8dad42555758af8ee9149 termcap/1.3.1: Setting TERMCAP environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/termcap/1.3.1/_/_/package/75e99b627c196b65c439728670655ec3c366b334/bin/etc/termcap ruby/3.1.0: Adding to PATH: /home/conan/w/prod/BuildSingleReference/.conan/data/ruby/3.1.0/_/_/package/9035175122abdda8153adc5a338002b801f888e7/bin ruby/3.1.0 (test package): Generator 'CMakeDeps' calling 'generate()' ruby/3.1.0 (test package): Generator 'CMakeToolchain' calling 'generate()' ruby/3.1.0 (test package): Generator txt created conanbuildinfo.txt 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: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/f26982c2956fcc9bace3afd3c0ab356c69046117/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 "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/f26982c2956fcc9bace3afd3c0ab356c69046117/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/f26982c2956fcc9bace3afd3c0ab356c69046117/package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" -DRUBY_STATIC_RUBY="1" -DRUBY_STATIC_LINKED_EXT="1" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/f26982c2956fcc9bace3afd3c0ab356c69046117/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/f26982c2956fcc9bace3afd3c0ab356c69046117/package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" -DRUBY_STATIC_RUBY="1" -DRUBY_STATIC_LINKED_EXT="1" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package" ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/f26982c2956fcc9bace3afd3c0ab356c69046117/conan_toolchain.cmake -- The CXX compiler identification is GNU 10.3.0 -- 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 -- Conan: Component target declared 'ruby::rubylib' -- Conan: Target declared 'Ruby::Ruby' -- Conan: Target declared 'ZLIB::ZLIB' -- Conan: Component target declared 'gmp::libgmp' -- Conan: Component target declared 'gmp::gmpxx' -- Conan: Target declared 'gmp::gmp' -- 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.1o/_/_/package/75e99b627c196b65c439728670655ec3c366b334/lib/cmake/conan-official-openssl-variables.cmake' -- Conan: Target declared 'yaml' -- Conan: Target declared 'libffi::libffi' -- Conan: Target declared 'readline::readline' -- Conan: Target declared 'termcap::termcap' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/f26982c2956fcc9bace3afd3c0ab356c69046117 ruby/3.1.0 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/f26982c2956fcc9bace3afd3c0ab356c69046117" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/f26982c2956fcc9bace3afd3c0ab356c69046117" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable bin/test_package [100%] Built target test_package ruby/3.1.0 (test package): Running test() ----Running------ > ruby --version ----------------- ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-linux] ----Running------ > bin/test_package ----------------- Hello, ruby! Ruby itself is statically linked Ruby has statically linked extensions Ruby has statically 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