Bug#1021469: lam: reproducible builds: Embeds build time, username and hostname in various files:

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Oct 9 01:54:47 BST 2022


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

The time, username and hostname are embedded in /usr/bin/laminfo and
various other files:

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

  pbuilder1
  vs.
  pbuilder2

  Sat·Sep·23·17:14:47·-12·2023
  vs.
  Mon·Aug·22·13:46:30·+14·2022

  ionos5-amd64
  vs.
  i-capture-the-hostname

The attached patch fixes this by setting placehodler values for
LAM_CONFIGURE_USER and LAM_CONFIGURE_HOST and uses SOURCE_DATE_EPOCH for
the timestamp.

There are other outstanding issues, that prevent this from becoming
fully reproducible (build paths are embedded), but applying this patch
should help reduce the differences to troubleshoot the remaining issues.

While I tested this patch originally, I have not recently been able to
succesfully build lam with or without the patch applied.

Thanks for maintaining lam!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-config-lam_functions.m4-Use-SOURCE_DATE_EP.patch
Type: text/x-diff
Size: 1555 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20221008/94e2eba2/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/20221008/94e2eba2/attachment-0001.sig>


More information about the Reproducible-bugs mailing list