******************************************************************************** conan test cci-77670132/recipes/libcbor/all/test_package/conanfile.py libcbor/0.10.2@#ce7187a6d8437d895e10cbed5c7773e8 -pr /home/conan/w/prod/BuildSingleReference/196897/82ebb044-3bb1-4467-91dd-90eeb96f9c99/profile_linux_5_libstdcpp11_gcc_debug_64.libcbor-shared-True.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=5 os=Linux [options] libcbor:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libcbor/0.10.2 (test package): Installing package Requirements libcbor/0.10.2 from local cache - Cache Packages libcbor/0.10.2:bf1c6ea4e3247ac82251a985d7c76181da69a6fa - Cache Installing (downloading, building) binaries... libcbor/0.10.2: Already installed! libcbor/0.10.2 (test package): Generator 'CMakeDeps' calling 'generate()' libcbor/0.10.2 (test package): Generator 'CMakeToolchain' calling 'generate()' libcbor/0.10.2 (test package): Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' libcbor/0.10.2 (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-77670132/recipes/libcbor/all/test_package/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' libcbor/0.10.2 (test package): Generator txt created conanbuildinfo.txt libcbor/0.10.2 (test package): Generator 'VirtualRunEnv' calling 'generate()' libcbor/0.10.2 (test package): Aggregating env generators libcbor/0.10.2 (test package): Generated conaninfo.txt libcbor/0.10.2 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/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 libcbor/0.10.2 (test package): Calling build() libcbor/0.10.2 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/build/Debug/generators/conan_toolchain.cmake -- The C compiler identification is GNU 5.4.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 'libcbor::libcbor' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/build/Debug libcbor/0.10.2 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/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 libcbor/0.10.2 (test package): Running test() ----Running------ > . "/home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/build/Debug/generators/conanrun.sh" && ./test_package ----------------- Hello from libcbor 0.10.2 Pretty-printer support: yes Buffer growth factor: 2.000000 [CBOR_TYPE_ARRAY] Definite, size: 4 [CBOR_TYPE_UINT] Width: 1B, Value: 4 [CBOR_TYPE_UINT] Width: 1B, Value: 3 [CBOR_TYPE_UINT] Width: 1B, Value: 1 [CBOR_TYPE_UINT] Width: 1B, Value: 2 /home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/test_package.c: In function ‘main’: /home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/test_package.c:12:3: warning: ignoring return value of ‘cbor_array_push’, declared with attribute warn_unused_result [-Wunused-result] cbor_array_push(array, cbor_move(cbor_build_uint8(4))); ^ /home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/test_package.c:13:3: warning: ignoring return value of ‘cbor_array_push’, declared with attribute warn_unused_result [-Wunused-result] cbor_array_push(array, cbor_move(cbor_build_uint8(3))); ^ /home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/test_package.c:14:3: warning: ignoring return value of ‘cbor_array_push’, declared with attribute warn_unused_result [-Wunused-result] cbor_array_push(array, cbor_move(cbor_build_uint8(1))); ^ /home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/test_package.c:15:3: warning: ignoring return value of ‘cbor_array_push’, declared with attribute warn_unused_result [-Wunused-result] cbor_array_push(array, cbor_move(cbor_build_uint8(2))); ^ libcbor/0.10.2 (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 libcbor/0.10.2 (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-77670132/recipes/libcbor/all/test_v1_package/conanfile.py libcbor/0.10.2@#ce7187a6d8437d895e10cbed5c7773e8 -pr /home/conan/w/prod/BuildSingleReference/196897/82ebb044-3bb1-4467-91dd-90eeb96f9c99/profile_linux_5_libstdcpp11_gcc_debug_64.libcbor-shared-True.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=5 os=Linux [options] libcbor:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libcbor/0.10.2 (test package): Installing package Requirements libcbor/0.10.2 from local cache - Cache Packages libcbor/0.10.2:bf1c6ea4e3247ac82251a985d7c76181da69a6fa - Cache Installing (downloading, building) binaries... libcbor/0.10.2: Already installed! libcbor/0.10.2 (test package): Generator txt created conanbuildinfo.txt libcbor/0.10.2 (test package): Generator cmake_find_package_multi created libcbor-config-version.cmake libcbor/0.10.2 (test package): Generator cmake_find_package_multi created libcbor-config.cmake libcbor/0.10.2 (test package): Generator cmake_find_package_multi created libcborTargets.cmake libcbor/0.10.2 (test package): Generator cmake_find_package_multi created libcborTarget-debug.cmake libcbor/0.10.2 (test package): Generator cmake created conanbuildinfo.cmake libcbor/0.10.2 (test package): Aggregating env generators libcbor/0.10.2 (test package): Generated conaninfo.txt libcbor/0.10.2 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_v1_package/build/c4fe951babde89219288ca7e6c02894e326f39a3/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 libcbor/0.10.2 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_v1_package/build/c4fe951babde89219288ca7e6c02894e326f39a3' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="5" -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-77670132/recipes/libcbor/all/test_v1_package/build/c4fe951babde89219288ca7e6c02894e326f39a3/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-77670132/recipes/libcbor/all/test_v1_package/build/c4fe951babde89219288ca7e6c02894e326f39a3" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_v1_package/build/c4fe951babde89219288ca7e6c02894e326f39a3" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_v1_package' ----------------- -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.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 cbor found /home/conan/w/prod/BuildSingleReference/.conan/data/libcbor/0.10.2/_/_/package/bf1c6ea4e3247ac82251a985d7c76181da69a6fa/lib/libcbor.so -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 5 -- Conan: Checking correct version: 5 -- Conan: C++ stdlib: libstdc++11 -- Library cbor found /home/conan/w/prod/BuildSingleReference/.conan/data/libcbor/0.10.2/_/_/package/bf1c6ea4e3247ac82251a985d7c76181da69a6fa/lib/libcbor.so -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/libcbor/0.10.2/_/_/package/bf1c6ea4e3247ac82251a985d7c76181da69a6fa/lib/libcbor.so -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_v1_package/build/c4fe951babde89219288ca7e6c02894e326f39a3 ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_v1_package/build/c4fe951babde89219288ca7e6c02894e326f39a3' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building C object test_package/CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable ../bin/test_package [100%] Built target test_package libcbor/0.10.2 (test package): Running test() ----Running------ > bin/test_package ----------------- Hello from libcbor 0.10.2 Pretty-printer support: yes Buffer growth factor: 2.000000 [CBOR_TYPE_ARRAY] Definite, size: 4 [CBOR_TYPE_UINT] Width: 1B, Value: 4 [CBOR_TYPE_UINT] Width: 1B, Value: 3 [CBOR_TYPE_UINT] Width: 1B, Value: 1 [CBOR_TYPE_UINT] Width: 1B, Value: 2 CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR /home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/test_package.c: In function ‘main’: /home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/test_package.c:12:3: warning: ignoring return value of ‘cbor_array_push’, declared with attribute warn_unused_result [-Wunused-result] cbor_array_push(array, cbor_move(cbor_build_uint8(4))); ^ /home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/test_package.c:13:3: warning: ignoring return value of ‘cbor_array_push’, declared with attribute warn_unused_result [-Wunused-result] cbor_array_push(array, cbor_move(cbor_build_uint8(3))); ^ /home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/test_package.c:14:3: warning: ignoring return value of ‘cbor_array_push’, declared with attribute warn_unused_result [-Wunused-result] cbor_array_push(array, cbor_move(cbor_build_uint8(1))); ^ /home/conan/w/prod/BuildSingleReference/cci-77670132/recipes/libcbor/all/test_package/test_package.c:15:3: warning: ignoring return value of ‘cbor_array_push’, declared with attribute warn_unused_result [-Wunused-result] cbor_array_push(array, cbor_move(cbor_build_uint8(2))); ^