******************************************************************************** conan test cci-fcbab011/recipes/libtommath/all/test_package/conanfile.py libtommath/cci.20230622@#9e6f1f5ae201f032b9b2e8e540c5ed55 -pr /home/conan/w/prod/BuildSingleReference/254857/40b69668-944e-44b4-ba7e-6f6d59a98acf/profile_linux_10_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=10 os=Linux [options] libtommath:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libtommath/cci.20230622 (test package): Installing package Requirements libtommath/cci.20230622 from local cache - Cache Packages libtommath/cci.20230622:d0c219631d7c692d7a95436cf4e11fe2891dc312 - Cache Installing (downloading, building) binaries... libtommath/cci.20230622: Already installed! libtommath/cci.20230622 (test package): Generator 'VirtualRunEnv' calling 'generate()' libtommath/cci.20230622 (test package): Generator 'CMakeDeps' calling 'generate()' libtommath/cci.20230622 (test package): Generator txt created conanbuildinfo.txt libtommath/cci.20230622 (test package): Generator 'CMakeToolchain' calling 'generate()' libtommath/cci.20230622 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' libtommath/cci.20230622 (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-fcbab011/recipes/libtommath/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' libtommath/cci.20230622 (test package): Aggregating env generators libtommath/cci.20230622 (test package): Generated conaninfo.txt libtommath/cci.20230622 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/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.20230622 (test package): Calling build() libtommath/cci.20230622 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/test_package/build/Release/generators/conan_toolchain.cmake -- The C compiler identification is GNU 10.3.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::libtommath' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/test_package/build/Release libtommath/cci.20230622 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/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.20230622 (test package): Running test() ----Running------ > . "/home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/test_package/build/Release/generators/conanrun.sh" && ./test_package ----------------- a = 16454255306029860456177717597808521326495391987907354663870889654220629668695338845183371754605026124397988161555099350368916730482879661978838836210004547204316875036118636460256360320699107082418745940803070848756166798356138460117256583978276158805854778902286562550047873812768865913267204172570040739227094047331046382047133850380845059330968301559775994427975438993158821461551686894531164749273094868606914273270232418048677857733782363924797465819652157382906356413675071150048844182607885792575071053637671202147698255954617440561487CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 /home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/test_package/test_package.c: In function ‘main’: /home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/test_package/test_package.c:9:5: warning: ignoring return value of ‘mp_init’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 9 | mp_init(&a); | ^~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/test_package/test_package.c:10:5: warning: ignoring return value of ‘mp_rand’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 10 | mp_rand(&a, 30); | ^~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/cci-fcbab011/recipes/libtommath/all/test_package/test_package.c:13:5: warning: ignoring return value of ‘mp_fwrite’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 13 | mp_fwrite(&a, 10, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~ libtommath/cci.20230622 (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.20230622 (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