Package: dpkg-dev Version: 1.19.2 Severity: normal Control: affects -1 libdnssec6
libdnssec.so.6.0.0 links against pthread, and uses pthread_once. but dpkg-shlibdeps complains that it is found in none of the libraries. I think this is a bug in dpkg-shlibdeps. If not, please let me know what needs to be done to fix libdnssec.so.6.0.0 (feel free to reassign the bug in that case. Here's a shell transcript which describes the problem: 0 dkg@alice:~/src/pkg-dns/knot-dns$ dpkg-shlibdeps /usr/lib/x86_64-linux-gnu/libdnssec.so.6.0.0 dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory dpkg-shlibdeps: warning: symbol pthread_once used by /usr/lib/x86_64-linux-gnu/libdnssec.so.6.0.0 found in none of the libraries dpkg-shlibdeps: warning: package could avoid a useless dependency if /usr/lib/x86_64-linux-gnu/libdnssec.so.6.0.0 was not linked against libm.so.6 (it uses none of the library's symbols) 0 dkg@alice:~/src/pkg-dns/knot-dns$ awk '($1 ~ /\.so/) { lib=$1 } /^ pthread_once@/{print lib ":" $0 }' /var/lib/dpkg/info/*.symbols libpthread.so.0: pthread_once@GLIBC_2.2.5 2.2.5 libpthread.so.0: pthread_once@GLIBC_2.0 2.0 libpthread.so.0: pthread_once@GLIBC_2.16 2.16 libtsan.so.0: pthread_once@Base 4.9 0 dkg@alice:~/src/pkg-dns/knot-dns$ ldd /usr/lib/x86_64-linux-gnu/libdnssec.so.6.0.0 | grep pthread libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f98bd112000) 0 dkg@alice:~/src/pkg-dns/knot-dns$ thanks for maintaining dpkg-devscripts! --dkg -- System Information: Debian Release: buster/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dpkg-dev depends on: ii binutils 2.31.1-9 ii bzip2 1.0.6-9 ii libdpkg-perl 1.19.2 ii make 4.2.1-1.2 ii patch 2.7.6-3 ii perl 5.28.0-4 ii tar 1.30+dfsg-3 ii xz-utils 5.2.2-1.3 Versions of packages dpkg-dev recommends: ii build-essential 12.5 ii clang-4.0 [c-compiler] 1:4.0.1-10+b1 ii clang-6.0 [c-compiler] 1:6.0.1-9.2 ii fakeroot 1.23-1 ii gcc 4:8.2.0-2 ii gcc-6 [c-compiler] 6.5.0-1 ii gcc-7 [c-compiler] 7.3.0-30 ii gcc-8 [c-compiler] 8.2.0-9 ii gnupg 2.2.11-1 ii gpgv 2.2.11-1 ii gpgv2 2.2.11-1 pn libalgorithm-merge-perl <none> ii tcc [c-compiler] 0.9.27-8 Versions of packages dpkg-dev suggests: ii debian-keyring 2018.11.25 -- no debconf information