Bug#1006920: please split out a libtbbmalloc2 package, both in tbb and onetbb

Andreas Metzler ametzler at bebt.de
Sat Apr 23 12:21:57 BST 2022


On 2022-04-22 Andrius Merkys <merkys at 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 at Base 2017~U7
>   _Z9parseFileILi100ELi1EEvPKcRAT0__K13parseFileItem at Base 2018~U6
>   _Z9parseFileILi100ELi2EEvPKcRAT0__K13parseFileItem at Base 2018~U6
> - (optional)_ZN11MallocMutex11scoped_lockD1Ev at Base 2020.3
> - (optional)_ZN11MallocMutex11scoped_lockD2Ev at Base 2020.3
>   _ZN3rml10pool_msizeEPNS_10MemoryPoolEPv at Base 2019~U4
>   _ZN3rml10pool_resetEPNS_10MemoryPoolE at Base 2017~U7
>   _ZN3rml11pool_createElPKNS_13MemPoolPolicyE at 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'



More information about the debian-science-maintainers mailing list