Source: bochs Version: 2.6.11+dfsg-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0] we noticed that bochs could not be built reproducibly. Whilst Bochs now reads a determistic date it reformatted it using the date(1) utility with a command-line that was not orthogonal to the build system's environment, resulting in the aforementioned static date appearing to change in extreme timezones. Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --git a/bios/Makefile.in b/bios/Makefile.in index e2ab928..32ac737 100644 --- a/bios/Makefile.in +++ b/bios/Makefile.in @@ -43,7 +43,7 @@ BX_INCDIRS = -I.. -I$(srcdir)/.. -I../iodev -I$(srcdir)/../iodev LOCAL_CXXFLAGS = UPSTREAM_RELEASE_DATE = $(shell grep "Updated:" ../README | sed 's/Updated://') -BUILDDATE = `date -d '$(UPSTREAM_RELEASE_DATE)' '+%m/%d/%y'` +BUILDDATE = `date -u -d '$(UPSTREAM_RELEASE_DATE)' '+%m/%d/%y'` BIOS_BUILD_DATE = "-DBIOS_BUILD_DATE=\"$(BUILDDATE)\"" # # -------- end configurable options --------------------------