Bug#1033955: pike8.0: reproducible builds: kernel version affects buildid

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Apr 4 23:18:18 BST 2023


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

The build directory includes the running kernel version if PIKE_BUILD_OS
is not set, as upstream the Makefile uses "uname -s -r -m" set this
valu... resulting in a different build path during the build, which
indirectly changes the buildid of various binaries.

The attached patch to debian/rules fixes this by setting PIKE_BUILD_OS
to the value of DEB_HOST_GNU_TYPE, although any number of other
DEB_HOST_* variables could be used instead while still remaining
reproducible.

Unfortunately, this patch alone does not solve all reproducibility
issues with pike8.0, but applying this patch should significantly reduce
the differences, making it easier to debug remaining issues.

Thanks for maintaining pike8.0!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-export-PIKE_BUILD_OS-to-avoid-embedding.patch
Type: text/x-diff
Size: 794 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230404/b774b929/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/20230404/b774b929/attachment.sig>


More information about the Reproducible-bugs mailing list