Package: ragel Version: 6.9-1.1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath environment
Dear maintainer, while working on the "reproducible builds" effort [1], we have noticed that ragel could not be built reproducibly [2]. The attached patch removes the Makefile from the installed examples directory, which would otherwise have contained build-specific information such as paths or shell choices. Obviously that leaves the user unable to build the examples out of the box, but from what I can see this isn't possible anyway, since the Makefile in that directory assumes to be run out of the original source tree it was configured in during the package build. If that is not acceptable, I would be happy to discuss other alternatives, such as providing a standalone Makefile. After applying the patch, ragel can be built reproducibly in our current experimental framework. Kind regards Sascha [1]: https://wiki.debian.org/ReproducibleBuilds [2]: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ragel.html
diff --git a/debian/rules b/debian/rules index b08131d..6f24b82 100755 --- a/debian/rules +++ b/debian/rules @@ -38,6 +38,7 @@ install: build $(MAKE) install DESTDIR=$(CURDIR)/debian/ragel/ dh_install ragel.vim /usr/share/vim/addons/syntax/ dh_install debian/ragel.yaml /usr/share/vim/registry/ + make -C $(CURDIR)/examples distclean binary-indep: build install