Source: libforms Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpaths usrmerge X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The file /usr/share/doc/libforms-doc/html/xforms_images/Makefile.gz contains variable build paths (e.g. /build/1st/package-version vs. /build/2/package-version/2nd) and binary paths (e.g. /bin/grep vs. /usr/bin/grep), which causes reproducibility issues: https://reproducible-builds.org/docs/build-path/ In order to use use this Makefile, a person may need to regenerate it regardless from Makefile.am, so remove it from the package. Thanks for maintaining libforms! live well, vagrant
From 75f5cf2d202a7a80f9c10ca92b82df6ace9a58b3 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Tue, 17 Nov 2020 07:53:12 +0000 Subject: [PATCH] debian/rules: Remove generated example Makefile from libforms-doc. The generated Makefile contains variable build paths (e.g. /build/1st/package-version vs. /build/2/package-version/2nd) and binary paths (e.g. /bin/grep vs. /usr/bin/grep), which causes reproducibility issues: https://reproducible-builds.org/docs/build-path/ In order to use use this Makefile, a person may need to regenerate it regardless from Makefile.am, so remove it from the package. --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index ff5e0a9..26fe858 100755 --- a/debian/rules +++ b/debian/rules @@ -14,6 +14,12 @@ override_dh_auto_build-arch: override_dh_auto_build-indep: dh_auto_build -- -C doc html pdf +override_dh_install: + dh_install + # Remove generated Makefile, which contains variable build + # paths and binary paths. + rm -f debian/libforms-doc/usr/share/doc/libforms-doc/html/xforms_images/Makefile + override_dh_auto_test-indep: override_dh_auto_install-indep: -- 2.29.2
signature.asc
Description: PGP signature