groff: Fix race issues for parallel build

Fixed race issues for parallel build:
groff: error: couldn't exec soelim: Permission

And:
groff: error: couldn't exec grn: Permission denied

(From OE-Core rev: 44b625a820a22c99f4fa1d4ed6b6de98c5d75884)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
(cherry picked from commit b9ee7ea9ab05a1887c863dc9fccc65cb9e6850df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Robert Yang 2024-11-11 06:32:14 -08:00 committed by Steve Sakoman
parent 9049004910
commit 54b2e90c01
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,31 @@
From 771686c042d5f494550d0399f36e00b1ca557b2d Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Mon, 11 Nov 2024 14:12:51 +0000
Subject: [PATCH] contrib/hdtbl/hdtbl.am: Fix race issues for parallel build
Fixed race issues for parallel build:
groff: error: couldn't exec soelim: Permission
And:
groff: error: couldn't exec grn: Permission denied
Upstream-Status: Submitted [https://lists.gnu.org/archive/html/groff/2024-11/msg00097.html]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
contrib/hdtbl/hdtbl.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/hdtbl/hdtbl.am b/contrib/hdtbl/hdtbl.am
index 9384fac..70f7bc9 100644
--- a/contrib/hdtbl/hdtbl.am
+++ b/contrib/hdtbl/hdtbl.am
@@ -119,7 +119,7 @@ SUFFIXES += .roff .in .ps
-e "s|[@]EGREP[@]|$(EGREP)|" $< >$@
$(HDTBLPROCESSEDEXAMPLEFILES): $(DOC_GNU_EPS) groff troff eqn pic tbl \
- grops grn font/devps/stamp contrib/hdtbl/examples/common.roff
+ grops grn soelim font/devps/stamp contrib/hdtbl/examples/common.roff
uninstall_groffdirs: uninstall-hdtbl-hook
uninstall-hdtbl-hook:

View File

@ -13,6 +13,7 @@ SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz \
file://0001-build-Fix-Savannah-64681-webpage.ps-deps.patch \
file://0001-build-meintro_fr.ps-depends-on-tbl.patch \
file://0001-hdtbl-Fix-Savannah-66316-missing-grn-dep.patch \
file://0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch \
"
SRC_URI[sha256sum] = "6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13"