Bug#1034129: lomiri-action-api: reproducible-builds: build paths trigger differences

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Apr 10 01:38:48 BST 2023


Source: lomiri-action-api
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, as
well as some build paths embedded in documentation:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/lomiri-action-api.html

  /usr/share/doc/lomiri-action-doc/qml/lomiri-action-qml-api.index.gz

  ... filepath="/build/1st/lomiri-action-api-1.1.2/documentation/qml/qml-api/Action.qml
  vs.
  ... filepath="/build/2/lomiri-action-api-1.1.2/2nd/documentation/qml/qml-api/Action.qml

The attached patches to debian/rules fix this by passing
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via a dh_auto_configure override and
adds a dh_installdocs override to strip the build path from the
documentation.


With these patches applied, based on my local tests, lomiri-action-api
should build reproducibly on tests.reproducible-builds.org!


Thanks for maintaining lomiri-action-api!

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: 936 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230409/23663092/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Add-dh_installdocs-override-to-remove-b.patch
Type: text/x-diff
Size: 937 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230409/23663092/attachment-0001.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/20230409/23663092/attachment.sig>


More information about the Reproducible-bugs mailing list