******************************************************************************** conan test cci-10b5ae39/recipes/cunit/all/test_package/conanfile.py cunit/2.1-3@#de0644e5d52bcd97742346b1d4c7aa12 -pr /home/conan/w/prod/BuildSingleReference/264246/71cee1e9-d4ea-4dde-8ef4-f54b64182277/profile_linux_13_libstdcpp_clang_debug_64.cunit-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod/BuildSingleReference/.conan/profiles/default) CC and CXX: clang, clang++ Found clang 13.0 clang>=8, using the major as version Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=clang compiler.version=13 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Debug compiler=clang compiler.libcxx=libstdc++ compiler.version=13 os=Linux [options] cunit:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True cunit/2.1-3 (test package): Installing package Requirements cunit/2.1-3 from local cache - Cache Packages cunit/2.1-3:c9cb2fd7869d8f7d2f67b50bedd5b8f4d73d358d - Download Installing (downloading, building) binaries... cunit/2.1-3: Retrieving package c9cb2fd7869d8f7d2f67b50bedd5b8f4d73d358d from remote 'c3i_PR-16095' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz cunit/2.1-3: Package installed c9cb2fd7869d8f7d2f67b50bedd5b8f4d73d358d cunit/2.1-3: Downloaded package revision bfb866364038f84b953713b63b5b0295 cunit/2.1-3 (test package): Generator txt created conanbuildinfo.txt cunit/2.1-3 (test package): Generator 'VirtualBuildEnv' calling 'generate()' cunit/2.1-3 (test package): Generator 'CMakeDeps' calling 'generate()' cunit/2.1-3 (test package): Generator 'CMakeToolchain' calling 'generate()' cunit/2.1-3 (test package): Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' cunit/2.1-3 (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-10b5ae39/recipes/cunit/all/test_package/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' cunit/2.1-3 (test package): Aggregating env generators cunit/2.1-3 (test package): Generated conaninfo.txt cunit/2.1-3 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-10b5ae39/recipes/cunit/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 cunit/2.1-3 (test package): Calling build() cunit/2.1-3 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-10b5ae39/recipes/cunit/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/cci-10b5ae39/recipes/cunit/all/test_package/." ----Running------ > . "/home/conan/w/prod/BuildSingleReference/cci-10b5ae39/recipes/cunit/all/test_package/build/Debug/generators/conanbuild.sh" && cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-10b5ae39/recipes/cunit/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/cci-10b5ae39/recipes/cunit/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-10b5ae39/recipes/cunit/all/test_package/build/Debug/generators/conan_toolchain.cmake -- The C compiler identification is Clang 13.0.0 -- The CXX compiler identification is Clang 13.0.0 -- Check for working C compiler: /usr/local/bin/clang -- Check for working C compiler: /usr/local/bin/clang -- 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/clang++ -- Check for working CXX compiler: /usr/local/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'cunit::cunit' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-10b5ae39/recipes/cunit/all/test_package/build/Debug cunit/2.1-3 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-10b5ae39/recipes/cunit/all/test_package/build/Debug" '--' '-j3' ----Running------ > . "/home/conan/w/prod/BuildSingleReference/cci-10b5ae39/recipes/cunit/all/test_package/build/Debug/generators/conanbuild.sh" && cmake --build "/home/conan/w/prod/BuildSingleReference/cci-10b5ae39/recipes/cunit/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 cunit/2.1-3 (test package): Running test() ----Running------ > ./test_package ----------------- CUnit - A unit testing framework for C - Version 2.1-3 http://cunit.sourceforge.net/ Suite: test_package suite Test: fprintf() ...passed Test: fread() ...passed Run Summary: Type Total Ran Passed Failed Inactive suites 1 1 n/a 0 0 tests 2 2 2 0 0 asserts 5 5 5 0 n/a Elapsed time = 0.000 seconds /home/conan/w/prod/BuildSingleReference/cci-10b5ae39/recipes/cunit/all/test_package/test_package.c:91:30: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] CU_ASSERT(0 == strncmp(buffer, "Q\ni1 = 10", 9)); ^~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/cunit/2.1-3/_/_/package/c9cb2fd7869d8f7d2f67b50bedd5b8f4d73d358d/include/CUnit/CUnit.h:123:30: note: expanded from macro 'CU_ASSERT' { CU_assertImplementation((value), __LINE__, #value, __FILE__, "", CU_FALSE); } ^~~~~ /usr/include/string.h:143:33: note: passing argument to parameter '__s1' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ 1 warning generated. cunit/2.1-3 (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 cunit/2.1-3 (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