Package: dpkg-dev Version: 1.18.4 Severity: important User: [email protected] Usertags: dpkg-shlibdeps
When working on a prospective libtinfo5-udeb package (see #819397) we discovered that on architectures which build ncurses multilib libraries, the libtinfo5-udeb packages gains a bogus dependency on lib32tinfo5 or lib64tinfo5, respectively. This is the relevant output of "dh_shlibdeps -s -- -v" on i386: ,---- | >> Scanning debian/libtinfo5-udeb/lib/libtic.so.5.9 (for Depends field) | Library libc.so.6 found in /lib/i386-linux-gnu/libc.so.6 | Library libtinfo.so.5 found in debian/libtinfo5-udeb/lib/libtinfo.so.5 | Using shlibs+objdump for libc.so.6 (file /lib/i386-linux-gnu/libc.so.6) | Looking up shlibs dependency of libc.so.6 provided by 'libc6:i386' | Found libc6-udeb (>= 2.22) in /var/lib/dpkg/info/libc6:i386.shlibs | No associated package found for debian/libtinfo5-udeb/lib/libtinfo.so.5 | Using shlibs+objdump for libtinfo.so.5 (file debian/libtinfo5-udeb/lib/libtinfo.so.5) | Looking up shlibs dependency of libtinfo.so.5 provided by '' | Found lib64tinfo5 (>= 6) in debian/lib64tinfo5/DEBIAN/shlibs `---- In contrast, a cross-build for armhf where no multilib packages are built picks up the right shlibs file for libtinfo.so.5: ,---- | >> Scanning debian/libtinfo5-udeb/lib/libtic.so.5.9 (for Depends field) | Library libc.so.6 found in /lib/arm-linux-gnueabihf/libc.so.6 | Library libtinfo.so.5 found in debian/libtinfo5-udeb/lib/libtinfo.so.5 | Library ld-linux-armhf.so.3 found in /lib/arm-linux-gnueabihf/ld-linux-armhf.so.3 | No associated package found for debian/libtinfo5-udeb/lib/libtinfo.so.5 | Using shlibs+objdump for libtinfo.so.5 (file debian/libtinfo5-udeb/lib/libtinfo.so.5) | Looking up shlibs dependency of libtinfo.so.5 provided by '' | Found libtinfo5-udeb (>= 6) in debian/libtinfo5/DEBIAN/shlibs `---- A patch for ncurses that should be suitable for reproducing the problem can be found at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819397#46. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') Architecture: i386 (x86_64) Kernel: Linux 4.2.8-ckt7-nouveau (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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 base-files 9.6 ii binutils 2.26-8 ii bzip2 1.0.6-8 ii libdpkg-perl 1.18.4 ii make 4.1-9 ii patch 2.7.5-1 ii xz-utils 5.1.1alpha+20120614-2.1 Versions of packages dpkg-dev recommends: ii build-essential 12.2 ii clang-3.5 [c-compiler] 1:3.5.2-3 ii clang-3.6 [c-compiler] 1:3.6.2-3 ii fakeroot 1.20.2-1 ii gcc [c-compiler] 4:5.3.1-1 ii gcc-4.4 [c-compiler] 4.4.7-8 ii gcc-4.6 [c-compiler] 4.6.4-7 ii gcc-4.7 [c-compiler] 4.7.4-3 ii gcc-4.8 [c-compiler] 4.8.5-4 ii gcc-4.9 [c-compiler] 4.9.3-14 ii gcc-5 [c-compiler] 5.3.1-14 ii gnupg 1.4.20-5 ii gnupg2 2.1.11-6 ii gpgv 1.4.20-5 ii libalgorithm-merge-perl 0.08-3 Versions of packages dpkg-dev suggests: ii debian-keyring 2016.03.22 -- no debconf information

