Bug#1131384: stacer: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Mar 20 19:14:39 GMT 2026
Source: stacer
Version: 1.6.3+ds-1
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
stacer could not be built reproducibly.
This is because the build system embeds a timezone-varying date into
the fr.quentium.stacer.metainfo.xml file:
│ │ │ │ │ <provides>
│ │ │ │ │ <binary>stacer</binary>
│ │ │ │ │ </provides>
│ │ │ │ │ <releases>
│ │ │ │ │ - <release version="1.6.3" date="2026-03-18">
│ │ │ │ │ + <release version="1.6.3" date="2026-03-19">
Patch attached that requests CMake to generate this timestamp (from
SOURCE_DATE_EPOCH) with the UTC timestamp.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/patches/reproducible-build 1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/reproducible-build 2026-03-20 12:11:45.984142477 -0700
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2026-03-20
+
+--- stacer-1.6.3+ds.orig/CMakeLists.txt
++++ stacer-1.6.3+ds/CMakeLists.txt
+@@ -32,7 +32,7 @@ add_definitions(-DQT_DEPRECATED_WARNINGS
+ add_subdirectory(stacer-core)
+ add_subdirectory(stacer)
+
+-string(TIMESTAMP TODAY_ISO_8601 "%Y-%m-%d")
++string(TIMESTAMP TODAY_ISO_8601 "%Y-%m-%d" UTC)
+
+ configure_file(
+ "${CMAKE_CURRENT_SOURCE_DIR}/desktop/stacer.metainfo.xml.in"
--- a/debian/patches/series 2026-03-20 12:02:32.384826572 -0700
--- b/debian/patches/series 2026-03-20 12:11:45.207314244 -0700
@@ -1 +1,2 @@
#fix-license
+reproducible-build
More information about the Reproducible-bugs
mailing list