From patchwork Wed Oct 1 20:58:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Freihofer, Adrian" X-Patchwork-Id: 71480 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FFA8CCD186 for ; Wed, 1 Oct 2025 21:01:46 +0000 (UTC) Received: from mta-64-227.siemens.flowmailer.net (mta-64-227.siemens.flowmailer.net [185.136.64.227]) by mx.groups.io with SMTP id smtpd.web10.1041.1759352495323491283 for ; Wed, 01 Oct 2025 14:01:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=adrian.freihofer@siemens.com header.s=fm2 header.b=OuqxO2aO; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.227, mailfrom: fm-1329275-202510012101324ad6285c2700020715-c0cgtp@rts-flowmailer.siemens.com) Received: by mta-64-227.siemens.flowmailer.net with ESMTPSA id 202510012101324ad6285c2700020715 for ; Wed, 01 Oct 2025 23:01:32 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=adrian.freihofer@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=IGgxYctZwqJhhJhhaCVfFI7pDMlkSiA6xdQAFiMPpWQ=; b=OuqxO2aOk/jP/00GJVxMPR8IWurnOWl7ihStok6x9z+owdhXYp/s93g4DVoI16yEw3sI4N ZrmBh4BTX9WTiFRyFlvVSqu+LoBxObS2gfKKZMgzozdSJDZNmvj97+sk2Wmd0CN/thX4IZkt qWfISEvr4PRnfYI0ktZZC1P4EM5q2Se13LNj6jSFiAezwEIdQezoe1FpR0psz81+y/B8zyBX 83zVz7T9hjbGG5X+sZET4KQwB4SiZyRl2CTn/SC8Qnb2lQwiHiBZ6BIiuOkNoMXfKxlFeJ2/ /KUwSurD7u/OmRpFrox09e1Np4cicuJ5cx/8vjbFXWwhaGh8NvvkXdvw==; From: AdrianF To: openembedded-core@lists.openembedded.org Cc: Adrian Freihofer Subject: [scarthgap][PATCH 1/6] expect: Revert "expect-native: fix do_compile failure with gcc-14" Date: Wed, 1 Oct 2025 22:58:33 +0200 Message-ID: <20251001210111.1444441-2-adrian.freihofer@siemens.com> In-Reply-To: <20251001210111.1444441-1-adrian.freihofer@siemens.com> References: <20251001210111.1444441-1-adrian.freihofer@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1329275:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 01 Oct 2025 21:01:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224329 From: Adrian Freihofer In the meantime there is a cleaner fix on the master branch and we also need to back-port more patches to support gcc-15 as well. This reverts commit 8bfdb53247c917559e7813c2e1bd2f6eb13c811d which is not in the master branch as a preparation for cherry-picking the newer fixes from there. Signed-off-by: Adrian Freihofer --- meta/recipes-devtools/expect/expect_5.45.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb index 158e7af030..174b35ec73 100644 --- a/meta/recipes-devtools/expect/expect_5.45.4.bb +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb @@ -85,4 +85,4 @@ BBCLASSEXTEND = "native nativesdk" # http://errors.yoctoproject.org/Errors/Details/766950/ # expect5.45.4/exp_chan.c:62:5: error: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types] -CFLAGS:append = " -Wno-error=incompatible-pointer-types" +CFLAGS += "-Wno-error=incompatible-pointer-types" From patchwork Wed Oct 1 20:58:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Freihofer, Adrian" X-Patchwork-Id: 71478 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45FC6CAC5BB for ; Wed, 1 Oct 2025 21:01:46 +0000 (UTC) Received: from mta-64-228.siemens.flowmailer.net (mta-64-228.siemens.flowmailer.net [185.136.64.228]) by mx.groups.io with SMTP id smtpd.web11.1066.1759352495322513910 for ; Wed, 01 Oct 2025 14:01:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=adrian.freihofer@siemens.com header.s=fm2 header.b=FmAXPdsy; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.228, mailfrom: fm-1329275-202510012101326fa62520920002077e-zeqnjc@rts-flowmailer.siemens.com) Received: by mta-64-228.siemens.flowmailer.net with ESMTPSA id 202510012101326fa62520920002077e for ; Wed, 01 Oct 2025 23:01:32 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=adrian.freihofer@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=gJ9uIrr+erzLeszDESrmIFhEZoSSkQOG5KmgieaXjx0=; b=FmAXPdsycfuZt1ucedd+LJ4qTjAOUSso1PTKF90y1TpdiFeaqPKaTf8N/v4+WAnjMecCkK 0bXlX2L4PslY7DOUe+BH8u6Dto4YE966fLxutRE8nBT75lSOhBeFMbfmhjJEi7SEfFk9LaHV XjcSjmJIroCMU/U5AyVdfwhTqD12MmeNjcEvs3gTRgo2o36DR1hRVSHg7U4FFZ79j6arojso TzG8KO3+UNndyaKBjoEMAxs75r5HQPGZUFl3T+zcLMtFSPfDQztZNxSlTROTIlYQevV7UCdM QqFUHuU2aLMSpSVZvEu9+ho5Cc3M9CUdTl+Ij93jFvmEnaXgduU1cWcg==; From: AdrianF To: openembedded-core@lists.openembedded.org Cc: Ross Burton , Alexandre Belloni , Richard Purdie Subject: [scarthgap][PATCH 2/6] expect: update code for Tcl channel implementation Date: Wed, 1 Oct 2025 22:58:34 +0200 Message-ID: <20251001210111.1444441-3-adrian.freihofer@siemens.com> In-Reply-To: <20251001210111.1444441-1-adrian.freihofer@siemens.com> References: <20251001210111.1444441-1-adrian.freihofer@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1329275:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 01 Oct 2025 21:01:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224327 From: Ross Burton Tcl 8.4.0 changed the channel implementation, take a patch submitted upstream to update the code for the new interface and remove the silencing of the incompatible assignment error which was due to this issue. Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../expect/expect/tcl840.patch | 27 +++++++++++++++++++ meta/recipes-devtools/expect/expect_5.45.4.bb | 5 +--- 2 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 meta/recipes-devtools/expect/expect/tcl840.patch diff --git a/meta/recipes-devtools/expect/expect/tcl840.patch b/meta/recipes-devtools/expect/expect/tcl840.patch new file mode 100644 index 0000000000..8c7b0e7a7f --- /dev/null +++ b/meta/recipes-devtools/expect/expect/tcl840.patch @@ -0,0 +1,27 @@ +Adjustments for compatibility with the currrent (Tcl 8.4.0+) channel +implementation. + +Upstream-Status: Submitted [https://sourceforge.net/p/expect/patches/24/] +Signed-off-by: Ross Burton + +diff --git a/exp_chan.c b/exp_chan.c +index c92e26b6fbd02305..944200a63b102672 100644 +--- a/exp_chan.c ++++ b/exp_chan.c +@@ -60,7 +60,7 @@ void exp_background_channelhandler _ANSI_ARGS_((ClientData, + + Tcl_ChannelType expChannelType = { + "exp", /* Type name. */ +- ExpBlockModeProc, /* Set blocking/nonblocking mode.*/ ++ TCL_CHANNEL_VERSION_2, + ExpCloseProc, /* Close proc. */ + ExpInputProc, /* Input proc. */ + ExpOutputProc, /* Output proc. */ +@@ -70,6 +70,7 @@ Tcl_ChannelType expChannelType = { + ExpWatchProc, /* Initialize notifier. */ + ExpGetHandleProc, /* Get OS handles out of channel. */ + NULL, /* Close2 proc */ ++ ExpBlockModeProc, /* Set blocking/nonblocking mode.*/ + }; + + typedef struct ThreadSpecificData { diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb index 174b35ec73..461a2c093a 100644 --- a/meta/recipes-devtools/expect/expect_5.45.4.bb +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb @@ -28,6 +28,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/expect/Expect/${PV}/${BPN}${PV}.tar.gz \ file://0001-fixline1-fix-line-1.patch \ file://0001-Add-prototype-to-function-definitions.patch \ file://expect-configure-c99.patch \ + file://tcl840.patch \ file://run-ptest \ " SRC_URI[md5sum] = "00fce8de158422f5ccd2666512329bd2" @@ -82,7 +83,3 @@ FILES:${PN} += "${libdir}/libexpect${PV}.so \ " BBCLASSEXTEND = "native nativesdk" - -# http://errors.yoctoproject.org/Errors/Details/766950/ -# expect5.45.4/exp_chan.c:62:5: error: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types] -CFLAGS += "-Wno-error=incompatible-pointer-types" From patchwork Wed Oct 1 20:58:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Freihofer, Adrian" X-Patchwork-Id: 71483 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85FE3CCD187 for ; Wed, 1 Oct 2025 21:01:46 +0000 (UTC) Received: from mta-65-225.siemens.flowmailer.net (mta-65-225.siemens.flowmailer.net [185.136.65.225]) by mx.groups.io with SMTP id smtpd.web11.1065.1759352495322281455 for ; Wed, 01 Oct 2025 14:01:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=adrian.freihofer@siemens.com header.s=fm2 header.b=DzxeROrD; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.65.225, mailfrom: fm-1329275-202510012101321273a79a3b000207d1-snzpnx@rts-flowmailer.siemens.com) Received: by mta-65-225.siemens.flowmailer.net with ESMTPSA id 202510012101321273a79a3b000207d1 for ; Wed, 01 Oct 2025 23:01:32 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=adrian.freihofer@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=8VyH1Z58zZWUV73lLff3+f41PQs+bOba+O7xH4sHOd8=; b=DzxeROrD89SQcfyqIWeWD+DlTLdgIEkZ1MZPjIrOPaiPcw372TcLgWYJOurqdR4paKEjui LsOIn5BK/a1wQXobcFgy8kwHGpPcWmiTt2yaZ2Yq43G4IB3xazsn79FqgcmQewEc74fxzctf gPVSIMnaRrVNvdHAIT24G4afF3YsM+YoeXC7sSo6rwX20X0U+uXAjT9I4NQuArf2bzTiWrWU A3oXSvjIi3kU8HcRP3IiA/DSdVF6YFzbVUwz1v4UZSz2IUG+YF55hVqKEjGx2d2mJHyBAdJ8 7T/sP9FIOOc7nyyADD+R6KMVH145j1+PyX+wavdv6AipVdlKVFaQy8jQ==; From: AdrianF To: openembedded-core@lists.openembedded.org Cc: Ross Burton , Richard Purdie Subject: [scarthgap][PATCH 3/6] expect: don't run aclocal in do_configure Date: Wed, 1 Oct 2025 22:58:35 +0200 Message-ID: <20251001210111.1444441-4-adrian.freihofer@siemens.com> In-Reply-To: <20251001210111.1444441-1-adrian.freihofer@siemens.com> References: <20251001210111.1444441-1-adrian.freihofer@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1329275:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 01 Oct 2025 21:01:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224325 From: Ross Burton expect has a hand-maintained aclocal.m4 so don't run aclocal, which has the side effect of not deleting the aclocal.m4 file which pulls in macros. The build works without this change more through luck and a combination of behaviours than design. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/expect/expect_5.45.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb index 461a2c093a..4d4c91891c 100644 --- a/meta/recipes-devtools/expect/expect_5.45.4.bb +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb @@ -39,6 +39,8 @@ UPSTREAM_CHECK_REGEX = "/Expect/(?P(\d+[\.\-_]*)+)/" S = "${WORKDIR}/${BPN}${PV}" +EXTRA_AUTORECONF += "--exclude=aclocal" + do_install:append() { install -d ${D}${libdir} install -m 0755 ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/ From patchwork Wed Oct 1 20:58:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Freihofer, Adrian" X-Patchwork-Id: 71482 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69DBBCCD184 for ; Wed, 1 Oct 2025 21:01:46 +0000 (UTC) Received: from mta-65-228.siemens.flowmailer.net (mta-65-228.siemens.flowmailer.net [185.136.65.228]) by mx.groups.io with SMTP id smtpd.web10.1042.1759352495457469069 for ; Wed, 01 Oct 2025 14:01:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=adrian.freihofer@siemens.com header.s=fm2 header.b=NVOo0aN8; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.65.228, mailfrom: fm-1329275-20251001210132c725a36ffb0002071b-zkqfnl@rts-flowmailer.siemens.com) Received: by mta-65-228.siemens.flowmailer.net with ESMTPSA id 20251001210132c725a36ffb0002071b for ; Wed, 01 Oct 2025 23:01:32 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=adrian.freihofer@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=Zjv+jivhuLGUiM2DF8yM8R7qinxKAG0uavYZO0/CoF0=; b=NVOo0aN8LeNS4pnw7rbk79FVyf34kHP+ybOlfpldQF5HZYM3vEFTtYfqUORR4ZaVlfABZb U91bp3A00ev4hnC+4lpSnG2PubEsOyA9qO6wQ8Fmn6Ks9OLNCalqgfum/SO7pgGf0J78+Os9 j5U2XOWXRdzfNuDTHfZUo1QaxB+8YK+YRbnR7pS/rZpgjSlc9usFi9r/btrwa2Rhqae0If/R OUsmKXAMjSgMCasX0lkXMZQ7dIFlpmPi83Wj7kVBytqG13q4BjF5iy4AqC7D5x3tI51+JiY6 Kp99RZwpgqKBc0iULc15bIPPoXJ+gCigg1BRlW0y7x/KprCe8LTzQK9A==; From: AdrianF To: openembedded-core@lists.openembedded.org Cc: Ross Burton , Richard Purdie Subject: [scarthgap][PATCH 4/6] expect: cleanup do_install Date: Wed, 1 Oct 2025 22:58:36 +0200 Message-ID: <20251001210111.1444441-5-adrian.freihofer@siemens.com> In-Reply-To: <20251001210111.1444441-1-adrian.freihofer@siemens.com> References: <20251001210111.1444441-1-adrian.freihofer@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1329275:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 01 Oct 2025 21:01:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224330 From: Ross Burton Clean up the do_install append, and remove a long-standing unused variable that appears to be intending to not install the scripts but would have never actually done that as the relevant override since 2008 has been task-install. As we've been installing the scripts, keep instaling them. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/expect/expect_5.45.4.bb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb index 4d4c91891c..48f7e1a539 100644 --- a/meta/recipes-devtools/expect/expect_5.45.4.bb +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb @@ -42,11 +42,9 @@ S = "${WORKDIR}/${BPN}${PV}" EXTRA_AUTORECONF += "--exclude=aclocal" do_install:append() { - install -d ${D}${libdir} - install -m 0755 ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/ - install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/ - rm ${D}${libdir}/expect${PV}/libexpect*.so - sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl + mv ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/ + install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/ + sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl } do_install_ptest() { @@ -65,7 +63,6 @@ EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \ --disable-rpath \ ${TCL_INCLUDE_PATH} \ " -EXTRA_OEMAKE_install = " 'SCRIPTS=' " ALTERNATIVE:${PN} = "mkpasswd" ALTERNATIVE_LINK_NAME[mkpasswd] = "${bindir}/mkpasswd" From patchwork Wed Oct 1 20:58:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Freihofer, Adrian" X-Patchwork-Id: 71479 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44C68CCA470 for ; Wed, 1 Oct 2025 21:01:46 +0000 (UTC) Received: from mta-64-226.siemens.flowmailer.net (mta-64-226.siemens.flowmailer.net [185.136.64.226]) by mx.groups.io with SMTP id smtpd.web11.1067.1759352495322814816 for ; Wed, 01 Oct 2025 14:01:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=adrian.freihofer@siemens.com header.s=fm2 header.b=iqfDdsUb; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.226, mailfrom: fm-1329275-20251001210132e34b47b0500002077d-7jyiov@rts-flowmailer.siemens.com) Received: by mta-64-226.siemens.flowmailer.net with ESMTPSA id 20251001210132e34b47b0500002077d for ; Wed, 01 Oct 2025 23:01:33 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=adrian.freihofer@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=eMkMHbTu4TbkvpTDVXMHaNfQP3/3prCpuKzBz1tNiEk=; b=iqfDdsUbb4aH0COBrJe+lksvX/ma+LFWrv4seFOQrIGJGRkN1vPZ7sjVuiOPFiCh/eG1Os MCA1NUVPWx7hXfxx+R9DAueHsleOCxWRWs6APb8GTtvMa/fTYg0jWGUEEm1ssklNuGpwuN40 biYZSSr2/D+MCI43ix3vBYhVTIz/3VkBzK6h6tO26fv1hhwkRIfTLE0MH91+Hftm1g8P7NKA j11Bp7lA5Tl072EPizS4OEmGRAaWUpZSlBrn+R1ezErAw0ZIhUuOZ2TkRunJDV7/SfbCOBJA fwP1OdfiI2Hkh3KnklLP18Ohw58RTSqYRJ4qpL8u+c44gRQnWkHrQpWA==; From: AdrianF To: openembedded-core@lists.openembedded.org Cc: Khem Raj , Richard Purdie Subject: [scarthgap][PATCH 5/6] expect: Fix build with GCC 15 Date: Wed, 1 Oct 2025 22:58:37 +0200 Message-ID: <20251001210111.1444441-6-adrian.freihofer@siemens.com> In-Reply-To: <20251001210111.1444441-1-adrian.freihofer@siemens.com> References: <20251001210111.1444441-1-adrian.freihofer@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1329275:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 01 Oct 2025 21:01:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224326 From: Khem Raj Stick to C17 standard as GCC 15 switches to C23 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-devtools/expect/expect_5.45.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb index 48f7e1a539..a89b48ef1c 100644 --- a/meta/recipes-devtools/expect/expect_5.45.4.bb +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb @@ -41,6 +41,8 @@ S = "${WORKDIR}/${BPN}${PV}" EXTRA_AUTORECONF += "--exclude=aclocal" +CFLAGS += "-std=gnu17" + do_install:append() { mv ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/ install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/ From patchwork Wed Oct 1 20:58:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Freihofer, Adrian" X-Patchwork-Id: 71481 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4791DCCD183 for ; Wed, 1 Oct 2025 21:01:46 +0000 (UTC) Received: from mta-64-225.siemens.flowmailer.net (mta-64-225.siemens.flowmailer.net [185.136.64.225]) by mx.groups.io with SMTP id smtpd.web11.1063.1759352495321839545 for ; Wed, 01 Oct 2025 14:01:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=adrian.freihofer@siemens.com header.s=fm2 header.b=moFr6wQg; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.225, mailfrom: fm-1329275-202510012101330670c6717d00020779-ifwg75@rts-flowmailer.siemens.com) Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 202510012101330670c6717d00020779 for ; Wed, 01 Oct 2025 23:01:33 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2; d=siemens.com; i=adrian.freihofer@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=FiB92lGkSteAEjO/pXuNZjqU32g5S1uyMjZ6CtlU/NA=; b=moFr6wQgxI1P3dM7CuJ2TJVziohfKfpRApzp4Q40GOTFSA+YzzbqtSy4GhD0uAKz0xwzwm SbSy7RxMXlUQ6+Rj1MLMBBs1ht3UH7WspDexhWXthUcd1RoZ2xiu4EcaL8oh5kTb8fwxBPn7 aJR1NTcY1L5D2GbcIPpjI/oHIP+zLBzJVhXwdlYehdGdge5+DAl+QqnN3UerS4g0FG4BnsxU 16VVzMQyzpdC8NOjL0+6deim01W5HMbwxucbbV5kqATo1LIjs5yFcpABbwQn2PYxpkkO5wyx Vim90GeH/pFSZfxJ7H8DUMLAgT3B3ZYw9Hhqjth5gWBYS/qiFwbuYL3A==; From: AdrianF To: openembedded-core@lists.openembedded.org Cc: Adrian Freihofer Subject: [scarthgap][PATCH 6/6] expect: fix native build with GCC 15 Date: Wed, 1 Oct 2025 22:58:38 +0200 Message-ID: <20251001210111.1444441-7-adrian.freihofer@siemens.com> In-Reply-To: <20251001210111.1444441-1-adrian.freihofer@siemens.com> References: <20251001210111.1444441-1-adrian.freihofer@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1329275:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 01 Oct 2025 21:01:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224324 From: Adrian Freihofer This does not work for native builds: CFLAGS += "-std=gnu17" The line from native.bbclass gets priority: CFLAGS = "${BUILD_CFLAGS}" From bitbake-getvar -r expect-native CFLAGS ... append ...poky/meta/recipes-devtools/expect/expect_5.45.4.bb:44 "-std=gnu17" set ...poky/meta/classes-recipe/native.bbclass:44 "${BUILD_CFLAGS}" ... Signed-off-by: Adrian Freihofer --- meta/recipes-devtools/expect/expect_5.45.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb index a89b48ef1c..f1d30d8217 100644 --- a/meta/recipes-devtools/expect/expect_5.45.4.bb +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb @@ -41,7 +41,7 @@ S = "${WORKDIR}/${BPN}${PV}" EXTRA_AUTORECONF += "--exclude=aclocal" -CFLAGS += "-std=gnu17" +CFLAGS:append = " -std=gnu17" do_install:append() { mv ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/