******************************************************************************** conan test cci-8794e86e\recipes\libtommath\cmake\test_package\conanfile.py libtommath/cci.20221028@#4ae3368020820ed5e24d47ac77c81273 -pr C:/J2/w/prod-v1/bsr@2/119335/fefcf/profile_windows_16_mdd_vs_debug_64.libtommath-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=Visual Studio compiler.runtime=MDd compiler.version=16 os=Windows [options] libtommath:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libtommath/cci.20221028 (test package): Installing package Requirements libtommath/cci.20221028 from local cache - Cache Packages libtommath/cci.20221028:d057732059ea44a47760900cb5e4855d2bea8714 - Cache Installing (downloading, building) binaries... libtommath/cci.20221028: Already installed! libtommath/cci.20221028 (test package): Generator 'VirtualRunEnv' calling 'generate()' libtommath/cci.20221028 (test package): Generator txt created conanbuildinfo.txt libtommath/cci.20221028 (test package): Generator 'CMakeToolchain' calling 'generate()' libtommath/cci.20221028 (test package): Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' libtommath/cci.20221028 (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@2\cci-8794e86e\recipes\libtommath\cmake\test_package\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' libtommath/cci.20221028 (test package): Generator 'CMakeDeps' calling 'generate()' libtommath/cci.20221028 (test package): Aggregating env generators libtommath/cci.20221028 (test package): Generated conaninfo.txt libtommath/cci.20221028 (test package): Generated graphinfo Using lockfile: 'C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\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 libtommath/cci.20221028 (test package): Calling build() libtommath/cci.20221028 (test package): CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J2/w/prod-v1/bsr@2/cci-8794e86e/recipes/libtommath/cmake/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_package\." ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J2/w/prod-v1/bsr@2/cci-8794e86e/recipes/libtommath/cmake/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_package\." ----------------- -- Using Conan toolchain: C:/J2/w/prod-v1/bsr@2/cci-8794e86e/recipes/libtommath/cmake/test_package/build/generators/conan_toolchain.cmake -- The C compiler identification is MSVC 19.29.30148.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Conan: Target declared 'libtommath' -- Configuring done -- Generating done -- Build files have been written to: C:/J2/w/prod-v1/bsr@2/cci-8794e86e/recipes/libtommath/cmake/test_package/build libtommath/cci.20221028 (test package): CMake command: cmake --build "C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_package\build" --config Debug ----Running------ > cmake --build "C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_package\build" --config Debug ----------------- 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@2/cci-8794e86e/recipes/libtommath/cmake/test_package/CMakeLists.txt test_package.c tommath.lib(s_mp_rand_platform.obj) : error LNK2019: unresolved external symbol s_read_arc4random referenced in function s_mp_rand_platform [C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_package\build\test_package.vcxproj] tommath.lib(s_mp_rand_platform.obj) : error LNK2019: unresolved external symbol s_read_getrandom referenced in function s_mp_rand_platform [C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_package\build\test_package.vcxproj] tommath.lib(s_mp_rand_platform.obj) : error LNK2019: unresolved external symbol s_read_urandom referenced in function s_mp_rand_platform [C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_package\build\test_package.vcxproj] C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_package\build\Debug\test_package.exe : fatal error LNK1120: 3 unresolved externals [C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_package\build\test_package.vcxproj] libtommath/cci.20221028 (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 libtommath/cci.20221028 (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 ERROR: libtommath/cci.20221028 (test package): Error in build() method, line 21 cmake.build() ConanException: Error 1 while executing cmake --build "C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_package\build" --config Debug ******************************************************************************** conan test cci-8794e86e\recipes\libtommath\cmake\test_v1_package\conanfile.py libtommath/cci.20221028@#4ae3368020820ed5e24d47ac77c81273 -pr C:/J2/w/prod-v1/bsr@2/119335/fefcf/profile_windows_16_mdd_vs_debug_64.libtommath-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=Visual Studio compiler.runtime=MDd compiler.version=16 os=Windows [options] libtommath:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libtommath/cci.20221028 (test package): Installing package Requirements libtommath/cci.20221028 from local cache - Cache Packages libtommath/cci.20221028:d057732059ea44a47760900cb5e4855d2bea8714 - Cache Installing (downloading, building) binaries... libtommath/cci.20221028: Already installed! libtommath/cci.20221028 (test package): Generator cmake created conanbuildinfo.cmake libtommath/cci.20221028 (test package): Generator txt created conanbuildinfo.txt libtommath/cci.20221028 (test package): Generator cmake_find_package_multi created libtommath-config-version.cmake libtommath/cci.20221028 (test package): Generator cmake_find_package_multi created libtommath-config.cmake libtommath/cci.20221028 (test package): Generator cmake_find_package_multi created libtommathTargets.cmake libtommath/cci.20221028 (test package): Generator cmake_find_package_multi created libtommathTarget-debug.cmake libtommath/cci.20221028 (test package): Aggregating env generators libtommath/cci.20221028 (test package): Generated conaninfo.txt libtommath/cci.20221028 (test package): Generated graphinfo Using lockfile: 'C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_v1_package\build\5e7b26e547216f99ba72739aa261381d5a3a1232/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 libtommath/cci.20221028 (test package): Calling build() ----Running------ > cd C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_v1_package\build\5e7b26e547216f99ba72739aa261381d5a3a1232 && cmake -G "Visual Studio 16 2019" -A "x64" -DCONAN_LINK_RUNTIME="/MDd" -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@2\cci-8794e86e\recipes\libtommath\cmake\test_v1_package\build\5e7b26e547216f99ba72739aa261381d5a3a1232\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@2/cci-8794e86e/recipes/libtommath/cmake/test_v1_package/build/5e7b26e547216f99ba72739aa261381d5a3a1232" -DCMAKE_MODULE_PATH="C:/J2/w/prod-v1/bsr@2/cci-8794e86e/recipes/libtommath/cmake/test_v1_package/build/5e7b26e547216f99ba72739aa261381d5a3a1232" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_v1_package ----------------- -- The C compiler identification is MSVC 19.29.30148.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library tommath found C:/J2/w/prod-v1/bsr@2/119335/fcaef/.conan/data/libtommath/cci.20221028/_/_/package/d057732059ea44a47760900cb5e4855d2bea8714/lib/tommath.lib -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'MSVC' compiler -- Library tommath found C:/J2/w/prod-v1/bsr@2/119335/fcaef/.conan/data/libtommath/cci.20221028/_/_/package/d057732059ea44a47760900cb5e4855d2bea8714/lib/tommath.lib -- Found: C:/J2/w/prod-v1/bsr@2/119335/fcaef/.conan/data/libtommath/cci.20221028/_/_/package/d057732059ea44a47760900cb5e4855d2bea8714/lib/tommath.lib -- Configuring done -- Generating done -- Build files have been written to: C:/J2/w/prod-v1/bsr@2/cci-8794e86e/recipes/libtommath/cmake/test_v1_package/build/5e7b26e547216f99ba72739aa261381d5a3a1232 ----Running------ > cmake --build C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_v1_package\build\5e7b26e547216f99ba72739aa261381d5a3a1232 --config Debug -- /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@2/cci-8794e86e/recipes/libtommath/cmake/test_package/CMakeLists.txt test_package.c tommath.lib(s_mp_rand_platform.obj) : error LNK2019: unresolved external symbol s_read_arc4random referenced in function s_mp_rand_platform [C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_v1_package\build\5e7b26e547216f99ba72739aa261381d5a3a1232\test_package\test_package.vcxproj] tommath.lib(s_mp_rand_platform.obj) : error LNK2019: unresolved external symbol s_read_getrandom referenced in function s_mp_rand_platform [C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_v1_package\build\5e7b26e547216f99ba72739aa261381d5a3a1232\test_package\test_package.vcxproj] tommath.lib(s_mp_rand_platform.obj) : error LNK2019: unresolved external symbol s_read_urandom referenced in function s_mp_rand_platform [C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_v1_package\build\5e7b26e547216f99ba72739aa261381d5a3a1232\test_package\test_package.vcxproj] C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_v1_package\build\5e7b26e547216f99ba72739aa261381d5a3a1232\bin\test_package.exe : fatal error LNK1120: 3 unresolved externals [C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_v1_package\build\5e7b26e547216f99ba72739aa261381d5a3a1232\test_package\test_package.vcxproj] 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 libtommath/cci.20221028 (test package): WARN: ************************************************ The 'cmake' generator is deprecated. Please update your code and remove it. ************************************************* libtommath/cci.20221028 (test package): WARN: ************************************************ The 'cmake_find_package_multi' generator is deprecated. Please update your code and remove it. ************************************************* libtommath/cci.20221028 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. **** ERROR: libtommath/cci.20221028 (test package): Error in build() method, line 13 cmake.build() ConanException: Error 1 while executing cmake --build C:\J2\w\prod-v1\bsr@2\cci-8794e86e\recipes\libtommath\cmake\test_v1_package\build\5e7b26e547216f99ba72739aa261381d5a3a1232 --config Debug -- /m:8 /verbosity:minimal