resource-agents: Fix build error with autoconf-2.73.
A message that is not in the archive (sent off-list or not yet received): [email protected]
ping
Quoted 94 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of leimaohui
Sent: Tuesday, August 29, 2023 11:44 AM
To: [email protected]
Cc: Lei, Maohui <[email protected]>
Subject: [yocto] [meta-cgl][PATCH] resource-agents: Fix build error with autoconf-2.73.From: Lei Maohui <[email protected]>
resource-agents is built failed after poky upgraded autoconf to 2.73.
Signed-off-by Lei Maohui <[email protected]>--- .../resource-agents/autoconf-2.73.patch | 30 +++++++++++++++++++ .../resource-agents_4.5.0.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/autoco nf-2.73.patch
diff --git a/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/autoc onf-2.73.patch b/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/autoc onf-2.73.patch
new file mode 100644
index 0000000..af188d2meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agent new file +2
-0+++ s/autoconf-2.73.patch@@ -0,0 +1,30 @@ +From 749d10d4c61a84d8ba506f178daededac8062c3f Mon Sep 17 00:00:002001
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agent new file +7
-0+From: Lei Maohui <[email protected]> +Date: Wed, 16 Aug 2023 02:43:08 +0000 +Subject: [PATCH] autoconf-2.7: + +To fix build error with autoconf-2.7: + +| configure: error: in'
/home/aarch64-test/tmp/work/aarch64-ubinux-linux/resource-agents/4.5.0-r0/build':
+| configure: error: C preprocessor "aarch64-ubinux-linux-gcc -E --sysroot=/home/aarch64-test/tmp/work/aarch64-ubinux-linux/resource-agents
/4.5.0-r0/recipe-sysroot -fstack-protector-strong -O2
-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security" fails sanity checkmeta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agent new file +21
-0+ +Upstream-Status: Inappropriate +Signed-off-by: Lei Maohui <[email protected]> +--- + configure.ac | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/configure.ac b/configure.ac index d682ad780..84444a525 +100644 +--- a/configure.ac ++++ b/configure.ac +@@ -883,7 +883,6 @@ else + -Wno-strict-aliasing + -Wpointer-arith + -Wstrict-prototypes +- -Wunsigned-char + -Wwrite-strings" + + # Additional warnings it might be nice to enable one day +-- +2.34.1diff --git a/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0 .bb b/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0 .bb
index 764a1d2..357669a 100644
---
a/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0 .bb
+++ b/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agent +++ s_4.5.0.bbmeta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agent new file +0
-0@@ -21,6 +21,7 @@ SRC_URI ="
git://github.com/ClusterLabs/resource-agents;branch=main;protocol=httfile://fix-install-sh-not-found.patch \ file://0001-ldirectord.service.in-use-run-instead-of-var-run.patch\
file://0001-ldirectord.service.in-set-correct-path-of-rm-command.patch \
+ file://autoconf-2.73.patch \ "SRCREV = "
fee181320547365d7f8c88cca2b32801412b933d"
--
2.25.1