Bug#1038971: c-munipack: reproducible-builds: build path results in different buildid

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Jun 23 21:07:04 BST 2023


Source: c-munipack
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 buildid differs when build in a different build path.

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

  ...NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·779103372be0782008ccd2307e5a845e0e8e619c
  vs.
  ...NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·e910539f72e2c7c109edc3cee951ea623aa26ca0

The attched patch to debian/rules passes
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to use a relative value for rpath.

Alternately, switching to using debhelper compat level 14 would enable
this by default, although that compat level is not yet considered
stable.

According to my local tests, with this patch applied (and the timestamp
patch recently submitted) c-munipack should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining c-munipack!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-DCMAKE_BUILD_RPATH_USE_ORIGIN-ON-t.patch
Type: text/x-diff
Size: 835 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230623/071136f8/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/20230623/071136f8/attachment.sig>


More information about the Reproducible-bugs mailing list