Source: cxref Severity: normal Tags: patch User: [email protected] Usertags: buildpath X-Debbugs-Cc: [email protected]
Various documentation files embed the build path used during the build. https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/cxref.html /usr/share/doc/cxref-doc/README.c.html CPP··:·/build/1st/cxref-1.6e/cpp/cxref-cpp·-cxref-cpp-defines·/build/1st/cxref-1.6e/cpp/... v. CPP··:·/build/2/cxref-1.6e/2nd/cpp/cxref-cpp·-cxref-cpp-defines·/build/2/cxref-1.6e/2nd/cpp/... The attached patch replaces the build path in the documentation from debian/rules. The patch is admittedly a shotgun approach, ideas how to make a more elegant fix that could ideally be submitted upstream would be appreciated! With this patch applied(and the timestamp and usrmerge patches submitted earlier), cxref should become reproducible on tests.reproducible-builds.org. Thanks for maintaining cxref! live well, vagrant
From 7c9224f3c74095e0b63a85a2d53c624e77bb3cdf Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <[email protected]> Date: Fri, 8 Oct 2021 17:43:55 +0000 Subject: [PATCH 3/4] debian/rules: Replace the build paths in the documentation. https://tests.reproducible-builds.org/debian/issues/captures_build_path_issue.html --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index d28ac30..55c313d 100755 --- a/debian/rules +++ b/debian/rules @@ -64,6 +64,9 @@ install-stamp: build-stamp $(MAKE) install DESTDIR=`pwd`/debian/tmp $(MAKE) docs DESTDIR=`pwd`/debian/tmp + # Remove build path from documentation + find doc/ -type f -exec sed -i -e "s,$(CURDIR),BUILDPATH,g" '{}' \; + mkdir -p debian/tmp/usr/share/cxref mv debian/tmp/etc/cxref/cxref-cpp.defines debian/tmp/usr/share/cxref -- 2.33.0
signature.asc
Description: PGP signature

