Source: mdnsd Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath usrmerge shell X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The build path and several binary paths are embedded in example Makefiles shipped in the mdsnd package: │ │ │ ├── ./usr/share/doc/mdnsd/examples/Makefile ... │ │ │ │ -ACLOCAL = ${SHELL} '/tmp/reprotest.277oHq/const_build_path/aux/missing' aclocal-1.16 │ │ │ │ +ACLOCAL = ${SHELL} '/tmp/reprotest.277oHq/build-experiment-1/aux/missing' aclocal-1.16 Since these values may differ with the installed system, in order to use the example Makefile, a person would have to regenerate it from Makefile.in and/or Makefile.am, which are also provided in the package. The attached patch fixes this by adjusting debian/mdnsd.examples to avoid installing the example Makefile. With this patch applied mdnsd should become reproducible on tests.reproducible-builds.org! Thanks for maintaining mdnsd! live well, vagrant
From 73985d4b673fbcbfe21e6cd2ccd915a40551bf52 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Tue, 22 Feb 2022 02:00:04 +0000 Subject: [PATCH] mdnsd.examples: Avoid installing generated Makefile. The generated Makefile embeds full paths to scripts containing the build path, so would need to be regenerated anyways. It also contains other differences (e.g. usrmerge vs. non-usrmerge, /bin/sh implementation differences, etc.) which may not be consistant with the user's system. --- debian/mdnsd.examples | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/mdnsd.examples b/debian/mdnsd.examples index e39721e..f71db6f 100644 --- a/debian/mdnsd.examples +++ b/debian/mdnsd.examples @@ -1 +1,2 @@ -examples/* +examples/Makefile.* +examples/*.service -- 2.35.1
signature.asc
Description: PGP signature