Bug#907537: mblaze: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Aug 29 08:54:22 BST 2018
Source: mblaze
Version: 0.4-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 mblaze could not be built reproducibly.
This is due to (upstream) misspelling SOURCE_DATE_EPOCH as
SOURCE_TIME_EPOCH.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
diff --git a/GNUmakefile b/GNUmakefile
index e736104..0d7d0a3 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -38,7 +38,7 @@ mmime : slurp.o
minc mlist : squeeze_slash.o
museragent: FRC
- @test -n "$$SOURCE_TIME_EPOCH" || BUILDDATE=$$(date '+ (%Y-%m-%d)'); \
+ @test -n "$$SOURCE_DATE_EPOCH" || BUILDDATE=$$(date '+ (%Y-%m-%d)'); \
printf '#!/bin/sh\nprintf "User-Agent: mblaze/%s%s\\n"\n' \
"$$({ git describe --always --dirty 2>/dev/null || cat VERSION; } | sed 's/^v//')" \
"$$BUILDDATE" >$@
More information about the Reproducible-bugs
mailing list