Source: amideco
Version: 0.31e-3.1
Severity: wishlist
Tags: patch
User: reproducible-builds@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
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 <dh...@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 );

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to