Your message dated Mon, 17 Oct 2022 00:34:22 +0000
with message-id <e1oke5g-00effz...@fasolo.debian.org>
and subject line Bug#845782: fixed in hannah 1.0-3.2
has caused the Debian Bug report #845782,
regarding hannah: 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.)
--
845782: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845782
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: hannah
Version: 1.0-3
Severity: wishlist
Tags: patch upstream
User: reproducible-bui...@lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi!
While working on the "reproducible builds" effort [1], we have noticed
that hannah 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..6a6c6a1
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,14 @@
+Author: Reiner Herrmann <rei...@reiner-h.de>
+Description: Sort source files so that objects are linked in deterministic order
+
+--- a/Makefile
++++ b/Makefile
+@@ -24,7 +24,7 @@
+ # target binary and directory name
+ OUT = hhh
+ # source and object files
+-SRCS = $(wildcard *.cc)
++SRCS = $(sort $(wildcard *.cc))
+ OBJS = $(patsubst %.cc, %.o, $(SRCS))
+
+ # what to build
diff --git a/debian/patches/series b/debian/patches/series
index 9e33b88..1ea72d0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
fix_score_dir.diff
fix-compiler-errors
+reproducible-build.patch
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: hannah
Source-Version: 1.0-3.2
Done: Vagrant Cascadian <vagr...@reproducible-builds.org>
We believe that the bug you reported is fixed in the latest version of
hannah, 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 845...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vagrant Cascadian <vagr...@reproducible-builds.org> (supplier of updated hannah
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: SHA512
Format: 1.8
Date: Thu, 06 Oct 2022 16:48:01 -0700
Source: hannah
Architecture: source
Version: 1.0-3.2
Distribution: unstable
Urgency: medium
Maintainer: Margarita Manterola <ma...@debian.org>
Changed-By: Vagrant Cascadian <vagr...@reproducible-builds.org>
Closes: 845782
Changes:
hannah (1.0-3.2) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ Reiner Herrmann ]
* Sort source files so that objects are linked in deterministic order
(Closes: #845782)
Checksums-Sha1:
37e1a498ab32062aa2e68c3ae1f9a5d18c69152b 1406 hannah_1.0-3.2.dsc
30fe6617f69d4559842646a0daaee73f4b1cb384 7608 hannah_1.0-3.2.debian.tar.xz
Checksums-Sha256:
1b692a87e44370ad835e351639868c5603fdbb8911a535c5a3b03c2eb26cb541 1406
hannah_1.0-3.2.dsc
f6b393a0ac38318fdfb24fa20a280bfa0c45a90aaa38ca33231c6442e353d493 7608
hannah_1.0-3.2.debian.tar.xz
Files:
f4f80bd7b43238901a6bcecbb6c89e9c 1406 games extra hannah_1.0-3.2.dsc
7fa7cf9226b74e00e663ba04e33fbbf3 7608 games extra hannah_1.0-3.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYz9qNyAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqlB3AQD4pX+emBgOTtlY
drkEkhrGyWWJyHv+UVDmY6WfMscolQD/UvM0ozdqhOI3ZPjl0Bgq69gkvX7IRA6p
Ht6Wcrh8XwY=
=Sho0
-----END PGP SIGNATURE-----
--- End Message ---