Bug#859302: debirf: please make the build reproducible

Chris Lamb lamby at debian.org
Sat Apr 1 21:07:46 UTC 2017


Source: debirf
Version: 0.36
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/Makefile	2017-04-01 22:03:00.844834773 +0100
--- b/Makefile	2017-04-01 22:06:51.953940509 +0100
@@ -24,7 +24,7 @@
 	for m in $(shell cat $<); do ln -s /usr/share/debirf/modules/$$m $@/; done
 
 doc/example-profiles/%.tgz: doc/example-profiles/% doc/example-profiles/%/modules
-	(cd doc/example-profiles && tar c --mtime="$(BUILD_DATE)" --owner=0 --group=0 --numeric-owner --mode=u=rwX,go=rX --exclude='*~' $(notdir $<)) | gzip -9 -n > "$@"
+	(cd doc/example-profiles && tar c --sort --mtime="$(BUILD_DATE)" --owner=0 --group=0 --numeric-owner --mode=u=rwX,go=rX --exclude='*~' $(notdir $<)) | gzip -9 -n > "$@"
 
 install: installman profiles
 	mkdir -p $(DESTDIR)$(PREFIX)/bin
--- a/debian/control	2017-04-01 22:03:00.844834773 +0100
--- b/debian/control	2017-04-01 22:07:14.270047446 +0100
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Jameson Graef Rollins <jrollins at finestructure.net>
 Uploaders: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9), tar (>= 1.28)
 Standards-Version: 3.9.8
 Homepage: http://cmrg.fifthhorseman.net/wiki/debirf
 Vcs-Git: https://anonscm.debian.org/git/collab-maint/debirf


More information about the Reproducible-bugs mailing list