[Pkg-xmpp-devel] Bug#1024292: swift-im: reproducible builds: Embeds build date in /usr/bin/swiften-config

Vagrant Cascadian vagrant at reproducible-builds.org
Thu Nov 17 04:45:50 GMT 2022


Source: swift-im
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 build date is embedded in /usr/bin/swiften-config:

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

  20221108
  vs.
  20231213

The attached patch to debian/rules fixes this by creating a
VERSION.swift file with the upstream version before running the build,
which is read to get the version information so that it does not fall
back to a date for a version string.

According to my local tests, With this patch applied swift-im should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining swift-im!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Create-VERSION.swift-file-before-runnin.patch
Type: text/x-diff
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-xmpp-devel/attachments/20221116/9888f869/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/pkg-xmpp-devel/attachments/20221116/9888f869/attachment.sig>


More information about the Pkg-xmpp-devel mailing list