[Debichem-devel] Bug#1004005: openmm: reproducible-builds: BuildId differences triggered by RPATH

Vagrant Cascadian vagrant at reproducible-builds.org
Wed Jan 19 08:02:39 GMT 2022


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

The RPATH contains the build path resulting in different buildid:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/openmm.html

The attached patch to debian/rules passes
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via a dh_auto_configure override,
which should use a relative path for RPATH.

Alternately, updating the packaging to debhelper compat level 14 should
fix this, although it is currently an experimental compat level.

With this patch applied, openmm *should* build reproducibly on
tests.reproducible-builds.org for the version currently in unstable,
although the version in experimental seems to embed the build path in
additional and/or non-deterministic ways.


Thanks for maintaining openmm!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-v.patch
Type: text/x-diff
Size: 990 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20220119/2de45bc3/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/debichem-devel/attachments/20220119/2de45bc3/attachment.sig>


More information about the Debichem-devel mailing list