On 11/04/16 09:47, Alexis Bienvenüe wrote: > Source: sawfish > Version: 1.11-2 > Severity: wishlist > Tags: patch upstream > User: reproducible-bui...@lists.alioth.debian.org > Usertags: fileordering timestamps username hostname > X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org > > Dear Maintainer, > > While working on the “reproducible builds” effort [1], we have noticed > that 'sawfish' could not be built reproducibly. > > The attached patch fixes the order in which files are included in the > theme tgz files, strips hostname and username from the config.h file, > and honours SOURCE_DATE_EPOCH when creating the config.h file. Once > applied, sawfish can be built reproducibly in our current experimental > framework. > > Regards, > Alexis Bienvenüe. > > [1]: https://wiki.debian.org/ReproducibleBuilds > > > >
The patch is broken in file themes/Makefile.in, so I used a workaround for making it work. But I don't believe it makes a reproducible build. Can you study the problem and present a fixed patch? As a workaround I am using make-build-reproducible patch as: Index: sawfish.git/themes/Makefile.in =================================================================== --- sawfish.git.orig/themes/Makefile.in 2016-04-17 17:36:44.538161720 +0100 +++ sawfish.git/themes/Makefile.in 2016-04-17 17:37:00.262206350 +0100 @@ -48,7 +48,7 @@ install : all installdirs rm -rf $(DESTDIR)$(themedir)/$$d; \ for f in $(srcdir)/$$d/*; do \ if [ $$f != $(srcdir)/$$d/CVS ]; then \ - ( cd $(srcdir) && tar czf $$d.tar.gz $$d/* ) ; \ + ( cd $(srcdir) && LC_ALL=C GZIP=-9n tar czf $$d.tar.gz $$d/* ) ; \ $(INSTALL_DATA) $$d.tar.gz $(DESTDIR)$(themedir)/$$d.tar.gz; \ fi \ done \ Kind regards Jose M Calhariz
signature.asc
Description: OpenPGP digital signature