Source: openmpi Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: username hostname X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The build username and build system hostname are embedded in binaries shipped in openmpi: https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/openmpi.html ./usr/bin/ompi_info ionos11-amd64 vs. i-capture-the-hostname pbuilder1 vs. pbuilder2 The attached patch fixes this by setting USER and HOSTNAME from debian/rules, as documented in the upstream README. This patch does not address all reproducibility issues in openmpi (e.g. build paths), though applying it reduces the diff for the remaining issues. Thanks for maintaining openmpi! live well, vagrant
From feca5c55322a9d86b2e6d11dfcf338198c1c78aa Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Wed, 23 Jun 2021 22:55:51 +0000 Subject: [PATCH] debian/rules: Set USER and HOSTNAME to avoid embedding in binaries. The upstream README documents setting USER and HOSTNAME to avoid embedding the build username and build hostname to achieve Reproducible Builds. https://tests.reproducible-builds.org/debian/issues/user_hostname_manually_added_requiring_further_investigation_issue.html --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 0489ab0d..7eac2ee6 100755 --- a/debian/rules +++ b/debian/rules @@ -73,6 +73,9 @@ FCFLAGS += -O3 #STATIC_CONFIG_PARAMS = --enable-static STATIC_CONFIG_PARAMS = +# Do not embed build username or build system hostname, see README +export HOSTNAME=hostname +export USER=username %: dh $@ -- 2.32.0
signature.asc
Description: PGP signature