Bug#918534: vit: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Jan 7 08:24:03 GMT 2019


Source: vit
Version: 1.3~beta1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that vit could not be built reproducibly.

This is actually a regression from vit 1.2-4 — unfortunately whilst
the changelog mentions that the patches were merged upstream they
appeared to miss the --utc argument resulting in:

│ │ │ │ -# 1.3.beta1 built after Mon Aug  6 03:08:23 -12 2018
│ │ │ │ +# 1.3.beta1 built after Tue Aug  7 05:08:23 +14 2018

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/ReproducibleBuild.diff	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/ReproducibleBuild.diff	2019-01-07 09:21:39.536578880 +0100
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2019-01-07
+
+--- vit-1.3~beta1.orig/Makefile.in
++++ vit-1.3~beta1/Makefile.in
+@@ -18,7 +18,7 @@ build:
+ 	fi && \
+ 	cat vit.pl | grep -v ^require \
+ 	  | sed "s:%prefix%:$(PREFIX):" \
+-	  | sed "s/%BUILD%/$(VERSION) built after `date -r CHANGES`/" \
++	  | sed "s/%BUILD%/$(VERSION) built after `date -u -r CHANGES`/" \
+ 	  | sed "s/%VERSION%/$(VERSION)$${GITHASH}/" \
+ 	  | sed "s:%TASK%:$(TASK):" \
+ 	  | sed "s:%CLEAR%:$(CLEAR):" \
--- a/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series	2019-01-07 09:21:38.204622716 +0100
@@ -0,0 +1 @@
+ReproducibleBuild.diff


More information about the Reproducible-bugs mailing list