Subject: gdbm fails to cross build using xdeb Package: gdbm Version: 1.8.3 Severity: wishlist
Some strips fail to recognize binaries of other architectures Passing the correct strip for the target architecture, as in the patch below, prevents this failure --- diff -Nru gdbm-1.8.3/debian/rules gdbm-1.8.3-9/debian/rules --- gdbm-1.8.3/debian/rules 2010-11-15 10:42:09.000000000 +0000 +++ gdbm-1.8.3-9/debian/rules 2010-10-15 11:10:12.000000000 +0000 @@ -13,7 +13,7 @@ DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -STRIP=strip --remove-section=.comment --remove-section=.note +STRIP=$(DEB_HOST_GNU_TYPE)-strip --remove-section=.comment --remove- section=.note install_dir=install -d -m 755 install_file=install -m 644 -- System Information: Debian Release: squeeze/sid APT prefers maverick-updates APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 'maverick-proposed'), (500, 'maverick-backports'), (500, 'maverick') Architecture: i386 (i686) Kernel: Linux 2.6.35-22-generic-pae (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org