Your message dated Sat, 21 Jan 2017 04:34:11 +0000
with message-id <[email protected]>
and subject line Bug#827150: fixed in netpanzer 0.8.7+ds-2
has caused the Debian Bug report #827150,
regarding netpanzer: 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.)


-- 
827150: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827150
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: netpanzer
Version: 0.8.7+ds-1
Severity: wishlist
Tags: patch upstream
User: [email protected]
Usertags: fileordering
X-Debbugs-Cc: [email protected]

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that netpanzer could not be built reproducibly.
The list of source files is not sorted, which causes a non-deterministic
linking order.

The attached patch fixes this.

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..2336bff
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,14 @@
+Author: Reiner Herrmann <[email protected]>
+Description: Sort source files for deterministic linking order
+
+--- a/SConstruct
++++ b/SConstruct
+@@ -65,7 +65,7 @@
+     sources = []
+     sourceDirs = Split(sourceDirs)
+     for d in sourceDirs:
+-        sources.append(glob.glob( sourcePrefix + '/' + d + '/' + pattern))
++        sources.append(sorted(glob.glob( sourcePrefix + '/' + d + '/' + pattern)))
+     sources = Flatten(sources)
+     targetsources = []
+     for s in sources:
diff --git a/debian/patches/series b/debian/patches/series
index 24a0dd9..a9a01af 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ system-physfs.patch
 system-lua.patch
 desktop-file.patch
 hardening.patch
+reproducible-build.patch

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: netpanzer
Source-Version: 0.8.7+ds-2

We believe that the bug you reported is fixed in the latest version of
netpanzer, 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.
Markus Koschany <[email protected]> (supplier of updated netpanzer 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: SHA512

Format: 1.8
Date: Sat, 21 Jan 2017 04:54:05 +0100
Source: netpanzer
Binary: netpanzer netpanzer-data
Architecture: source all amd64
Version: 0.8.7+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Markus Koschany <[email protected]>
Description:
 netpanzer  - online multiplayer tactical warfare game
 netpanzer-data - data files for the netPanzer game
Closes: 827150
Changes:
 netpanzer (0.8.7+ds-2) unstable; urgency=medium
 .
   * Team upload.
   * Make the build reproducible.
     Thanks to Reiner Herrmann for the report and patch. (Closes: #827150)
   * Switch to compat level 10.
   * Ensure that the package can be built twice in a row.
Checksums-Sha1:
 ad635cd63d05241f4a218653d3b84eeec65a1712 2289 netpanzer_0.8.7+ds-2.dsc
 6701b2f1742999dfaeb9c1931e201f3444c9f14c 9180 
netpanzer_0.8.7+ds-2.debian.tar.xz
 56cbad8055854e194da3b98eb4c91317c42a23e8 8631664 
netpanzer-data_0.8.7+ds-2_all.deb
 4bd1813cb05c4023d6e4900407d22defec47b450 5824342 
netpanzer-dbgsym_0.8.7+ds-2_amd64.deb
 2b865a3172de29ac687cb2494b3db04d91084829 9666 
netpanzer_0.8.7+ds-2_amd64.buildinfo
 75549cb7f4d497e3bc110cb7c354c095af0947fc 385688 netpanzer_0.8.7+ds-2_amd64.deb
Checksums-Sha256:
 009af6532cd39ec2a8696d94dfaf82c2179724a8fdb14ea42c5c1365f6c31f2d 2289 
netpanzer_0.8.7+ds-2.dsc
 14c9721ebb02456336a41614fb0213656e5cb0dafc6963c6d1d4d1d48d81a5dd 9180 
netpanzer_0.8.7+ds-2.debian.tar.xz
 8ce87ae3c2cbd9a135b6b601278e117f3f4bc522b3893b40dfbcc8a5613e1393 8631664 
netpanzer-data_0.8.7+ds-2_all.deb
 df23604bba3093e8adb3e06f6c10960484d84287c2bbde7ca664fad0b4d31968 5824342 
netpanzer-dbgsym_0.8.7+ds-2_amd64.deb
 b7dba70bdcb12987c073fb3de8a77694e60f9ab59a9f141b1a3a2ecfd890a92c 9666 
netpanzer_0.8.7+ds-2_amd64.buildinfo
 aa7da0b7b8dd1323054d6bd6371250dd4e8c29f55cce2181542be706171fb824 385688 
netpanzer_0.8.7+ds-2_amd64.deb
Files:
 fd75983d41de1077c4134d7c14c1cd32 2289 games optional netpanzer_0.8.7+ds-2.dsc
 e74fe72f5c1297a26087b14be69b5852 9180 games optional 
netpanzer_0.8.7+ds-2.debian.tar.xz
 8ea5783dab4633e13e7ffb0973538c8f 8631664 games optional 
netpanzer-data_0.8.7+ds-2_all.deb
 423d37313425e21be5b0363d5eec5e0d 5824342 debug extra 
netpanzer-dbgsym_0.8.7+ds-2_amd64.deb
 0b01687e77358311942ab4888c88ce0c 9666 games optional 
netpanzer_0.8.7+ds-2_amd64.buildinfo
 f9fcc6548092d56d73abb3bd8970e42a 385688 games optional 
netpanzer_0.8.7+ds-2_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAliC3iRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1HkyLoP/iQNt6byDmxPfwYAjgRm8lt9tQQQv/klemGl
YwrFRyGtoFqqPLLX/T00xAF7qySCTDy9RxmTrAde9/IrQ0BBL8XqZB8x1CrF8uds
+UiFr6KviL5WKa7iVm0Xfr83FaiC8m5RNagVwmZy4R4cm1j9jaxyjIArrzFSKiZF
h3IjIh08KfUNtMjJbFbblRwwNSgM3s8FB/26481CPlyoOeLmbYeizdlzkLRmplAb
OszWX+jDBsmUxfF4kItJ3GIyqZ/EuSWmb7yQ9HsLmBkPoogXKsI91clB7MXGAahW
AjUE61leWluYrLZzWApCd8wrzmUtej7zLT5pUPlba44XjZqO7Q+8NtDoeNRaex6P
y7yp1Gty5mG97phj5SHxKhl/fLP8sycEvbG0XG/5JiJ00A3BgubcHHW+JEcI4q7x
SrL5lLdXONZUuv/CdapWe8yFXcxMmcbgUDRDpwERxuzojRklRcvt2+CBSXfGf4z/
xdz0WEeXdHZX4pyP9oN0WYysZgJdom2rTgEPPxe+u0Y9BXeV9lAVRuszHeiVC13Q
yS45L0EFMQyytHqmJVOUydalmbMl/9Cbn5f6SRqnmAEMfh0/jMRTVApUBeaEFtEN
pk06K0VZuLLeTFBWU9Y6s8cQ2AYY87gXCrUvfs1gonay73BIiItBMDE09Wd1g2jc
ikgpkNao
=i76R
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to