Source: libtheora Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath usrmerge X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The build path and several binary paths are embedded in example Makefile shipped in the package: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/libtheora.html ./usr/share/doc/libtheora-dev/examples/Makefile ACLOCAL·=·${SHELL}·'/build/1st/libtheora-1.1.1+dfsg.1/missing'·aclocal-1.16 vs. ACLOCAL·=·${SHELL}·'/build/2/libtheora-1.1.1+dfsg.1/2nd/missing'·aclocal-1.16 GREP·=·/bin/grep vs. GREP·=·/usr/bin/grep 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.am, which is also provided. The attached patch adjusts debian/libtheora-doc.examples to only install Makefile.am. 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 libtheora! live well, vagrant
From 680fb3e29c50fb59deb1151a850f657532b59f3f Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Fri, 9 Jul 2021 05:39:06 +0000 Subject: [PATCH 2/2] Do not install example Makefile. The build path and several binary paths are embedded in a Makefile shipped in the package. 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.am, which is included in the package. --- debian/libtheora-doc.examples | 1 - 1 file changed, 1 deletion(-) diff --git a/debian/libtheora-doc.examples b/debian/libtheora-doc.examples index 7846b89..a6371a7 100644 --- a/debian/libtheora-doc.examples +++ b/debian/libtheora-doc.examples @@ -1,4 +1,3 @@ examples/*.c examples/*.h examples/*.am -examples/Makefile -- 2.32.0
signature.asc
Description: PGP signature