Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829055 - app-emacs/org-mode-9.5 fails to compile: Cannot resolve lock conflict in batch mode
Summary: app-emacs/org-mode-9.5 fails to compile: Cannot resolve lock conflict in batc...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNU Emacs project
Keywords: UPSTREAM
Depends on:
Reported: 2021-12-13 08:15 UTC by Agostino Sarubbo
Modified: 2021-12-22 08:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,52.83 KB, text/plain)
2021-12-13 08:15 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-12-13 08:15:50 UTC

Issue: app-emacs/org-mode-9.5 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

This machine uses clang as a compiler and lld as a linker
Comment 1 Agostino Sarubbo gentoo-dev 2021-12-13 08:15:52 UTC
Created attachment 758739 [details]

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-13 08:18:42 UTC
Parallel build failure, I think.
Comment 3 Ulrich Müller gentoo-dev 2021-12-13 10:54:36 UTC
doc/Makefile has this:

org.texi orgguide.texi:
	$(BATCH) 				      \
	  --eval '(add-to-list `load-path "../lisp")' \
	  --eval '(load "../mk/org-fixup.el")' 	      \
	  --eval '(org-make-manuals)'

Same prerequisites and same recipe, but different targets. Nothing prevents it from running twice in parallel.
Comment 4 Ulrich Müller gentoo-dev 2021-12-20 19:41:48 UTC
Reported upstream:
Comment 5 Larry the Git Cow gentoo-dev 2021-12-22 08:41:17 UTC
The bug has been closed via the following commit(s):

commit 1c908871e0a615a3a4ce3e21dabfa5c1b1712011
Author:     Ulrich Müller <>
AuthorDate: 2021-12-22 08:39:02 +0000
Commit:     Ulrich Müller <>
CommitDate: 2021-12-22 08:41:02 +0000

    app-emacs/org-mode: Fix parallel build failure
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Ulrich Müller <>

 .../files/org-mode-9.5-parallel-make.patch         | 73 ++++++++++++++++++++++
 app-emacs/org-mode/org-mode-9.5.ebuild             |  2 +
 2 files changed, 75 insertions(+)