******************************************************************************** conan test cci-08c24155/recipes/libtommath/cmake/test_package/conanfile.py libtommath/cci.20221028@#a052c050b53cd11d549d1c8b81f59f81 -pr /home/conan/w/prod/BuildSingleReference/223600/76e7aa7b-6ed5-4c6e-a937-22905e858823/profile_linux_9_libstdcpp11_gcc_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=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux [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:23b828d52c0630e6b0b96d2945419feb7843c4f8 - 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 'CMakeDeps' calling 'generate()' libtommath/cci.20221028 (test package): Generator 'CMakeToolchain' calling 'generate()' libtommath/cci.20221028 (test package): Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' libtommath/cci.20221028 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_package/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' 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: '/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_package/build/Debug/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 "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_package/build/Debug/generators/conan_toolchain.cmake -- The C compiler identification is GNU 9.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Conan: Target declared 'libtommath' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_package/build/Debug libtommath/cci.20221028 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_package/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_package/build/Debug" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable test_package [100%] Built target test_package libtommath/cci.20221028 (test package): Running test() ----Running------ > . "/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_package/build/Debug/generators/conanrun.sh" && ./test_package ----------------- a = 12716915005059880991082539132608188660239209602333326574604416802889607551563258917337555016401266825125761984669556078767291140692280275827908646913882801781346405205874667870701716144023642727965869471127802487508771321841014886144385857239197515064000875038116257545573500597778904831548747156130791383673112827961945167209940374745476795226390311414012825432748174463249655759791357110175363716644840015262366049583404251302024189347512938551880373468019299805959923499590982899751637427821517143310945591570872925385876517013264601909513 b = 65915128520446583854047149197862531708677362063057574552604459691088047586042277428276137496045304143068469216175757500695020558758549840898126737373234839358210294337158702325563761614615592386594132648251436859597433790805631721034823966573482454395355585643325465339313720142063216185217073525750999802061634664974133025815788557738467462920946670821796218604301389944188326307628424662463873481645697160704331737456106550851084991840292427586872716847518045722492411591760022759560839327177427983165877796500650577997515307157960626938722 a + b = 78632043525506464845129688330470720368916571665390901127208876493977655137605536345613692512446570968194231200845313579462311699450830116726035384287117641139556699543033370196265477758639235114560002119379239347106205112646646607179209823812679969459356460681441722884887220739842121016765820681881791185734747492936078193025728932483944258147336982235809044037049564407437982067419781772639237198290537175966697787039510802153109181187805366138753090315537345528452335091351005659312476754998945126476823388071523503383391824171225228848235 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 ******************************************************************************** conan test cci-08c24155/recipes/libtommath/cmake/test_v1_package/conanfile.py libtommath/cci.20221028@#a052c050b53cd11d549d1c8b81f59f81 -pr /home/conan/w/prod/BuildSingleReference/223600/76e7aa7b-6ed5-4c6e-a937-22905e858823/profile_linux_9_libstdcpp11_gcc_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=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux [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:23b828d52c0630e6b0b96d2945419feb7843c4f8 - Cache Installing (downloading, building) binaries... libtommath/cci.20221028: Already installed! 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): Generator cmake created conanbuildinfo.cmake libtommath/cci.20221028 (test package): Generator txt created conanbuildinfo.txt 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: '/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_v1_package/build/d47aa7c8a698c3d2e937d1e19a42388b6d93509e/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 '/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_v1_package/build/d47aa7c8a698c3d2e937d1e19a42388b6d93509e' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="9" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_v1_package/build/d47aa7c8a698c3d2e937d1e19a42388b6d93509e/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="/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_v1_package/build/d47aa7c8a698c3d2e937d1e19a42388b6d93509e" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_v1_package/build/d47aa7c8a698c3d2e937d1e19a42388b6d93509e" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_v1_package' ----------------- -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- 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: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library tommath found /home/conan/w/prod/BuildSingleReference/.conan/data/libtommath/cci.20221028/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libtommath.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 9 -- Conan: Checking correct version: 9 -- Conan: C++ stdlib: libstdc++11 -- Library tommath found /home/conan/w/prod/BuildSingleReference/.conan/data/libtommath/cci.20221028/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libtommath.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/libtommath/cci.20221028/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libtommath.a -- Configuring done CMake Error at CMakeLists.txt:8 (add_library): No SOURCES given to target: libtommath CMake Generate step failed. Build files cannot be regenerated correctly. ERROR: libtommath/cci.20221028 (test package): Error in build() method, line 12 cmake.configure() ConanException: Error 1 while executing cd '/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_v1_package/build/d47aa7c8a698c3d2e937d1e19a42388b6d93509e' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="9" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_v1_package/build/d47aa7c8a698c3d2e937d1e19a42388b6d93509e/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="/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_v1_package/build/d47aa7c8a698c3d2e937d1e19a42388b6d93509e" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_v1_package/build/d47aa7c8a698c3d2e937d1e19a42388b6d93509e" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-08c24155/recipes/libtommath/cmake/test_v1_package'