******************************************************************************** conan test cci-0b62f8da/recipes/libtommath/cmake/test_package/conanfile.py libtommath/cci.20221028@#a052c050b53cd11d549d1c8b81f59f81 -pr /home/conan/w/prod/BuildSingleReference/223600/fa336c87-6337-4fee-b464-fd8387849fd2/profile_linux_9_libstdcpp11_gcc_release_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=Release 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:6af9cc7cb931c5ad942174fd7838eb655717c709 - 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 '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-0b62f8da/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 txt created conanbuildinfo.txt libtommath/cci.20221028 (test package): Generator 'VirtualRunEnv' 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-0b62f8da/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-0b62f8da/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-0b62f8da/recipes/libtommath/cmake/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-0b62f8da/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-0b62f8da/recipes/libtommath/cmake/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-0b62f8da/recipes/libtommath/cmake/test_package/build/Release/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-0b62f8da/recipes/libtommath/cmake/test_package/build/Release libtommath/cci.20221028 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-0b62f8da/recipes/libtommath/cmake/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-0b62f8da/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-0b62f8da/recipes/libtommath/cmake/test_package/build/Release/generators/conanrun.sh" && ./test_package ----------------- a = 22591754365368898384934140200199375136439678810335963835985866026025338942572447347884680306832195453402175862027253804019745963856582186438921448319311724382430046045321478555789147477247473911827572992872756271026678514960591579276656944685811187287864967236512683663816570686484166155295723882592141580505384186254559606795263983154305914164211180992457047722439570314581990294476933463911613332712988578683804654010173403656628371408480099273826395721894892860998443738067449370032500322574060576065110345873165261884642481311071699987447 b = 51038459938360347006752881724691685475843844210637799116962624198803742011064336322999955965989639730087807601143730453723915877812907646480689431183555696049915062780820423667127963243237278529134200254065490179574493965797559757191698435229068116141533263374104706625163717497442571357681197415710243388958806903263840598740472102008805127584157896922133744490159380417418435592067371937275400215256994379281973145333250833903577358635140671879884931471677086633494171470993443386844544187141184264066906953951132467220249941705297050271054 a + b = 73630214303729245391687021924891060612283523020973762952948490224829080953636783670884636272821835183489983463170984257743661841669489832919610879502867420432345108826141902222917110720484752440961773246938246450601172480758151336468355379914879303429398230610617390288980288183926737512976921298302384969464191089518400205535736085163111041748369077914590792212598950732000425886544305401187013547969982957965777799343424237560205730043620771153711327193571979494492615209060892756877044509715244840132017299824297729104892423016368750258501 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-0b62f8da/recipes/libtommath/cmake/test_v1_package/conanfile.py libtommath/cci.20221028@#a052c050b53cd11d549d1c8b81f59f81 -pr /home/conan/w/prod/BuildSingleReference/223600/fa336c87-6337-4fee-b464-fd8387849fd2/profile_linux_9_libstdcpp11_gcc_release_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=Release 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:6af9cc7cb931c5ad942174fd7838eb655717c709 - 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 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 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-0b62f8da/recipes/libtommath/cmake/test_v1_package/build/538e721ffba51a3d71fe6ae7bac38d20cffe6f17/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-0b62f8da/recipes/libtommath/cmake/test_v1_package/build/538e721ffba51a3d71fe6ae7bac38d20cffe6f17' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -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-0b62f8da/recipes/libtommath/cmake/test_v1_package/build/538e721ffba51a3d71fe6ae7bac38d20cffe6f17/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-0b62f8da/recipes/libtommath/cmake/test_v1_package/build/538e721ffba51a3d71fe6ae7bac38d20cffe6f17" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-0b62f8da/recipes/libtommath/cmake/test_v1_package/build/538e721ffba51a3d71fe6ae7bac38d20cffe6f17" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-0b62f8da/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/6af9cc7cb931c5ad942174fd7838eb655717c709/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/6af9cc7cb931c5ad942174fd7838eb655717c709/lib/libtommath.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/libtommath/cci.20221028/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/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-0b62f8da/recipes/libtommath/cmake/test_v1_package/build/538e721ffba51a3d71fe6ae7bac38d20cffe6f17' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -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-0b62f8da/recipes/libtommath/cmake/test_v1_package/build/538e721ffba51a3d71fe6ae7bac38d20cffe6f17/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-0b62f8da/recipes/libtommath/cmake/test_v1_package/build/538e721ffba51a3d71fe6ae7bac38d20cffe6f17" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-0b62f8da/recipes/libtommath/cmake/test_v1_package/build/538e721ffba51a3d71fe6ae7bac38d20cffe6f17" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-0b62f8da/recipes/libtommath/cmake/test_v1_package'