******************************************************************************** conan test cci-a2d060b3/recipes/libtommath/cmake/test_package/conanfile.py libtommath/cci.20221028@#44c04007e9f1a0743c726c7f54ccafb5 -pr /home/conan/w/prod/BuildSingleReference/231409/9522eb71-3883-4f0b-a6ee-f31e0013334d/profile_linux_7_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=7 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:db2ca884c9793e0b0fb54ec3f846326d1addacc8 - Cache Installing (downloading, building) binaries... libtommath/cci.20221028: Already installed! libtommath/cci.20221028 (test package): Generator 'CMakeDeps' calling 'generate()' libtommath/cci.20221028 (test package): Generator 'VirtualRunEnv' 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-a2d060b3/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): 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-a2d060b3/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-a2d060b3/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-a2d060b3/recipes/libtommath/cmake/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-a2d060b3/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-a2d060b3/recipes/libtommath/cmake/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-a2d060b3/recipes/libtommath/cmake/test_package/build/Debug/generators/conan_toolchain.cmake -- The C compiler identification is GNU 7.2.0 -- 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-a2d060b3/recipes/libtommath/cmake/test_package/build/Debug libtommath/cci.20221028 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-a2d060b3/recipes/libtommath/cmake/test_package/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-a2d060b3/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-a2d060b3/recipes/libtommath/cmake/test_package/build/Debug/generators/conanrun.sh" && ./test_package ----------------- a = 58440394226061935417212729763081004604433649625541540156025565586935499995065958092313069003913888689136260737753709782526890321228787096408960515576781416748511879932347122357545720722130741258763105032790438221903361464903647709247727272883572036775481710279921710364404573471538876056188888347285824509857258725435694340105271948349737151011886827738513037397412015859914593900301606018102233545428488323358376016779326404682505753299942680730942968990259917680548577722152094204735656750850665803349159802911593826836181026131185903473237 b = 2509874650266551930307354781284379061165144973144974815821583554630475213932552812678755868315521142571073870889665386570307788569181312376797462865240927647518236113892870359028826485862329305153106216167722054591402872268195667629957825847898003484254323458982000709391744700043008013646996641772709290985527279295855700632622115353470519050924608268592697548646207779998534049896804898749139949036028522613427175248625233076335946528384144873548674889963270071916303791027555483393026192370064825015628721854272098097916532607008142293702 a + b = 60950268876328487347520084544365383665598794598686514971847149141565975208998510904991824872229409831707334608643375169097198109797968408785757978442022344396030116046239992716574547207993070563916211248958160276494764337171843376877685098731470040259736033738903711073796318171581884069835884989058533800842786004731550040737894063703207670062811436007105734946058223639913127950198410916851373494464516845971803192027951637758841699828326825604491643880223187752464881513179649688128682943220730628364788524765865924934097558738194045766939 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-a2d060b3/recipes/libtommath/cmake/test_v1_package/conanfile.py libtommath/cci.20221028@#44c04007e9f1a0743c726c7f54ccafb5 -pr /home/conan/w/prod/BuildSingleReference/231409/9522eb71-3883-4f0b-a6ee-f31e0013334d/profile_linux_7_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=7 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:db2ca884c9793e0b0fb54ec3f846326d1addacc8 - 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: '/home/conan/w/prod/BuildSingleReference/cci-a2d060b3/recipes/libtommath/cmake/test_v1_package/build/ac3ba86328701878a32addc1c7aa63cf968d68fa/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-a2d060b3/recipes/libtommath/cmake/test_v1_package/build/ac3ba86328701878a32addc1c7aa63cf968d68fa' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -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-a2d060b3/recipes/libtommath/cmake/test_v1_package/build/ac3ba86328701878a32addc1c7aa63cf968d68fa/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-a2d060b3/recipes/libtommath/cmake/test_v1_package/build/ac3ba86328701878a32addc1c7aa63cf968d68fa" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-a2d060b3/recipes/libtommath/cmake/test_v1_package/build/ac3ba86328701878a32addc1c7aa63cf968d68fa" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-a2d060b3/recipes/libtommath/cmake/test_v1_package' ----------------- -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.0 -- 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/db2ca884c9793e0b0fb54ec3f846326d1addacc8/lib/libtommath.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 7 -- Conan: Checking correct version: 7 -- Conan: C++ stdlib: libstdc++11 -- Library tommath found /home/conan/w/prod/BuildSingleReference/.conan/data/libtommath/cci.20221028/_/_/package/db2ca884c9793e0b0fb54ec3f846326d1addacc8/lib/libtommath.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/libtommath/cci.20221028/_/_/package/db2ca884c9793e0b0fb54ec3f846326d1addacc8/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-a2d060b3/recipes/libtommath/cmake/test_v1_package/build/ac3ba86328701878a32addc1c7aa63cf968d68fa' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -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-a2d060b3/recipes/libtommath/cmake/test_v1_package/build/ac3ba86328701878a32addc1c7aa63cf968d68fa/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-a2d060b3/recipes/libtommath/cmake/test_v1_package/build/ac3ba86328701878a32addc1c7aa63cf968d68fa" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-a2d060b3/recipes/libtommath/cmake/test_v1_package/build/ac3ba86328701878a32addc1c7aa63cf968d68fa" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-a2d060b3/recipes/libtommath/cmake/test_v1_package'