Bug#1021800: pgrouting: reproducible builds: Embeds kernel version of build machine

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Oct 14 22:13:38 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 kernel version of the build environment 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

  Linux-5.18.0-0.deb11.4-amd64
  vs.
  Linux-5.10.0-18-amd64

The attached patch to src/version/version.h.in fixes this by using
CMAKE_SYSTEM_NAME instead of CMAKE_SYSTEM.

According to my local tests, with this patch applied, and the patch
submitted in #102179 to fix timestamps, 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: 0002-src-version-version.h.in-Use-CMAKE_SYSTEM_NAME-to-av.patch
Type: text/x-diff
Size: 1062 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20221014/51bf9d02/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/51bf9d02/attachment.sig>


More information about the Pkg-grass-devel mailing list