Bug#877375: polygen: please make the build reproducible

Chris Lamb lamby at debian.org
Sun Oct 1 06:46:06 UTC 2017


Source: polygen
Version: 1.0.6.ds2-17
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 polygen could not be built reproducibly due to iterating
over the filesystem in a nondeterminstic order.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2017-09-30 22:33:16.304169618 +0100
--- b/debian/rules	2017-09-30 22:37:03.932967181 +0100
@@ -43,7 +43,7 @@
 build/polygen::
 	$(POLYGEN) debian/man.grm > polygen.1
 	chmod 0755 debian/make_polygen-data_manpage
-	find $(POLYGEN_BASE)/grm/ -name \*.grm | debian/make_polygen-data_manpage > polygen-data.6
+	find $(POLYGEN_BASE)/grm/ -name \*.grm | LC_ALL=C sort | debian/make_polygen-data_manpage > polygen-data.6
 
 install/polygen::
 	install -o root -g root -m 755 $(POLYGEN_BIN) debian/$(cdbs_curpkg)/usr/games/


More information about the Reproducible-bugs mailing list