******************************************************************************** conan test conan-center-index/recipes/ruby/all/test_package/conanfile.py ruby/3.1.0@#3b2abc068e5f21860249eafacc65e14b -pr /home/conan/w/prod/BuildSingleReference/78680/74bd9f76-78c1-4e52-a7ec-97231771bd75/profile_linux_5_libstdcpp11_gcc_release_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 5.4 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=5 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=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 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:aa177a79c675a25985e34743da97f9e093974ac5 - Download libffi/3.4.2:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download libyaml/0.2.5:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download openssl/1.1.1o:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download readline/8.1.2:ad3074fd90ef13789cde8b160ab25ce883db3c6e - Download ruby/3.1.0:eb3467680ccc20012de50d91c46c9fa518cb632d - Download termcap/1.3.1:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download zlib/1.2.12:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download Installing (downloading, building) binaries... gmp/6.2.1: Retrieving package aa177a79c675a25985e34743da97f9e093974ac5 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz gmp/6.2.1: Package installed aa177a79c675a25985e34743da97f9e093974ac5 gmp/6.2.1: Downloaded package revision d900849f440041661b07bee3f1f693db libffi/3.4.2: Retrieving package 76f87539fc90ff313e0b3182641a9bb558a717d2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libffi/3.4.2: Package installed 76f87539fc90ff313e0b3182641a9bb558a717d2 libffi/3.4.2: Downloaded package revision fdf10a659e0f03789023e7034a243c35 libyaml/0.2.5: Retrieving package 76f87539fc90ff313e0b3182641a9bb558a717d2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libyaml/0.2.5: Package installed 76f87539fc90ff313e0b3182641a9bb558a717d2 libyaml/0.2.5: Downloaded package revision 74260ce336949fc1ba97c15d0a713d3a openssl/1.1.1o: Retrieving package 76f87539fc90ff313e0b3182641a9bb558a717d2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1o: Package installed 76f87539fc90ff313e0b3182641a9bb558a717d2 openssl/1.1.1o: Downloaded package revision f8a869c56005a077fb5b682e1bdf5370 termcap/1.3.1: Retrieving package 76f87539fc90ff313e0b3182641a9bb558a717d2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz termcap/1.3.1: Package installed 76f87539fc90ff313e0b3182641a9bb558a717d2 termcap/1.3.1: Downloaded package revision 1f61298d8c9139bab4df76528d6dddb9 zlib/1.2.12: Retrieving package 76f87539fc90ff313e0b3182641a9bb558a717d2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.12: Package installed 76f87539fc90ff313e0b3182641a9bb558a717d2 zlib/1.2.12: Downloaded package revision 6debbd1726759cd49642390ebd12c3d3 readline/8.1.2: Retrieving package ad3074fd90ef13789cde8b160ab25ce883db3c6e from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz readline/8.1.2: Package installed ad3074fd90ef13789cde8b160ab25ce883db3c6e readline/8.1.2: Downloaded package revision f7bafb033af71ec0fdaa09bfd11ae532 ruby/3.1.0: Retrieving package eb3467680ccc20012de50d91c46c9fa518cb632d from remote 'c3i_PR-12456' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz ruby/3.1.0: Package installed eb3467680ccc20012de50d91c46c9fa518cb632d ruby/3.1.0: Downloaded package revision 9a4a4e274fcafeaa2e404e829172041d termcap/1.3.1: Setting TERMCAP environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/termcap/1.3.1/_/_/package/76f87539fc90ff313e0b3182641a9bb558a717d2/bin/etc/termcap ruby/3.1.0: Adding to PATH: /home/conan/w/prod/BuildSingleReference/.conan/data/ruby/3.1.0/_/_/package/eb3467680ccc20012de50d91c46c9fa518cb632d/bin 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): Generator 'CMakeDeps' 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/6de1d4d0b6cfcd64fd48300b8a63c12e9600078f/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/6de1d4d0b6cfcd64fd48300b8a63c12e9600078f/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/6de1d4d0b6cfcd64fd48300b8a63c12e9600078f/package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" -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/6de1d4d0b6cfcd64fd48300b8a63c12e9600078f/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/6de1d4d0b6cfcd64fd48300b8a63c12e9600078f/package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" -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/6de1d4d0b6cfcd64fd48300b8a63c12e9600078f/conan_toolchain.cmake -- The CXX compiler identification is GNU 5.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/76f87539fc90ff313e0b3182641a9bb558a717d2/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/6de1d4d0b6cfcd64fd48300b8a63c12e9600078f ruby/3.1.0 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/6de1d4d0b6cfcd64fd48300b8a63c12e9600078f" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/ruby/all/test_package/build/6de1d4d0b6cfcd64fd48300b8a63c12e9600078f" '--' '-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