Debian Bug report logs - #974942
git: parallel building of documentation causes missing content

Package: src:git; Maintainer for src:git is Jonathan Nieder <jrnieder@gmail.com>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Mon, 16 Nov 2020 21:27:01 UTC

Severity: normal

Tags: patch

Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Jonathan Nieder <jrnieder@gmail.com>:
Bug#974942; Package src:git. (Mon, 16 Nov 2020 21:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Jonathan Nieder <jrnieder@gmail.com>. (Mon, 16 Nov 2020 21:27:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: git: parallel building of documentation causes missing content
Date: Mon, 16 Nov 2020 13:24:14 -0800
[Message part 1 (text/plain, inline)]
Source: git
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs@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
[0001-debian-rules-Disable-parallel-build-for-documentatio.patch (text/x-diff, inline)]
From 417fcff6c34188a1c5dfa49ae0e6bbb61baf3bff Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@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

[signature.asc (application/pgp-signature, inline)]

Reply sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility. (Fri, 15 Oct 2021 23:15:03 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Fri, 15 Oct 2021 23:15:03 GMT) (full text, mbox, link).


Message #10 received at 974942-done@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: 974942-done@bugs.debian.org
Subject: Re: git: parallel building of documentation causes missing content
Date: Fri, 15 Oct 2021 16:12:34 -0700
[Message part 1 (text/plain, inline)]
On 2020-11-16, Vagrant Cascadian wrote:
> When the documentation is built in parallel, it can lead to missing
> content in manpages and other documentation:
...
> The attached patch to debian/rules works around this by disabling
> parallel building of the documentation.

This patch no longer appears necessary; git has been building
reproducibly for since mid-February 2021:

  https://tests.reproducible-builds.org/debian/history/amd64/git.html

Presumably this was due to some change in one of the toolchains used to
generate the documentation that got eventually got fixed...


live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 13 Nov 2021 07:26:35 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 10:57:42 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.