******************************************************************************** conan test conan-center-index/recipes/hiredis/0.x.x/test_package/conanfile.py hiredis/0.14.1@ --profile:host=/Users/jenkins/w/BuildSingleReference@4/69257/c94e063a-e762-4848-8f6f-1355d331b9f5/profile_host.txt --profile:build=default ******************************************************************************** Configuration (profile_host): [settings] arch=armv8 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos [options] hiredis:shared=True [build_requires] [env] Configuration (profile_build): [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos os_build=Macos [options] [build_requires] [env] hiredis/0.14.1 (test package): Installing package Requirements hiredis/0.14.1 from local cache - Cache Packages hiredis/0.14.1:30acef53c04f36d5f9412c84a1b3a7434a1f10fb - Cache Cross-build from 'Macos:x86_64' to 'Macos:armv8' Installing (downloading, building) binaries... hiredis/0.14.1: 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 hiredis/0.14.1 (test package): Generator cmake created conanbuildinfo.cmake hiredis/0.14.1 (test package): Generator txt created conanbuildinfo.txt hiredis/0.14.1 (test package): Aggregating env generators hiredis/0.14.1 (test package): Generated conaninfo.txt hiredis/0.14.1 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/hiredis/0.x.x/test_package/build/444890bbb92e66fa9950dbc09c0ecc4cdb0f4780/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 hiredis/0.14.1 (test package): Calling build() ----Running------ > cd '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/hiredis/0.x.x/test_package/build/444890bbb92e66fa9950dbc09c0ecc4cdb0f4780' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_SYSTEM_NAME="Darwin" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="12.0" -DCONAN_LIBCXX="libc++" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/hiredis/0.x.x/test_package/build/444890bbb92e66fa9950dbc09c0ecc4cdb0f4780/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@4/conan-center-index/recipes/hiredis/0.x.x/test_package' ----------------- -- The C compiler identification is AppleClang 12.0.0.12000032 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Users/administrator/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C 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 -- This project seems to be plain C, using 'AppleClang' compiler -- Conan: C++ stdlib: libc++ -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/hiredis/0.x.x/test_package/build/444890bbb92e66fa9950dbc09c0ecc4cdb0f4780 ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/hiredis/0.x.x/test_package/build/444890bbb92e66fa9950dbc09c0ecc4cdb0f4780' '--' '-j4' ----------------- 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 ld: warning: ignoring file /Users/jenkins/w/BuildSingleReference@4/.conan/data/hiredis/0.14.1/_/_/package/30acef53c04f36d5f9412c84a1b3a7434a1f10fb/lib/libhiredis.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "_redisConnect", referenced from: _main in test_package.c.o ld: symbol(s) not found for architecture arm64 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: hiredis/0.14.1 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/BuildSingleReference@4/conan-center-index/recipes/hiredis/0.x.x/test_package/build/444890bbb92e66fa9950dbc09c0ecc4cdb0f4780' '--' '-j4'