Bug#1029807: borgbackup2: reproducible-builds: date in manpages

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Jan 28 01:06:52 GMT 2023


Source: borgbackup2
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The date is embedded in various manpages:

  https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/borgbackup2.html

  /usr/share/man/man1/borg2-benchmark-cpu.1.gz

  .TH·"BORG-BENCHMARK-CPU"·1·"2023-01-27"·""·"borg·backup·tool"
  vs.
  .TH·"BORG-BENCHMARK-CPU"·1·"2024-02-29"·""·"borg·backup·tool"

The attached patch fixes this by modifying setup_docs.py to use
SOURCE_DATE_EPOCH for a deterministic timestamp.

According to my local tests, with these patches applied borgbackup2 should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining borgbackup2!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: manpages-use-deterministic-timestamp.patch
Type: text/x-diff
Size: 1000 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230127/00b95227/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230127/00b95227/attachment.sig>


More information about the Reproducible-bugs mailing list