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

Vagrant Cascadian vagrant at reproducible-builds.org
Wed Jan 19 16:00:23 GMT 2022


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

It looks like the addition of python3-simtk-dbgsym in the version in
experimental is what is causing the additional changes.

diffoscope output attached.


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: experiment-1.diffoscope.out.gz
Type: application/gzip
Size: 4972 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20220119/ca143f94/attachment.gz>
-------------- 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/ca143f94/attachment.sig>


More information about the Debichem-devel mailing list