FTCBFS: Cross build calls wrong-arch strip

Bug #966103 reported by Marcin Juszkiewicz on 2012-03-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dash (Debian)
Fix Released
Unknown
dash (Ubuntu)
Undecided
Unassigned

Bug Description

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
root@puchatek:/tmp/dash-0.5.7#

Related branches

Marcin Juszkiewicz (hrw) wrote :

attached patch fixes it

tags: added: patch
Jani Monoses (jani) wrote :

Do you mind sending a report to Debian? Would be nice to get it there then sync it along with the new translations they have in their newer revision.

Changed in dash (Debian):
status: Unknown → New
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dash - 0.5.7-2ubuntu2

---------------
dash (0.5.7-2ubuntu2) precise; urgency=low

  * Ensure correct strip is called when cross-building LP: #966103
 -- Marcin Juszkiewicz <email address hidden> Tue, 27 Mar 2012 15:03:17 +0300

Changed in dash (Ubuntu):
status: New → Fix Released
Changed in dash (Debian):
status: New → Fix Committed
Changed in dash (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.