Source: autogen Severity: normal Tags: patch User: [email protected] Usertags: usrmerge environment X-Debbugs-Cc: [email protected]
The paths for various binaries (grep, bash, sh) differ on a merged /usr system, and autogen embeds those paths in several included files. The value of the SHELL environment variable also gets embedded into the build when set. The attached patch works around this in debian/rules by passing GREP, POSIX_SHELL and SHELL to configure to ensure reproducible builds regardless of environment or when build on a usrmerge system. Thanks for maintaining autogen! live well, vagrant
From 498ba7f94521c93ac1703f3b2890ed3542d00d83 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <[email protected]> Date: Sat, 1 Feb 2020 00:06:21 -0800 Subject: [PATCH] debian/rules: Pass GREP, POSIX_SHELL and SHELL to configure to ensure reproducible builds regardless of environment or when build on a usrmerge system. --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 4b3bf41..6d0084c 100755 --- a/debian/rules +++ b/debian/rules @@ -21,7 +21,8 @@ override_dh_auto_configure: --disable-silent-rules \ --enable-timeout=78 \ --with-libxml2-libs="$(shell $(DEB_HOST_GNU_TYPE)-pkg-config --libs libxml-2.0)" \ - --with-libxml2-cflags="$(shell $(DEB_HOST_GNU_TYPE)-pkg-config --cflags libxml-2.0)" + --with-libxml2-cflags="$(shell $(DEB_HOST_GNU_TYPE)-pkg-config --cflags libxml-2.0)" \ + GREP=/bin/grep POSIX_SHELL=/bin/bash SHELL=/bin/sh override_dh_auto_build: dh_auto_build --verbose -- 2.20.1
signature.asc
Description: PGP signature

