Bug#1137019: rssguard: please make the build reproducible

Chris Lamb lamby at debian.org
Mon May 18 18:32:50 BST 2026


Source: rssguard
Version: 4.8.6+dfsg-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
rssguard could not be built reproducibly.

│ │ │ │ ├── ./usr/share/metainfo/io.github.martinrotter.rssguard.metainfo.xml
│ │ │ │ │    <content_rating type="oars-1.1"/>
│ │ │ │ │    <releases>
│ │ │ │ │ -    <release version="4.8.6" date="2026-05-14">
│ │ │ │ │ +    <release version="4.8.6" date="2026-05-15">
│ │ │ │ │        <url>https://github.com/martinrotter/rssguard/

Whilst this date is generated from SOURCE_DATE_EPOCH (due to a feature of
CMake), it still varies on the build timezone; you need to specify the UTC
flag for this.

Patch attached.


 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible-build.patch	1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/reproducible-build.patch	2026-05-18 10:18:21.261235976 -0700
@@ -0,0 +1,17 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2026-05-18
+
+--- rssguard-4.8.6+dfsg.orig/CMakeLists.txt
++++ rssguard-4.8.6+dfsg/CMakeLists.txt
+@@ -69,8 +69,8 @@
+ cmake_minimum_required(VERSION 3.14.0)
+ 
+ # Global variables describing the project.
+-string(TIMESTAMP YEAR "%Y")
+-string(TIMESTAMP DATE "%Y-%m-%d")
++string(TIMESTAMP YEAR "%Y" UTC)
++string(TIMESTAMP DATE "%Y-%m-%d" UTC)
+ 
+ set(APP_NAME "RSS Guard")
+ set(APP_EMAIL "rotter.martinos at gmail.com")
--- a/debian/patches/series	1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/series	2026-05-18 10:18:20.336425665 -0700
@@ -0,0 +1 @@
+reproducible-build.patch


More information about the Reproducible-bugs mailing list