diff mbox series

[1/1] Fix race issues for parallel build

Message ID 9c5f0c327a632d9004d80fc588aa5b861b3ebe59.1731339499.git.liezhi.yang@windriver.com
State New
Headers show
Series [1/1] Fix race issues for parallel build | expand

Commit Message

Robert Yang Nov. 11, 2024, 3:38 p.m. UTC
From: Robert Yang <liezhi.yang@windriver.com>

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

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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 ...tbl.am-Fix-race-issues-for-parallel-.patch | 31 +++++++++++++++++++
 meta/recipes-extended/groff/groff_1.23.0.bb   |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 meta/recipes-extended/groff/files/0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch

Comments

Robert Yang Nov. 11, 2024, 4:13 p.m. UTC | #1
Sorry, the subject was wrong, fix the subject to:

groff: Fix race issues for parallel build

Updated in the PULL:

   https://github.com/robertlinux/yocto rbt/race
   https://github.com/robertlinux/yocto/tree/rbt/race

// Robert


On 11/11/24 23:38, Robert Yang via lists.openembedded.org wrote:
> From: Robert Yang <liezhi.yang@windriver.com>
> 
> Fixed race issues for parallel build:
> groff: error: couldn't exec soelim: Permission
> 
> And:
> groff: error: couldn't exec grn: Permission denied
> 
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>   ...tbl.am-Fix-race-issues-for-parallel-.patch | 31 +++++++++++++++++++
>   meta/recipes-extended/groff/groff_1.23.0.bb   |  1 +
>   2 files changed, 32 insertions(+)
>   create mode 100644 meta/recipes-extended/groff/files/0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch
> 
> diff --git a/meta/recipes-extended/groff/files/0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch b/meta/recipes-extended/groff/files/0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch
> new file mode 100644
> index 0000000000..de4a55bbab
> --- /dev/null
> +++ b/meta/recipes-extended/groff/files/0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch
> @@ -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:
> diff --git a/meta/recipes-extended/groff/groff_1.23.0.bb b/meta/recipes-extended/groff/groff_1.23.0.bb
> index 8a16321479..34a42c7e26 100644
> --- a/meta/recipes-extended/groff/groff_1.23.0.bb
> +++ b/meta/recipes-extended/groff/groff_1.23.0.bb
> @@ -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"
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#206959): https://lists.openembedded.org/g/openembedded-core/message/206959
> Mute This Topic: https://lists.openembedded.org/mt/109516791/7304958
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [liezhi.yang@eng.windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/recipes-extended/groff/files/0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch b/meta/recipes-extended/groff/files/0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch
new file mode 100644
index 0000000000..de4a55bbab
--- /dev/null
+++ b/meta/recipes-extended/groff/files/0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch
@@ -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:
diff --git a/meta/recipes-extended/groff/groff_1.23.0.bb b/meta/recipes-extended/groff/groff_1.23.0.bb
index 8a16321479..34a42c7e26 100644
--- a/meta/recipes-extended/groff/groff_1.23.0.bb
+++ b/meta/recipes-extended/groff/groff_1.23.0.bb
@@ -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"