Package: dash Version: 0.5.7-2ubuntu1 Severity: normal Tags: patch Dash does not call the correct arch strip so cross-builds fail right at the end.
debian/rules binary rm -rf '/tmp/dash-0.5.7/debian/ash' install -d -m0755 '/tmp/dash-0.5.7/debian/ash'/bin ln -s dash '/tmp/dash-0.5.7/debian/ash'/bin/ash install -d -m0755 '/tmp/dash-0.5.7/debian/ash'/usr/share/man/man1/ ln -s dash.1.gz '/tmp/dash-0.5.7/debian/ash'/usr/share/man/man1/ash.1.gz # changelog test -r changelog || ln -s ChangeLog changelog # dash rm -rf '/tmp/dash-0.5.7/debian/dash' install -d -m0755 '/tmp/dash-0.5.7/debian/dash'/bin install -m0755 build-tmp/src/dash '/tmp/dash-0.5.7/debian/dash'/bin/dash strip -R .comment -R .note '/tmp/dash-0.5.7/debian/dash'/bin/dash strip: Unable to recognise the format of the input file `/tmp/dash-0.5.7/debian/dash/bin/dash' make: *** [install-arch] Error 1 dpkg-buildpackage: error: debian/rules binary gave error exit status 2 - -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (999, 'precise-updates'), (999, 'precise'), (500, 'precise-security'), (50, 'precise') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-14-generic (SMP w/8 CPU cores) Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dash depends on: ii debianutils 4.2.1ubuntu1 ii dpkg 1.16.1.2ubuntu5 ii libc6 2.15-0ubuntu6 dash recommends no packages. dash suggests no packages. - -- debconf information excluded
diff -u dash-0.5.7/debian/rules dash-0.5.7/debian/rules --- dash-0.5.7/debian/rules +++ dash-0.5.7/debian/rules @@ -8,6 +8,7 @@ DEB_BUILD_GNU_TYPE =$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CC =$(DEB_HOST_GNU_TYPE)-gcc + STRIP =$(DEB_HOST_GNU_TYPE)-strip endif ifneq (,$(findstring diet,$(DEB_BUILD_OPTIONS))) diff -u dash-0.5.7/debian/changelog dash-0.5.7/debian/changelog --- dash-0.5.7/debian/changelog +++ dash-0.5.7/debian/changelog @@ -1,3 +1,9 @@ +dash (0.5.7-2ubuntu2) precise; urgency=low + + * Ensure correct strip is called when cross-building LP: #966103 + + -- Marcin Juszkiewicz <marcin.juszkiew...@linaro.org> Tue, 27 Mar 2012 10:31:15 +0000 + dash (0.5.7-2ubuntu1) precise; urgency=low * Merge from Debian testing, remaining changes: