Your message dated Sun, 16 Oct 2022 21:21:01 +0000
with message-id <e1okb49-00dvrp...@fasolo.debian.org>
and subject line Bug#829715: fixed in snake4 1.0.14-1.1
has caused the Debian Bug report #829715,
regarding snake4: 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.)


-- 
829715: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829715
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: snake4
Version: 1.0.14-1
Severity: wishlist
Tags: patch upstream
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps username
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that snake4 could not be built reproducibly.
It embeds the build date and user into the binary.

The attached patch strips this to enable reproducible building.

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..b798b5d
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,26 @@
+Author: Reiner Herrmann <rei...@reiner-h.de>
+Description: Strip build date/user to enable reproducible building
+
+--- a/Makefile
++++ b/Makefile
+@@ -57,8 +57,6 @@
+ SCOREBASEFILE	= $(PROG).score
+ SCOREFILE	= $(INSTLIBDIR)/$(SCOREBASEFILE)
+ DEFINES		= -DVERSION=\"$(VERSION)\" \
+-		  "-DCOMPILED_DATE=\"$(COMPILED_DATE)\"" \
+-		  "-DCOMPILED_BY=\"$(COMPILED_BY)\"" \
+ 		  -DSCOREFILE=\"$(SCOREFILE)\" \
+ 		  -DXK_MISCELLANY -DXK_LATIN1 
+ 
+--- a/snake4.c
++++ b/snake4.c
+@@ -31,8 +31,7 @@
+ version(void)
+ {
+     printf(
+-      "snake4 " VERSION ", by Sverre H. Huseby "
+-      "(compiled " COMPILED_DATE " by " COMPILED_BY ")\n"
++      "snake4 " VERSION ", by Sverre H. Huseby\n"
+     );
+     exit(0);
+ }
diff --git a/debian/patches/series b/debian/patches/series
index 9641816..0c6d4f8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 useless-linkage.patch
 hardening.patch
 standard-install-directories.patch
+reproducible-build.patch

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: snake4
Source-Version: 1.0.14-1.1
Done: Vagrant Cascadian <vagr...@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
snake4, 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 829...@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 snake4 
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 13:24:22 -0700
Source: snake4
Architecture: source
Version: 1.0.14-1.1
Distribution: unstable
Urgency: medium
Maintainer: Alexandre Dantas <e...@alexdantas.net>
Changed-By: Vagrant Cascadian <vagr...@reproducible-builds.org>
Closes: 829715 913734
Changes:
 snake4 (1.0.14-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Reiner Herrmann ]
   * Strip build date/user to enable reproducible building.
     (Closes: #829715)
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Don't strip during make install. (Closes: #913734)
Checksums-Sha1:
 149f54aef36470802dcde231d9672fa0d579480c 1479 snake4_1.0.14-1.1.dsc
 ecef7be85b29d4f1eacde319ff28eeca73da62ea 6740 snake4_1.0.14-1.1.debian.tar.xz
Checksums-Sha256:
 f10f5e5b676757f87a94b16c39a181d8b6218ce075793057ff3ea1c7012c6698 1479 
snake4_1.0.14-1.1.dsc
 6dd4b597e2a5af2c7169aafa478963dc67fee2e1823ccfa214d9b0b947c8b991 6740 
snake4_1.0.14-1.1.debian.tar.xz
Files:
 349a9399980160308e6e865977e1b20f 1479 games optional snake4_1.0.14-1.1.dsc
 bf8bec0d1f64a3acf4cf79039f8f82f5 6740 games optional 
snake4_1.0.14-1.1.debian.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYz87VSAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqnZBAP4m3YAQsBPBSgpy
Dek20NknA+k1MWPCXAKjMIG8j8hvzwD/Q+v3TCb/NnUqetG2a5qz+RtU5dk3Z7Eb
wjpT4Th7oQ4=
=GEX9
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to