[devscripts] 01/01: debrepro: tell taketime to leave stat() alone

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Dec 9 20:27:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository devscripts.

commit b79305c1330ec78b61348142437af79d246e5bab
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Dec 9 18:27:00 2016 -0200

    debrepro: tell taketime to leave stat() alone
---
 debian/changelog    | 6 ++++++
 scripts/debrepro.sh | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 4c03a9f..d5d0981 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 devscripts (2.16.12) UNRELEASED; urgency=medium
 
+  [ James McCoy ]
   * mergechanges:
     + Add handling for buildinfo files, based on a patch by Simon McVittie.
       (Closes: #843470)
@@ -8,6 +9,11 @@ devscripts (2.16.12) UNRELEASED; urgency=medium
       behavior of ignoring the return code of lintian (Closes: #847168) and
       only running lintian when it is present (Closes: #846711).
 
+  [ Antonio Terceiro ]
+  * debrepro:
+    + export NO_FAKE_STAT=1 when using faketime to avoid faking stat() calls
+      (see discussion in bug #846365)
+
  -- James McCoy <jamessan at debian.org>  Mon, 05 Dec 2016 22:58:29 -0500
 
 devscripts (2.16.11) unstable; urgency=medium
diff --git a/scripts/debrepro.sh b/scripts/debrepro.sh
index 5451c9e..80757b9 100755
--- a/scripts/debrepro.sh
+++ b/scripts/debrepro.sh
@@ -104,7 +104,7 @@ cd ../disorderfs'
 
     vary time \
         'build_prefix=""' \
-        'build_prefix="faketime +213days+7hours+13minutes"'
+        'build_prefix="faketime +213days+7hours+13minutes"; export NO_FAKE_STAT=1'
 
     echo '$build_prefix dpkg-buildpackage -b -us -uc'
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list