Source: basket
Version: 2.10~beta+git20160305.487a115-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

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

The attached patch removes build date from debug info. Once applied,
basket can be built reproducibly in our current experimental framework.

Regards,
Alexis Bienvenüe.

 [1]: https://wiki.debian.org/ReproducibleBuilds
diff -Nru basket-2.10~beta+git20160305.487a115/debian/changelog basket-2.10~beta+git20160305.487a115/debian/changelog
--- basket-2.10~beta+git20160305.487a115/debian/changelog	2016-03-06 20:38:04.000000000 +0100
+++ basket-2.10~beta+git20160305.487a115/debian/changelog	2016-04-03 23:41:40.000000000 +0200
@@ -1,3 +1,9 @@
+basket (2.10~beta+git20160305.487a115-1.0~reproducible1) unstable; urgency=medium
+
+  * Removes build date from debug info, to get a reproducible build.
+
+ -- Alexis Bienvenüe <p...@passoire.fr>  Sun, 03 Apr 2016 23:41:39 +0200
+
 basket (2.10~beta+git20160305.487a115-1) unstable; urgency=medium
 
   * New git snapshot:
diff -Nru basket-2.10~beta+git20160305.487a115/debian/patches/15_remove_build_date_from_debug_info.patch basket-2.10~beta+git20160305.487a115/debian/patches/15_remove_build_date_from_debug_info.patch
--- basket-2.10~beta+git20160305.487a115/debian/patches/15_remove_build_date_from_debug_info.patch	1970-01-01 01:00:00.000000000 +0100
+++ basket-2.10~beta+git20160305.487a115/debian/patches/15_remove_build_date_from_debug_info.patch	2016-04-03 23:40:43.000000000 +0200
@@ -0,0 +1,14 @@
+Description: Remove build date from debug info
+ This makes the build reproducible.
+Author: Alexis Bienvenüe <p...@passoire.fr>
+
+--- basket-2.10~beta+git20160305.487a115.orig/src/crashhandler.cpp
++++ basket-2.10~beta+git20160305.487a115/src/crashhandler.cpp
+@@ -72,7 +72,6 @@ Crash::crashHandler(int /*signal*/)
+ 
+         body += "======== DEBUG INFORMATION  =======\n"
+                 "Version:    " VERSION "\n"
+-                "Build date: " __DATE__ "\n"
+                 "CC version: " __VERSION__ "\n" //assuming we're using GCC
+                 "KDElibs:    " KDE_VERSION_STRING "\n"
+                 ;//                    "TagLib:     %2.%3.%4\n";
diff -Nru basket-2.10~beta+git20160305.487a115/debian/patches/series basket-2.10~beta+git20160305.487a115/debian/patches/series
--- basket-2.10~beta+git20160305.487a115/debian/patches/series	2015-11-29 12:04:35.000000000 +0100
+++ basket-2.10~beta+git20160305.487a115/debian/patches/series	2016-04-03 23:39:53.000000000 +0200
@@ -1 +1,2 @@
 14_update_es_po.diff
+15_remove_build_date_from_debug_info.patch
_______________________________________________
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