Source: apbs Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Various example io.mc files include timestamps and timing information: https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/apbs.html /usr/share/apbs/examples/FKBP/io.mc #·Creation·Date·and·Time:··Mon·Nov·29·17:45:07·2021 vs. #·Creation·Date·and·Time:··Tue·Jan··3·05:37:35·2023 Vacc_SASA:·Time·elapsed:·1.315417 vs. Vacc_SASA:·Time·elapsed:·1.368298 The attached patch fixes this by removing these files from debian/rules in the dh_auto_install override. If it is not appropriate to remove the io.mc files, another approach might be to sanitize out all the timestamps and timing information, although this would seem likely to be a game of whack-a-mole over time. With this patch applied, apbs should build reproducibly on tests.reproducible-builds.org once it migrates to the the testing/bookworm suite, although unstable and experimental also vary build paths which trigger other issues. Thanks for maintaining apbs! live well, vagrant
From 342fc07647699e1987dd8d012f413c4d90898fbd Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Wed, 1 Dec 2021 02:23:08 +0000 Subject: [PATCH] debian/rules: Remove io.mc test suite logs from examples. These files include timestamps and precise timing information which will almost always vary between two builds. https://reproducible-builds.org/docs/timestamps/ --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index bb4201a..3409962 100755 --- a/debian/rules +++ b/debian/rules @@ -30,6 +30,9 @@ override_dh_auto_build: override_dh_auto_install: dh_auto_install --sourcedir=apbs --destdir=$(CURDIR)/debian/tmp/ + # Remove test suite log files, which include timing + # information which cause reproducibility issues + find debian/tmp/ -name io.mc -delete -print override_dh_auto_clean: dh_auto_clean --sourcedir=apbs -- 2.34.1
signature.asc
Description: PGP signature