******************************************************************************** conan test cci-3f4dcaaa/recipes/libtommath/cmake/test_package/conanfile.py libtommath/cci.20221028@#44c04007e9f1a0743c726c7f54ccafb5 -pr /home/conan/w/prod/BuildSingleReference/231409/1602538d-7997-422a-bb21-b968cf8cbe04/profile_linux_7_libstdcpp11_gcc_release_64.libtommath-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] libtommath:shared=True [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:5246c0bd84cb3855ffc2a458086a0813344953bf - Cache Installing (downloading, building) binaries... libtommath/cci.20221028: Already installed! libtommath/cci.20221028 (test package): Generator 'CMakeToolchain' calling 'generate()' libtommath/cci.20221028 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' 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-3f4dcaaa/recipes/libtommath/cmake/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' libtommath/cci.20221028 (test package): Generator 'VirtualRunEnv' calling 'generate()' libtommath/cci.20221028 (test package): Generator 'CMakeDeps' calling 'generate()' 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-3f4dcaaa/recipes/libtommath/cmake/test_package/build/Release/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-3f4dcaaa/recipes/libtommath/cmake/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-3f4dcaaa/recipes/libtommath/cmake/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-3f4dcaaa/recipes/libtommath/cmake/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-3f4dcaaa/recipes/libtommath/cmake/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-3f4dcaaa/recipes/libtommath/cmake/test_package/build/Release/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-3f4dcaaa/recipes/libtommath/cmake/test_package/build/Release libtommath/cci.20221028 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-3f4dcaaa/recipes/libtommath/cmake/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-3f4dcaaa/recipes/libtommath/cmake/test_package/build/Release" '--' '-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-3f4dcaaa/recipes/libtommath/cmake/test_package/build/Release/generators/conanrun.sh" && ./test_package ----------------- a = 67677020421882988995278741949258959276624719144523169575831380883780797350555181751028212609550457575607069077372291898292663133131081279331252282620253170997855862922941398724194599757503582966378738375709523270290697202903718793107104772921374695037113985257955138999428610021119398591434938102121915068775717115537857386701191872128142013663245108673970642320913398379806831717832094118541560842717368819569433388631038340803823105768874145948817259997668529086458466696613123883463853372153697412512403237111812900420405922112862119780122 b = 35431397310547116269687066798142056796803459071293346660872995492247531078052396606409350765162523165781233902635331330272359447107056207837170221980826062812544209677954747920562219311508873440303999125304894985257221219734611125292113071323108836463960450236876329850302693116043195878253252778047553034532010170060602945919840025573964892542869577573520748899067251136003810140758896312834844335639644711880267371878352833019877390513790078949222544688195901934891507640316625557897195053410100111410373519358356588983798831388991811396423 a + b = 103108417732430105264965808747401016073428178215816516236704376376028328428607578357437563374712980741388302980007623228565022580238137487168422504601079233810400072600896146644756819069012456406682737501014418255547918422638329918399217844244483531501074435494831468849731303137162594469688190880169468103307727285598460332621031897702106906206114686247491391219980649515810641858590990431376405178357013531449700760509391173823700496282664224898039804685864431021349974336929749441361048425563797523922776756470169489404204753501853931176545 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-3f4dcaaa/recipes/libtommath/cmake/test_v1_package/conanfile.py libtommath/cci.20221028@#44c04007e9f1a0743c726c7f54ccafb5 -pr /home/conan/w/prod/BuildSingleReference/231409/1602538d-7997-422a-bb21-b968cf8cbe04/profile_linux_7_libstdcpp11_gcc_release_64.libtommath-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] libtommath:shared=True [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:5246c0bd84cb3855ffc2a458086a0813344953bf - 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-release.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-3f4dcaaa/recipes/libtommath/cmake/test_v1_package/build/1ab02485a35b957fcfafae18e8bc3b70e0cb2638/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-3f4dcaaa/recipes/libtommath/cmake/test_v1_package/build/1ab02485a35b957fcfafae18e8bc3b70e0cb2638' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -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-3f4dcaaa/recipes/libtommath/cmake/test_v1_package/build/1ab02485a35b957fcfafae18e8bc3b70e0cb2638/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-3f4dcaaa/recipes/libtommath/cmake/test_v1_package/build/1ab02485a35b957fcfafae18e8bc3b70e0cb2638" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-3f4dcaaa/recipes/libtommath/cmake/test_v1_package/build/1ab02485a35b957fcfafae18e8bc3b70e0cb2638" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-3f4dcaaa/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/5246c0bd84cb3855ffc2a458086a0813344953bf/lib/libtommath.so -- 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/5246c0bd84cb3855ffc2a458086a0813344953bf/lib/libtommath.so -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/libtommath/cci.20221028/_/_/package/5246c0bd84cb3855ffc2a458086a0813344953bf/lib/libtommath.so -- 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-3f4dcaaa/recipes/libtommath/cmake/test_v1_package/build/1ab02485a35b957fcfafae18e8bc3b70e0cb2638' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -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-3f4dcaaa/recipes/libtommath/cmake/test_v1_package/build/1ab02485a35b957fcfafae18e8bc3b70e0cb2638/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-3f4dcaaa/recipes/libtommath/cmake/test_v1_package/build/1ab02485a35b957fcfafae18e8bc3b70e0cb2638" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-3f4dcaaa/recipes/libtommath/cmake/test_v1_package/build/1ab02485a35b957fcfafae18e8bc3b70e0cb2638" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-3f4dcaaa/recipes/libtommath/cmake/test_v1_package'