******************************************************************************** conan install ruby/3.1.0@ --build=ruby --profile=C:\J\w\BuildSingleReference/74330/9de27e4a-7db1-44c5-886f-2ebe398ba1b6/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=15 os=Windows [options] ruby:shared=False [build_requires] [env] ruby/3.1.0: Forced build from source Installing package: ruby/3.1.0 Requirements gmp/6.1.2 from 'conan-center' - Cache openssl/1.1.1m from 'conan-center' - Cache ruby/3.1.0 from local cache - Cache zlib/1.2.11 from 'conan-center' - Cache Packages gmp/6.1.2:eea8416271634917309c469fe206c10b023de4ba - Cache openssl/1.1.1m:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Cache ruby/3.1.0:bc8d3c5ed0a1ae0d9d6e0d4d09f29789a9a1bb8f - Build zlib/1.2.11:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Cache Build requirements autoconf/2.71 from 'conan-center' - Cache automake/1.16.4 from 'conan-center' - Cache libtool/2.4.6 from 'conan-center' - Cache m4/1.4.19 from 'conan-center' - Cache msys2/cci.latest from 'conan-center' - Cache Build requirements packages autoconf/2.71:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache automake/1.16.4:3e48e69237f7f2196164383ef9dedf0f93cbf249 - Cache libtool/2.4.6:f543b883cc6eae6ee5bebadd92cac26e4785642b - Cache m4/1.4.19:0a420ff5c47119e668867cdb51baff0eca1fdb68 - Cache msys2/cci.latest:eee3fba89db6d777329de604625af8c30d46f080 - Cache Installing (downloading, building) binaries... gmp/6.1.2: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK m4/1.4.19: Already installed! m4/1.4.19: Appending PATH environment variable: C:\J\w\BuildSingleReference\.conan\data\m4\1.4.19\_\_\package\0a420ff5c47119e668867cdb51baff0eca1fdb68\bin m4/1.4.19: Setting M4 environment variable: C:/J/w/BuildSingleReference/.conan/data/m4/1.4.19/_/_/package/0a420ff5c47119e668867cdb51baff0eca1fdb68/bin/m4.exe [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK msys2/cci.latest: Already installed! msys2/cci.latest: Creating MSYS_ROOT env var : C:\J\w\BuildSingleReference/s\4750c2\1\bin\msys64 msys2/cci.latest: Creating MSYS_BIN env var : C:\J\w\BuildSingleReference/s\4750c2\1\bin\msys64\usr\bin msys2/cci.latest: Appending PATH env var with : C:\J\w\BuildSingleReference/s\4750c2\1\bin\msys64\usr\bin [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK openssl/1.1.1m: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK zlib/1.2.11: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK autoconf/2.71: Already installed! autoconf/2.71: Appending PATH env var with : C:\J\w\BuildSingleReference\.conan\data\autoconf\2.71\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\bin autoconf/2.71: Setting AC_MACRODIR to C:\J\w\BuildSingleReference\.conan\data\autoconf\2.71\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\bin\share\autoconf autoconf/2.71: Setting AUTOCONF to /c/j/w/buildsinglereference/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/autoconf autoconf/2.71: Setting AUTORECONF to /c/j/w/buildsinglereference/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/autoreconf autoconf/2.71: Setting AUTOHEADER to /c/j/w/buildsinglereference/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/autoheader autoconf/2.71: Setting AUTOM4TE to /c/j/w/buildsinglereference/.conan/data/autoconf/2.71/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/bin/autom4te autoconf/2.71: Setting AUTOM4TE_PERLLIBDIR to C:\J\w\BuildSingleReference\.conan\data\autoconf\2.71\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\bin\share\autoconf [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK automake/1.16.4: Already installed! automake/1.16.4: Appending PATH environment variable:: C:\J\w\BuildSingleReference\.conan\data\automake\1.16.4\_\_\package\3e48e69237f7f2196164383ef9dedf0f93cbf249\bin automake/1.16.4: Appending ACLOCAL environment variable with: /c/j/w/buildsinglereference/.conan/data/automake/1.16.4/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/bin/aclocal.exe automake/1.16.4: Setting AUTOMAKE_DATADIR to /c/j/w/buildsinglereference/.conan/data/automake/1.16.4/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/res automake/1.16.4: Setting AUTOMAKE_LIBDIR to /c/j/w/buildsinglereference/.conan/data/automake/1.16.4/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/res/automake-1.16 automake/1.16.4: Setting AUTOMAKE_PERLLIBDIR to /c/j/w/buildsinglereference/.conan/data/automake/1.16.4/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/res/automake-1.16 automake/1.16.4: Setting AUTOMAKE to /c/j/w/buildsinglereference/.conan/data/automake/1.16.4/_/_/package/3e48e69237f7f2196164383ef9dedf0f93cbf249/bin/automake.exe automake/1.16.4: Append M4 include directories to AUTOMAKE_CONAN_INCLUDES environment variable [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK libtool/2.4.6: Already installed! libtool/2.4.6: Appending PATH env: C:\J\w\BuildSingleReference\.conan\data\libtool\2.4.6\_\_\package\f543b883cc6eae6ee5bebadd92cac26e4785642b\bin libtool/2.4.6: Setting LIBTOOLIZE env to /c/j/w/buildsinglereference/.conan/data/libtool/2.4.6/_/_/package/f543b883cc6eae6ee5bebadd92cac26e4785642b/bin/libtoolize.exe libtool/2.4.6: Setting LIBTOOL_PREFIX environment variable to /c/j/w/buildsinglereference/.conan/data/libtool/2.4.6/_/_/package/f543b883cc6eae6ee5bebadd92cac26e4785642b libtool/2.4.6: Setting LIBTOOL_DATADIR environment variable to /c/j/w/buildsinglereference/.conan/data/libtool/2.4.6/_/_/package/f543b883cc6eae6ee5bebadd92cac26e4785642b/res libtool/2.4.6: Setting LIBTOOL_PKGAUXDIR environment variable to /c/j/w/buildsinglereference/.conan/data/libtool/2.4.6/_/_/package/f543b883cc6eae6ee5bebadd92cac26e4785642b/res/libtool/build-aux libtool/2.4.6: Setting LIBTOOL_PKGLTDLDIR environment variable to /c/j/w/buildsinglereference/.conan/data/libtool/2.4.6/_/_/package/f543b883cc6eae6ee5bebadd92cac26e4785642b/res/libtool libtool/2.4.6: Setting LIBTOOL_ACLOCALDIR environment variable to /c/j/w/buildsinglereference/.conan/data/libtool/2.4.6/_/_/package/f543b883cc6eae6ee5bebadd92cac26e4785642b/res/aclocal libtool/2.4.6: Appending ACLOCAL_PATH env: /c/j/w/buildsinglereference/.conan/data/libtool/2.4.6/_/_/package/f543b883cc6eae6ee5bebadd92cac26e4785642b/res/aclocal libtool/2.4.6: Appending AUTOMAKE_CONAN_INCLUDES environment variable: /c/j/w/buildsinglereference/.conan/data/libtool/2.4.6/_/_/package/f543b883cc6eae6ee5bebadd92cac26e4785642b/res/aclocal [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK ruby/3.1.0: Applying build-requirement: libtool/2.4.6 ruby/3.1.0: Applying build-requirement: msys2/cci.latest ruby/3.1.0: Applying build-requirement: automake/1.16.4 ruby/3.1.0: Applying build-requirement: autoconf/2.71 ruby/3.1.0: Applying build-requirement: m4/1.4.19 ruby/3.1.0: Copying sources to build folder ruby/3.1.0: Building your package in C:\J\w\BuildSingleReference\.conan\data\ruby\3.1.0\_\_\build\bc8d3c5ed0a1ae0d9d6e0d4d09f29789a9a1bb8f ruby/3.1.0: Generator txt created conanbuildinfo.txt ruby/3.1.0: Calling generate() ruby/3.1.0: Aggregating env generators [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: Calling build() ********************************************************************** ** Visual Studio 2017 Developer Command Prompt v15.9.19 ** Copyright (c) 2017 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' ruby/3.1.0: Calling: > C:\J\w\BuildSingleReference\.conan\data\ruby\3.1.0\_\_\build\bc8d3c5ed0a1ae0d9d6e0d4d09f29789a9a1bb8f\source_subfolder\win32/configure --disable-install-doc --prefix=C:/J/w/BuildSingleReference/.conan/data/ruby/3.1.0/_/_/package/bc8d3c5ed0a1ae0d9d6e0d4d09f29789a9a1bb8f --bindir=${prefix}/bin --sbindir=${prefix}/bin --libdir=${prefix}/lib --includedir=${prefix}/include --oldincludedir=${prefix}/include --datarootdir=${prefix}/share ----Running------ > "C:\J\w\BuildSingleReference\.conan\data\ruby\3.1.0\_\_\build\bc8d3c5ed0a1ae0d9d6e0d4d09f29789a9a1bb8f\conanbuild.bat" && C:\J\w\BuildSingleReference\.conan\data\ruby\3.1.0\_\_\build\bc8d3c5ed0a1ae0d9d6e0d4d09f29789a9a1bb8f\source_subfolder\win32/configure --disable-install-doc --prefix=C:/J/w/BuildSingleReference/.conan/data/ruby/3.1.0/_/_/package/bc8d3c5ed0a1ae0d9d6e0d4d09f29789a9a1bb8f --bindir=${prefix}/bin --sbindir=${prefix}/bin --libdir=${prefix}/lib --includedir=${prefix}/include --oldincludedir=${prefix}/include --datarootdir=${prefix}/share ----------------- Capturing current environment in deactivate_conanautotoolsdeps.bat Configuring environment variables Capturing current environment in deactivate_conanautotoolstoolchain.bat Configuring environment variables ruby/3.1.0: autoconf/2.71: WARN: Lib folder doesn't exist, can't collect libraries: C:\J\w\BuildSingleReference\.conan\data\autoconf\2.71\_\_\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\lib ruby/3.1.0: WARN: Build folder is dirty, removing it: C:\J\w\BuildSingleReference\.conan\data\ruby\3.1.0\_\_\build\bc8d3c5ed0a1ae0d9d6e0d4d09f29789a9a1bb8f ruby/3.1.0: 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: 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 The syntax of the command is incorrect. NMAKE : fatal error U1077: 'type' : return code '0x1' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\nmake.exe"' : return code '0x2' Stop. ruby/3.1.0: ERROR: Package 'bc8d3c5ed0a1ae0d9d6e0d4d09f29789a9a1bb8f' build failed ruby/3.1.0: WARN: Build folder C:\J\w\BuildSingleReference\.conan\data\ruby\3.1.0\_\_\build\bc8d3c5ed0a1ae0d9d6e0d4d09f29789a9a1bb8f ERROR: ruby/3.1.0: Error in build() method, line 118 at.configure(build_script_folder=build_script_folder) ConanException: Error 2 while executing C:\J\w\BuildSingleReference\.conan\data\ruby\3.1.0\_\_\build\bc8d3c5ed0a1ae0d9d6e0d4d09f29789a9a1bb8f\source_subfolder\win32/configure --disable-install-doc --prefix=C:/J/w/BuildSingleReference/.conan/data/ruby/3.1.0/_/_/package/bc8d3c5ed0a1ae0d9d6e0d4d09f29789a9a1bb8f --bindir=${prefix}/bin --sbindir=${prefix}/bin --libdir=${prefix}/lib --includedir=${prefix}/include --oldincludedir=${prefix}/include --datarootdir=${prefix}/share