[Reproducible-builds] Bug#788750: amideco: please make the build reproducible

Dhole dhole at openmailbox.org
Sun Jun 14 18:14:32 UTC 2015


Source: amideco
Version: 0.31e-3.1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that amideco could not be built reproducibly.

The attached patch removes extra timestamps from the build system.
Specifically, the patch avoids the the usage of the __DATE__ and
__TIME__ C macro which embed timestamps during the compilation and make
the package build unreproducible.
Once applied, amideco can be built reproducibly in our current
experimental framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds

-- 
Dhole
-------------- next part --------------
diff -u amideco-0.31e/debian/changelog amideco-0.31e/debian/changelog
--- amideco-0.31e/debian/changelog
+++ amideco-0.31e/debian/changelog
@@ -1,3 +1,10 @@
+amideco (0.31e-4) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove timestamp from help to make package build reproducibly
+
+ -- Dhole <dhole at openmailbox.org>  Sat, 13 Jun 2015 19:23:31 +0200
+
 amideco (0.31e-3.1) unstable; urgency=low
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- amideco-0.31e.orig/src/amihelp.h
+++ amideco-0.31e/src/amihelp.h
@@ -29,7 +29,6 @@
 				"Compression schemes include: LZINT\n\n"
 				"Modules marked with "IDSign" sign are compressed modules\n\n"
 				"\tBug reports mailto: "SftEMail"\n"
-				"\t\tCompiled: %s, %s\n",__DATE__,__TIME__);
 #else
 				printf(
 				"\n"SftName" - Decompressor for AmiBIOSes only.\n"
@@ -39,8 +38,8 @@
 				"Compression schemes include: LZINT\n\n"
 				"Modules marked with "IDSign" sign are compressed modules\n\n"
 				"\tBug reports mailto: "SftEMail"\n"
-				"\t\tCompiled: %s, %s with \n\t\t%s",__DATE__,__TIME__,__VERSION__);
-#endif		
+				"\t\tCompiled with \n\t\t%s",__VERSION__);
+#endif
 
 				printf("\n");
 				return( 0x20 );
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150614/9388de0b/attachment.sig>


More information about the Reproducible-builds mailing list