Package: dpkg
Version: 1.16.10
Severity: normal

*** Please type your report below this line ***

Summary: In lib/dpkg/compress.c, I would like it if dpkg did not store timestamps in the gzip files. That way, the creation of the data.tar.gz would be deterministic.

In particular, when I build a binary package with the very same contents twice, I see that data.tar.xz and control.tar.gz are both different although they have the same contents (even timestamps).

Binary files one/control.tar.gz and two/control.tar.gz differ
Binary files one/data.tar.xz and two/data.tar.xz differ

In 1.16.10 I would add '-n' to the call to 'gzip' in a pipe. In curent dpkg git, I believe this may be fixed, but I am not sure. I am filing this bug so there is a clear statement of the general problem in the BTS, at least!



-- System Information:
Debian Release: squeeze/sid
  APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg depends on:
ii libbz2-1.0 1.0.5-4 high-quality block-sorting file co ii libc6 2.17-3 Embedded GNU C Library: Shared lib
ii  liblzma5           5.1.1alpha+20120614-2 XZ-format compression library
ii libselinux1 2.0.96-1 SELinux runtime shared libraries ii tar 1.23-2.1 GNU version of the tar archiving u
ii  zlib1g             1:1.2.7.dfsg-13       compression library - runtime

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt                           0.9.7.8    commandline package manager

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to