******************************************************************************** conan test cci-07f869bc/recipes/dbg-macro/all/test_package/conanfile.py dbg-macro/0.4.0@#8b3b5a8fd11f0e0de648d298b6b2852f -pr /home/conan/w/prod/BuildSingleReference/268093/413afca2-78e2-47db-917f-d02266b1b406/profile_linux_9_libstdcpp11_gcc_release_64..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] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True dbg-macro/0.4.0 (test package): Installing package Requirements dbg-macro/0.4.0 from local cache - Cache Packages dbg-macro/0.4.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... dbg-macro/0.4.0: Already installed! dbg-macro/0.4.0 (test package): Generator 'CMakeToolchain' calling 'generate()' dbg-macro/0.4.0 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' dbg-macro/0.4.0 (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-07f869bc/recipes/dbg-macro/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' dbg-macro/0.4.0 (test package): Generator 'CMakeDeps' calling 'generate()' dbg-macro/0.4.0 (test package): Generator txt created conanbuildinfo.txt dbg-macro/0.4.0 (test package): Aggregating env generators dbg-macro/0.4.0 (test package): Generated conaninfo.txt dbg-macro/0.4.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-07f869bc/recipes/dbg-macro/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 dbg-macro/0.4.0 (test package): Calling build() dbg-macro/0.4.0 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-07f869bc/recipes/dbg-macro/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-07f869bc/recipes/dbg-macro/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-07f869bc/recipes/dbg-macro/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-07f869bc/recipes/dbg-macro/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-07f869bc/recipes/dbg-macro/all/test_package/build/Release/generators/conan_toolchain.cmake -- The CXX compiler identification is GNU 9.2.1 -- 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: Target declared 'dbg-macro::dbg-macro' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-07f869bc/recipes/dbg-macro/all/test_package/build/Release dbg-macro/0.4.0 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-07f869bc/recipes/dbg-macro/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-07f869bc/recipes/dbg-macro/all/test_package/build/Release" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable test_package [100%] Built target test_package dbg-macro/0.4.0 (test package): Running test() ----Running------ > ./test_package ----------------- [..age/test_package.cpp:17 (main)] message = "hello" (std::string) [..age/test_package.cpp:20 (main)] 3 * a = 6 (int) [..age/test_package.cpp:23 (main)] numbers = {7, 13, 42} (std::vector) [..age/test_package.cpp:25 (main)] this line is executed [..age/test_package.cpp:8 (factorial)] n <= 1 = false (bool) [..age/test_package.cpp:8 (factorial)] n <= 1 = false (bool) [..age/test_package.cpp:8 (factorial)] n <= 1 = false (bool) [..age/test_package.cpp:8 (factorial)] n <= 1 = true (bool) [..age/test_package.cpp:9 (factorial)] 1 = 1 (int) [..age/test_package.cpp:11 (factorial)] n * factorial(n - 1) = 2 (int) [..age/test_package.cpp:11 (factorial)] n * factorial(n - 1) = 6 (int) [..age/test_package.cpp:11 (factorial)] n * factorial(n - 1) = 24 (int) dbg-macro/0.4.0 (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 dbg-macro/0.4.0 (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