Source: git
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

When the documentation is built in parallel, it can lead to missing
content in manpages and other documentation:

  
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/git.html

The attached patch to debian/rules works around this by disabling
parallel building of the documentation.

live well,
  vagrant
From 417fcff6c34188a1c5dfa49ae0e6bbb61baf3bff Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Mon, 16 Nov 2020 20:52:45 +0000
Subject: [PATCH] debian/rules: Disable parallel build for documentation.

Building the documentation in parallel can result in missing content
in manpages and other documentation files.
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index aac0c2b14e..e213ee8ff8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -82,9 +82,9 @@ override_dh_auto_test-arch:
 
 override_dh_auto_build-indep: build-stamp
 	# git-man, git-doc
-	$(MAKE) -CDocumentation man $(DOCS) $(DOC_OPTS)
+	$(MAKE) -CDocumentation man $(DOCS) $(DOC_OPTS) -j1
 	# git-mediawiki
-	$(MAKE) -Ccontrib/mw-to-git all $(OPTS)
+	$(MAKE) -Ccontrib/mw-to-git all $(OPTS) -j1
 
 override_dh_auto_test-indep:
 
-- 
2.29.2

Attachment: signature.asc
Description: PGP signature

Reply via email to