Hello, For me tbb 2020.3-1 fails to build in sid chroot with tbb.diff applied. First of all, build runs into missing symbols. I managed to get past this by removing them:
--- a/debian/libtbbmalloc2.symbols.amd64 +++ b/debian/libtbbmalloc2.symbols.amd64 @@ -2,8 +2,6 @@ libtbbmalloc.so.2 libtbbmalloc2 #MINVER# MallocInitializeITT@Base 2017~U7 _Z9parseFileILi100ELi1EEvPKcRAT0__K13parseFileItem@Base 2018~U6 _Z9parseFileILi100ELi2EEvPKcRAT0__K13parseFileItem@Base 2018~U6 - (optional)_ZN11MallocMutex11scoped_lockD1Ev@Base 2020.3 - (optional)_ZN11MallocMutex11scoped_lockD2Ev@Base 2020.3 _ZN3rml10pool_msizeEPNS_10MemoryPoolEPv@Base 2019~U4 _ZN3rml10pool_resetEPNS_10MemoryPoolE@Base 2017~U7 _ZN3rml11pool_createElPKNS_13MemPoolPolicyE@Base 2017~U7 After that, build fails at dh_shlibdeps step: dh_shlibdeps dpkg-shlibdeps: error: cannot find library libtbbmalloc.so.2 needed by debian/libtbbmalloc2/usr/lib/${DEB_HOST_MULTIARCH}/libtbbmalloc_proxy.so.2 (ELF format: 'elf64-x86-64' abi: '0201003e00000000'; RPATH: '') dpkg-shlibdeps: error: cannot continue due to the error above Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file. To help dpkg-shlibdeps find private libraries, you might need to use -l. dh_shlibdeps: error: dpkg-shlibdeps -Tdebian/libtbbmalloc2.substvars debian/libtbbmalloc2/usr/lib/\${DEB_HOST_MULTIARCH}/libtbbmalloc.so.2 debian/libtbbmalloc2/usr/lib/\${DEB_HOST_MULTIARCH}/libtbbmalloc_proxy.so.2 returned exit code 2 dh_shlibdeps: error: Aborting due to earlier error make: *** [debian/rules:49: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 onetbb 2021.5.0-7 builds fine with onetbb.diff in sid chroot. Best, Andrius