Source: palo Version: 1.95 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps hostname username X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that palo could not be built reproducibly. The attached patch removes timestamps, hostnames and usernames from the build system. Once applied, palo can be built reproducibly in our reproducible toolchain. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff -urNad palo.orig/palo-1.95/palo/Makefile palo/palo-1.95/palo/Makefile --- palo.orig/palo-1.95/palo/Makefile 2015-02-14 23:32:07.351426864 +0000 +++ palo/palo-1.95/palo/Makefile 2015-02-14 23:37:26.803572875 +0000 @@ -28,7 +28,7 @@ all: palo mkbootable palo: palo.a - echo "char *bld_info = \"`whoami`@`hostname` `date`\";" > build.c + echo "char *bld_info = \"Debian / $(shell dpkg-parsechangelog -l../debian/changelog -SVersion) / $(shell dpkg-parsechangelog -l../debian/changelog -SDate)\";" > build.c $(CC) $(CFLAGS) -c -o build.o build.c -rm -f build.c $(CC) $(CFLAGS) $(LDFLAGS) -o palo palo.a build.o
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds