Source: gtk-sharp3 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, several binary paths, and the value of the SHELL variable are embedded in example Makefiles shipped in the package: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/diffoscope-results/gtk-sharp3.html ACLOCAL·=·${SHELL}·/build/1st/gtk-sharp3-2.99.3/missing·aclocal-1.14 vs. ACLOCAL·=·${SHELL}·/build/2/gtk-sharp3-2.99.3/2nd/missing·aclocal-1.14 GREP·=·/bin/grep vs. GREP·=·/usr/bin/grep SHELL·=·/bin/bash vs. SHELL·=·/bin/sh Since these values may differ with the installed system, in order to use the example Makefiles, a person would have to regenerate them from Makefile.am or Makefile.in, which are also provided. The attached patch adjusts debian/gtk-sharp3-examples.install to avoid installing the Makefiles. If that is somehow not an option, an alternate option would be to sanitize the Makefiles stripping the build path (or replacing with /usr/src?), and possibly passing various variables to configure (e.g. GREP=/bin/grep, SHELL=/bin/sh, ...). Thanks for maintaining gtk-sharp3! live well, vagrant
From f8cfb91164ef09f34b3f820c7fe4ad53a419bccb Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Wed, 16 Jun 2021 21:06:10 +0000 Subject: [PATCH 1/2] Do not install example Makefiles. The example Makefiles embed build paths, binary paths (e.g. /bin/grep vs. /usr/bin/grep) and the value of the SHELL variable. Since these values may differ with the installed system, in order to use the example Makefiles, a person would have to regenerate them from Makefile.am or Makefile.in, which are also provided. --- debian/gtk-sharp3-examples.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/gtk-sharp3-examples.install b/debian/gtk-sharp3-examples.install index 8d73b12..f486eca 100644 --- a/debian/gtk-sharp3-examples.install +++ b/debian/gtk-sharp3-examples.install @@ -2,5 +2,5 @@ sample/*.cs /usr/share/gtk-sharp3-examples/ sample/*.exe /usr/share/gtk-sharp3-examples/ sample/GtkDemo/*.cs /usr/share/gtk-sharp3-examples/GtkDemo sample/GtkDemo/*.exe /usr/share/gtk-sharp3-examples/GtkDemo -sample/Makefile /usr/share/gtk-sharp3-examples/ -sample/pixmaps/ /usr/share/gtk-sharp3-examples/ +sample/pixmaps/Makefile.* /usr/share/gtk-sharp3-examples/pixmaps/ +sample/pixmaps/*.png /usr/share/gtk-sharp3-examples/pixmaps/ -- 2.20.1
signature.asc
Description: PGP signature