From e1f95af4ba01519b7c933b99e35993509421d3ca Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 15 Apr 2026 13:42:08 -0700 Subject: [PATCH] meta-oe/recipes: disable C23 support to fix configure check Set ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23 compiler support, avoiding potential build failures as the package is not yet fully ported to support C23 standard. Signed-off-by: Khem Raj --- meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb | 2 +- meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb | 2 ++ meta-oe/recipes-extended/enscript/enscript_1.6.6.bb | 2 ++ meta-oe/recipes-extended/figlet/figlet_git.bb | 1 + meta-oe/recipes-extended/lprng/lprng_3.9.0.bb | 1 + meta-oe/recipes-extended/rsyslog/rsyslog_8.2512.0.bb | 1 + meta-oe/recipes-extended/zsync/zsync-curl_git.bb | 2 ++ meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb | 3 +++ meta-oe/recipes-support/pidgin/pidgin_2.14.14.bb | 1 + 9 files changed, 14 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb b/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb index 198552e5c6..3154db2705 100644 --- a/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb +++ b/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb @@ -15,7 +15,7 @@ SRCREV = "ebf1c90da05dea94648165e4f149abc20c979557" COMPATIBLE_HOST = "(arm|aarch64|i.86|x86_64).*-linux*" - +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" EXTRA_OECONF += "--enable-largefile --with-system-luajit --with-system-ck --without-gcc-arch --with-lib-prefix=no" PACKAGECONFIG ??= "" PACKAGECONFIG[aio] = "--enable-aio,--disable-aio,libaio," diff --git a/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb b/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb index c55a01d3b9..fca29eed05 100644 --- a/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb +++ b/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb @@ -16,6 +16,8 @@ UPSTREAM_CHECK_REGEX = "Libmcrypt/(?P\d+(\.\d+)+)/" inherit autotools-brokensep gettext binconfig multilib_script +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" + CFLAGS += "-Wno-error=implicit-int" do_configure() { diff --git a/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb b/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb index 4ca7c081ea..d1480e836a 100644 --- a/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb +++ b/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb @@ -19,6 +19,8 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \ inherit autotools gettext +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" + EXTRA_OECONF += "PERL='${USRBINPATH}/env perl'" SRC_URI[sha256sum] = "6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb" diff --git a/meta-oe/recipes-extended/figlet/figlet_git.bb b/meta-oe/recipes-extended/figlet/figlet_git.bb index d226806050..6a8bb42699 100644 --- a/meta-oe/recipes-extended/figlet/figlet_git.bb +++ b/meta-oe/recipes-extended/figlet/figlet_git.bb @@ -10,5 +10,6 @@ SRCREV = "5bbcd7383a8c3a531299b216b0c734e1495c6db3" PV = "2.2.5+git" inherit autotools +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-extended/lprng/lprng_3.9.0.bb b/meta-oe/recipes-extended/lprng/lprng_3.9.0.bb index 04376b66ed..0f427a7d05 100644 --- a/meta-oe/recipes-extended/lprng/lprng_3.9.0.bb +++ b/meta-oe/recipes-extended/lprng/lprng_3.9.0.bb @@ -10,6 +10,7 @@ UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lprng/files/lprng/" UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)\.tar" inherit autotools gettext +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" EXTRA_OECONF = "--disable-ssl --disable-kerberos --enable-force_localhost \ CHOWN=${base_bindir}/chown CHGRP=${base_bindir}/chgrp \ diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2512.0.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2512.0.bb index c50a7a3f7a..186e1ccf24 100644 --- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2512.0.bb +++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2512.0.bb @@ -40,6 +40,7 @@ CVE_STATUS[CVE-2015-3243] = "fix-file-included: The shipped default rsyslog.conf inherit autotools pkgconfig systemd update-rc.d ptest +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" EXTRA_OECONF += "--enable-imfile-tests ${ATOMICS}" ATOMICS = "ap_cv_atomic_builtins_64=yes ap_cv_atomic_builtins=yes" ATOMICS:mipsarch = "" diff --git a/meta-oe/recipes-extended/zsync/zsync-curl_git.bb b/meta-oe/recipes-extended/zsync/zsync-curl_git.bb index e624b26941..79b8ee18e7 100644 --- a/meta-oe/recipes-extended/zsync/zsync-curl_git.bb +++ b/meta-oe/recipes-extended/zsync/zsync-curl_git.bb @@ -15,6 +15,8 @@ UPSTREAM_CHECK_COMMITS = "1" inherit autotools +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" + AUTOTOOLS_SCRIPT_PATH = "${S}/src" BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb b/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb index 85eac33369..99d0939b34 100644 --- a/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb +++ b/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb @@ -20,6 +20,9 @@ UPSTREAM_CHECK_REGEX = "${BPN}-(?P\d+(\.\d+)+)" DEPENDS += "bison-native flex-native wget-native gawk-native" inherit autotools-brokensep update-alternatives + +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" + ALTERNATIVE_PRIORITY = "50" ALTERNATIVE:${PN}-yang = " ietf-interfaces ietf-netconf-acm ietf-netconf-with-defaults ietf-netconf" ALTERNATIVE_LINK_NAME[ietf-interfaces] = "${datadir}/yang/ietf-interfaces.yang" diff --git a/meta-oe/recipes-support/pidgin/pidgin_2.14.14.bb b/meta-oe/recipes-support/pidgin/pidgin_2.14.14.bb index 85c521df87..af44864fa9 100644 --- a/meta-oe/recipes-support/pidgin/pidgin_2.14.14.bb +++ b/meta-oe/recipes-support/pidgin/pidgin_2.14.14.bb @@ -50,6 +50,7 @@ EXTRA_OECONF = " \ --disable-farstream \ --disable-vv \ " +CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no" # CONFIG_ARGS is used to display build info. Replace full paths by reproducible # variables ($S, $WORKDIR)