Your message dated Fri, 17 May 2013 01:32:50 +0000
with message-id <[email protected]>
and subject line Bug#693975: fixed in fakeroot 1.19-2
has caused the Debian Bug report #693975,
regarding fakeroot: fails to cross-build: uses wrong strip binary
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
693975: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693975
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fakeroot
Version: 1.18.4-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: cross

fakeroot fails to cross-build as follows:

  strip --remove-section=.comment --remove-section=.note --strip-unneeded 
debian/tmp/usr/lib/arm-linux-gnueabihf/libfakeroot/libfakeroot-sysv.so
  strip: Unable to recognise the format of the input file 
`debian/tmp/usr/lib/arm-linux-gnueabihf/libfakeroot/libfakeroot-sysv.so'

This is easy to fix by using $(DEB_HOST_GNU_TYPE)-strip instead when
cross-building, just as debhelper does.  Patch follows.

  * Use appropriate version of strip when cross-building.

diff -Nru fakeroot-1.18.4/debian/rules fakeroot-1.18.4/debian/rules
--- fakeroot-1.18.4/debian/rules        2012-06-07 00:11:40.000000000 +0100
+++ fakeroot-1.18.4/debian/rules        2012-11-22 13:41:07.000000000 +0000
@@ -2,8 +2,11 @@
 
 DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_HOST_GNU_TYPE = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+STRIP = strip
+else
 CONFARGS = --host=$(DEB_HOST_GNU_TYPE)
+STRIP = $(DEB_HOST_GNU_TYPE)-strip
 endif
 
 CFLAGS = -W -Wall -g
@@ -130,11 +133,11 @@
                 debian/tmp/usr/share/man/sv/man1/fakeroot-tcp.1 \
                 debian/tmp/usr/share/doc/fakeroot/changelog.Debian
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-       strip --remove-section=.comment --remove-section=.note --strip-unneeded 
debian/tmp/${LIB_DIR}/libfakeroot/libfakeroot-sysv.so
-       strip --remove-section=.comment --remove-section=.note --strip-unneeded 
debian/tmp/${LIB_DIR}/libfakeroot/libfakeroot-tcp.so
-       strip --remove-section=.comment --remove-section=.note 
debian/tmp/usr/bin/faked-sysv
-       strip --remove-section=.comment --remove-section=.note 
debian/tmp/usr/bin/faked-tcp
-#      strip --strip-debug debian/tmp/${LIB_DIR}/libfakeroot.a
+       $(STRIP) --remove-section=.comment --remove-section=.note 
--strip-unneeded debian/tmp/${LIB_DIR}/libfakeroot/libfakeroot-sysv.so
+       $(STRIP) --remove-section=.comment --remove-section=.note 
--strip-unneeded debian/tmp/${LIB_DIR}/libfakeroot/libfakeroot-tcp.so
+       $(STRIP) --remove-section=.comment --remove-section=.note 
debian/tmp/usr/bin/faked-sysv
+       $(STRIP) --remove-section=.comment --remove-section=.note 
debian/tmp/usr/bin/faked-tcp
+#      $(STRIP) --strip-debug debian/tmp/${LIB_DIR}/libfakeroot.a
 endif
        $(INSTALL_SCRIPT) debian/fakeroot.postrm debian/tmp/DEBIAN/postrm
        $(INSTALL_SCRIPT) debian/fakeroot.prerm debian/tmp/DEBIAN/prerm

Thanks,

-- 
Colin Watson                                       [[email protected]]

--- End Message ---
--- Begin Message ---
Source: fakeroot
Source-Version: 1.19-2

We believe that the bug you reported is fixed in the latest version of
fakeroot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Clint Adams <[email protected]> (supplier of updated fakeroot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 16 May 2013 21:10:46 -0400
Source: fakeroot
Binary: fakeroot
Architecture: source amd64
Version: 1.19-2
Distribution: unstable
Urgency: low
Maintainer: Clint Adams <[email protected]>
Changed-By: Clint Adams <[email protected]>
Description: 
 fakeroot   - tool for simulating superuser privileges
Closes: 693975
Changes: 
 fakeroot (1.19-2) unstable; urgency=low
 .
   * Patch from Colin Watson to use appropriate strip command
     when cross-building.  closes: #693975.
Checksums-Sha1: 
 8f97dbad664364673aee13fb9a25871e42f187b7 2000 fakeroot_1.19-2.dsc
 97b0832cf9e488366febb1fcfd5956996f843937 55394 fakeroot_1.19-2.debian.tar.gz
 27c69da77e7c941da815e5a0ac4dd1369a5759a3 118650 fakeroot_1.19-2_amd64.deb
Checksums-Sha256: 
 a7bb9fa2c2172033e5e1ad33d08fcb7e428656f33a9308bde24ad4d5ac294c90 2000 
fakeroot_1.19-2.dsc
 1df1d0843d3ae9eee2a6c7efd1f28ff552904056f385887cd07353f974d4cea2 55394 
fakeroot_1.19-2.debian.tar.gz
 cd1427c0e6eeb2362a2634373fa3e4061649525b02151bd24a9348669bb2c868 118650 
fakeroot_1.19-2_amd64.deb
Files: 
 ec05e3505416a765165ea063bb85d228 2000 utils optional fakeroot_1.19-2.dsc
 5e7b7053b1a00cef2dcd171f9decd282 55394 utils optional 
fakeroot_1.19-2.debian.tar.gz
 7074d29dbf63c8f3c22cf3fea4324981 118650 utils optional 
fakeroot_1.19-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Debian!

iQIcBAEBCgAGBQJRlYS5AAoJEFWSMx4ZnTioaHUQAJQXZyrIXJw5/9kfUzxJuEKq
uHXMF7cVq3DEmjsbL2aaYrjGkHzSxSUsx0W/iErRlp+xWtbb3Ui8j/quw1jXFtE3
AXsRAseGfjTEkQk+b54lpr9chkH15v3I9m/FJSCLjCw7vT9E6no0fUdofJ+a2aTA
ypFrxf1iPJI+mul7U3WMB4oGI9VPKjQWcxY3hUEe8jN9erUwF2X76VjzejSzFEsk
+Ni8NrBzNbDbzFb/gLBsm4jwq2eNN2Qg9ODH+tD68QXQ7bLNfiZptwjZHzkFJ/v0
xD3FH5lgNx7xDaxqeDHDbeECj30LMZKdkw+g32oeP2sfvwrtP+V9gLVzGwobvB/S
0jaXPf/ZsdXCCwviWBXiClrssBwQOh82Zn4CCIvy1zmKuyvQ/yq9Hug27HdZOh1C
AYiZNWQL61XRPJvhFhAHGD3HNqxVOXbg2bdefl4tXrZW061JfemAdVljOkR+LtaF
FXzrZN9aH5YBEj+V+ULXg4SlqhjdU1kbPn8gimKcoxLXxNx4wL0Ku9CxIFvwnpfC
thHhLpnKCr8D1aNEUgreq8ylNJ9uFsfClGP1Ow+6LO9hontSvlYwFvTTpG1/xp+8
Jawp40VGtvJta+aU82zHoLCHk8ckPQhWheJQ5cBmh4YPpq66SuNy/9VrxDsqqMMC
cjeKRUE23P9+TezV5EsB
=uiCd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to