Source: prometheus-pushgateway Version: 0.2.0+ds-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps hostname X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [0], we have noticed that prometheus-pushgateway could not be built reproducibly. The attached patch removes timestamps and hostname capturing from the build system. Once applied, prometheus-pushgateway can be built reproducibly in our reproducible toolchain. [0] https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2015-08-31 23:15:37.024708105 +0100 --- b/debian/rules 2015-08-31 23:21:42.003911505 +0100 @@ -11,8 +11,8 @@ REV := $(DEBVERS) BRANCH := debian/sid USER := pkg-go-maintain...@lists.alioth.debian.org -HOSTNAME := $(shell hostname -f) -BUILD_DATE := $(shell date +%Y%m%d-%H:%M:%S) +HOSTNAME := debian +BUILD_DATE := $(shell date --utc --date="$(shell dpkg-parsechangelog -SDate)" +%Y%m%d-%H:%M:%S) BUILDFLAGS := -ldflags \ " -X main.buildVersion $(VERSION)\ -X main.buildRev $(REV)\
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds