Your message dated Sun, 24 Feb 2013 16:32:50 +0000
with message-id <[email protected]>
and subject line Bug#695141: fixed in unzip 6.0-9
has caused the Debian Bug report #695141,
regarding unzip: uses wrong strip binary when cross-building
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.)


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

unzip uses the wrong strip binary when cross-building, so fails as
follows:

  cd debian/tmp/usr/bin && strip --remove-section=.comment 
--remove-section=.note funzip unzip unzipsfx zipinfo
  strip: Unable to recognise the format of the input file `funzip'
  strip: Unable to recognise the format of the input file `unzip'
  strip: Unable to recognise the format of the input file `unzipsfx'
  strip: Unable to recognise the format of the input file `zipinfo'
  make: *** [binary-arch] Error 1

Fortunately, this is easy to fix; patch follows.

  * Use correct strip program when cross-building.

diff -Nru unzip-6.0/debian/rules unzip-6.0/debian/rules
--- unzip-6.0/debian/rules      2012-08-14 15:07:49.000000000 +0100
+++ unzip-6.0/debian/rules      2012-12-04 15:14:26.000000000 +0000
@@ -20,10 +20,13 @@
 
 ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
   CC=$(DEB_HOST_GNU_TYPE)-gcc
+  STRIPCMD=$(DEB_HOST_GNU_TYPE)-strip
+else
+  STRIPCMD=strip
 endif
 
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-  STRIP = strip --remove-section=.comment --remove-section=.note
+  STRIP = $(STRIPCMD) --remove-section=.comment --remove-section=.note
 endif
 
 build:

Thanks,

-- 
Colin Watson                                       [[email protected]]

--- End Message ---
--- Begin Message ---
Source: unzip
Source-Version: 6.0-9

We believe that the bug you reported is fixed in the latest version of
unzip, 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.
Santiago Vila <[email protected]> (supplier of updated unzip 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: SHA256

Format: 1.8
Date: Sun, 24 Feb 2013 17:12:00 +0100
Source: unzip
Binary: unzip
Architecture: source amd64
Version: 6.0-9
Distribution: unstable
Urgency: low
Maintainer: Santiago Vila <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Description: 
 unzip      - De-archiver for .zip files
Closes: 682682 695141
Changes: 
 unzip (6.0-9) unstable; urgency=low
 .
   * Added NO_WORKING_ISPRINT to DEFINES so that UTF8 filenames are
     displayed correctly. Reported by Slavek Banko. Closes: #682682.
   * Use the right strip command when cross-building. Closes: #695141.
Checksums-Sha1: 
 0816da53ff299920fada2aca6c29964312fc5acf 1319 unzip_6.0-9.dsc
 76bf148105f57a660ee9cf1dbbf9d83651059906 11182 unzip_6.0-9.debian.tar.gz
 6ee05da098191bff9254671081ee843f9ccdd17c 194298 unzip_6.0-9_amd64.deb
Checksums-Sha256: 
 06e8da869441d85257bbce63906cdf9b973448d586612e39057349213f0bd699 1319 
unzip_6.0-9.dsc
 1ab8d2b85e31a78b20cd03731b5e8f37e7642db9d374f21d3134e0ff25b0eacb 11182 
unzip_6.0-9.debian.tar.gz
 c1d27846759831329a37996377aed44ed408eddb4738d1e5bc418ffd8def0343 194298 
unzip_6.0-9_amd64.deb
Files: 
 e751331bbd3dc40032d3ee89381671cb 1319 utils optional unzip_6.0-9.dsc
 facbcf9ba161f661a966ffb87bf54028 11182 utils optional unzip_6.0-9.debian.tar.gz
 33d7dff5b14dbf4a241e036c6a6b4934 194298 utils optional unzip_6.0-9_amd64.deb

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

iQEcBAEBCAAGBQJRKj1eAAoJEEHOfwufG4syojEH/02svdxtkyl4WGmipNqfFvb0
5VAWOUBakthguj3T8whqaZ1Fo7gXXo+9tcjWVZGgwxkbBJD/92FY5sX8ML8v1SDB
uw8sW/DTFJv3a8758vCqQDSavZXI0rO5k5umtc5f1beFKG7SCa/pRpQ8cTXruaie
i5fUVnjeiEzXMlYg63w0yOU6YBFRhwpF9k6MosHMVc2HcdxBpl56lizAAxX7TVcr
JOMTqWIvZoZcM5I10j9Fi1OHP854YM8hdCrG56LKZaHj2IEYdUJywZP2QKK495OR
GvQwEPzrYldtHhRKk03ip1E1gnKwUgHvixbj4vlBnksJVbVAZgT+K6DEbTS7gcM=
=C1Rt
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to