Source: libnet Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: usrmerge environment X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The paths for various binaries (grep, mkdir, sed) differ on a merged /usr system, and libnet embeds those paths into an example Makefile shipped in the libnet1-doc package. The attached patch works around this in debian/rules by passing GREP, MKDIR_P, SED and SHELL to configure, using the /bin path for these binaries which is compatible with both usrmerge and non-usrmerge systems. live well, vagrant
From e68c8de544b8f393d6bb9e20407e196b6cd8265a Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sun, 19 Jan 2020 17:43:22 -0800 Subject: [PATCH 1/3] debian/rules: Pass GREP, MKDIR_P SED and SHELL to configure, to ensure reproducible builds on a usrmerge system. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 578a6af..43f948a 100755 --- a/debian/rules +++ b/debian/rules @@ -13,4 +13,4 @@ CFLAGS += -Wno-uninitialized -Wno-unused-but-set-variable DEB_INSTALL_CHANGELOGS_libnet1 := doc/CHANGELOG DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) - +DEB_CONFIGURE_SCRIPT_ENV += GREP=/bin/grep MKDIR_P="/bin/mkdir -p" SED=/bin/sed SHELL=/bin/bash -- 2.20.1
signature.asc
Description: PGP signature