From patchwork Fri Jan 9 13:11:20 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 78344 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 30AD7D1A61F for ; Fri, 9 Jan 2026 13:11:48 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9653.1767964297957044398 for ; Fri, 09 Jan 2026 05:11:38 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 93E10FEC for ; Fri, 9 Jan 2026 05:11:30 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F26CF3F6A8 for ; Fri, 9 Jan 2026 05:11:36 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 01/11] libusb1: use libtool to install test binaries Date: Fri, 9 Jan 2026 13:11:20 +0000 Message-ID: <20260109131130.3006446-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jan 2026 13:11:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/229106 If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Signed-off-by: Ross Burton --- meta/recipes-support/libusb/libusb1_1.0.29.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/libusb/libusb1_1.0.29.bb b/meta/recipes-support/libusb/libusb1_1.0.29.bb index 2f43ee68b7..856e32d1c6 100644 --- a/meta/recipes-support/libusb/libusb1_1.0.29.bb +++ b/meta/recipes-support/libusb/libusb1_1.0.29.bb @@ -42,7 +42,7 @@ do_compile_ptest() { } do_install_ptest() { - install -m 755 ${B}/tests/stress ${D}${PTEST_PATH} + ${B}/libtool --mode=install install ${B}/tests/stress ${D}${PTEST_PATH} } FILES:${PN} += "${base_libdir}/*.so.*" From patchwork Fri Jan 9 13:11:21 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 78341 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 2DDF1D1A61D for ; Fri, 9 Jan 2026 13:11:48 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9654.1767964298586936782 for ; Fri, 09 Jan 2026 05:11:38 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4FBA21684 for ; Fri, 9 Jan 2026 05:11:31 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AF7EF3F6A8 for ; Fri, 9 Jan 2026 05:11:37 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 02/11] gnutls: use libtool to install test binaries Date: Fri, 9 Jan 2026 13:11:21 +0000 Message-ID: <20260109131130.3006446-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260109131130.3006446-1-ross.burton@arm.com> References: <20260109131130.3006446-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jan 2026 13:11:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/229107 If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Signed-off-by: Ross Burton --- meta/recipes-support/gnutls/gnutls_3.8.11.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/gnutls/gnutls_3.8.11.bb b/meta/recipes-support/gnutls/gnutls_3.8.11.bb index 6c979430cd..5b44c66dfc 100644 --- a/meta/recipes-support/gnutls/gnutls_3.8.11.bb +++ b/meta/recipes-support/gnutls/gnutls_3.8.11.bb @@ -71,7 +71,7 @@ do_compile_ptest() { do_install:append:class-target() { if ${@bb.utils.contains('PACKAGECONFIG', 'fips', 'true', 'false', d)}; then install -d ${D}${bindir}/bin - install -m 0755 ${B}/lib/.libs/fipshmac ${D}/${bindir}/ + ${B}/libtool --mode=install install -m 0755 ${B}/lib/fipshmac ${D}/${bindir}/ fi } From patchwork Fri Jan 9 13:11:22 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 78345 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 4BCF0D1A626 for ; Fri, 9 Jan 2026 13:11:48 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.9627.1767964299396844749 for ; Fri, 09 Jan 2026 05:11:39 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0C4BDFEC for ; Fri, 9 Jan 2026 05:11:32 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 6BE8E3F6A8 for ; Fri, 9 Jan 2026 05:11:38 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 03/11] libevent: use libtool to install test binaries Date: Fri, 9 Jan 2026 13:11:22 +0000 Message-ID: <20260109131130.3006446-3-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260109131130.3006446-1-ross.burton@arm.com> References: <20260109131130.3006446-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jan 2026 13:11:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/229108 If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Signed-off-by: Ross Burton --- meta/recipes-support/libevent/libevent_2.1.12.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/meta/recipes-support/libevent/libevent_2.1.12.bb b/meta/recipes-support/libevent/libevent_2.1.12.bb index 2fadf10943..4e32b5217e 100644 --- a/meta/recipes-support/libevent/libevent_2.1.12.bb +++ b/meta/recipes-support/libevent/libevent_2.1.12.bb @@ -52,12 +52,8 @@ do_install:append() { } do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - for file in ${B}/test/.libs/regress ${B}/test/.libs/test* - do - install -m 0755 $file ${D}${PTEST_PATH}/test - done - + install -d ${D}${PTEST_PATH}/test + ${B}/libtool --mode=install install ${B}/test/regress ${D}${PTEST_PATH}/test/ # handle multilib sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest } From patchwork Fri Jan 9 13:11:23 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 78350 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 7F462D1A62D for ; Fri, 9 Jan 2026 13:11:48 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9655.1767964299847609708 for ; Fri, 09 Jan 2026 05:11:39 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B36241684 for ; Fri, 9 Jan 2026 05:11:32 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 285D63F6A8 for ; Fri, 9 Jan 2026 05:11:39 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 04/11] libpcre: use libtool to install test binaries Date: Fri, 9 Jan 2026 13:11:23 +0000 Message-ID: <20260109131130.3006446-4-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260109131130.3006446-1-ross.burton@arm.com> References: <20260109131130.3006446-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jan 2026 13:11:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/229109 If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Also use install instead of cp to install more files. Signed-off-by: Ross Burton --- meta/recipes-support/libpcre/libpcre_8.45.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/recipes-support/libpcre/libpcre_8.45.bb b/meta/recipes-support/libpcre/libpcre_8.45.bb index 67327065e4..c5ecbd8cf2 100644 --- a/meta/recipes-support/libpcre/libpcre_8.45.bb +++ b/meta/recipes-support/libpcre/libpcre_8.45.bb @@ -59,11 +59,11 @@ do_install_ptest() { t=${D}${PTEST_PATH} cp ${UNPACKDIR}/Makefile $t cp -r ${S}/testdata $t - for i in pcre_stringpiece_unittest pcregrep pcretest; \ - do cp ${B}/.libs/$i $t; \ + for i in pcre_stringpiece_unittest pcregrep pcretest; do + ${B}/libtool --mode=install install ${B}/$i $t/ done - for i in RunTest RunGrepTest test-driver; \ - do cp ${S}/$i $t; \ + for i in RunTest RunGrepTest test-driver; do + install ${S}/$i $t done # Skip the fr_FR locale test. If the locale fr_FR is found, it is tested. # If not found, the test is skipped. The test program assumes fr_FR is non-UTF-8 From patchwork Fri Jan 9 13:11:24 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 78348 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 891ACD1A62F for ; Fri, 9 Jan 2026 13:11:48 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9656.1767964300614703488 for ; Fri, 09 Jan 2026 05:11:40 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6CE92FEC for ; Fri, 9 Jan 2026 05:11:33 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id CFA793F6A8 for ; Fri, 9 Jan 2026 05:11:39 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 05/11] lzo: use libtool to install test binaries Date: Fri, 9 Jan 2026 13:11:24 +0000 Message-ID: <20260109131130.3006446-5-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260109131130.3006446-1-ross.burton@arm.com> References: <20260109131130.3006446-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jan 2026 13:11:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/229110 If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Signed-off-by: Ross Burton --- meta/recipes-support/lzo/lzo_2.10.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/recipes-support/lzo/lzo_2.10.bb b/meta/recipes-support/lzo/lzo_2.10.bb index dbe789b4e6..fbf9f2dbac 100644 --- a/meta/recipes-support/lzo/lzo_2.10.bb +++ b/meta/recipes-support/lzo/lzo_2.10.bb @@ -23,10 +23,10 @@ EXTRA_OECONF = "--enable-shared" do_install_ptest() { t=${D}${PTEST_PATH} - cp ${S}/util/check.sh $t - cp ${B}/minilzo/testmini $t - for i in tests/align tests/chksum lzotest/lzotest examples/simple - do cp ${B}/`dirname $i`/.libs/`basename $i` $t; \ + install ${S}/util/check.sh $t + install ${B}/minilzo/testmini $t + for i in tests/align tests/chksum lzotest/lzotest examples/simple; do + ${B}/libtool --mode=install install ${B}/$i $t done } From patchwork Fri Jan 9 13:11:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 78347 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 6A2BBD1A62B for ; Fri, 9 Jan 2026 13:11:48 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9657.1767964301292872045 for ; Fri, 09 Jan 2026 05:11:41 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 22CA4FEC for ; Fri, 9 Jan 2026 05:11:34 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8C06E3F6A8 for ; Fri, 9 Jan 2026 05:11:40 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 06/11] numactl: use libtool to install test binaries Date: Fri, 9 Jan 2026 13:11:25 +0000 Message-ID: <20260109131130.3006446-6-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260109131130.3006446-1-ross.burton@arm.com> References: <20260109131130.3006446-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jan 2026 13:11:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/229111 If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Signed-off-by: Ross Burton --- meta/recipes-support/numactl/numactl_2.0.19.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/numactl/numactl_2.0.19.bb b/meta/recipes-support/numactl/numactl_2.0.19.bb index 5ac9380c6c..38c09199c3 100644 --- a/meta/recipes-support/numactl/numactl_2.0.19.bb +++ b/meta/recipes-support/numactl/numactl_2.0.19.bb @@ -40,7 +40,7 @@ do_install_ptest() { [ ! -d ${D}/${PTEST_PATH}/test ] && mkdir -p ${D}/${PTEST_PATH}/test for i in $test_binaries; do - install -m 0755 ${B}/test/.libs/$i ${D}${PTEST_PATH}/test + ${B}/libtool --mode=install install -m 0755 ${B}/test/$i ${D}${PTEST_PATH}/test done local test_scripts="checktopology checkaffinity printcpu regress regress2 \ @@ -50,7 +50,7 @@ do_install_ptest() { done install -m 0755 ${UNPACKDIR}/Makefile ${D}${PTEST_PATH}/ - install -m 0755 ${B}/.libs/numactl ${D}${PTEST_PATH}/ + ${B}/libtool --mode=install install -m 0755 ${B}/numactl ${D}${PTEST_PATH}/ } RDEPENDS:${PN}-ptest = "bash" From patchwork Fri Jan 9 13:11:26 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 78343 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 3E63FD1A623 for ; Fri, 9 Jan 2026 13:11:48 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.9629.1767964302082472760 for ; Fri, 09 Jan 2026 05:11:42 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D3052FEC for ; Fri, 9 Jan 2026 05:11:34 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 3F0593F6A8 for ; Fri, 9 Jan 2026 05:11:41 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 07/11] popt: use libtool to install test binaries Date: Fri, 9 Jan 2026 13:11:26 +0000 Message-ID: <20260109131130.3006446-7-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260109131130.3006446-1-ross.burton@arm.com> References: <20260109131130.3006446-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jan 2026 13:11:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/229112 If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Signed-off-by: Ross Burton --- meta/recipes-support/popt/popt_1.19.bb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/recipes-support/popt/popt_1.19.bb b/meta/recipes-support/popt/popt_1.19.bb index b1d8bea790..525bf553b1 100644 --- a/meta/recipes-support/popt/popt_1.19.bb +++ b/meta/recipes-support/popt/popt_1.19.bb @@ -22,10 +22,9 @@ do_compile_ptest() { } do_install_ptest() { - install ${B}/tests/.libs/test* ${D}/${PTEST_PATH} - install ${B}/tests/.libs/tdict ${D}/${PTEST_PATH} - install ${B}/tests/testit.sh ${D}/${PTEST_PATH} - install ${B}/tests/test-poptrc ${D}/${PTEST_PATH} + for f in test1 test2 tdict test3 testit.sh test-poptrc; do + ${B}/libtool --mode=install install ${B}/tests/$f ${D}/${PTEST_PATH} + done } BBCLASSEXTEND = "native nativesdk" From patchwork Fri Jan 9 13:11:27 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 78346 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 4C636D1A627 for ; Fri, 9 Jan 2026 13:11:48 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9658.1767964302665399088 for ; Fri, 09 Jan 2026 05:11:42 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 87D5CFEC for ; Fri, 9 Jan 2026 05:11:35 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id EF7783F6A8 for ; Fri, 9 Jan 2026 05:11:41 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 08/11] libpng: use libtool to install test binaries Date: Fri, 9 Jan 2026 13:11:27 +0000 Message-ID: <20260109131130.3006446-8-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260109131130.3006446-1-ross.burton@arm.com> References: <20260109131130.3006446-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jan 2026 13:11:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/229113 If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Signed-off-by: Ross Burton --- meta/recipes-multimedia/libpng/libpng_1.6.53.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.53.bb b/meta/recipes-multimedia/libpng/libpng_1.6.53.bb index 956cd243b1..a43283eae7 100644 --- a/meta/recipes-multimedia/libpng/libpng_1.6.53.bb +++ b/meta/recipes-multimedia/libpng/libpng_1.6.53.bb @@ -48,8 +48,9 @@ do_install_ptest() { install -m 755 ${S}/contrib/tools/*.sh ${D}${PTEST_PATH}/src/contrib/tools install -m 644 ${S}/contrib/tools/*.c ${S}/contrib/tools/*.h ${D}${PTEST_PATH}/src/contrib/tools - # Install .libs directory binaries to ptest path - install -m 755 ${B}/.libs/pngtest ${B}/.libs/pngstest ${B}/.libs/pngimage ${B}/.libs/pngunknown ${B}/.libs/pngvalid ${D}${PTEST_PATH}/src + for file in $(makefile-getvar ${B}/Makefile check_PROGRAMS); do + ${B}/libtool --mode=install install ${B}/$file ${D}${PTEST_PATH}/src + done # Copy png files to ptest path cd ${S} && find contrib -name '*.png' | cpio -pd ${D}${PTEST_PATH}/src From patchwork Fri Jan 9 13:11:28 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 78349 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 5A00FD1A628 for ; Fri, 9 Jan 2026 13:11:48 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9659.1767964303464390883 for ; Fri, 09 Jan 2026 05:11:43 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4454FFEC for ; Fri, 9 Jan 2026 05:11:36 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A3ACE3F6A8 for ; Fri, 9 Jan 2026 05:11:42 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 09/11] parted: use libtool to install test binaries Date: Fri, 9 Jan 2026 13:11:28 +0000 Message-ID: <20260109131130.3006446-9-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260109131130.3006446-1-ross.burton@arm.com> References: <20260109131130.3006446-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jan 2026 13:11:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/229114 If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Signed-off-by: Ross Burton --- meta/recipes-extended/parted/parted_3.6.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-extended/parted/parted_3.6.bb b/meta/recipes-extended/parted/parted_3.6.bb index 6fc2cb3b3a..8f703d162f 100644 --- a/meta/recipes-extended/parted/parted_3.6.bb +++ b/meta/recipes-extended/parted/parted_3.6.bb @@ -45,8 +45,8 @@ do_install_ptest() { -e "s|^Makefile:.*|Makefile:|g" \ -e "/^BUILDINFO.*$/d" \ -i $t/tests/Makefile - for i in print-align print-max print-flags dup-clobber duplicate fs-resize; \ - do cp ${B}/tests/.libs/$i $t/tests/; \ + for i in print-align print-max print-flags dup-clobber duplicate fs-resize; do + ${B}/libtool --mode=install install ${B}/tests/$i $t/tests/ done sed -e 's| ../parted||' -i $t/tests/*.sh } From patchwork Fri Jan 9 13:11:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 78342 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 3E601D1A620 for ; Fri, 9 Jan 2026 13:11:48 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9660.1767964304146691062 for ; Fri, 09 Jan 2026 05:11:44 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F277CFEC for ; Fri, 9 Jan 2026 05:11:36 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 6087F3F6A8 for ; Fri, 9 Jan 2026 05:11:43 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 10/11] xz: use libtool to install test binaries Date: Fri, 9 Jan 2026 13:11:29 +0000 Message-ID: <20260109131130.3006446-10-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260109131130.3006446-1-ross.burton@arm.com> References: <20260109131130.3006446-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jan 2026 13:11:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/229115 If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Signed-off-by: Ross Burton --- meta/recipes-extended/xz/xz_5.8.2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/xz/xz_5.8.2.bb b/meta/recipes-extended/xz/xz_5.8.2.bb index 451d4810bc..982f5054c3 100644 --- a/meta/recipes-extended/xz/xz_5.8.2.bb +++ b/meta/recipes-extended/xz/xz_5.8.2.bb @@ -57,7 +57,9 @@ do_compile_ptest() { do_install_ptest () { install -d ${D}${PTEST_PATH}/tests - find ${B}/tests/.libs -type f -executable -exec cp {} ${D}${PTEST_PATH}/tests \; + for f in $(makefile-getvar ${B}/tests/Makefile check_PROGRAMS); do + ${B}/libtool --mode=install install ${B}/tests/$f ${D}${PTEST_PATH}/tests + done cp ${B}/config.h ${D}${PTEST_PATH} for i in files xzgrep_expected_output test_files.sh test_scripts.sh test_compress.sh; do cp -r ${S}/tests/$i ${D}${PTEST_PATH}/tests From patchwork Fri Jan 9 13:11:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 78340 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 3010CD1A61E for ; Fri, 9 Jan 2026 13:11:48 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.9661.1767964304816451787 for ; Fri, 09 Jan 2026 05:11:44 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AE5D7FEC for ; Fri, 9 Jan 2026 05:11:37 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 1DA473F6A8 for ; Fri, 9 Jan 2026 05:11:43 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 11/11] gdbm: use libtool to install test binaries Date: Fri, 9 Jan 2026 13:11:30 +0000 Message-ID: <20260109131130.3006446-11-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260109131130.3006446-1-ross.burton@arm.com> References: <20260109131130.3006446-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 09 Jan 2026 13:11:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/229116 If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Signed-off-by: Ross Burton --- meta/recipes-support/gdbm/files/ptest.patch | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/meta/recipes-support/gdbm/files/ptest.patch b/meta/recipes-support/gdbm/files/ptest.patch index 5f4078101b..96196f63b6 100644 --- a/meta/recipes-support/gdbm/files/ptest.patch +++ b/meta/recipes-support/gdbm/files/ptest.patch @@ -28,7 +28,7 @@ diff --git a/tests/Makefile.am b/tests/Makefile.am index eb071ac..9d14fe8 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am -@@ -150,3 +150,15 @@ +@@ -150,3 +150,11 @@ t_wordwrap_LDADD = ../tools/libgdbmapp.a @LTLIBINTL@ SUBDIRS = dejagnu @@ -38,9 +38,5 @@ index eb071ac..9d14fe8 100644 +install-ptest: $(check_PROGRAMS) $(TESTSUITE) + @$(INSTALL) -d $(DESTDIR) + @for file in $^; do \ -+ if [ -x .libs/$$file ]; then \ -+ $(INSTALL_PROGRAM) .libs/$$file $(DESTDIR)/$$file; \ -+ else \ -+ $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \ -+ fi \ ++ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \ + done