Package: debhelper Version: 9.20120909 Severity: normal Dear Maintainer,
I work on an i386 Debian package which I compile on an amd64 host. I do this by setting CC="gcc -m32" and calling 'dpkg-buildpackage -ai386' which gives me binaries of the right type. But if I call dh_strip I get the following error: + dh_strip Can't exec "i486-linux-gnu-strip": No such file or directory at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 215. dh_strip: i486-linux-gnu-strip --remove-section=.comment --remove-section=.note debian/teststrip/usr/bin/hello failed to to execute: No such file or directory dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 I checked in Debian's package archive and none of the packages installs an '*-linux-gnu-strip' file. So dh_strip's expectations that it can find such a file seem mistaken. Besides plain old 'strip' works just fine in this case. I have uploaded a test package to: http://fgouget.free.fr/bugs/teststrip_1.0-1.tar.gz To reproduce this bug just run './build' in the teststrip-1.0 directory on an amd64 system that has the gcc-multilib package. -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages debhelper depends on: ii binutils 2.22-8 ii dpkg 1.16.10 ii dpkg-dev 1.16.10 ii file 1:5.14-2 ii html2text 1.3.2a-16 ii man-db 2.6.3-6 ii perl 5.14.2-21 ii po-debconf 1.0.16+nmu2 debhelper recommends no packages. Versions of packages debhelper suggests: ii dh-make 0.62 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org