Your message dated Wed, 02 Aug 2017 13:07:09 +0000
with message-id <e1dctmj-0001xt...@fasolo.debian.org>
and subject line Bug#843101: fixed in python-hiredis 0.2.0-2
has caused the Debian Bug report #843101,
regarding python-hiredis: 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 ow...@bugs.debian.org
immediately.)
--
843101: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843101
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-hiredis
Version: 0.2.0-1
Severity: wishlist
Tags: patch upstream
User: reproducible-bui...@lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi!
While working on the "reproducible builds" effort [1], we have noticed
that python-hiredis could not be built reproducibly.
During build objects are linked in non-deterministic order.
The attached patch fixes this by sorting the list of source files.
Regards,
Reiner
[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..a5eb6f0
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,14 @@
+Author: Reiner Herrmann <rei...@reiner-h.de>
+Description: Sort source files for deterministic linking order
+
+--- a/setup.py
++++ b/setup.py
+@@ -44,7 +44,7 @@
+ "sources": ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]})
+
+ ext = Extension("hiredis.hiredis",
+- sources=glob.glob("src/*.c"),
++ sources=sorted(glob.glob("src/*.c")),
+ include_dirs=["vendor"],
+ extra_link_args=["-lhiredis"])
+
diff --git a/debian/patches/series b/debian/patches/series
index 6b075bc..1ab1e46 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-Use-system-libhiredis.patch
fix_build_dir_in_tests.patch
+reproducible-build.patch
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: python-hiredis
Source-Version: 0.2.0-2
We believe that the bug you reported is fixed in the latest version of
python-hiredis, 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 843...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Lamb <la...@debian.org> (supplier of updated python-hiredis 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 02 Aug 2017 08:45:09 -0400
Source: python-hiredis
Binary: python-hiredis python3-hiredis
Architecture: source amd64
Version: 0.2.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Chris Lamb <la...@debian.org>
Description:
python-hiredis - redis protocol reader for Python 2.X using hiredis
python3-hiredis - redis protocol reader for Python using hiredis
Closes: 843101
Changes:
python-hiredis (0.2.0-2) unstable; urgency=medium
.
[ Chris Lamb ]
* Apply patch from Reiner Herrmann <rei...@reiner-h.de> to make the build
reproducible. (Closes: #843101)
* Export hardening build flags.
* Bump Standards-Version to 4.0.0.
* Bump debhelper compatibility level to 10.
* Tidy debian/rules.
* wrap-and-sort -sa.
.
[ Ondřej Nový ]
* Fixed homepage (https)
* Fixed VCS URL (https)
Checksums-Sha1:
488b0e5ffd9cac711cee64fc6504d94c772c3f40 2221 python-hiredis_0.2.0-2.dsc
97ceea6f9c6d32a8d7b158e42a107898e6165cf8 4092
python-hiredis_0.2.0-2.debian.tar.xz
1410aa1c30d5977fea9bc1c21209c85a6b2a8fcd 19640
python-hiredis-dbgsym_0.2.0-2_amd64.deb
5d8fe9dc5670a333d98a05c5be87c51cc1d18005 7601
python-hiredis_0.2.0-2_amd64.buildinfo
195e208d1723fee080afd452801896997e34afe6 10712 python-hiredis_0.2.0-2_amd64.deb
142ba989333e50a573eb629e8bd38a94cb9eef67 40376
python3-hiredis-dbgsym_0.2.0-2_amd64.deb
f378b5101d7e93abfac1746f6cd442f1a6bebd05 9184 python3-hiredis_0.2.0-2_amd64.deb
Checksums-Sha256:
2cfa935d2d326e3be0dca8faf55e36c0ea977ae0055919e4c7f33fca602e4134 2221
python-hiredis_0.2.0-2.dsc
1f13b3dd83e94b1d8e542978144856eab450ec2298fbbc3b2690e58eae0e2a3e 4092
python-hiredis_0.2.0-2.debian.tar.xz
173e0fb824f1cf35e0646e6a69cd3792a7ded4a7cb9401891b762f054945004a 19640
python-hiredis-dbgsym_0.2.0-2_amd64.deb
4c7b74bc83020b3cc8c2b8386db0213a54676822d948728f1fa591843fb31950 7601
python-hiredis_0.2.0-2_amd64.buildinfo
515eb64816d2b959240a97e0d741c056b365e52302f630b7a0f0ea35458a95e4 10712
python-hiredis_0.2.0-2_amd64.deb
a10141dd0dc951b775bc1684c179b4b4364d083708f3a12adb070aa6c9179ba8 40376
python3-hiredis-dbgsym_0.2.0-2_amd64.deb
96294b65413e1e0f08fd8a7c52db124e54475b9172a1d9e6664dcfae308ef5b8 9184
python3-hiredis_0.2.0-2_amd64.deb
Files:
cd5584382b418a2a835d9c11eee8e169 2221 python optional
python-hiredis_0.2.0-2.dsc
310d2bfa923e35daf8e3bb190af5a1d8 4092 python optional
python-hiredis_0.2.0-2.debian.tar.xz
06d2056f82ecabb0c6762117bb79d527 19640 debug extra
python-hiredis-dbgsym_0.2.0-2_amd64.deb
b579a6e7b7716c65270eb866067d0dcc 7601 python optional
python-hiredis_0.2.0-2_amd64.buildinfo
66b5832deedf7989237d06699931d977 10712 python optional
python-hiredis_0.2.0-2_amd64.deb
7b5c21f4a15f9b57299ac8a67e90fe23 40376 debug extra
python3-hiredis-dbgsym_0.2.0-2_amd64.deb
4e62d68b808442a5d2eca7c2e4ef611f 9184 python optional
python3-hiredis_0.2.0-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlmByZwACgkQHpU+J9Qx
Hlh6Vg/9HuOwKplk4IMrnRjOmedzflFEILvxv83knnFrT9IJWfIkVz/IGyyWa+Mm
ZKuVGoFUMNrhR9/OQww9SAAHmHLqTTiZCHjc7/3LdwLVg8EbNcNIrDaFuV9VhCKm
w4uGo378wq28XrIFlXaHu3X3ELQ4AVj2A/SNLJjaajQPGeevphJpgW8E+AO5/3IL
Gj5zMzcvSCJxZjmQ/Q/qWCTtZHhFZ1952YFM8PlaKcFqbCKhS1E8Zu8umNCW40UV
mTw75K+3DuYVU1wvrNLh9KaFSJ7nu2UrZpPX28hMFpN2XbnD2oEU6fMCZ/q7SeYg
uMDZmB9UU0Z39Fcjmv6uErq5CU5tdPe5qOR9mGlnhMA6rESxSjB6SMFJAXSgVvlB
ob1Z/7HESx40jvILI1G0eVfqAxwWz0BPiEgw/t3DID9J49Zax2phMfgu8yAOUS8S
gHsglybpDaCbbxRgzyloCLCJ27EkN2flBQOa9BMpgmGzlrK3GlmO+vi4bl1nNL94
4wjqMHI4sfw1gjIr0S1Tm5UQowtS8JLNL7a85wy3oXB5EZ33VPFXCZVPPPUvy8sK
/0dfkkAoDj1nseV7T091jUWAxd8y5FfdNA98Wj+OeEQCh/hsiEFMoBdbv8YtU1Ow
UHdPbjh/0d51U8gDBstBKiO9f1kxnJZOWsDibhtud/mSQzd5Xx4=
=iAl3
-----END PGP SIGNATURE-----
--- End Message ---