Source: autopkgtest
Version: 3.20.2
Severity: wishlist
Tags: patch
Usertags: environment

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.

Alexis Bienvenüe.


diff -Nru autopkgtest-3.20.1/Makefile autopkgtest-
--- autopkgtest-3.20.1/Makefile	2016-03-14 22:36:00.000000000 +0100
+++ autopkgtest-	2016-04-05 21:51:05.000000000 +0200
@@ -72,8 +72,8 @@
 	$(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
 	rm -f */*.pyc
Reproducible-builds mailing list

Reply via email to