******************************************************************************** conan test conan-center-index/recipes/tbb/all/test_package/conanfile.py tbb/2020.2@ --profile:host=/Users/jenkins/w/BuildSingleReference@7/26151/1422c0ce-5e96-4c5f-a8af-1792347a42ca/profile_host.txt --profile:build=default ******************************************************************************** Configuration (profile_host): [settings] arch=armv8 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos [options] tbb: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] tbb/2020.2 (test package): Installing package Requirements tbb/2020.2 from local cache - Cache Packages tbb/2020.2:929c83d5aae0ebf9f67f0a2eb7bc58aed10c6910 - Cache Cross-build from 'Macos:x86_64' to 'Macos:armv8' Installing (downloading, building) binaries... tbb/2020.2: 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 tbb/2020.2 (test package): Generator cmake_find_package_multi created TBBConfigVersion.cmake tbb/2020.2 (test package): Generator cmake_find_package_multi created TBBTarget-debug.cmake tbb/2020.2 (test package): Generator cmake_find_package_multi created TBBTargets.cmake tbb/2020.2 (test package): Generator cmake_find_package_multi created TBBConfig.cmake tbb/2020.2 (test package): Generator cmake created conanbuildinfo.cmake tbb/2020.2 (test package): Generator txt created conanbuildinfo.txt tbb/2020.2 (test package): Generated conaninfo.txt tbb/2020.2 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/BuildSingleReference@7/conan-center-index/recipes/tbb/all/test_package/build/fb631e5a662cf3d5f2d9463d518650b078e31d96/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 tbb/2020.2 (test package): Calling build() ----Running------ > cd '/Users/jenkins/w/BuildSingleReference@7/conan-center-index/recipes/tbb/all/test_package/build/fb631e5a662cf3d5f2d9463d518650b078e31d96' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -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@7/conan-center-index/recipes/tbb/all/test_package/build/fb631e5a662cf3d5f2d9463d518650b078e31d96/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="/Users/jenkins/w/BuildSingleReference@7/conan-center-index/recipes/tbb/all/test_package/build/fb631e5a662cf3d5f2d9463d518650b078e31d96" -DCMAKE_MODULE_PATH="/Users/jenkins/w/BuildSingleReference@7/conan-center-index/recipes/tbb/all/test_package/build/fb631e5a662cf3d5f2d9463d518650b078e31d96" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/Users/jenkins/w/BuildSingleReference@7/conan-center-index/recipes/tbb/all/test_package' ----------------- -- The CXX compiler identification is AppleClang 12.0.0.12000032 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped -- 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++ -- Library tbb_debug found /Users/jenkins/w/BuildSingleReference@7/.conan/data/tbb/2020.2/_/_/package/929c83d5aae0ebf9f67f0a2eb7bc58aed10c6910/lib/libtbb_debug.a -- Found: /Users/jenkins/w/BuildSingleReference@7/.conan/data/tbb/2020.2/_/_/package/929c83d5aae0ebf9f67f0a2eb7bc58aed10c6910/lib/libtbb_debug.a -- Library tbb_debug found /Users/jenkins/w/BuildSingleReference@7/.conan/data/tbb/2020.2/_/_/package/929c83d5aae0ebf9f67f0a2eb7bc58aed10c6910/lib/libtbb_debug.a -- Found: /Users/jenkins/w/BuildSingleReference@7/.conan/data/tbb/2020.2/_/_/package/929c83d5aae0ebf9f67f0a2eb7bc58aed10c6910/lib/libtbb_debug.a -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/BuildSingleReference@7/conan-center-index/recipes/tbb/all/test_package/build/fb631e5a662cf3d5f2d9463d518650b078e31d96 ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference@7/conan-center-index/recipes/tbb/all/test_package/build/fb631e5a662cf3d5f2d9463d518650b078e31d96' '--' '-j4' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable bin/test_package tbb/2020.2: WARN: Intel-TBB strongly discourages usage of static linkage 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@7/.conan/data/tbb/2020.2/_/_/package/929c83d5aae0ebf9f67f0a2eb7bc58aed10c6910/lib/libtbb_debug.a, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "tbb::interface5::internal::task_base::destroy(tbb::task&)", referenced from: tbb::internal::task_group_base::~task_group_base() in test_package.cpp.o tbb::flow::interface10::graph::~graph() in test_package.cpp.o "tbb::interface7::internal::task_arena_base::internal_attach()", referenced from: tbb::interface7::task_arena::initialize(tbb::interface7::task_arena::attach) in test_package.cpp.o tbb::interface7::task_arena::task_arena(tbb::interface7::task_arena::attach) in test_package.cpp.o "tbb::interface7::internal::task_arena_base::internal_terminate()", referenced from: tbb::interface7::task_arena::terminate() in test_package.cpp.o "tbb::interface7::internal::task_arena_base::internal_initialize()", referenced from: tbb::interface7::task_arena::initialize(tbb::interface7::task_arena::attach) in test_package.cpp.o tbb::interface7::task_arena::initialize() in test_package.cpp.o "tbb::spin_rw_mutex_v3::internal_upgrade()", referenced from: tbb::spin_rw_mutex_v3::scoped_lock::upgrade_to_writer() in test_package.cpp.o "tbb::spin_rw_mutex_v3::internal_acquire_reader()", referenced from: tbb::spin_rw_mutex_v3::scoped_lock::acquire(tbb::spin_rw_mutex_v3&, bool) in test_package.cpp.o "tbb::spin_rw_mutex_v3::internal_acquire_writer()", referenced from: tbb::spin_rw_mutex_v3::scoped_lock::acquire(tbb::spin_rw_mutex_v3&, bool) in test_package.cpp.o "tbb::task_group_context::cancel_group_execution()", referenced from: tbb::internal::task_group_base::cancel() in test_package.cpp.o "tbb::task_group_context::init()", referenced from: tbb::task_group_context::task_group_context(tbb::task_group_context::kind_type, unsigned long) in test_package.cpp.o tbb::task_group_context::task_group_context(tbb::internal::string_index) in test_package.cpp.o "tbb::task_group_context::reset()", referenced from: tbb::internal::task_group_base::wait() in test_package.cpp.o tbb::flow::interface10::graph::wait_for_all() in test_package.cpp.o "tbb::task_group_context::~task_group_context()", referenced from: tbb::internal::task_group_base::task_group_base(unsigned long) in test_package.cpp.o tbb::internal::task_group_base::~task_group_base() in test_package.cpp.o tbb::flow::interface10::graph::~graph() in test_package.cpp.o "tbb::task::note_affinity(unsigned short)", referenced from: vtable for tbb::empty_task in test_package.cpp.o vtable for tbb::flow::interface11::internal::apply_body_task_bypass >, tbb::flow::interface11::continue_msg> in test_package.cpp.o vtable for tbb::internal::function_task in test_package.cpp.o vtable for tbb::internal::function_task in test_package.cpp.o "tbb::internal::throw_exception_v4(tbb::internal::exception_id)", referenced from: tbb::internal::throw_exception(tbb::internal::exception_id) in test_package.cpp.o "tbb::interface7::internal::task_arena_base::internal_execute(tbb::interface7::internal::delegate_base&) const", referenced from: void tbb::interface7::task_arena::execute_impl(tbb::flow::interface10::graph::wait_functor const&) in test_package.cpp.o void tbb::interface7::task_arena::execute_impl(tbb::flow::interface10::graph::spawn_functor&) in test_package.cpp.o "tbb::task_group_context::is_group_execution_cancelled() const", referenced from: tbb::internal::task_group_base::wait() in test_package.cpp.o tbb::flow::interface10::graph::wait_for_all() in test_package.cpp.o tbb::internal::task_group_base::is_canceling() in test_package.cpp.o "tbb::internal::allocate_root_with_context_proxy::free(tbb::task&) const", referenced from: operator delete(void*, tbb::internal::allocate_root_with_context_proxy const&) in test_package.cpp.o "tbb::internal::allocate_root_with_context_proxy::allocate(unsigned long) const", referenced from: operator new(unsigned long, tbb::internal::allocate_root_with_context_proxy const&) in test_package.cpp.o "tbb::internal::allocate_additional_child_of_proxy::free(tbb::task&) const", referenced from: operator delete(void*, tbb::internal::allocate_additional_child_of_proxy const&) in test_package.cpp.o "tbb::internal::allocate_additional_child_of_proxy::allocate(unsigned long) const", referenced from: operator new(unsigned long, tbb::internal::allocate_additional_child_of_proxy const&) in test_package.cpp.o "typeinfo for tbb::task", referenced from: typeinfo for tbb::empty_task in test_package.cpp.o typeinfo for tbb::flow::interface11::internal::apply_body_task_bypass >, tbb::flow::interface11::continue_msg> in test_package.cpp.o typeinfo for tbb::internal::function_task in test_package.cpp.o typeinfo for tbb::internal::function_task in test_package.cpp.o "vtable for tbb::task", referenced from: tbb::task::task() in test_package.cpp.o NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. 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: tbb/2020.2 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/BuildSingleReference@7/conan-center-index/recipes/tbb/all/test_package/build/fb631e5a662cf3d5f2d9463d518650b078e31d96' '--' '-j4'