Bug#1016283: onetbb: FTBFS: _segment_table.h:63:63: error: member ‘tbb::detail::d1::segment_table<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >, tbb::detail::d1::concurrent_vector<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> > >, 3>::my_embedded_table’ is used uninitialized [-Werror=uninitialized]

Lucas Nussbaum lucas at debian.org
Fri Jul 29 17:22:29 BST 2022


Source: onetbb
Version: 2021.5.0-12
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220728 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /usr/bin/c++  -I/<<PKGBUILDDIR>>/test/.. -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src/tbb/../../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -mrtm -mwaitpkg -pthread -std=c++11 -MD -MT test/CMakeFiles/test_tick_count.dir/tbb/test_tick_count.cpp.o -MF test/CMakeFiles/test_tick_count.dir/tbb/test_tick_count.cpp.o.d -o test/CMakeFiles/test_tick_count.dir/tbb/test_tick_count.cpp.o -c /<<PKGBUILDDIR>>/test/tbb/test_tick_count.cpp
> In file included from /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/concurrent_vector.h:24,
>                  from /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/enumerable_thread_specific.h:26,
>                  from /<<PKGBUILDDIR>>/test/common/utils_concurrency_limit.h:25,
>                  from /<<PKGBUILDDIR>>/test/tbb/test_tick_count.cpp:19:
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/detail/_segment_table.h: In instantiation of ‘tbb::detail::d1::segment_table<T, Allocator, DerivedType, PointersPerEmbeddedTable>::segment_table(const allocator_type&) [with T = tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>; Allocator = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >; DerivedType = tbb::detail::d1::concurrent_vector<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> > >; long unsigned int PointersPerEmbeddedTable = 3; allocator_type = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >]’:
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/concurrent_vector.h:284:26:   required from ‘tbb::detail::d1::concurrent_vector<T, Allocator>::concurrent_vector(const allocator_type&) [with T = tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>; Allocator = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >; allocator_type = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >]’
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/concurrent_vector.h:281:61:   required from ‘tbb::detail::d1::concurrent_vector<T, Allocator>::concurrent_vector() [with T = tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>; Allocator = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >]’
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/enumerable_thread_specific.h:843:5:   required from ‘tbb::detail::d1::enumerable_thread_specific<T, Allocator, ETS_key_type>::enumerable_thread_specific() [with T = bool; Allocator = tbb::detail::d1::cache_aligned_allocator<bool>; tbb::detail::d1::ets_key_usage_type ETS_key_type = tbb::detail::d1::ets_no_key]’
> /<<PKGBUILDDIR>>/test/common/utils_concurrency_limit.h:248:92:   required from here
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/detail/_segment_table.h:63:63: error: member ‘tbb::detail::d1::segment_table<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >, tbb::detail::d1::concurrent_vector<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> > >, 3>::my_embedded_table’ is used uninitialized [-Werror=uninitialized]
>    63 |         : my_segment_table_allocator(alloc), my_segment_table(my_embedded_table)
>       |                                                               ^~~~~~~~~~~~~~~~~
> compilation terminated due to -Wfatal-errors.
> cc1plus: all warnings being treated as errors
> [38/315] /usr/bin/c++  -I/<<PKGBUILDDIR>>/test/.. -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src/tbb/../../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -mrtm -mwaitpkg -pthread -std=c++11 -MD -MT test/CMakeFiles/test_arena_priorities.dir/tbb/test_arena_priorities.cpp.o -MF test/CMakeFiles/test_arena_priorities.dir/tbb/test_arena_priorities.cpp.o.d -o test/CMakeFiles/test_arena_priorities.dir/tbb/test_arena_priorities.cpp.o -c /<<PKGBUILDDIR>>/test/tbb/test_arena_priorities.cpp
> FAILED: test/CMakeFiles/test_arena_priorities.dir/tbb/test_arena_priorities.cpp.o 
> /usr/bin/c++  -I/<<PKGBUILDDIR>>/test/.. -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src/tbb/../../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -mrtm -mwaitpkg -pthread -std=c++11 -MD -MT test/CMakeFiles/test_arena_priorities.dir/tbb/test_arena_priorities.cpp.o -MF test/CMakeFiles/test_arena_priorities.dir/tbb/test_arena_priorities.cpp.o.d -o test/CMakeFiles/test_arena_priorities.dir/tbb/test_arena_priorities.cpp.o -c /<<PKGBUILDDIR>>/test/tbb/test_arena_priorities.cpp
> In file included from /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/concurrent_vector.h:24,
>                  from /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/enumerable_thread_specific.h:26,
>                  from /<<PKGBUILDDIR>>/test/common/utils_concurrency_limit.h:25,
>                  from /<<PKGBUILDDIR>>/test/tbb/test_arena_priorities.cpp:25:
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/detail/_segment_table.h: In instantiation of ‘tbb::detail::d1::segment_table<T, Allocator, DerivedType, PointersPerEmbeddedTable>::segment_table(const allocator_type&) [with T = tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>; Allocator = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >; DerivedType = tbb::detail::d1::concurrent_vector<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> > >; long unsigned int PointersPerEmbeddedTable = 3; allocator_type = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >]’:
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/concurrent_vector.h:284:26:   required from ‘tbb::detail::d1::concurrent_vector<T, Allocator>::concurrent_vector(const allocator_type&) [with T = tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>; Allocator = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >; allocator_type = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >]’
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/concurrent_vector.h:281:61:   required from ‘tbb::detail::d1::concurrent_vector<T, Allocator>::concurrent_vector() [with T = tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>; Allocator = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >]’
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/enumerable_thread_specific.h:843:5:   required from ‘tbb::detail::d1::enumerable_thread_specific<T, Allocator, ETS_key_type>::enumerable_thread_specific() [with T = bool; Allocator = tbb::detail::d1::cache_aligned_allocator<bool>; tbb::detail::d1::ets_key_usage_type ETS_key_type = tbb::detail::d1::ets_no_key]’
> /<<PKGBUILDDIR>>/test/common/utils_concurrency_limit.h:248:92:   required from here
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/detail/_segment_table.h:63:63: error: member ‘tbb::detail::d1::segment_table<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >, tbb::detail::d1::concurrent_vector<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> > >, 3>::my_embedded_table’ is used uninitialized [-Werror=uninitialized]
>    63 |         : my_segment_table_allocator(alloc), my_segment_table(my_embedded_table)
>       |                                                               ^~~~~~~~~~~~~~~~~
> compilation terminated due to -Wfatal-errors.
> cc1plus: all warnings being treated as errors
> [39/315] /usr/bin/c++  -I/<<PKGBUILDDIR>>/test/.. -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src/tbb/../../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -mrtm -mwaitpkg -pthread -std=c++11 -MD -MT test/CMakeFiles/test_collaborative_call_once.dir/tbb/test_collaborative_call_once.cpp.o -MF test/CMakeFiles/test_collaborative_call_once.dir/tbb/test_collaborative_call_once.cpp.o.d -o test/CMakeFiles/test_collaborative_call_once.dir/tbb/test_collaborative_call_once.cpp.o -c /<<PKGBUILDDIR>>/test/tbb/test_collaborative_call_once.cpp
> FAILED: test/CMakeFiles/test_collaborative_call_once.dir/tbb/test_collaborative_call_once.cpp.o 
> /usr/bin/c++  -I/<<PKGBUILDDIR>>/test/.. -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src/tbb/../../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -mrtm -mwaitpkg -pthread -std=c++11 -MD -MT test/CMakeFiles/test_collaborative_call_once.dir/tbb/test_collaborative_call_once.cpp.o -MF test/CMakeFiles/test_collaborative_call_once.dir/tbb/test_collaborative_call_once.cpp.o.d -o test/CMakeFiles/test_collaborative_call_once.dir/tbb/test_collaborative_call_once.cpp.o -c /<<PKGBUILDDIR>>/test/tbb/test_collaborative_call_once.cpp
> In file included from /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/concurrent_vector.h:24,
>                  from /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/enumerable_thread_specific.h:26,
>                  from /<<PKGBUILDDIR>>/test/common/utils_concurrency_limit.h:25,
>                  from /<<PKGBUILDDIR>>/test/tbb/test_collaborative_call_once.cpp:36:
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/detail/_segment_table.h: In instantiation of ‘tbb::detail::d1::segment_table<T, Allocator, DerivedType, PointersPerEmbeddedTable>::segment_table(const allocator_type&) [with T = tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>; Allocator = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >; DerivedType = tbb::detail::d1::concurrent_vector<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> > >; long unsigned int PointersPerEmbeddedTable = 3; allocator_type = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >]’:
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/concurrent_vector.h:284:26:   required from ‘tbb::detail::d1::concurrent_vector<T, Allocator>::concurrent_vector(const allocator_type&) [with T = tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>; Allocator = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >; allocator_type = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >]’
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/concurrent_vector.h:281:61:   required from ‘tbb::detail::d1::concurrent_vector<T, Allocator>::concurrent_vector() [with T = tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>; Allocator = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >]’
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/enumerable_thread_specific.h:843:5:   required from ‘tbb::detail::d1::enumerable_thread_specific<T, Allocator, ETS_key_type>::enumerable_thread_specific() [with T = bool; Allocator = tbb::detail::d1::cache_aligned_allocator<bool>; tbb::detail::d1::ets_key_usage_type ETS_key_type = tbb::detail::d1::ets_no_key]’
> /<<PKGBUILDDIR>>/test/common/utils_concurrency_limit.h:248:92:   required from here
> /<<PKGBUILDDIR>>/src/tbb/../../include/oneapi/tbb/detail/_segment_table.h:63:63: error: member ‘tbb::detail::d1::segment_table<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >, tbb::detail::d1::concurrent_vector<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> > >, 3>::my_embedded_table’ is used uninitialized [-Werror=uninitialized]
>    63 |         : my_segment_table_allocator(alloc), my_segment_table(my_embedded_table)
>       |                                                               ^~~~~~~~~~~~~~~~~
> compilation terminated due to -Wfatal-errors.
> cc1plus: all warnings being treated as errors
> [40/315] : && /usr/bin/cc -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wl,-z,relro -Wl,-z,now  -Wl,--version-script=/<<PKGBUILDDIR>>/src/tbbmalloc/def/lin64-tbbmalloc.def  -flto -shared -Wl,-soname,libtbbmalloc.so.2 -o gnu_12.1_cxx11_64_none/libtbbmalloc.so.2.5 src/tbbmalloc/CMakeFiles/tbbmalloc.dir/backend.cpp.o src/tbbmalloc/CMakeFiles/tbbmalloc.dir/backref.cpp.o src/tbbmalloc/CMakeFiles/tbbmalloc.dir/frontend.cpp.o src/tbbmalloc/CMakeFiles/tbbmalloc.dir/large_objects.cpp.o src/tbbmalloc/CMakeFiles/tbbmalloc.dir/tbbmalloc.cpp.o src/tbbmalloc/CMakeFiles/tbbmalloc.dir/__/tbb/itt_notify.cpp.o  -ldl  -pthread && :
> lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
> lto-wrapper: note: see the ‘-flto’ option documentation for more information
> [41/315] : && /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wl,-z,relro -Wl,-z,now  -Wl,--version-script=/<<PKGBUILDDIR>>/src/tbb/def/lin64-tbb.def  -flto -shared -Wl,-soname,libtbb.so.12 -o gnu_12.1_cxx11_64_none/libtbb.so.12.5 src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o src/tbb/CMakeFiles/tbb.dir/arena.cpp.o src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o src/tbb/CMakeFiles/tbb.dir/exception.cpp.o src/tbb/CMakeFiles/tbb.dir/governor.cpp.o src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o src/tbb/CMakeFiles/tbb.dir/main.cpp.o src/tbb/CMakeFiles/tbb.dir/market.cpp.o src/tbb/CMakeFiles/tbb.dir/misc.cpp.o src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o src/tbb/CMakeFiles/tbb.dir/task.cpp.o src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o src/tbb/CMakeFiles/tbb.dir/task_group_context.cpp.o src/tbb/CMakeFiles/tbb.dir/version.cpp.o src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o  -ldl  -pthread && :
> lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
> lto-wrapper: note: see the ‘-flto’ option documentation for more information
> [42/315] /usr/bin/c++  -I/<<PKGBUILDDIR>>/test/.. -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src/tbb/../../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -mrtm -mwaitpkg -pthread -std=c++11 -MD -MT test/CMakeFiles/test_dynamic_link.dir/tbb/test_dynamic_link.cpp.o -MF test/CMakeFiles/test_dynamic_link.dir/tbb/test_dynamic_link.cpp.o.d -o test/CMakeFiles/test_dynamic_link.dir/tbb/test_dynamic_link.cpp.o -c /<<PKGBUILDDIR>>/test/tbb/test_dynamic_link.cpp
> [43/315] /usr/bin/c++  -I/<<PKGBUILDDIR>>/test/.. -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src/tbb/../../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -mrtm -mwaitpkg -pthread -std=c++11 -MD -MT test/CMakeFiles/test_concurrent_lru_cache.dir/tbb/test_concurrent_lru_cache.cpp.o -MF test/CMakeFiles/test_concurrent_lru_cache.dir/tbb/test_concurrent_lru_cache.cpp.o.d -o test/CMakeFiles/test_concurrent_lru_cache.dir/tbb/test_concurrent_lru_cache.cpp.o -c /<<PKGBUILDDIR>>/test/tbb/test_concurrent_lru_cache.cpp
> FAILED: test/CMakeFiles/test_concurrent_lru_cache.dir/tbb/test_concurrent_lru_cache.cpp.o 
> /usr/bin/c++  -I/<<PKGBUILDDIR>>/test/.. -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src/tbb/../../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -mrtm -mwaitpkg -pthread -std=c++11 -MD -MT test/CMakeFiles/test_concurrent_lru_cache.dir/tbb/test_concurrent_lru_cache.cpp.o -MF test/CMakeFiles/test_concurrent_lru_cache.dir/tbb/test_concurrent_lru_cache.cpp.o.d -o test/CMakeFiles/test_concurrent_lru_cache.dir/tbb/test_concurrent_lru_cache.cpp.o -c /<<PKGBUILDDIR>>/test/tbb/test_concurrent_lru_cache.cpp
> In file included from /<<PKGBUILDDIR>>/test/tbb/test_concurrent_lru_cache.cpp:25:
> In destructor ‘concurrent_lru_cache_helpers::instance_counter<CounterType>::~instance_counter() [with CounterType = long unsigned int]’,
>     inlined from ‘tbb::detail::d1::concurrent_lru_cache<KeyT, ValT, KeyToValFunctorT>::storage_map_reference_type tbb::detail::d1::concurrent_lru_cache<KeyT, ValT, KeyToValFunctorT>::retrieve_serial(key_type, bool&) [with KeyT = long unsigned int; ValT = concurrent_lru_cache_helpers::instance_counter<>; KeyToValFunctorT = concurrent_lru_cache_helpers::map_searcher<long unsigned int, concurrent_lru_cache_helpers::instance_counter<> >]’ at /<<PKGBUILDDIR>>/src/tbb/../../include/tbb/../oneapi/tbb/concurrent_lru_cache.h:168:89,
>     inlined from ‘void tbb::detail::d1::concurrent_lru_cache<KeyT, ValT, KeyToValFunctorT>::retrieve_aggregator_operation::handle(tbb::detail::d1::concurrent_lru_cache<KeyT, ValT, KeyToValFunctorT>::lru_cache_type&) [with KeyT = long unsigned int; ValT = concurrent_lru_cache_helpers::instance_counter<>; KeyToValFunctorT = concurrent_lru_cache_helpers::map_searcher<long unsigned int, concurrent_lru_cache_helpers::instance_counter<> >]’ at /<<PKGBUILDDIR>>/src/tbb/../../include/tbb/../oneapi/tbb/concurrent_lru_cache.h:326:59,
>     inlined from ‘void tbb::detail::d1::concurrent_lru_cache<KeyT, ValT, KeyToValFunctorT>::aggregator_operation::cast_and_handle(tbb::detail::d1::concurrent_lru_cache<KeyT, ValT, KeyToValFunctorT>::lru_cache_type&) [with KeyT = long unsigned int; ValT = concurrent_lru_cache_helpers::instance_counter<>; KeyToValFunctorT = concurrent_lru_cache_helpers::map_searcher<long unsigned int, concurrent_lru_cache_helpers::instance_counter<> >]’ at /<<PKGBUILDDIR>>/src/tbb/../../include/tbb/../oneapi/tbb/concurrent_lru_cache.h:306:70,
>     inlined from ‘void tbb::detail::d1::concurrent_lru_cache<KeyT, ValT, KeyToValFunctorT>::aggregator_operation::cast_and_handle(tbb::detail::d1::concurrent_lru_cache<KeyT, ValT, KeyToValFunctorT>::lru_cache_type&) [with KeyT = long unsigned int; ValT = concurrent_lru_cache_helpers::instance_counter<>; KeyToValFunctorT = concurrent_lru_cache_helpers::map_searcher<long unsigned int, concurrent_lru_cache_helpers::instance_counter<> >]’ at /<<PKGBUILDDIR>>/src/tbb/../../include/tbb/../oneapi/tbb/concurrent_lru_cache.h:304:10,
>     inlined from ‘void tbb::detail::d1::concurrent_lru_cache<KeyT, ValT, KeyToValFunctorT>::handle_operations(aggregator_operation*) [with KeyT = long unsigned int; ValT = concurrent_lru_cache_helpers::instance_counter<>; KeyToValFunctorT = concurrent_lru_cache_helpers::map_searcher<long unsigned int, concurrent_lru_cache_helpers::instance_counter<> >]’ at /<<PKGBUILDDIR>>/src/tbb/../../include/tbb/../oneapi/tbb/concurrent_lru_cache.h:116:37:
> /<<PKGBUILDDIR>>/test/common/concurrent_lru_cache_common.h:117:17: error: pointer used after ‘void operator delete(void*)’ [-Werror=use-after-free]
>   117 |             if (! --(*my_p_count))
>       |                 ^~~~~~~~~~~~~~~~~
> compilation terminated due to -Wfatal-errors.
> cc1plus: all warnings being treated as errors
> [44/315] /usr/bin/c++  -I/<<PKGBUILDDIR>>/test/.. -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src/tbb/../../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -mrtm -mwaitpkg -pthread -std=c++11 -MD -MT test/CMakeFiles/test_allocators.dir/tbb/test_allocators.cpp.o -MF test/CMakeFiles/test_allocators.dir/tbb/test_allocators.cpp.o.d -o test/CMakeFiles/test_allocators.dir/tbb/test_allocators.cpp.o -c /<<PKGBUILDDIR>>/test/tbb/test_allocators.cpp
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
> make[1]: *** [debian/rules:47: override_dh_auto_build-arch] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/onetbb_2021.5.0-12_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the debian-science-maintainers mailing list