Your message dated Thu, 06 Mar 2008 02:47:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#467100: fixed in debhelper 6.0.6
has caused the Debian Bug report #467100,
regarding dh_compress: please call gzip with the -n flag
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.)


-- 
467100: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467100
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: debhelper
Severity: wishlist
Tags: patch

When dh_compress runs gzip on files generated during the build process 
(actually on files which were not cp -a/similar) it stores the original file 
name and file stamp on the .gz
This means that compressing exactly the same file with different time stamps 
causes the md5sum to differ.

So comparing two packages which are, incorrectly, being built as arch: any but 
shipping the same files (in their uncompressed state) makes the 
DEBIAN/md5sum5 of the two packages differ only because of the time stamps on 
the .gz files

The solution for this situation is to use the -n/--no-name flag when calling 
gzip, which makes gzip not to store neither the original filename nor the 
time stamp. It should be safe to use this option because, based on tests, 
gzip preserves the file stamp of the original file on the compressed file, 
also preserving it at uncompress-time.

Kind regards,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
--- dh_compress.orig	2007-12-31 16:45:13.000000000 -0600
+++ dh_compress	2008-02-22 19:10:59.000000000 -0600
@@ -150,7 +150,7 @@
 		# Make executables not be anymore.
 		xargs([EMAIL PROTECTED],"chmod","a-x");
 		
-		xargs([EMAIL PROTECTED],"gzip","-9f");
+		xargs([EMAIL PROTECTED],"gzip","-9f -n");
 	}
 	
 	# Now change over any files we can that used to be hard links so

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 6.0.6

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

debhelper_6.0.6.dsc
  to pool/main/d/debhelper/debhelper_6.0.6.dsc
debhelper_6.0.6.tar.gz
  to pool/main/d/debhelper/debhelper_6.0.6.tar.gz
debhelper_6.0.6_all.deb
  to pool/main/d/debhelper/debhelper_6.0.6_all.deb



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.
Joey Hess <[EMAIL PROTECTED]> (supplier of updated debhelper 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: SHA1

Format: 1.7
Date: Wed, 05 Mar 2008 21:35:21 -0500
Source: debhelper
Binary: debhelper
Architecture: source all
Version: 6.0.6
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 debhelper  - helper programs for debian/rules
Closes: 467100 468959
Changes: 
 debhelper (6.0.6) unstable; urgency=low
 .
   * dh_compress: Pass -n to gzip to yeild more reproducible file contents.
     The time stamp information need not be contained in the .gz file since the
     time stamp is preserved when compressing and decompressing. Closes: #467100
   * The order of dependencies generated by debhelper has been completly random
     (hash key order), so sort it. Closes: #468959
Files: 
 b109577fa6196ae56c38f676ce354d24 614 devel optional debhelper_6.0.6.dsc
 1b48c341658f27aa64331b4944172cc0 278730 devel optional debhelper_6.0.6.tar.gz
 d076b8e825675235bb62f6ab308abf06 518592 devel optional debhelper_6.0.6_all.deb

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

iD8DBQFHz1ml2tp5zXiKP0wRAn8nAKC3Inqppc6BKvi37XFTNEE2lnEsEACg1SB4
iyq39tIA+ZCo5kvHFEuqRFw=
=Wfmx
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to