Bug#1117742: mobilitydb: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Oct 10 17:24:32 BST 2025
Source: mobilitydb
Version: 1.3.0~alpha-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timezone
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
mobilitydb could not be built reproducibly.
This is because the package included a timestamp that, whilst based on
SOURCE_DATE_EPOCH, varied on the current timezone.
Patch attached that specifies UTC.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
diff --git mobilitydb/datagen/CMakeLists.txt mobilitydb/datagen/CMakeLists.txt
index 0706735..98a9e1f 100644
--- mobilitydb/datagen/CMakeLists.txt
+++ mobilitydb/datagen/CMakeLists.txt
@@ -2,7 +2,7 @@
configure_file(mobilitydb_datagen.in.control ${CMAKE_BINARY_DIR}/mobilitydb_datagen.control)
# Configure the header template directly into the extension file
-string(TIMESTAMP GENERATION_DATE "%Y-%m-%d %H:%M:%S")
+string(TIMESTAMP GENERATION_DATE "%Y-%m-%d %H:%M:%S" UTC)
configure_file(
header.in.sql
${CMAKE_BINARY_DIR}/${MOBILITYDB_DATAGEN_EXTENSION_FILE}
More information about the Reproducible-bugs
mailing list