Bug#1021799: pgrouting: reproducible builds: Embeds timezone-specific date in libpgrouting-3.4.so

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Oct 14 21:26:32 BST 2022


Source: pgrouting
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 time is embedded in
/usr/lib/postgresql/14/lib/libpgrouting-3.4.so:

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

  2022/10/11
  vs.
  2022/10/12

The attached patch to CMakeLists.txt fixes this by passing the UTC
argument to the TIMESTAMP function.

According to my local tests, with this patch applied, and another patch
soon to be submitted for embedded kernel versions, pgrouting should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining pgrouting!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CMakeLists.txt-Specify-UTC-for-TIMESTAMP.patch
Type: text/x-diff
Size: 875 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20221014/c43887ff/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-grass-devel/attachments/20221014/c43887ff/attachment.sig>


More information about the Pkg-grass-devel mailing list