Bug#910490: libhandy: please make the build reproducible

Chris Lamb lamby at debian.org
Sun Oct 7 08:58:50 BST 2018


Source: libhandy
Version: 0.0.3-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
libhandy could not be built reproducibly. This is because it uses
@filename@ (instead of @basename@) in a header comment which varies
between builds.

Patch attached.

(The change to "foo.c.in" is not strictly required as this file is not
shipped but it makes sense to have these files have thes same headers
IMHO.)


 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible-builds.diff	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible-builds.diff	2018-10-07 08:50:34.078550177 +0100
@@ -0,0 +1,26 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2018-10-07
+
+--- libhandy-0.0.3.orig/src/hdy-enums.c.in
++++ libhandy-0.0.3/src/hdy-enums.c.in
+@@ -7,7 +7,7 @@
+ /*** END file-header ***/
+ 
+ /*** BEGIN file-production ***/
+-/* enumerations from "@filename@" */
++/* enumerations from "@basename@" */
+ /*** END file-production ***/
+ 
+ /*** BEGIN value-header ***/
+--- libhandy-0.0.3.orig/src/hdy-enums.h.in
++++ libhandy-0.0.3/src/hdy-enums.h.in
+@@ -13,7 +13,7 @@ G_BEGIN_DECLS
+ 
+ /*** BEGIN file-production ***/
+ 
+-/* enumerations from "@filename@" */
++/* enumerations from "@basename@" */
+ /*** END file-production ***/
+ 
+ /*** BEGIN value-header ***/
--- a/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series	2018-10-07 08:50:32.846542057 +0100
@@ -0,0 +1 @@
+reproducible-builds.diff


More information about the Reproducible-bugs mailing list