[Debichem-devel] Bug#1004005: Bug#1004005: openmm: reproducible-builds: BuildId differences triggered by RPATH
Vagrant Cascadian
vagrant at reproducible-builds.org
Wed Jan 19 15:43:01 GMT 2022
On 2022-01-19, Andrius Merkys wrote:
> 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 ?
I haven't yet identified the cause of the other issues.
I think the RPATH issues are solved by the submitted patch; at the very
least it massively reduces the differences!
live well,
vagrant
-------------- 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/c006df91/attachment.sig>
More information about the Debichem-devel
mailing list