Source: buddy Severity: normal Tags: patch User: [email protected] Usertags: buildpath usrmerge X-Debbugs-Cc: [email protected]
The build path and various binary paths are embedded in /usr/share/doc/libbdd-dev/examples/solitare/Makefile: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/buddy.html ACLOCAL·=·${SHELL}·'/build/1st/buddy-2.4+dfsg/tools/missing'·aclocal-1.16 vs. ACLOCAL·=·${SHELL}·'/build/2/buddy-2.4+dfsg/2nd/tools/missing'·aclocal-1.16 EGREP·=·/bin/grep·-E vs. EGREP·=·/usr/bin/grep·-E The attached patch fixes this by removing the example Makefile, which would have to be regenerated anyways to match the running system. If removing the example Makefile is not viable, it might be possible to sanitize the build paths, and add relevent arguments to configure (e.g. EGREP='/bin/grep -e') to use the specified paths. According to my local tests, with this patch applied buddy should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining buddy! live well, vagrant
From 157d368d3bba2def3069861780acb0ff26fa66c5 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <[email protected]> Date: Wed, 15 Mar 2023 19:00:17 -0700 Subject: [PATCH] debian/rules: Remove example Makefile containing build paths and various binary paths. As the Makefile would need to be regenerated from Makefile.am or Makefile.in in order to match the running system, remove it. https://reproducible-builds.org/docs/build-path/ https://tests.reproducible-builds.org/debian/issues/unstable/paths_vary_due_to_usrmerge_issue.html --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index b0f63f0..1fe0f65 100755 --- a/debian/rules +++ b/debian/rules @@ -22,7 +22,7 @@ override_dh_installexamples: rm -f debian/libbdd-dev/usr/share/doc/libbdd-dev/examples/bddcalc/Makefile* ; \ sed -i "2a g++ -O2 -o bddcalc hashtbl.cxx lexer.cxx parser.cxx -lbdd -lm" debian/libbdd-dev/usr/share/doc/libbdd-dev/examples/bddcalc/runtest ; \ rm -f debian/libbdd-dev/usr/share/doc/libbdd-dev/examples/Makefile - # No idea what to do in examples/solitare + rm -f debian/libbdd-dev/usr/share/doc/libbdd-dev/examples/solitare/Makefile override_dh_installchangelogs: dh_installchangelogs $(CURDIR)/ChangeLog -- 2.39.2
signature.asc
Description: PGP signature

