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...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
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: ---


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

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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
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

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:	org-manual.org org-guide.org
	$(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: https://list.orgmode.org/uee67gr96@gentoo.org/
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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c908871e0a615a3a4ce3e21dabfa5c1b1712011

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

    app-emacs/org-mode: Fix parallel build failure
    
    Closes: https://bugs.gentoo.org/829055
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

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