Source: osmium-tool Version: 1.0.1-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that osmium-tool could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, osmium-tool 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 --git a/CMakeLists.txt b/CMakeLists.txt index 8546a16..2a79400 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,7 +101,8 @@ endfunction() if(PANDOC) message(STATUS "Looking for pandoc - found") message(STATUS " Manual pages will be built") - execute_process(COMMAND date "+%Y-%m-%d" OUTPUT_VARIABLE PUBDATE OUTPUT_STRIP_TRAILING_WHITESPACE) + execute_process(COMMAND dpkg-parsechangelog -SDate OUTPUT_VARIABLE DEBDATE OUTPUT_STRIP_TRAILING_WHITESPACE) + execute_process(COMMAND env LC_ALL=C date --utc --date ${DEBDATE} "+%Y-%m-%d" OUTPUT_VARIABLE PUBDATE OUTPUT_STRIP_TRAILING_WHITESPACE) set(PANDOC_MAN_OPTIONS -s -t man
_______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel