conan-center-index icon indicating copy to clipboard operation
conan-center-index copied to clipboard

Add onetbb/2021.5.0

Open TheClonerx opened this issue 2 years ago • 4 comments

TheClonerx avatar Aug 05 '22 18:08 TheClonerx

Failure in build 1 (af2773c64584c8c3fc1a177ab8e1d524789bad8f):

  • onetbb/2021.3.0@: Didn't run or was cancelled before finishing

  • onetbb/2021.5.0@: CI failed to create some packages (All logs)

    Logs for packageID b759e10106fc0b4923414b05bb78eba0bbc8b30b:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++
    compiler.version=5
    os=Linux
    [options]
    onetbb:shared=False
    
    [...]
    test_package.cpp:(.text._ZN3tbb6detail2d115broadcast_cacheINS1_12continue_msgENS1_13spin_rw_mutexEE12try_put_taskERKS3_[_ZN3tbb6detail2d115broadcast_cacheINS1_12continue_msgENS1_13spin_rw_mutexEE12try_put_taskERKS3_]+0x30a): undefined reference to `tbb::detail::r1::submit(tbb::detail::d1::task&, tbb::detail::d1::task_group_context&, tbb::detail::r1::arena*, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d115broadcast_cacheINS1_12continue_msgENS1_13spin_rw_mutexEE12try_put_taskERKS3_[_ZN3tbb6detail2d115broadcast_cacheINS1_12continue_msgENS1_13spin_rw_mutexEE12try_put_taskERKS3_]+0x3b4): undefined reference to `tbb::detail::r1::allocate(tbb::detail::d1::small_object_pool*&, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d115broadcast_cacheINS1_12continue_msgENS1_13spin_rw_mutexEE12try_put_taskERKS3_[_ZN3tbb6detail2d115broadcast_cacheINS1_12continue_msgENS1_13spin_rw_mutexEE12try_put_taskERKS3_]+0x485): undefined reference to `tbb::detail::r1::allocate(tbb::detail::d1::small_object_pool*&, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d115broadcast_cacheINS1_12continue_msgENS1_13spin_rw_mutexEE12try_put_taskERKS3_[_ZN3tbb6detail2d115broadcast_cacheINS1_12continue_msgENS1_13spin_rw_mutexEE12try_put_taskERKS3_]+0x55e): undefined reference to `tbb::detail::r1::submit(tbb::detail::d1::task&, tbb::detail::d1::task_group_context&, tbb::detail::r1::arena*, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d115broadcast_cacheINS1_12continue_msgENS1_13spin_rw_mutexEE12try_put_taskERKS3_[_ZN3tbb6detail2d115broadcast_cacheINS1_12continue_msgENS1_13spin_rw_mutexEE12try_put_taskERKS3_]+0x596): undefined reference to `tbb::detail::r1::throw_exception(tbb::detail::d0::exception_id)'
    test_package.cpp:(.text._ZN3tbb6detail2d115broadcast_cacheINS1_12continue_msgENS1_13spin_rw_mutexEE12try_put_taskERKS3_[_ZN3tbb6detail2d115broadcast_cacheINS1_12continue_msgENS1_13spin_rw_mutexEE12try_put_taskERKS3_]+0x5da): undefined reference to `tbb::detail::r1::notify_waiters(unsigned long)'
    CMakeFiles/test_package.dir/test_package.cpp.o: In function `main':
    test_package.cpp:(.text.startup+0x156): undefined reference to `tbb::detail::r1::attach(tbb::detail::d1::task_arena_base&)'
    test_package.cpp:(.text.startup+0x1ab): undefined reference to `tbb::detail::r1::cache_aligned_allocate(unsigned long)'
    test_package.cpp:(.text.startup+0x1db): undefined reference to `tbb::detail::r1::initialize(tbb::detail::d1::task_group_context&)'
    test_package.cpp:(.text.startup+0x7aa): undefined reference to `tbb::detail::r1::allocate(tbb::detail::d1::small_object_pool*&, unsigned long)'
    test_package.cpp:(.text.startup+0x86d): undefined reference to `tbb::detail::r1::submit(tbb::detail::d1::task&, tbb::detail::d1::task_group_context&, tbb::detail::r1::arena*, unsigned long)'
    test_package.cpp:(.text.startup+0x8d4): undefined reference to `tbb::detail::r1::notify_waiters(unsigned long)'
    test_package.cpp:(.text.startup+0x8f6): undefined reference to `tbb::detail::r1::allocate(tbb::detail::d1::small_object_pool*&, unsigned long)'
    test_package.cpp:(.text.startup+0x9cb): undefined reference to `tbb::detail::r1::submit(tbb::detail::d1::task&, tbb::detail::d1::task_group_context&, tbb::detail::r1::arena*, unsigned long)'
    test_package.cpp:(.text.startup+0x9e4): undefined reference to `tbb::detail::r1::throw_exception(tbb::detail::d0::exception_id)'
    test_package.cpp:(.text.startup+0xa53): undefined reference to `tbb::detail::r1::cache_aligned_deallocate(void*)'
    CMakeFiles/test_package.dir/test_package.cpp.o: In function `tbb::detail::d1::apply_body_task_bypass<tbb::detail::d1::continue_input<tbb::detail::d1::continue_msg, tbb::detail::d1::Policy<void> >, tbb::detail::d1::continue_msg>::execute(tbb::detail::d1::execution_data&)':
    test_package.cpp:(.text._ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE]+0x32c): undefined reference to `tbb::detail::r1::submit(tbb::detail::d1::task&, tbb::detail::d1::task_group_context&, tbb::detail::r1::arena*, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE]+0x3cf): undefined reference to `tbb::detail::r1::allocate(tbb::detail::d1::small_object_pool*&, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE]+0x506): undefined reference to `tbb::detail::r1::deallocate(tbb::detail::d1::small_object_pool&, void*, unsigned long, tbb::detail::d1::execution_data const&)'
    test_package.cpp:(.text._ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE]+0x526): undefined reference to `tbb::detail::r1::notify_waiters(unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE]+0x56d): undefined reference to `tbb::detail::r1::allocate(tbb::detail::d1::small_object_pool*&, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE]+0x641): undefined reference to `tbb::detail::r1::throw_exception(tbb::detail::d0::exception_id)'
    test_package.cpp:(.text._ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE]+0x65d): undefined reference to `tbb::detail::r1::submit(tbb::detail::d1::task&, tbb::detail::d1::task_group_context&, tbb::detail::r1::arena*, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE]+0x6c6): undefined reference to `tbb::detail::r1::allocate(tbb::detail::d1::small_object_pool*&, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE]+0x7c1): undefined reference to `tbb::detail::r1::submit(tbb::detail::d1::task&, tbb::detail::d1::task_group_context&, tbb::detail::r1::arena*, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE]+0x7df): undefined reference to `tbb::detail::r1::notify_waiters(unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122apply_body_task_bypassINS1_14continue_inputINS1_12continue_msgENS1_6PolicyIJvEEEEES4_E7executeERNS1_14execution_dataE]+0x838): undefined reference to `tbb::detail::r1::throw_exception(tbb::detail::d0::exception_id)'
    CMakeFiles/test_package.dir/test_package.cpp.o: In function `tbb::detail::d1::priority_task_selector::execute(tbb::detail::d1::execution_data&)':
    test_package.cpp:(.text._ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE]+0x42c): undefined reference to `tbb::detail::r1::submit(tbb::detail::d1::task&, tbb::detail::d1::task_group_context&, tbb::detail::r1::arena*, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE]+0x4cf): undefined reference to `tbb::detail::r1::allocate(tbb::detail::d1::small_object_pool*&, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE]+0x5fc): undefined reference to `tbb::detail::r1::deallocate(tbb::detail::d1::small_object_pool&, void*, unsigned long, tbb::detail::d1::execution_data const&)'
    test_package.cpp:(.text._ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE]+0x61c): undefined reference to `tbb::detail::r1::notify_waiters(unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE]+0x642): undefined reference to `tbb::detail::r1::deallocate(tbb::detail::d1::small_object_pool&, void*, unsigned long, tbb::detail::d1::execution_data const&)'
    test_package.cpp:(.text._ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE]+0x688): undefined reference to `tbb::detail::r1::allocate(tbb::detail::d1::small_object_pool*&, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE]+0x767): undefined reference to `tbb::detail::r1::throw_exception(tbb::detail::d0::exception_id)'
    test_package.cpp:(.text._ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE]+0x783): undefined reference to `tbb::detail::r1::submit(tbb::detail::d1::task&, tbb::detail::d1::task_group_context&, tbb::detail::r1::arena*, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE]+0x813): undefined reference to `tbb::detail::r1::allocate(tbb::detail::d1::small_object_pool*&, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE]+0x90e): undefined reference to `tbb::detail::r1::submit(tbb::detail::d1::task&, tbb::detail::d1::task_group_context&, tbb::detail::r1::arena*, unsigned long)'
    test_package.cpp:(.text._ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE]+0x959): undefined reference to `tbb::detail::r1::throw_exception(tbb::detail::d0::exception_id)'
    test_package.cpp:(.text._ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE[_ZN3tbb6detail2d122priority_task_selector7executeERNS1_14execution_dataE]+0x96e): undefined reference to `tbb::detail::r1::notify_waiters(unsigned long)'
    collect2: error: ld returned 1 exit status
    make[2]: *** [bin/test_package] Error 1
    make[1]: *** [CMakeFiles/test_package.dir/all] Error 2
    make: *** [all] Error 2
    onetbb/2021.5.0: WARN: oneTBB strongly discourages usage of static linkage
    ERROR: onetbb/2021.5.0 (test package): Error in build() method, line 12
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/onetbb/all/test_package/build/9a152f2cf8046f560eb2e2463ba8f816c8c73df1' '--' '-j3'
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

conan-center-bot avatar Aug 05 '22 19:08 conan-center-bot

@TheClonerx Would this recipe only be compatible with Conan > 2.0? I am looking for oneTBB 2021.5.0 for Conan 1.x.

saschasc avatar Aug 11 '22 21:08 saschasc

@TheClonerx Would this recipe only be compatible with Conan > 2.0? I am looking for oneTBB 2021.5.0 for Conan 1.x.

I'm not familiarized with the Conan 2.0 API, this recipe currently is using 1.x stuff.

TheClonerx avatar Aug 11 '22 21:08 TheClonerx

@TheClonerx You don't need to be familiarized with Conan 2.x, but the linter will block if some minimal imports are not in your recipe. If you take a look on the review page, GH points all places which need some action. Of course, you should not mimic what's is need, so there is a table with all information here : https://github.com/conan-io/conan-center-index/blob/master/docs/v2_linter.md

uilianries avatar Aug 12 '22 09:08 uilianries

I detected other pull requests that are modifying onetbb/all recipe:

  • #12205

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

ericLemanissierBot avatar Aug 14 '22 13:08 ericLemanissierBot

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 16 '22 02:09 stale[bot]