Package: dpkg
Version: 1.18.3
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertag: toolchain timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi Guillem,

following the policy [0] about adding a new build flag to the default
set exported by dpkg, we already
 1/ got it in a feature area named reproducible/timeless [1]
 2/ rebuilt the whole archive
 3/ started a discussion on debian-devel@ldo [2]

Since that d-d discussion did not bring any new concern, so we'd like
to proceed with this change.

Attached there is a patch to do this.



[0] 
https://wiki.debian.org/Teams/Dpkg/FAQ#Q:_Can_we_add_support_for_new_default_build_flags_to_dpkg-buildflags.3F
[1] https://bugs.debian.org/762683
[2] https://lists.debian.org/20151110173231.gc30...@chase.mapreri.org
   and https://lists.debian.org/20151110173502.gd30...@chase.mapreri.org

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
commit aa736e0b453df45d6cdbd429662751e14068caec
Author: Paul Wise <p...@debian.org>
Date:   Sat Sep 27 10:51:21 2014 +0800

    Enable the timeless build flags by default.

diff --git a/man/dpkg-buildflags.1 b/man/dpkg-buildflags.1
index f484eaa..c86b01a 100644
--- a/man/dpkg-buildflags.1
+++ b/man/dpkg-buildflags.1
@@ -369,7 +369,7 @@ compilation. Except as noted below, these are enabled by default for
 architectures that support them.
 .TP
 .B timeless
-This setting (disabled by default) adds
+This setting (enabled by default) adds
 .B \-Wdate\-time
 to \fBCPPFLAGS\fP.
 This will cause warnings when the \fB__TIME__\fP, \fB__DATE__\fP and
diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
index 9b40e7a..db40b2c 100644
--- a/scripts/Dpkg/Vendor/Debian.pm
+++ b/scripts/Dpkg/Vendor/Debian.pm
@@ -157,7 +157,7 @@ sub _add_reproducible_flags {
 
     # Default feature states.
     my %use_feature = (
-        timeless => 0,
+        timeless => 1,
     );
 
     # Adjust features based on user or maintainer's desires.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to