[Build-common-hackers] Bug#466361: Please set the timestamp of patched files to guard against timestamp skews

Loïc Minier lool at dooz.org
Mon Feb 18 10:11:38 UTC 2008

Package: cdbs
Version: 0.4.51
Severity: minor


 dpkg-source sets the mtime of all files patched by the .diff.gz to the
 same time as to avoid timestamp skews (which can trigger autotools to
 automatically update the files).  I think cdbs' simple-patchsys could
 be equally clever and set the mtime of all files patched by a specific
 patch to the same time.  I'm setting this as minor and not wishlist
 because such issues regularly bite many maintainers (I was bitten again
 this morning).

 This could be achieved with touch "--date=(LC_ALL=C date)" <patched
 files> or something similar.

 See <http://lists.debian.org/debian-policy/2008/02/msg00030.html> for
 the discussion leading to this bug report. :-)


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information

Loïc Minier

More information about the Build-common-hackers mailing list