Bug#1036522: pytorch-audio: reproducible-builds: build paths trigger differences

Vagrant Cascadian vagrant at reproducible-builds.org
Sun May 21 23:26:27 BST 2023


Source: pytorch-audio
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 and
various other differences:

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

The attached patch to the upstream tools/setup_helpers/extension.py
fixes this by passing -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to CMake.

With this patch applied, based on my local tests, pytorch-audio should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining pytorch-audio!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tools-setup_helpers-extension.py-Pass.patch
Type: text/x-diff
Size: 1117 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230521/6ade1893/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/reproducible-bugs/attachments/20230521/6ade1893/attachment.sig>


More information about the Reproducible-bugs mailing list