******************************************************************************** conan test conan-center-index/recipes/unicorn/all/test_package/conanfile.py unicorn/1.0.3@ --profile:host=/Users/jenkins/w/BuildSingleReference/41516/be2fcfeb-b511-4288-b45f-5d4c5639461d/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] unicorn:shared=False [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] unicorn/1.0.3 (test package): Installing package Requirements unicorn/1.0.3 from local cache - Cache Packages unicorn/1.0.3:c98a3ad0a6887ce3d43d93d2c7fe6577a8ed43aa - Cache Cross-build from 'Macos:x86_64' to 'Macos:armv8' Installing (downloading, building) binaries... unicorn/1.0.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 unicorn/1.0.3 (test package): Generator cmake created conanbuildinfo.cmake unicorn/1.0.3 (test package): Generator txt created conanbuildinfo.txt unicorn/1.0.3 (test package): Generator cmake_find_package created Findunicorn.cmake unicorn/1.0.3 (test package): Aggregating env generators unicorn/1.0.3 (test package): Generated conaninfo.txt unicorn/1.0.3 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/unicorn/all/test_package/build/2fc38f40c926a0339bdf78fa9265b6b757e23e01/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 unicorn/1.0.3 (test package): Calling build() ----Running------ > cd '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/unicorn/all/test_package/build/2fc38f40c926a0339bdf78fa9265b6b757e23e01' && 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/conan-center-index/recipes/unicorn/all/test_package/build/2fc38f40c926a0339bdf78fa9265b6b757e23e01/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_MODULE_PATH="/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/unicorn/all/test_package/build/2fc38f40c926a0339bdf78fa9265b6b757e23e01" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/unicorn/all/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 targets configuration -- Library unicorn found /Users/jenkins/w/BuildSingleReference/.conan/data/unicorn/1.0.3/_/_/package/c98a3ad0a6887ce3d43d93d2c7fe6577a8ed43aa/lib/libunicorn.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'AppleClang' compiler -- Conan: C++ stdlib: libc++ -- Conan: Using autogenerated Findunicorn.cmake -- Found unicorn: 1.0.3 (found version "1.0.3") -- Library unicorn found /Users/jenkins/w/BuildSingleReference/.conan/data/unicorn/1.0.3/_/_/package/c98a3ad0a6887ce3d43d93d2c7fe6577a8ed43aa/lib/libunicorn.a -- Skipping already existing target: CONAN_LIB::unicorn_unicorn -- Found: /Users/jenkins/w/BuildSingleReference/.conan/data/unicorn/1.0.3/_/_/package/c98a3ad0a6887ce3d43d93d2c7fe6577a8ed43aa/lib/libunicorn.a -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/unicorn/all/test_package/build/2fc38f40c926a0339bdf78fa9265b6b757e23e01 ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/unicorn/all/test_package/build/2fc38f40c926a0339bdf78fa9265b6b757e23e01' '--' '-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 /Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/unicorn/all/test_package/test_package.c:7:16: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] uc_version(&major, &minor); ^~~~~~ /Users/jenkins/w/BuildSingleReference/.conan/data/unicorn/1.0.3/_/_/package/c98a3ad0a6887ce3d43d93d2c7fe6577a8ed43aa/include/unicorn/unicorn.h:362:39: note: passing argument to parameter 'major' here unsigned int uc_version(unsigned int *major, unsigned int *minor); ^ /Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/unicorn/all/test_package/test_package.c:7:24: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] uc_version(&major, &minor); ^~~~~~ /Users/jenkins/w/BuildSingleReference/.conan/data/unicorn/1.0.3/_/_/package/c98a3ad0a6887ce3d43d93d2c7fe6577a8ed43aa/include/unicorn/unicorn.h:362:60: note: passing argument to parameter 'minor' here unsigned int uc_version(unsigned int *major, unsigned int *minor); ^ 2 warnings generated. Undefined symbols for architecture arm64: "_aarch64_tb_set_jmp_target_aarch64", referenced from: _tb_phys_invalidate_aarch64 in libunicorn.a(translate-all.c.o) _tb_gen_code_aarch64 in libunicorn.a(translate-all.c.o) _cpu_arm_exec_aarch64 in libunicorn.a(cpu-exec.c.o) "_aarch64_tb_set_jmp_target_aarch64eb", referenced from: _tb_phys_invalidate_aarch64eb in libunicorn.a(translate-all.c.o) _tb_gen_code_aarch64eb in libunicorn.a(translate-all.c.o) _cpu_arm_exec_aarch64eb in libunicorn.a(cpu-exec.c.o) "_aarch64_tb_set_jmp_target_arm", referenced from: _tb_phys_invalidate_arm in libunicorn.a(translate-all.c.o) _tb_gen_code_arm in libunicorn.a(translate-all.c.o) _cpu_arm_exec_arm in libunicorn.a(cpu-exec.c.o) "_aarch64_tb_set_jmp_target_armeb", referenced from: _tb_phys_invalidate_armeb in libunicorn.a(translate-all.c.o) _tb_gen_code_armeb in libunicorn.a(translate-all.c.o) _cpu_arm_exec_armeb in libunicorn.a(cpu-exec.c.o) "_aarch64_tb_set_jmp_target_m68k", referenced from: _tb_phys_invalidate_m68k in libunicorn.a(translate-all.c.o) _tb_gen_code_m68k in libunicorn.a(translate-all.c.o) _cpu_m68k_exec in libunicorn.a(cpu-exec.c.o) "_aarch64_tb_set_jmp_target_mips", referenced from: _tb_phys_invalidate_mips in libunicorn.a(translate-all.c.o) _tb_gen_code_mips in libunicorn.a(translate-all.c.o) _cpu_mips_exec_mips in libunicorn.a(cpu-exec.c.o) "_aarch64_tb_set_jmp_target_mips64", referenced from: _tb_phys_invalidate_mips64 in libunicorn.a(translate-all.c.o) _tb_gen_code_mips64 in libunicorn.a(translate-all.c.o) _cpu_mips_exec_mips64 in libunicorn.a(cpu-exec.c.o) "_aarch64_tb_set_jmp_target_mips64el", referenced from: _tb_phys_invalidate_mips64el in libunicorn.a(translate-all.c.o) _tb_gen_code_mips64el in libunicorn.a(translate-all.c.o) _cpu_mips_exec_mips64el in libunicorn.a(cpu-exec.c.o) "_aarch64_tb_set_jmp_target_mipsel", referenced from: _tb_phys_invalidate_mipsel in libunicorn.a(translate-all.c.o) _tb_gen_code_mipsel in libunicorn.a(translate-all.c.o) _cpu_mips_exec_mipsel in libunicorn.a(cpu-exec.c.o) "_aarch64_tb_set_jmp_target_sparc", referenced from: _tb_phys_invalidate_sparc in libunicorn.a(translate-all.c.o) _tb_gen_code_sparc in libunicorn.a(translate-all.c.o) _cpu_sparc_exec_sparc in libunicorn.a(cpu-exec.c.o) "_aarch64_tb_set_jmp_target_sparc64", referenced from: _tb_phys_invalidate_sparc64 in libunicorn.a(translate-all.c.o) _tb_gen_code_sparc64 in libunicorn.a(translate-all.c.o) _cpu_sparc_exec_sparc64 in libunicorn.a(cpu-exec.c.o) "_aarch64_tb_set_jmp_target_x86_64", referenced from: _tb_phys_invalidate_x86_64 in libunicorn.a(translate-all.c.o) _tb_gen_code_x86_64 in libunicorn.a(translate-all.c.o) _cpu_x86_exec in libunicorn.a(cpu-exec.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: unicorn/1.0.3 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/BuildSingleReference/conan-center-index/recipes/unicorn/all/test_package/build/2fc38f40c926a0339bdf78fa9265b6b757e23e01' '--' '-j4'