Source: uhd Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
A build log file included with the shipped documentation files embeds the build time: https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/uhd.html /usr/share/doc/uhd-host/doxygen/latex/refman.log.gz 1 This·is·pdfTeX,·Version·3.14159265-2.6-1.40.21·(TeX·Live·2020/Debian)·(preloaded·format=pdflatex·2020.12.11)··11·DEC·2020·17:05 1 This·is·pdfTeX,·Version·3.14159265-2.6-1.40.21·(TeX·Live·2020/Debian)·(preloaded·format=pdflatex·2022.1.15)··15·JAN·2022·01:51 The attached patch fixes this by removing the documentation sources from the documentation directory in debian/rules. If the sources for the documentation are intentionally included, please consider adjusting the patch to just remove the refman.log file. With this issue fixed, uhd should become reproducible once it reaches bullseye, although unstable and experimental also vary build path, causing other reproducibility issues with uhd. Thanks for maintaining uhd! live well, vagrant
From 1bb35256f8c1a2ca429975179d09f43aced85c6e Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Mon, 14 Dec 2020 00:49:59 +0000 Subject: [PATCH] debian/rules: Remove source files from documentation directory. The installed package need not ship the source code to generate the html documentation. Some files such as refman.log include timestamp and other non-deterministic information about the build, resulting in reproducibility issues. --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 467ad4f..c83ee32 100755 --- a/debian/rules +++ b/debian/rules @@ -43,6 +43,8 @@ override_dh_auto_install: dh_auto_install chmod -x debian/tmp/usr/lib/uhd/tests/devtest/*.py - rm debian/libuhd-dev/usr/lib/cmake/uhd/ + # Remove source files used to generate documentation + rm -rf debian/tmp/usr/share/doc/uhd/doxygen/latex get-orig-source: echo $(VER) $(GITREV) -- 2.29.2
signature.asc
Description: PGP signature