On 2022-04-22 Andrius Merkys <mer...@debian.org> wrote: > 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 Hello Andrius, That is unnecessary. - The whole point of (optional) is that dpkg-gensymbols will not *fail* when if these symbols are missing. It only warns about them. See deb-src-symbols(5). > 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: '') You need to chmod +x debian/libtbbmalloc2.install after applying the patch to activate dh_exec. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'