Your message dated Wed, 02 Aug 2017 13:21:02 +0000
with message-id <[email protected]>
and subject line Bug#836004: fixed in python-gflags 1.5.1-3
has caused the Debian Bug report #836004,
regarding python-gflags: please make the build reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
836004: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836004
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-gflags
Version: 1.5.1-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], I noticed
that python-gflags could not be built reproducibly.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000
+0100
--- b/debian/patches/reproducible-build.patch 2016-08-29 23:26:39.050457866
+0100
@@ -0,0 +1,24 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2016-08-29
+
+--- python-gflags-1.5.1.orig/gflags2man.py
++++ python-gflags-1.5.1/gflags2man.py
+@@ -174,6 +174,8 @@ class ProgramInfo(object):
+ self.modules = {} # { section_name(string), [ flags ] }
+ self.module_list = [] # list of module names in their original order
+ self.date = time.localtime(time.time()) # default date info
++ if 'SOURCE_DATE_EPOCH' in os.environ:
++ self.date = time.gmtime(int(os.environ['SOURCE_DATE_EPOCH']))
+
+ def Run(self):
+ """Run it and collect output.
+@@ -188,6 +190,8 @@ class ProgramInfo(object):
+
+ finfo = os.stat(self.executable)
+ self.date = time.localtime(finfo[stat.ST_MTIME])
++ if 'SOURCE_DATE_EPOCH' in os.environ:
++ self.date = time.gmtime(finfo[stat.ST_MTIME])
+
+ logging.info('Running: %s %s </dev/null 2>&1'
+ % (self.executable, FLAGS.help_flag))
--- a/debian/patches/series 2016-08-29 23:21:57.615594011 +0100
--- b/debian/patches/series 2016-08-29 23:26:38.086448077 +0100
@@ -1,2 +1,3 @@
python2.7-testsuite.patch
python3-fixes.patch
+reproducible-build.patch
--- End Message ---
--- Begin Message ---
Source: python-gflags
Source-Version: 1.5.1-3
We believe that the bug you reported is fixed in the latest version of
python-gflags, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Lamb <[email protected]> (supplier of updated python-gflags package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 02 Aug 2017 08:55:13 -0400
Source: python-gflags
Binary: python-gflags python3-gflags
Architecture: source all
Version: 1.5.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<[email protected]>
Changed-By: Chris Lamb <[email protected]>
Description:
python-gflags - implementation of the Google command line flags module -
Python 2
python3-gflags - implementation of the Google command line flags module -
Python 3
Closes: 836004
Changes:
python-gflags (1.5.1-3) unstable; urgency=medium
.
[ Chris Lamb ]
* If SOURCE_DATE_EPOCH is set, either use that as a source of current dates
or the UTC-version of the file's modification time. (Closes: #836004)
* Don't call update-alternatives --remove in postrm scripts.
* Update debian/watch to point to GitHub.
* Update Homepage and upstream URI in debian/copyright.
* Move to debhelper compatibility level 10.
* Bump Standards-Version to 4.0.0.
* wrap-and-sort -sa.
.
[ Ondřej Nový ]
* Fixed VCS URL (https)
Checksums-Sha1:
2b6ee90142830babbd04462943017bcd8138ba6c 2224 python-gflags_1.5.1-3.dsc
68e4dec2d0899b70f39ede3bac57f7cd24151656 8672
python-gflags_1.5.1-3.debian.tar.xz
886341251f2124c4b9d793636a3f7d542f669afb 35892 python-gflags_1.5.1-3_all.deb
24529cc7f0c392c1c1b888ee2ee35efc1d7560cd 6418
python-gflags_1.5.1-3_amd64.buildinfo
14cdc7dd18d51d2c0b441b0029d5a9df24d46c5d 35996 python3-gflags_1.5.1-3_all.deb
Checksums-Sha256:
6764fcd810ea9d59fa890d4dbec8ecd4e0980ba4aa3a8b84c76e666975c67da2 2224
python-gflags_1.5.1-3.dsc
bb47acbca53ade541d19627025f95b6b5b09ec5cc658a3fc179f4ca42bf5f885 8672
python-gflags_1.5.1-3.debian.tar.xz
9f458fcfcef97e24134c79be183c3f946c79c3e2d5bae396d04add04eabd250a 35892
python-gflags_1.5.1-3_all.deb
d3b92e2ffaad224f0ff840a5129d4d083bda212ced5249557c8d0b427740ca20 6418
python-gflags_1.5.1-3_amd64.buildinfo
4de3977ddf119cee3d6fdb4f4eae1d129089a43e46bda1b5813367d7b2061e03 35996
python3-gflags_1.5.1-3_all.deb
Files:
b601e4db9f127592f643e2da6e2edc8d 2224 python optional python-gflags_1.5.1-3.dsc
8606859b705334bccc3410860d612bb8 8672 python optional
python-gflags_1.5.1-3.debian.tar.xz
d2c9e11296b6384b75e0bc912493ed22 35892 python optional
python-gflags_1.5.1-3_all.deb
dffdee20bfca2d9c9b7c2711b4e3cd10 6418 python optional
python-gflags_1.5.1-3_amd64.buildinfo
446965b086ee3cfa69b84622b6581ee6 35996 python optional
python3-gflags_1.5.1-3_all.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlmBy+oACgkQHpU+J9Qx
HlgLwQ/+NzD43/bmqG1vxxgNsPd3bqGdtF0iD3jFA679K8zh2cqy1XyduRFPM6d0
c7YDwe8J22AjjSJmHCwYAyyoZoi6murSMzqgMoyJFxwiA2yaCW1SlRgpGzgsAPAQ
nBGpXB0Bgo2FHTeFWWkf2YfMJgIdONgKARPzduhiVSy6hrkoMYVKFtXM4TGHtGBv
7QWzPbthJatpvpYZYm/OdppcUFTVABfIpAMMwjD7ArmIWCBowfEqRIPExVyr0Yj8
iYni2cQRln3b4SZQfSPwe+75Azvz+yWMkpdmMCAm2AR1ZoDNBB5s2idjAkKr4oZg
KYMVxVKaimgiNi4RUNPZGxEnTSx4nCIrZH3SSIGweV4zm7xe+FvTkz0j88t2bA4V
AO+pCSn7cLIE1Xs4SdAOCNUdVyeD/iXX1TakgD/iXpzt/mI/m9mKvf/1tQDftuWv
FjN2882SItpzgLvdLSsh85RUczU8JI4ZVfczcX4crNuNLoA7UiX1DCUJaIk0vgGD
aGtpsY2239Cr+U1ROoNmVK3kFlqWPVUU0YeeysEpXh1A8v1Wm1vqEFTq/6rn6niZ
D6YBKHY096BOPuWE0BnfwcMIR9TisxnyTnLsEH3Yx2w3stfobYrsK4oyHM7xRFyO
tedPb0Y94TfQh/QMadmHwj6oW7App15g7KSACCOjtcN8tu9i76o=
=CAcd
-----END PGP SIGNATURE-----
--- End Message ---