Bug#1029800: aribas: reproducible-builds: build id differences in /usr/bin/aribas

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Jan 27 22:16:18 GMT 2023


Source: aribas
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Building from a different directory results in a different build id
embedded in /usr/bin/aribas:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/aribas.html

  Build·ID:·7652115b45271e393b31873efede354e1cb36769
  vs.
  Build·ID:·49cfcb42aa13407e5d7e5ce6e50352610d448a78

The attached patch to the upstream src/Makefile fixes this by adding the
-ffile-prefix-map argument in CFLAGS, removing the build path before the
buildid is calculated.

According to my local tests, with this patch applied aribas should build
reproducibly on tests.reproducible-builds.org!

Thanks for maintaining aribas!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-src-Makefile-Avoid-build-path-changing-the-build.patch
Type: text/x-diff
Size: 807 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230127/0010c976/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/20230127/0010c976/attachment.sig>


More information about the Reproducible-bugs mailing list