Source: pnetcdf Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The build date is embedded in /usr/bin/pnetcdf-config: https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/pnetcdf.html CFLAGS="-g·-O2·-ffile-prefix-map=/build/1st/pnetcdf-1.12.3=.·-fstack-protector-strong... vs. CFLAGS="-g·-O2·-ffile-prefix-map=/build/2/pnetcdf-1.12.3/2nd=.·-fstack-protector-strong... config_date="Mon·Jun·19·19:34:17·-12·2023" vs. config_date="Tue·Jun·20·21:34:17·+14·2023" The attached patch fixes this by replacing these strings with placeholder values in debian/rules. According to my local tests, with this patch applied pnetcdf should build reproducibly on tests.reproducible-builds.org once it migrates to debian/trixie! Unfortunately, there are still other outstanding issues with build paths, which are tested in unstable or experimental. Thanks for maintaining pnetcdf! live well, vagrant
From f19bcebd1114f70775a3596b33b16f89dec26070 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Tue, 27 Jun 2023 12:16:39 -0700 Subject: [PATCH] debian/rules: Remove timestamp and build path from pnetcdf-config in dh_auto_install override. https://reproducible-builds.org/docs/timestamps/ https://reproducible-builds.org/docs/build-path/ --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index d66a066..068775a 100755 --- a/debian/rules +++ b/debian/rules @@ -68,3 +68,4 @@ override_dh_auto_test: override_dh_auto_install: $(MAKE) -C build-static install DESTDIR=$(DESTDIR) find $(DESTDIR) -name '*.la' -delete + sed -i -e 's,config_date=.*,config_date=BUILDDATE,g' -e 's,$(CURDIR),BUILDPATH,g' ./debian/tmp/usr/bin/pnetcdf-config -- 2.39.2
signature.asc
Description: PGP signature