Bug#1150109: js8call: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Oct 5 20:21:43 BST 2026
Source: js8call
Version: 3.0.3+ds-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timezones
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
js8call could not be built reproducibly.
This is because it embeds a date based on SOURCE_DATE_EPOCH that varies
based on the build timezone.
A patch is attached that uses the 'UTC' flag to CMake's TIMESTAMP
function/macro.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/patches/make-build-reproducible-2.patch 1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/make-build-reproducible-2.patch 2026-10-05 12:14:34.425091147 -0700
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2026-10-05
+
+--- js8call-3.0.3+ds.orig/CMakeLists.txt
++++ js8call-3.0.3+ds/CMakeLists.txt
+@@ -228,7 +228,7 @@ target_compile_definitions(${TARGET}
+ UNAME=\"\"
+ )
+
+-string(TIMESTAMP TODAY_DATE "%m-%d-%Y")
++string(TIMESTAMP TODAY_DATE "%m-%d-%Y" UTC)
+
+ configure_file(
+ "${CMAKE_CURRENT_SOURCE_DIR}/JS8_Include/js8call_config.h.in"
--- a/debian/patches/series 2026-10-05 11:08:35.968013543 -0700
--- b/debian/patches/series 2026-10-05 12:14:33.672922659 -0700
@@ -3,3 +3,4 @@
no-bundled-libraries.patch
no-new-version-check.patch
show-debian-version.patch
+make-build-reproducible-2.patch
More information about the Reproducible-bugs
mailing list