******************************************************************************** conan test conan-center-index/recipes/ruby/all/test_package/conanfile.py ruby/3.1.0@#3b2abc068e5f21860249eafacc65e14b -pr /home/conan/w/prod/BuildSingleReference/78680/090f940d-f768-46cb-aff2-7bdc095c2ffe/profile_linux_8_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 8 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=8 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=8 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:ba3040d62423c9f10307fe047c475a038de60397 - Download libffi/3.4.2:761432f3453a17c960259b5b2605153e3bcffd7d - Download libyaml/0.2.5:761432f3453a17c960259b5b2605153e3bcffd7d - Download openssl/1.1.1o:761432f3453a17c960259b5b2605153e3bcffd7d - Download readline/8.1.2:83c7da0d46aaeb62d09317fe91803685193f1bf2 - Download ruby/3.1.0:e09dcbae93535949e05f097d83530ce8654f2755 - Download termcap/1.3.1:761432f3453a17c960259b5b2605153e3bcffd7d - Download zlib/1.2.12:761432f3453a17c960259b5b2605153e3bcffd7d - Download Installing (downloading, building) binaries... gmp/6.2.1: Retrieving package ba3040d62423c9f10307fe047c475a038de60397 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz gmp/6.2.1: Package installed ba3040d62423c9f10307fe047c475a038de60397 gmp/6.2.1: Downloaded package revision 9510ec4dac6df3a453cf90a5c30d0a10 libffi/3.4.2: Retrieving package 761432f3453a17c960259b5b2605153e3bcffd7d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libffi/3.4.2: Package installed 761432f3453a17c960259b5b2605153e3bcffd7d libffi/3.4.2: Downloaded package revision f96e7989fba76306acf10a185ea6a048 libyaml/0.2.5: Retrieving package 761432f3453a17c960259b5b2605153e3bcffd7d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libyaml/0.2.5: Package installed 761432f3453a17c960259b5b2605153e3bcffd7d libyaml/0.2.5: Downloaded package revision c2cf0fde3b195ffea348ed5f9a48f331 openssl/1.1.1o: Retrieving package 761432f3453a17c960259b5b2605153e3bcffd7d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1o: Package installed 761432f3453a17c960259b5b2605153e3bcffd7d openssl/1.1.1o: Downloaded package revision b9ede597968a14859deaa54ed4acb6a4 termcap/1.3.1: Retrieving package 761432f3453a17c960259b5b2605153e3bcffd7d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz termcap/1.3.1: Package installed 761432f3453a17c960259b5b2605153e3bcffd7d termcap/1.3.1: Downloaded package revision e9a68f1d485004dfabc0b7d782bf1a1e zlib/1.2.12: Retrieving package 761432f3453a17c960259b5b2605153e3bcffd7d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.12: Package installed 761432f3453a17c960259b5b2605153e3bcffd7d zlib/1.2.12: Downloaded package revision efd74f4564077692f1a55ba23821c163 readline/8.1.2: Retrieving package 83c7da0d46aaeb62d09317fe91803685193f1bf2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz readline/8.1.2: Package installed 83c7da0d46aaeb62d09317fe91803685193f1bf2 readline/8.1.2: Downloaded package revision 56af938e81646eaea4e51fd7e06e2a1a ruby/3.1.0: Retrieving package e09dcbae93535949e05f097d83530ce8654f2755 from remote 'c3i_PR-12456' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz ruby/3.1.0: Package installed e09dcbae93535949e05f097d83530ce8654f2755 ruby/3.1.0: Downloaded package revision 396559dfd2c0fab00b19d7090bf63a15 termcap/1.3.1: Setting TERMCAP environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/termcap/1.3.1/_/_/package/761432f3453a17c960259b5b2605153e3bcffd7d/bin/etc/termcap ruby/3.1.0: Adding to PATH: /home/conan/w/prod/BuildSingleReference/.conan/data/ruby/3.1.0/_/_/package/e09dcbae93535949e05f097d83530ce8654f2755/bin 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): Generator 'CMakeToolchain' calling 'generate()' 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/397425f4129afec7584af307ef57d992834407ce/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/397425f4129afec7584af307ef57d992834407ce/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/397425f4129afec7584af307ef57d992834407ce/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/397425f4129afec7584af307ef57d992834407ce/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/397425f4129afec7584af307ef57d992834407ce/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/397425f4129afec7584af307ef57d992834407ce/conan_toolchain.cmake -- The CXX compiler identification is GNU 8.4.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/761432f3453a17c960259b5b2605153e3bcffd7d/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/397425f4129afec7584af307ef57d992834407ce ruby/3.1.0 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/397425f4129afec7584af307ef57d992834407ce" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/397425f4129afec7584af307ef57d992834407ce" '--' '-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