From: Lei Maohui <leimao...@fujitsu.com> resource-agents is built failed after poky upgraded autoconf to 2.73.
Signed-off-by: Lei Maohui <leimao...@fujitsu.com> --- .../resource-agents/autoconf-2.73.patch | 30 +++++++++++++++++++ .../resource-agents_4.5.0.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/autoconf-2.73.patch diff --git a/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/autoconf-2.73.patch b/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/autoconf-2.73.patch new file mode 100644 index 0000000..af188d2 --- /dev/null +++ b/meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/autoconf-2.73.patch @@ -0,0 +1,30 @@ +From 749d10d4c61a84d8ba506f178daededac8062c3f Mon Sep 17 00:00:00 2001 +From: Lei Maohui <leimao...@fujitsu.com> +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 check + +Upstream-Status: Inappropriate +Signed-off-by: Lei Maohui <leimao...@fujitsu.com> +--- + 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.1 diff --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-agents_4.5.0.bb @@ -21,6 +21,7 @@ SRC_URI = "git://github.com/ClusterLabs/resource-agents;branch=main;protocol=htt file://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
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60910): https://lists.yoctoproject.org/g/yocto/message/60910 Mute This Topic: https://lists.yoctoproject.org/mt/101025050/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-