Bug#995143: xdmf: reproducible builds: Embeds buildpath, kernel and uname path

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Sep 27 01:44:45 BST 2021


Source: xdmf
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath usrmerge kernel
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The build path, kernel version and path to the uname binary are
embedded in /usr/lib/x86_64-linux-gnu/cmake/Xdmf/XdmfConfig.cmake,
which cause reproducibility issues.

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

  set(XDMF_CMAKE_BINARY_DIR "/build/1st/xdmf-3.0+git20190531/debian/build-mpi-python3.9")
  vs.
  set(XDMF_CMAKE_BINARY_DIR "/build/2/xdmf-3.0+git20190531/2nd/debian/build-mpi-python3.9")

The attached patch fixes this by sanitizing these values in the
XdmfConfig.cmake file.

It is unclear if XdmfConfig.cmake actually needs to be included in the
package; a better course of action might be to remove the file entirely.


With this patch applied(or removing XdmfConfig.cmake from the package),
xdmf should become reproducible on tests.reproducible-builds.org.


Thanks for maintaining xdmf!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Sanitize-XdmfConfig.cmake-to-fix-reprod.patch
Type: text/x-diff
Size: 1448 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210926/e0808d9c/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/20210926/e0808d9c/attachment.sig>


More information about the Reproducible-bugs mailing list