Debian Bug report logs - #578864
dpkg-source -b in 3.0 (quilt) package modifies timestamp of manually changed files

version graph

Package: dpkg-dev; Maintainer for dpkg-dev is Dpkg Developers <[email protected]>; Source for dpkg-dev is src:dpkg (PTS, buildd, popcon).

Reported by: Raphael Hertzog <[email protected]>

Date: Fri, 23 Apr 2010 08:42:02 UTC

Severity: minor

Found in version dpkg/1.15.0

Full log


Message #15 received at [email protected] (full text, mbox, reply):

Received: (at 578864) by bugs.debian.org; 18 Apr 2012 22:09:41 +0000
From [email protected] Wed Apr 18 22:09:40 2012
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
	(2010-03-16) on busoni.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.0 required=4.0 tests=BAYES_00,FROMDEVELOPER
	autolearn=ham version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 141; neutral, 37; spammy,
	0. spammytokens: hammytokens:0.000-+--dpkgsource, 0.000-+--dpkg-source,
	0.000-+--rw-r, 0.000-+--UD:0-1.dsc, 0.000-+--H*u:1.5.21
Return-path: <[email protected]>
Received: from mail.vm.ouaza.com ([88.190.240.227])
	by busoni.debian.org with esmtp (Exim 4.72)
	(envelope-from <[email protected]>)
	id 1SKd4G-0002E9-Da
	for [email protected]; Wed, 18 Apr 2012 22:09:40 +0000
Received: from soleymieux.ouaza.com (soleymieux.ouaza.com [78.225.60.32])
	by mail.vm.ouaza.com (Postfix) with ESMTPSA id 745F0220056;
	Thu, 19 Apr 2012 00:09:36 +0200 (CEST)
Received: by soleymieux.ouaza.com (Postfix, from userid 1000)
	id EB29615C65E; Thu, 19 Apr 2012 00:09:19 +0200 (CEST)
Date: Thu, 19 Apr 2012 00:09:19 +0200
From: Raphael Hertzog <[email protected]>
To: Guo Yixuan <[email protected]>
Cc: [email protected]
Subject: Re: dpkg-source -b in 3.0 (quilt) package modifies timestamp of,
 manually changed files
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Virus-Scanned: clamav-milter 0.97.3 at mail
X-Virus-Status: Clean
Content-Transfer-Encoding: quoted-printable
Hi,

On Wed, 18 Apr 2012, Guo Yixuan wrote:
> This bug seems to be fixed, as I tried what Timo has done:
> 
> $ dget http://people.debian.org/~hertzog/packages/debsrc3.0/sample7_1.0-1.dsc
> $ dpkg-source -x sample*.dsc
> $ cd sample7-1.0

Here you need to modify upstream/README to actually match the case
described in this bug report:
$ echo "foo" >>upstream/README

> $ touch -d 1970-01-01 upstream/README
> $ dpkg-buildpackage -rfakeroot -us -uc

And here, nowadays, you have to allow the change to be automatically recorded:
$ dpkg-buildpackage -us -uc --source-option=--auto-commit

> $ ls -l upstream/
> total 4
> -rw-r--r-- 1 gyx gyx 437 Jan  1  1970 README

And then you can see that it's not fixed:
$ ls -l upstream/
total 4
-rw-r--r-- 1 rhertzog rhertzog 441 avril 19 00:07 README

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/liberation/




Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:19:53 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.