******************************************************************************** conan test cci-5ffae41a/recipes/libtommath/cmake/test_package/conanfile.py libtommath/cci.20221028@#44c04007e9f1a0743c726c7f54ccafb5 -pr /home/conan/w/prod/BuildSingleReference/231409/3c563709-8abe-4974-84bb-1def9df1de08/profile_linux_11_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=11 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:be27726f9885116da1158027505be62e913cd585 - Cache Installing (downloading, building) binaries... libtommath/cci.20221028: Already installed! libtommath/cci.20221028 (test package): Generator txt created conanbuildinfo.txt 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-5ffae41a/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 '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: '/home/conan/w/prod/BuildSingleReference/cci-5ffae41a/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-5ffae41a/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-5ffae41a/recipes/libtommath/cmake/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-5ffae41a/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-5ffae41a/recipes/libtommath/cmake/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-5ffae41a/recipes/libtommath/cmake/test_package/build/Debug/generators/conan_toolchain.cmake -- The C compiler identification is GNU 11.1.0 -- Check for working C compiler: /usr/local/bin/cc -- Check for working C compiler: /usr/local/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- 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-5ffae41a/recipes/libtommath/cmake/test_package/build/Debug libtommath/cci.20221028 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-5ffae41a/recipes/libtommath/cmake/test_package/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-5ffae41a/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-5ffae41a/recipes/libtommath/cmake/test_package/build/Debug/generators/conanrun.sh" && ./test_package ----------------- a = 60790509094389933510724803502594524961607610337174591651566691753093459909094030660593068729472967326213104483665763233386660558882683100081254070133315234020658993952198506200740923643932820788208255853730440185321499676354552857352645808714127578464133412615657318387394748780411581806869973059828498886480297412746058250386035896584347655813852459188717258178903993455729016165727935462014602576540665347034210240437596317205375466818295058374476581448309562737207534975616571025718438154214783605935914312052136117033780685528544952918267 b = 36947421384339889353834377469309301935052803653092504743183353677068822775577295154757049563868397987578870807635523979809851224271083554746091216655157573504562307753330261322091594864474975116259745620730895732781718725193936892531320665720269290484065435611321936750493591007928427500128095448574369953526474004888839059222823679538458191331454791156444082742733290060561285920706874848640200181610616133356457233781003420695275259940080877286859704395722060862058356958831601783623649551138984116626370796433707270673271518460483106292452 a + b = 97737930478729822864559180971903826896660413990267096394750045430162282684671325815350118293341365313791975291301287213196511783153766654827345286788472807525221301705528767522832518508407795904468001474461335918103218401548489749883966474434396868948198848226979255137888339788340009306998068508402868840006771417634897309608859576122805847145307250345161340921637283516290302086434810310654802758151281480390667474218599737900650726758375935661336285844031623599265891934448172809342087705353767722562285108485843387707052203989028059210719 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-5ffae41a/recipes/libtommath/cmake/test_v1_package/conanfile.py libtommath/cci.20221028@#44c04007e9f1a0743c726c7f54ccafb5 -pr /home/conan/w/prod/BuildSingleReference/231409/3c563709-8abe-4974-84bb-1def9df1de08/profile_linux_11_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=11 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:be27726f9885116da1158027505be62e913cd585 - 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-5ffae41a/recipes/libtommath/cmake/test_v1_package/build/cb3796d60f89ef5f3540c76d720661cae8a59188/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-5ffae41a/recipes/libtommath/cmake/test_v1_package/build/cb3796d60f89ef5f3540c76d720661cae8a59188' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="11" -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-5ffae41a/recipes/libtommath/cmake/test_v1_package/build/cb3796d60f89ef5f3540c76d720661cae8a59188/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-5ffae41a/recipes/libtommath/cmake/test_v1_package/build/cb3796d60f89ef5f3540c76d720661cae8a59188" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-5ffae41a/recipes/libtommath/cmake/test_v1_package/build/cb3796d60f89ef5f3540c76d720661cae8a59188" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-5ffae41a/recipes/libtommath/cmake/test_v1_package' ----------------- -- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- Check for working C compiler: /usr/local/bin/cc -- Check for working C compiler: /usr/local/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/local/bin/c++ -- Check for working CXX compiler: /usr/local/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- 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/be27726f9885116da1158027505be62e913cd585/lib/libtommath.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 11 -- Conan: Checking correct version: 11 -- Conan: C++ stdlib: libstdc++11 -- Library tommath found /home/conan/w/prod/BuildSingleReference/.conan/data/libtommath/cci.20221028/_/_/package/be27726f9885116da1158027505be62e913cd585/lib/libtommath.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/libtommath/cci.20221028/_/_/package/be27726f9885116da1158027505be62e913cd585/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-5ffae41a/recipes/libtommath/cmake/test_v1_package/build/cb3796d60f89ef5f3540c76d720661cae8a59188' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="11" -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-5ffae41a/recipes/libtommath/cmake/test_v1_package/build/cb3796d60f89ef5f3540c76d720661cae8a59188/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-5ffae41a/recipes/libtommath/cmake/test_v1_package/build/cb3796d60f89ef5f3540c76d720661cae8a59188" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-5ffae41a/recipes/libtommath/cmake/test_v1_package/build/cb3796d60f89ef5f3540c76d720661cae8a59188" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-5ffae41a/recipes/libtommath/cmake/test_v1_package'