******************************************************************************** conan test conan-center-index/recipes/cunit/all/test_package/conanfile.py cunit/2.1-3@ --profile=/Users/jenkins/w/BuildSingleReference@2/6818/7c3af824-7eee-42d2-9db1-dd85b5870c46/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=11.0 os=Macos os_build=Macos [options] cunit:shared=False [build_requires] [env] cunit/2.1-3 (test package): Installing package Requirements cunit/2.1-3 from local cache - Cache Packages cunit/2.1-3:1d5a1ae61d74c46cd045fbb3506a4c44bc93e7d2 - Cache Installing (downloading, building) binaries... cunit/2.1-3: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK cunit/2.1-3 (test package): Generator cmake created conanbuildinfo.cmake cunit/2.1-3 (test package): Generator txt created conanbuildinfo.txt cunit/2.1-3 (test package): Generated conaninfo.txt cunit/2.1-3 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/BuildSingleReference@2/conan-center-index/recipes/cunit/all/test_package/build/1ef6842c1fc28fd4ca989da6a88a1f3394d6c7e8/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() ----Running------ > cd '/Users/jenkins/w/BuildSingleReference@2/conan-center-index/recipes/cunit/all/test_package/build/1ef6842c1fc28fd4ca989da6a88a1f3394d6c7e8' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="11.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/BuildSingleReference@2/conan-center-index/recipes/cunit/all/test_package/build/1ef6842c1fc28fd4ca989da6a88a1f3394d6c7e8/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_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/Users/jenkins/w/BuildSingleReference@2/conan-center-index/recipes/cunit/all/test_package' ----------------- -- The C compiler identification is AppleClang 11.0.0.11000033 -- The CXX compiler identification is AppleClang 11.0.0.11000033 -- Check for working C compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- 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: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- Check for working CXX compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: C++ stdlib: libc++ -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/BuildSingleReference@2/conan-center-index/recipes/cunit/all/test_package/build/1ef6842c1fc28fd4ca989da6a88a1f3394d6c7e8 ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference@2/conan-center-index/recipes/cunit/all/test_package/build/1ef6842c1fc28fd4ca989da6a88a1f3394d6c7e8' '--' '-j8' ----------------- Scanning dependencies of target test_package [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable bin/test_package 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 /Users/jenkins/w/BuildSingleReference@2/conan-center-index/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 with different sign [-Wpointer-sign] CU_ASSERT(0 == strncmp(buffer, "Q\ni1 = 10", 9)); ^~~~~~ /Users/jenkins/w/BuildSingleReference@2/.conan/data/cunit/2.1-3/_/_/package/1d5a1ae61d74c46cd045fbb3506a4c44bc93e7d2/include/CUnit/CUnit.h:123:30: note: expanded from macro 'CU_ASSERT' { CU_assertImplementation((value), __LINE__, #value, __FILE__, "", CU_FALSE); } ^~~~~ /Applications/Xcode-11.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ 1 warning generated. Undefined symbols for architecture x86_64: "_CU_add_suite", referenced from: _main in test_package.c.o "_CU_add_test", referenced from: _main in test_package.c.o "_CU_assertImplementation", referenced from: _testFPRINTF in test_package.c.o _testFREAD in test_package.c.o "_CU_basic_run_tests", referenced from: _main in test_package.c.o "_CU_basic_set_mode", referenced from: _main in test_package.c.o "_CU_cleanup_registry", referenced from: _main in test_package.c.o "_CU_get_error", referenced from: _main in test_package.c.o "_CU_initialize_registry", referenced from: _main in test_package.c.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [bin/test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ERROR: cunit/2.1-3 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/BuildSingleReference@2/conan-center-index/recipes/cunit/all/test_package/build/1ef6842c1fc28fd4ca989da6a88a1f3394d6c7e8' '--' '-j8'