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

Andrius Merkys merkys at debian.org
Wed Jan 19 08:52:08 GMT 2022


Hi,

On 2022-01-19 10:02, Vagrant Cascadian wrote:
> 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.

Thanks a lot for the patch!

> 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.

Maybe a possible long-term solution would be to use chrpath to set the
RPATH to point to the absolute location of private libraries, like
/usr/lib/${DEB_HOST_MULTIARCH}/openmm ?

Best,
Andrius



More information about the Debichem-devel mailing list