Package: dpkg-dev Version: 1.17.27 Severity: important Dear Maintainer,
This happens on an odrobian hybrid installation: 64 bits kernel with 32 bits userland. gcc -v says: Using built-in specs. COLLECT_GCC=/usr/bin/gcc-4.9.real COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper Target: arm-linux-gnueabihf debuild fails with the following output: dh_shlibdeps -O--parallel objdump: /lib/aarch64-linux-gnu/libpthread.so.0: File format not recognized dpkg-shlibdeps: error: objdump gave error exit status 1 dh_shlibdeps: dpkg-shlibdeps -Tdebian/libupnp6.substvars debian/libupnp6/usr/lib/arm-linux-gnueabihf/libthreadutil.so.6.0.4 ... returned exit code 1 debian/rules:14: recipe for target 'binary' failed Workaround: Just forbidding (chmod 0) access to /lib/aarch64-linux-gnu/ and /usr/lib/aarch64-linux-gnu/ fixes the problem (the package build succeeds, the packages are ok), so it would appear that someone is looking in the wrong places. -- System Information: Debian Release: 8.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: armhf (aarch64) Foreign Architectures: arm64 Kernel: Linux 3.14.29-14-odrobian+ (SMP w/4 CPU cores; PREEMPT) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dpkg-dev depends on: ii base-files 8+deb8u6 ii binutils 2.25-5 ii bzip2 1.0.6-7+b3 ii libdpkg-perl 1.17.27 ii make 4.0-8.1 ii patch 2.7.5-1 ii xz-utils 5.1.1alpha+20120614-2+b3 Versions of packages dpkg-dev recommends: ii build-essential 11.7 ii fakeroot 1.20.2-1 ii gcc [c-compiler] 4:4.9.2-2 ii gcc-4.9 [c-compiler] 4.9.2-10 ii gnupg 1.4.18-7+deb8u3 ii gpgv 1.4.18-7+deb8u3 ii libalgorithm-merge-perl 0.08-2 Versions of packages dpkg-dev suggests: ii debian-keyring 2015.04.10 -- no debconf information