Source: autopkgtest Version: 3.20.2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: environment X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Dear Maintainer, While working on the “reproducible builds” effort [1], we have noticed that 'autopkgtest' could not be built reproducibly. Depending on the locale (LC_COLLATE I think), [a-z] can include or not capitals, so that in the Makefile, [a-z]* can match SKELETON or not. Thus, depending on the locale, SKELETON will be installed with mode 0644 or 0755. The (very simple) attached patch can solve this issue, so that autopkgtest can be built reproducibly in our current experimental framework. Regards, Alexis Bienvenüe. [1]: https://wiki.debian.org/ReproducibleBuilds
diff -Nru autopkgtest-3.20.1/Makefile autopkgtest-3.20.1.0~reproducible1/Makefile --- autopkgtest-3.20.1/Makefile 2016-03-14 22:36:00.000000000 +0100 +++ autopkgtest-3.20.1.0~reproducible1/Makefile 2016-04-05 21:51:05.000000000 +0200 @@ -72,8 +72,8 @@ $(INSTALL_DATA) CREDITS $(docdir) $(INSTALL_DATA) $(rstfiles) $(htmlfiles) $(docdir) $(INSTALL_PROG) setup-commands/*[!~] $(datadir)/setup-commands - $(INSTALL_DATA) ssh-setup/SKELETON $(datadir)/ssh-setup $(INSTALL_PROG) ssh-setup/[a-z]*[!~] $(datadir)/ssh-setup + $(INSTALL_DATA) ssh-setup/SKELETON $(datadir)/ssh-setup clean: rm -f */*.pyc