Debian Bug report logs -
#1000921
syncevolution: reproducible builds: Embedded build timestamps in README and manpage
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Jonas Smedegaard <dr@jones.dk>:
Bug#1000921; Package src:syncevolution.
(Tue, 30 Nov 2021 23:12:30 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Jonas Smedegaard <dr@jones.dk>.
(Tue, 30 Nov 2021 23:12:30 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: syncevolution
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The README, README.html and syncevolution manpage embeds the build
timestamp:
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/syncevolution.html
/usr/share/doc/syncevolution/README.gz
:Date:·2022-12-28
vs.
:Date:·2021-11-25
/usr/share/man/man1/syncevolution.1.gz
.TH·"SYNCEVOLUTION"·1·"2022-12-28"·"2.0.0"·""
vs.
.TH·"SYNCEVOLUTION"·1·"2021-11-25"·"2.0.0"·""
The attached patch fixes these files by not replacing the release date
in these files from Makefile.am.
An alternate approach might be to remove the dates from the relevent
source files entirely.
With this patch applied, syncevolution should build reproducibly on
tests.reproducible-builds.org.
Thanks for maintaining syncevolution!
live well,
vagrant
[0001-Makefile.am-Do-not-update-the-datestatmps-in-the-var.patch (text/x-diff, inline)]
From dc3eb847d180baf0b3ec0151123fa66ebeb15108 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 30 Nov 2021 22:33:15 +0000
Subject: [PATCH] Makefile.am: Do not update the datestatmps in the various
.rst files.
https://reproducible-builds.org/docs/timestamps/
---
Makefile.am | 2 --
1 file changed, 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 9c550951..68533f9c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -351,7 +351,6 @@ README.patched.rst: README.rst src/syncevolution
-e 'sub run { $$cmd = shift; $$buffer = `env LD_LIBRARY_PATH=src/syncevo/.libs:src/gdbusxx/.libs:src/build-synthesis/src/.libs:$$ENV{LD_LIBRARY_PATH} $$cmd`; $(RUN_SYNCEVOLUTION_CHECK) }' \
-e 'while (<>) {' \
-e 's/^:Version: .*/:Version: $(VERSION)/;' \
- -e 's/:Date: .*/":Date: " . `date +%Y-%m-%d`/e;' \
-e 'if (s;(<< see "syncevolution --sync-property ." >>\n);run("src/syncevolution --daemon=no --sync-property ?") || $$1;e) { $$syncfound=1; }' \
-e 'if (s;(<< see "syncevolution --datastore-property ." >>\n);run("src/syncevolution --daemon=no --source-property ?") || $$1;e) { $$sourcefound=1; }' \
-e 'print;' \
@@ -365,7 +364,6 @@ else
README.patched.rst: README.rst
$(AM_V_GEN)perl -p \
-e 's/^:Version: .*/:Version: $(VERSION)/;' \
- -e 's/:Date: .*/":Date: " . `date +%Y-%m-%d`/e;' \
$< >$@
endif
CLEANFILES += README.patched.rst
--
2.34.1
[signature.asc (application/pgp-signature, inline)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 10:03:51 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.