Source: groff Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: usrmerge environment X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
When groff is built on a system with /usr merged, the paths to bash and grep get embedded in various files (/usr/bin/gdiffmk and some example documentation), resulting in an unreproducible build. The attached patch passes BASH_PROG=/bin/bash and GREP=/bin/grep, which is compatible with both a usrmerge and non-usrmerge system. live well, vagrant
From 3daefd47779ff0c1bdaf23a023f313127cc19f84 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sun, 19 Jan 2020 11:37:53 -0800 Subject: [PATCH] debian/rules: Pass BASH_PROG and GREP to configure to ensure reproducible builds regardless of weather system is a usrmerge or non-usrmerge system. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 4562bd67..27d4be2a 100755 --- a/debian/rules +++ b/debian/rules @@ -47,7 +47,7 @@ override_dh_autoreconf: override_dh_auto_configure: -rm -f config.log config.cache - $(buildflags) dh_auto_configure -- $(confflags) + $(buildflags) dh_auto_configure -- $(confflags) BASH_PROG=/bin/bash GREP=/bin/grep ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) $(buildflags_native) dh_auto_configure \ --builddirectory=debian/build-native -- \ -- 2.20.1
signature.asc
Description: PGP signature