Source: sim4 Version: 0.0.20121010-2 Severity: wishlist Tags: patch upstream User: reproducible-builds@lists.alioth.debian.org Usertags: fileordering X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Dear Maintainer, While working on the “reproducible builds” effort [1], we have noticed that 'sim4' could not be built reproducibly. The attached patch fixes the order in which C files are compiled. Once applied, sim4 can be built reproducibly in our current experimental framework. Regards, Alexis Bienvenüe. [1]: https://wiki.debian.org/ReproducibleBuilds
diff -Nru sim4-0.0.20121010/debian/changelog sim4-0.0.20121010/debian/changelog --- sim4-0.0.20121010/debian/changelog 2016-01-21 09:55:42.000000000 +0100 +++ sim4-0.0.20121010/debian/changelog 2016-04-12 00:08:43.000000000 +0200 @@ -1,3 +1,9 @@ +sim4 (0.0.20121010-2.0~reproducible1) unstable; urgency=medium + + * Sort c files for reproducible build + + -- Alexis Bienvenüe <p...@passoire.fr> Tue, 12 Apr 2016 00:08:43 +0200 + sim4 (0.0.20121010-2) unstable; urgency=medium * Moved debian/upstream to debian/upstream/metadata diff -Nru sim4-0.0.20121010/debian/patches/compilation_order.patch sim4-0.0.20121010/debian/patches/compilation_order.patch --- sim4-0.0.20121010/debian/patches/compilation_order.patch 1970-01-01 01:00:00.000000000 +0100 +++ sim4-0.0.20121010/debian/patches/compilation_order.patch 2016-04-12 00:08:00.000000000 +0200 @@ -0,0 +1,14 @@ +Description: Compilation order + Sort c files for compilation, to make the build reproducible. +Author: Alexis Bienvenüe <p...@passoire.fr> + +--- sim4-0.0.20121010.orig/Makefile ++++ sim4-0.0.20121010/Makefile +@@ -8,6 +8,6 @@ CFLAGS+=-g -O2 -Wall + LDLIBS=-lm + + sim4: +- $(CC) -o sim4 -I. $(CFLAGS) *.c $(LDLIBS) $(LDFLAGS) ++ $(CC) -o sim4 -I. $(CFLAGS) `LC_ALL=C ls *.c` $(LDLIBS) $(LDFLAGS) + clean: + rm -f sim4 *.o diff -Nru sim4-0.0.20121010/debian/patches/series sim4-0.0.20121010/debian/patches/series --- sim4-0.0.20121010/debian/patches/series 2013-09-12 11:00:31.000000000 +0200 +++ sim4-0.0.20121010/debian/patches/series 2016-04-12 00:06:59.000000000 +0200 @@ -1 +1,2 @@ hardening.patch +compilation_order.patch
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds