[Bug 966103] Re: FTCBFS: Cross build calls wrong-arch strip
Marcin Juszkiewicz
966103 at bugs.launchpad.net
Tue Mar 27 12:18:44 UTC 2012
** Bug watch added: Debian Bug tracker #665965
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665965
** Also affects: dash (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665965
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dash in Ubuntu.
https://bugs.launchpad.net/bugs/966103
Title:
FTCBFS: Cross build calls wrong-arch strip
Status in “dash” package in Ubuntu:
New
Status in “dash” package in Debian:
Unknown
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 at puchatek:/tmp/dash-0.5.7#
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dash/+bug/966103/+subscriptions
More information about the foundations-bugs
mailing list