From patchwork Thu Sep 4 22:11:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 69693 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 C1B07CA1012 for ; Thu, 4 Sep 2025 22:12:41 +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.web10.7350.1757023954336074302 for ; Thu, 04 Sep 2025 15:12:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm1 header.b=Hj4yZQAa; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.225, mailfrom: fm-256628-20250904221230faa2c73791000207b7-4_wq8k@rts-flowmailer.siemens.com) Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 20250904221230faa2c73791000207b7 for ; Fri, 05 Sep 2025 00:12:31 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc; bh=RJHEMONRc+wV2lzLLmYkQ3p1a+/wN74GwNSSL7VRI4w=; b=Hj4yZQAaxGyojnxNPG4j3iYpjDxhFLDqTl5v+ukO7etvwEmK30Bq2tnk2lARVyAcrP3k8H Wy1VlOTZvVR4Yh4W+E/mr/ewub9k6XxQjqntKmz2Qiqm+QDq6ScLrWFfG13ia35mDj1zIhZy Btak6+1O3Gqtg3xAhUI4Oq/QPciNcIj8JswqFpJHfKt2b7KwfG9vZK3kOP/wf3sVNNO+oL4p QbGM/uTIjK5+T/roMZ39WcqWdhncw3A8dadbKPR8QDKPqNMPlaa2t2weT3ex9gaZNV+XB406 wl6Fu/uSCsPTM8KRZFZs5OJvt7172Uoj5P/w5iAU4zyncMTUQxLFCMNg==; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Peter Marko Subject: [meta-oe][PATCH 01/10] meta-oe-image-ptest: fix small typo Date: Fri, 5 Sep 2025 00:11:30 +0200 Message-Id: <20250904221139.3131569-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628: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 ; Thu, 04 Sep 2025 22:12:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119298 From: Peter Marko memroy -> memory Signed-off-by: Peter Marko --- meta-oe/recipes-core/images/meta-oe-image-ptest.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-core/images/meta-oe-image-ptest.bb b/meta-oe/recipes-core/images/meta-oe-image-ptest.bb index b32df0e221..6361562de4 100644 --- a/meta-oe/recipes-core/images/meta-oe-image-ptest.bb +++ b/meta-oe/recipes-core/images/meta-oe-image-ptest.bb @@ -26,7 +26,7 @@ IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-poco = "1024288" # ptests need more memory than standard to avoid the OOM killer QB_MEM = "-m 1024" -# If a particular ptest needs more memroy, it can be customized: +# If a particular ptest needs more memory, it can be customized: #QB_MEM:virtclass-mcextend- = "-m 4096" TEST_SUITES = "ping ssh parselogs ptest" From patchwork Thu Sep 4 22:11:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 69694 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 A7A6ECA1012 for ; Thu, 4 Sep 2025 22:12:51 +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.web10.7352.1757023961797111532 for ; Thu, 04 Sep 2025 15:12:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm1 header.b=Lk0pNKn8; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.228, mailfrom: fm-256628-20250904221239670552ee3500020770-yezd_9@rts-flowmailer.siemens.com) Received: by mta-64-228.siemens.flowmailer.net with ESMTPSA id 20250904221239670552ee3500020770 for ; Fri, 05 Sep 2025 00:12:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=igbwsrQK5JCWYFXuICOYn8NROculgia26Smacd4zkp8=; b=Lk0pNKn8Bm4/YgNi1Un3w/xNAAUsC5tAEqyaZz4xuIFMQ4N1W/3gdiD4uXZvqYvkxx4tGi DPECaSTJDJdCyt9lkYnk/NgIu/GSB7c7L7gb45Yna7/TxDW+RFCTLWJdo5djDFZNp90nzMTo aHcdgn7r/1YgMoL6+IFqcCiuIgCaXPrOYQOAds+8sy0meui9EKzXlyGfCiLs6wkUnZtniov0 S9TXcivkOmPBu9YFuhLGRghPnJkPCVCsX+hvXIWIaOv6R4xRF0EV9ejAp9rtQw8ymF3NRM6K GazX50/plXOrLban9leU70f94LAWqCWr4CaEExxhxgcJQavllk1gWSVw==; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Peter Marko Subject: [meta-oe][PATCH 02/10] poco: cleanup PACKAGECONFIG for native variant Date: Fri, 5 Sep 2025 00:11:31 +0200 Message-Id: <20250904221139.3131569-2-peter.marko@siemens.com> In-Reply-To: <20250904221139.3131569-1-peter.marko@siemens.com> References: <20250904221139.3131569-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628: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 ; Thu, 04 Sep 2025 22:12:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119299 From: Peter Marko Remove options which have dependencies without native variant. Signed-off-by: Peter Marko --- meta-oe/recipes-support/poco/poco_1.13.3.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-support/poco/poco_1.13.3.bb b/meta-oe/recipes-support/poco/poco_1.13.3.bb index e0f6c4169e..e338d88580 100644 --- a/meta-oe/recipes-support/poco/poco_1.13.3.bb +++ b/meta-oe/recipes-support/poco/poco_1.13.3.bb @@ -31,6 +31,8 @@ PACKAGECONFIG:remove:riscv32 = "MongoDB" PACKAGECONFIG:remove:riscv64 = "MongoDB" PACKAGECONFIG:remove:mipsarch = "MongoDB" PACKAGECONFIG:remove:powerpc = "MongoDB" +# Following options have dependencies on recipes which don't have native variant +PACKAGECONFIG:remove:class-native = "MongoDB DataODBC" PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat" PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF" From patchwork Thu Sep 4 22:11:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 69695 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 A1A0ECA1013 for ; Thu, 4 Sep 2025 22:12:51 +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.7422.1757023969615923146 for ; Thu, 04 Sep 2025 15:12:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm1 header.b=jUZOIlVt; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.225, mailfrom: fm-256628-202509042212479dacb8ea4e0002079b-hqp1ex@rts-flowmailer.siemens.com) Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 202509042212479dacb8ea4e0002079b for ; Fri, 05 Sep 2025 00:12:47 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=ugckhMR8pBf4C993CVnrTgcIwBwLcxXXx0gF3y0T9vo=; b=jUZOIlVtpGos86CV7uFL9VMPiPhJDOIQ+UgskP7vGNjXfGFThWzC1r/dPAvL/ol9hegrwN R6hO7L3CjZmkm8kK6LaqtjrwWoqoTwGbiJ95maY+77Q901auW98kFjiFKJJgxncWhvjaNG/y PoZtVC8OaKYXeR4fGfSpR54FjPvOzDWW4i8p+oYPx4x83632yafBo9KYobY26aHG55PMl7Vk KCCz404l+bdU6aaZibNvPzJ1Rhd+y4r+YMkgNzCUOn+wM2PezQJ+b3DTrNu6K8GNH91iGpt3 IzhzdTR7EhuKyNRtmhkgJ7QAplB0+7+chuNfRSJ9Z9xsA8WvQqL853gw==; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Peter Marko Subject: [meta-oe][PATCH 03/10] poco: remove obsolete config define Date: Fri, 5 Sep 2025 00:11:32 +0200 Message-Id: <20250904221139.3131569-3-peter.marko@siemens.com> In-Reply-To: <20250904221139.3131569-1-peter.marko@siemens.com> References: <20250904221139.3131569-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628: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 ; Thu, 04 Sep 2025 22:12:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119300 From: Peter Marko Inspecting log.do_configure shows that this variable is listed in "Manually-specified variables were not used by the project". Also sqlite ptests are passing. Signed-off-by: Peter Marko --- meta-oe/recipes-support/poco/poco_1.13.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/poco/poco_1.13.3.bb b/meta-oe/recipes-support/poco/poco_1.13.3.bb index e338d88580..3a15b74537 100644 --- a/meta-oe/recipes-support/poco/poco_1.13.3.bb +++ b/meta-oe/recipes-support/poco/poco_1.13.3.bb @@ -44,7 +44,7 @@ PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON,-DENABLE_NETSSL=OFF,openssl" PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON,-DENABLE_CRYPTO=OFF,openssl" PACKAGECONFIG[JWT] = "-DENABLE_JWT=ON,-DENABLE_JWT=OFF,openssl" PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF" -PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON -DSQLITE3_LIBRARY:STRING=sqlite3,-DENABLE_DATA_SQLITE=OFF,sqlite3" +PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON,-DENABLE_DATA_SQLITE=OFF,sqlite3" PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF" PACKAGECONFIG[Encodings] = "-DENABLE_ENCODINGS=ON,-DENABLE_ENCODINGS=OFF" PACKAGECONFIG[Redis] = "-DENABLE_REDIS=ON,-DENABLE_REDIS=OFF" From patchwork Thu Sep 4 22:11:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 69696 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 9F632CA1013 for ; Thu, 4 Sep 2025 22:13:01 +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.web10.7356.1757023976677093220 for ; Thu, 04 Sep 2025 15:12:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm1 header.b=YQzcamP+; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.225, mailfrom: fm-256628-20250904221254c319f9213c0002078c-van82i@rts-flowmailer.siemens.com) Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 20250904221254c319f9213c0002078c for ; Fri, 05 Sep 2025 00:12:54 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=4b/VBUV/I7nfDtCyownHZPSw7HzUiE72IBh54TUBkb8=; b=YQzcamP+9zijE58QSxmPQB26PUPzR7DdQ5LbIc1Es2QH6r0m1p5V/leujfEkHDrv6AfCy8 ITb9uQYqBRiGoqmaEnj2v2getFNkKmQCk5BVWrPP/HxOoPDyH11BSKit7IYh1r8Fktqay2ab BaIDUgJ7ynAYztx+07Q26EQYufFjS62psM0oDAxGy/Zw3fI1bhgWEctKD7wW96lbVvD4coHd 4PTSN0rnM+nkWpD5gGymn8hIu+AtY0wljjqiwM3lqvXz4AKI8mADnr9lQ+6pO4ceX4h7ZS1O rQwtnPPrKmUrkJ6/outBaGQO4uJL/W8xP43KnfDLobEoOAe57BLpBMWQ==; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Peter Marko Subject: [meta-oe][PATCH 04/10] poco: enable dns in ptest Date: Fri, 5 Sep 2025 00:11:33 +0200 Message-Id: <20250904221139.3131569-4-peter.marko@siemens.com> In-Reply-To: <20250904221139.3131569-1-peter.marko@siemens.com> References: <20250904221139.3131569-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628: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 ; Thu, 04 Sep 2025 22:13:01 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119301 From: Peter Marko NetSSL tests connect to secure.appinf.com and thus need to resolve DNS. 1 failure and 23 errors are fixed by this change making NetSSL-testrunner to pass. Such configuration is already used in oe-core oeqa maturin test. Signed-off-by: Peter Marko --- meta-oe/recipes-support/poco/poco/run-ptest | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meta-oe/recipes-support/poco/poco/run-ptest b/meta-oe/recipes-support/poco/poco/run-ptest index c8e50fc967..95fd988e48 100644 --- a/meta-oe/recipes-support/poco/poco/run-ptest +++ b/meta-oe/recipes-support/poco/poco/run-ptest @@ -1,4 +1,12 @@ #!/bin/sh + +# configure dns +if ! nslookup secure.appinf.com >/dev/null 2>&1; then + trap 'mv /etc/resolv.conf.backup /etc/resolv.conf' INT EXIT + mv /etc/resolv.conf /etc/resolv.conf.backup + echo 'nameserver 8.8.8.8' > /etc/resolv.conf +fi + export POCO_BASE=/usr/lib/poco/ptest export LD_LIBRARY_PATH=${POCO_BASE}/bin:${LD_LIBRARY_PATH} i=0 From patchwork Thu Sep 4 22:11:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 69698 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 9FA2CCA1012 for ; Thu, 4 Sep 2025 22:13:11 +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.7359.1757023983123815211 for ; Thu, 04 Sep 2025 15:13:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm1 header.b=kaarxzr1; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.227, mailfrom: fm-256628-202509042213004fe0144d000002074e-mcwi97@rts-flowmailer.siemens.com) Received: by mta-64-227.siemens.flowmailer.net with ESMTPSA id 202509042213004fe0144d000002074e for ; Fri, 05 Sep 2025 00:13:01 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=32vv392pBY/5OiN4jzi3nzNmcGaoIz/Ood33jPnRsAA=; b=kaarxzr1fNJK/wRK/2IHD++/mv20pt/nXhT4zJ+10pY49UfPQH+DYtkuPGfnhvEoJNBzj2 EqfOX+C2P6x/e0XTyixWXMbnMZhOGHOiTOW3D11FgbxyyB36Kfo0fF1gWqxgmwyiqYwMdCAk GNjWv7frZj4JKtbdDTXjvR9CkgRfhavx6fqkn+yIO3FfOt8jFJRnUyCRs2pvvr1fnnMtfQA1 N4XmHun3i6PsWZR7tVw/BvWceBPY5YFRR4qRV+PnbLkXHpzVze5giKLtNPeO5wUR9QIHwxTA 82Sl5vTN43mrGMdZOQmnJ4JWLTgeRSqoj9boup1riQ77K395cmtCtkdQ==; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Peter Marko Subject: [meta-oe][PATCH 05/10] poco: ignore newly failing test Date: Fri, 5 Sep 2025 00:11:34 +0200 Message-Id: <20250904221139.3131569-5-peter.marko@siemens.com> In-Reply-To: <20250904221139.3131569-1-peter.marko@siemens.com> References: <20250904221139.3131569-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628: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 ; Thu, 04 Sep 2025 22:13:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119302 From: Peter Marko PID file seems to work when testing manually, not sure what's wrong with the test, but it's already failing now and we should get back to situation when ptests are passing to enable them. Signed-off-by: Peter Marko --- ...pignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch b/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch index d172c8dbf2..1d4eb9b831 100644 --- a/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch +++ b/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch @@ -40,9 +40,16 @@ There were 4 failures: Not found: POCO_BASE" │ │ in "", line -1 +There was 1 error: + 1: CppUnit::TestCaller.testProcessRunner + "Poco::TimeoutException: +Timeout: ProcessRunner::checkTimeout(): waiting for PID file" + in "", line -1 + Upstream-Status: Inappropriate [OE specific] Signed-off-by: Khem Raj Signed-off-by: Patrick Wicki +Signed-off-by: Peter Marko --- cppignore.lnx | 9 +++++++++ 1 file changed, 9 insertions(+) @@ -51,7 +58,7 @@ diff --git a/cppignore.lnx b/cppignore.lnx index b3288d474..9aad48ca5 100644 --- a/cppignore.lnx +++ b/cppignore.lnx -@@ -30,3 +30,12 @@ CppUnit::TestCaller.testProxy +@@ -30,3 +30,13 @@ CppUnit::TestCaller.testProxy CppUnit::TestCaller.testProxy CppUnit::TestCaller.testHostByAddress CppUnit::TestCaller.testHostByName @@ -64,3 +71,4 @@ index b3288d474..9aad48ca5 100644 +CppUnit::TestCaller.testCertsOnlyPKCS12 +CppUnit::TestCaller.testPEMReadWrite +CppUnit::TestCaller.testArray ++CppUnit::TestCaller.testProcessRunner From patchwork Thu Sep 4 22:11:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 69697 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 A79ECCA1016 for ; Thu, 4 Sep 2025 22:13:11 +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.7431.1757023989448177510 for ; Thu, 04 Sep 2025 15:13:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm1 header.b=O3j1u18H; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.225, mailfrom: fm-256628-202509042213072f242e1c9a000207ef-r_tuem@rts-flowmailer.siemens.com) Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 202509042213072f242e1c9a000207ef for ; Fri, 05 Sep 2025 00:13:07 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=3gsi8Q9lfDY8Knnl5vuiQp4974u/GhhWCu2gX+NfK7c=; b=O3j1u18HtkggZutodCfHgEpUCtt3H7y617xY00brk+HV8LHNlTgRSmHYwuw4xKDI3fjYHB +zWWYnUxq+dchxZX93MqZSNW81QLwH2SxRPSIkN0h1Bp9BseRvv9QPXR9CFcN1g9edTQz3Ez +VV1P2CYMgHIygZDYHmEC3ZpwnMiXHDQgcvpl4E1Q5/W3GVO1UqzJAXMWbTXo44LpdRCY3dm 9Q+KZc4LIrMgQW/i1k0YHPXwSnhvj2OZ7QRL9sLZA89PUmTAWc+tsNnXz9WeCeEpAnsWf+sZ ClGhs10R41OQh64CULIrkLKeo9STvwmLza3blmb8GDyM6J52/RzF4Uew==; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Peter Marko Subject: [meta-oe][PATCH 06/10] poco: disable redis config by default Date: Fri, 5 Sep 2025 00:11:35 +0200 Message-Id: <20250904221139.3131569-6-peter.marko@siemens.com> In-Reply-To: <20250904221139.3131569-1-peter.marko@siemens.com> References: <20250904221139.3131569-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628: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 ; Thu, 04 Sep 2025 22:13:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119303 From: Peter Marko Tests for Redis are completely failing. Should be fixed by someone interested in this feature. Each test gives: Couldn't connect to [localhost:6379]. test: Not connected, test skipped. And summary shows: !!!FAILURES!!! Runs: 54 Failures: 0 Errors: 1 There was 1 error: 1: CppUnit::TestCaller.testPool "Poco::AssertionViolationException: Assertion violation: _output in file "../sources/poco-1.13.3/Redis/src/Client.cpp", line 178" in "", line -1 Signed-off-by: Peter Marko --- meta-oe/recipes-support/poco/poco_1.13.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-support/poco/poco_1.13.3.bb b/meta-oe/recipes-support/poco/poco_1.13.3.bb index 3a15b74537..97e4d9f963 100644 --- a/meta-oe/recipes-support/poco/poco_1.13.3.bb +++ b/meta-oe/recipes-support/poco/poco_1.13.3.bb @@ -24,7 +24,7 @@ inherit cmake ptest # By default the most commonly used poco components are built # Foundation is built anyway and doesn't need to be listed explicitly # these don't have dependencies outside oe-core -PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataSQLite Zip Encodings Redis Prometheus" +PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataSQLite Zip Encodings Prometheus" # MongoDB does not build for all architectures yet keep in sync with COMPATIBLE_HOST list in mongodb recipe # and mongodb needs meta-python enabled as well PACKAGECONFIG:remove:riscv32 = "MongoDB" @@ -47,7 +47,6 @@ PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF" PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON,-DENABLE_DATA_SQLITE=OFF,sqlite3" PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF" PACKAGECONFIG[Encodings] = "-DENABLE_ENCODINGS=ON,-DENABLE_ENCODINGS=OFF" -PACKAGECONFIG[Redis] = "-DENABLE_REDIS=ON,-DENABLE_REDIS=OFF" PACKAGECONFIG[Prometheus] = "-DENABLE_PROMETHEUS=ON,-DENABLE_PROMETHEUS=OFF" # Additional components not build by default, @@ -61,6 +60,7 @@ PACKAGECONFIG[ActiveRecord] = "-DENABLE_ACTIVERECORD=ON,-DENABLE_ACTIVERECORD=OF PACKAGECONFIG[ActiveRecordCompiler] = "-DENABLE_ACTIVERECORD_COMPILER=ON,-DENABLE_ACTIVERECORD_COMPILER=OFF" PACKAGECONFIG[PageCompiler] = "-DENABLE_PAGECOMPILER=ON,-DENABLE_PAGECOMPILER=OFF" PACKAGECONFIG[PageCompilerFile2Page] = "-DENABLE_PAGECOMPILER_FILE2PAGE=ON,-DENABLE_PAGECOMPILER_FILE2PAGE=OFF" +PACKAGECONFIG[Redis] = "-DENABLE_REDIS=ON,-DENABLE_REDIS=OFF" PACKAGECONFIG[SevenZip] = "-DENABLE_SEVENZIP=ON,-DENABLE_SEVENZIP=OFF" EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DPOCO_UNBUNDLED=ON \ From patchwork Thu Sep 4 22:11:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 69699 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 A1CDECA1012 for ; Thu, 4 Sep 2025 22:13:21 +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.web10.7365.1757023995840959252 for ; Thu, 04 Sep 2025 15:13:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm1 header.b=CEv6p/K8; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.226, mailfrom: fm-256628-202509042213135ebf27d4b900020792-d7wyvy@rts-flowmailer.siemens.com) Received: by mta-64-226.siemens.flowmailer.net with ESMTPSA id 202509042213135ebf27d4b900020792 for ; Fri, 05 Sep 2025 00:13:13 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=LYTUKF8zqMpqVswCvH2ld1QMERIBqaQyWB3r2jvlVyc=; b=CEv6p/K80WfgjwsatmEKBQQUBRGl7XpeGsJzXPY94YtCpAybyN85PiNJSwXyR4nRKT1G2Q sZA3uEiPfmF/SVYmb8rRyGhGTCGu1FdY9T9/xdFj9ytKbNNYHjVPTM2sZ52Ko3Eat88bAwCh 6pCwLOqsI2e2JYe+8hoRhAu0tYWCDU/GgME8w1w///M/OeoemlWbteML2KjsEJdC5ZfyYOMd jIqugpxSDx3NZAnOQU7awqWMooSB1zPEyaSPqvfAjHXDbCQsZIpyo5EEJMW830NkAp6s2KaG iVaWypc8kxlyhttYXiBwXvmBp2TBIHxAUv/gzh3Yr+WPWTCwGVvEN1Sw==; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Peter Marko Subject: [meta-oe][PATCH 07/10] poco: move MongoDB to group of configs disabled by default Date: Fri, 5 Sep 2025 00:11:36 +0200 Message-Id: <20250904221139.3131569-7-peter.marko@siemens.com> In-Reply-To: <20250904221139.3131569-1-peter.marko@siemens.com> References: <20250904221139.3131569-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628: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 ; Thu, 04 Sep 2025 22:13:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119304 From: Peter Marko MongoDB recipe is currently unbuildable. Signed-off-by: Peter Marko --- meta-oe/recipes-support/poco/poco_1.13.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/poco/poco_1.13.3.bb b/meta-oe/recipes-support/poco/poco_1.13.3.bb index 97e4d9f963..6d93ca4b08 100644 --- a/meta-oe/recipes-support/poco/poco_1.13.3.bb +++ b/meta-oe/recipes-support/poco/poco_1.13.3.bb @@ -36,7 +36,6 @@ PACKAGECONFIG:remove:class-native = "MongoDB DataODBC" PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat" PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF" -PACKAGECONFIG[MongoDB] = "-DENABLE_MONGODB=ON,-DENABLE_MONGODB=OFF" PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,zlib" PACKAGECONFIG[Util] = "-DENABLE_UTIL=ON,-DENABLE_UTIL=OFF" PACKAGECONFIG[Net] = "-DENABLE_NET=ON,-DENABLE_NET=OFF" @@ -58,6 +57,7 @@ PACKAGECONFIG[DataMySQL] = "-DENABLE_DATA_MYSQL=ON -DMYSQL_LIB:STRING=mysqlclien PACKAGECONFIG[DataODBC] = "-DENABLE_DATA_ODBC=ON,-DENABLE_DATA_ODBC=OFF,libiodbc" PACKAGECONFIG[ActiveRecord] = "-DENABLE_ACTIVERECORD=ON,-DENABLE_ACTIVERECORD=OFF" PACKAGECONFIG[ActiveRecordCompiler] = "-DENABLE_ACTIVERECORD_COMPILER=ON,-DENABLE_ACTIVERECORD_COMPILER=OFF" +PACKAGECONFIG[MongoDB] = "-DENABLE_MONGODB=ON,-DENABLE_MONGODB=OFF" PACKAGECONFIG[PageCompiler] = "-DENABLE_PAGECOMPILER=ON,-DENABLE_PAGECOMPILER=OFF" PACKAGECONFIG[PageCompilerFile2Page] = "-DENABLE_PAGECOMPILER_FILE2PAGE=ON,-DENABLE_PAGECOMPILER_FILE2PAGE=OFF" PACKAGECONFIG[Redis] = "-DENABLE_REDIS=ON,-DENABLE_REDIS=OFF" From patchwork Thu Sep 4 22:11:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 69701 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 A7428CA1013 for ; Thu, 4 Sep 2025 22:13:31 +0000 (UTC) Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net [185.136.65.227]) by mx.groups.io with SMTP id smtpd.web10.7367.1757024001548939494 for ; Thu, 04 Sep 2025 15:13:21 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm1 header.b=gWcRer1R; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.65.227, mailfrom: fm-256628-2025090422131936f438213600020756-jbcity@rts-flowmailer.siemens.com) Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 2025090422131936f438213600020756 for ; Fri, 05 Sep 2025 00:13:19 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=JRWVDjcSC7UdnAanqlF5rvLu/YBZA6Eag3H2qrTER2k=; b=gWcRer1RYPl1lwt3vq+gcddwMtQ8uHUe0gi9lnNSqwfgX7IER/54OyHsuW6/LPnWR2SfVy UhPWR4/4VYNpbPZKBRGwZzRg2aDcF3s6afXopH+8KYtq0CRHwWECBVurbN6p3PZdfJgcK9y0 c+yDM6QRZhk5IeMeb+Jx7wAgSfX/N+Iw2NhjC2jcFXY+vSV1Y+VLx1pevHQBlgXBnDlGdzNb cOx/WG91ZaXMQ0yKKT7i45PqUqKD7vZJPk8DcQClz7urvAFfmLMqsvDkhzz9b4zjTrS8Ewja i7nUlMrfKtcbVRzUyqB67LRiCKJpUTBWJFfsxr3YuHkWgZyVDzwRmfdQ==; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Peter Marko Subject: [meta-oe][PATCH 08/10] poco: enable postgresql support Date: Fri, 5 Sep 2025 00:11:37 +0200 Message-Id: <20250904221139.3131569-8-peter.marko@siemens.com> In-Reply-To: <20250904221139.3131569-1-peter.marko@siemens.com> References: <20250904221139.3131569-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628: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 ; Thu, 04 Sep 2025 22:13:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119305 From: Peter Marko This was added in recent poco versions and this recipe seems to have configs for all features. Signed-off-by: Peter Marko --- meta-oe/recipes-support/poco/poco/run-ptest | 21 +++++++++++++++++++++ meta-oe/recipes-support/poco/poco_1.13.3.bb | 16 +++++++++++----- 2 files changed, 32 insertions(+), 5 deletions(-) diff --git a/meta-oe/recipes-support/poco/poco/run-ptest b/meta-oe/recipes-support/poco/poco/run-ptest index 95fd988e48..5721ca39e4 100644 --- a/meta-oe/recipes-support/poco/poco/run-ptest +++ b/meta-oe/recipes-support/poco/poco/run-ptest @@ -7,6 +7,25 @@ if ! nslookup secure.appinf.com >/dev/null 2>&1; then echo 'nameserver 8.8.8.8' > /etc/resolv.conf fi +setup_test() { + case "$1" in + "DataPostgreSQL-testrunner") + if [ "$2" = "start" ]; then + # init database + postgresql-setup initdb + # do not require authentication for tests + mv /var/lib/postgresql/data/pg_hba.conf /var/lib/postgresql/data/pg_hba.conf.backup + sed s:ident$:trust: /var/lib/postgresql/data/pg_hba.conf.backup > /var/lib/postgresql/data/pg_hba.conf + # start as in combination of posgresql.service and posgresql.init + su -l postgres -c 'pg_ctl start -D /var/lib/postgresql/data -s -o "-p 5432" -w -t 300' + else + su -l postgres -c 'pg_ctl stop -D /var/lib/postgresql/data -s -m fast' + mv /var/lib/postgresql/data/pg_hba.conf.backup /var/lib/postgresql/data/pg_hba.conf + fi + ;; + esac +} + export POCO_BASE=/usr/lib/poco/ptest export LD_LIBRARY_PATH=${POCO_BASE}/bin:${LD_LIBRARY_PATH} i=0 @@ -14,7 +33,9 @@ while read runner; do oldpath=`pwd` >/dev/null cd bin echo Testing $runner + setup_test $runner start ./$runner -ignore $oldpath/cppignore.lnx -all + setup_test $runner stop export res$((i++))=$? cd $oldpath >/dev/null done < testrunners diff --git a/meta-oe/recipes-support/poco/poco_1.13.3.bb b/meta-oe/recipes-support/poco/poco_1.13.3.bb index 6d93ca4b08..c57c207f82 100644 --- a/meta-oe/recipes-support/poco/poco_1.13.3.bb +++ b/meta-oe/recipes-support/poco/poco_1.13.3.bb @@ -24,7 +24,7 @@ inherit cmake ptest # By default the most commonly used poco components are built # Foundation is built anyway and doesn't need to be listed explicitly # these don't have dependencies outside oe-core -PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataSQLite Zip Encodings Prometheus" +PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataPostgreSQL DataSQLite Zip Encodings Prometheus" # MongoDB does not build for all architectures yet keep in sync with COMPATIBLE_HOST list in mongodb recipe # and mongodb needs meta-python enabled as well PACKAGECONFIG:remove:riscv32 = "MongoDB" @@ -32,7 +32,7 @@ PACKAGECONFIG:remove:riscv64 = "MongoDB" PACKAGECONFIG:remove:mipsarch = "MongoDB" PACKAGECONFIG:remove:powerpc = "MongoDB" # Following options have dependencies on recipes which don't have native variant -PACKAGECONFIG:remove:class-native = "MongoDB DataODBC" +PACKAGECONFIG:remove:class-native = "MongoDB DataODBC DataPostgreSQL" PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat" PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF" @@ -43,6 +43,7 @@ PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON,-DENABLE_NETSSL=OFF,openssl" PACKAGECONFIG[Crypto] = "-DENABLE_CRYPTO=ON,-DENABLE_CRYPTO=OFF,openssl" PACKAGECONFIG[JWT] = "-DENABLE_JWT=ON,-DENABLE_JWT=OFF,openssl" PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF" +PACKAGECONFIG[DataPostgreSQL] = "-DENABLE_DATA_POSTGRESQL=ON,-DENABLE_DATA_POSTGRESQL=OFF,postgresql,postgresql" PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON,-DENABLE_DATA_SQLITE=OFF,sqlite3" PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF" PACKAGECONFIG[Encodings] = "-DENABLE_ENCODINGS=ON,-DENABLE_ENCODINGS=OFF" @@ -94,6 +95,9 @@ python populate_packages:prepend () { do_install_ptest () { cp -rf ${B}/bin/ ${D}${PTEST_PATH} cp -f ${B}/lib/libCppUnit.so* ${D}${libdir} + if ${@bb.utils.contains('PACKAGECONFIG', 'DataPostgreSQL', 'true', 'false', d)}; then + cp -f ${B}/lib/libPocoDataTest.so* ${D}${libdir} + fi cp -rf ${B}/*/testsuite/data ${D}${PTEST_PATH}/bin/ find "${D}${PTEST_PATH}" -executable -exec chrpath -d {} \; rm -f ${D}${PTEST_PATH}/testrunners @@ -108,12 +112,14 @@ PACKAGES_DYNAMIC = "poco-.*" # "poco" is a metapackage which pulls in all Poco components ALLOW_EMPTY:${PN} = "1" -# cppunit is only built if tests are enabled -PACKAGES =+ "${PN}-cppunit" +# cppunit and datatest is only built if tests are enabled +PACKAGES =+ "${PN}-cppunit ${PN}-datatest" FILES:${PN}-cppunit += "${libdir}/libCppUnit.so*" ALLOW_EMPTY:${PN}-cppunit = "1" +FILES:${PN}-datatest += "${libdir}/libPocoDataTest.so*" +ALLOW_EMPTY:${PN}-datatest = "1" -RDEPENDS:${PN}-ptest += "${PN}-cppunit" +RDEPENDS:${PN}-ptest += "${PN}-cppunit ${PN}-datatest" RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PACKAGECONFIG', 'MongoDB', 'mongodb', '', d)}" RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PACKAGECONFIG', 'Redis', 'redis', '', d)}" From patchwork Thu Sep 4 22:11:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 69700 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 A9548CA1016 for ; Thu, 4 Sep 2025 22:13:31 +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.web10.7369.1757024008328412647 for ; Thu, 04 Sep 2025 15:13:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm1 header.b=DwQsy2mL; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.225, mailfrom: fm-256628-20250904221326279d02528d000207dd-_ntv1e@rts-flowmailer.siemens.com) Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 20250904221326279d02528d000207dd for ; Fri, 05 Sep 2025 00:13:26 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=9t3AGoKUaOUQihgKbw4p0MUE6H5WcUWIhYUvHY5VlWk=; b=DwQsy2mLz6ZS1+tsnCUfabgtthAuvnflYWnEKQXsIDLOpn2WiVz3IuGyEsrmPhD5Xmb3CB L4Q40hGTAIZYEExbYlmfzYuuF8nDfCXfZlowjiXN+ePd3tm4epGVqFiZcjwB2/ptuU+YEP5O nWDNUsFzAxZwf0Mk2mRWDv3ge1QP96E2niIMsyDekLru2hVZ1yIf3zggtDTDtWxzmm9juxAh y5vu8L5U08uXw2Gyml8BSZ/kUxaLWDOLhEyrrgnM5+Cb4G2Za0eMoHch34z9itYwJpobYxH2 BSd9nucuT5bCSLAV9MMuhReYWq83ZRNzquRcsLTFXmEWrCcnjMkt2OoA==; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Peter Marko Subject: [meta-oe][PATCH 09/10] utf8proc: add new recipe with ptest Date: Fri, 5 Sep 2025 00:11:38 +0200 Message-Id: <20250904221139.3131569-9-peter.marko@siemens.com> In-Reply-To: <20250904221139.3131569-1-peter.marko@siemens.com> References: <20250904221139.3131569-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628: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 ; Thu, 04 Sep 2025 22:13:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119306 From: Peter Marko It is needed for poco 1.14+ Ptest runs for less than a second. Signed-off-by: Peter Marko --- .../include/ptest-packagelists-meta-oe.inc | 1 + .../utf8proc/utf8proc/run-ptest | 15 +++++++++ .../utf8proc/utf8proc_2.10.0.bb | 33 +++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc/run-ptest create mode 100644 meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc index d77b97d576..18324ff0d3 100644 --- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc +++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc @@ -44,6 +44,7 @@ PTESTS_FAST_META_OE = "\ pv \ sdbus-c++ \ tomlplusplus \ + utf8proc \ uthash \ xmlsec1 \ zeromq \ diff --git a/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest b/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest new file mode 100644 index 0000000000..349e496d68 --- /dev/null +++ b/meta-oe/recipes-support/utf8proc/utf8proc/run-ptest @@ -0,0 +1,15 @@ +#!/bin/sh + +execute_test() { + eval "./$1" && echo "PASS: $1" || echo "FAIL: $1" +} + +execute_test "case" +execute_test "custom" +execute_test "iterate" +execute_test "misc" +execute_test "printproperty" +execute_test "valid" +execute_test "charwidth" +execute_test "graphemetest data/GraphemeBreakTest.txt" +execute_test "normtest data/NormalizationTest.txt" diff --git a/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb b/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb new file mode 100644 index 0000000000..e42d16b8b7 --- /dev/null +++ b/meta-oe/recipes-support/utf8proc/utf8proc_2.10.0.bb @@ -0,0 +1,33 @@ +SUMMARY = "library that provides operations for data in the UTF-8 encoding" +DESCRIPTION = "utf8proc is a small, clean C library that provides Unicode \ +normalization, case-folding, and other operations for data in the UTF-8 \ +encoding, supporting Unicode version 16.0" +HOMEPAGE = "https://juliastrings.github.io/utf8proc/" +SECTION = "libs" + +LICENSE = "MIT & Unicode-3.0" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=96d5a3ba306e0f24fb289427af484408" + +SRC_URI = "\ + git://github.com/JuliaStrings/utf8proc;protocol=https;branch=master;tag=v${PV} \ + file://run-ptest \ +" + +inherit cmake ptest + +EXTRA_OECMAKE = "\ + -DBUILD_SHARED_LIBS=ON \ + ${@bb.utils.contains('PTEST_ENABLED', '1', '-DBUILD_TESTING=ON -DUTF8PROC_ENABLE_TESTING=ON ', '', d)} \ +" + +do_install_ptest() { + # this list and run-ptest needs to be updated on upgrade (the project uses add_test feature) + for t in "case" custom iterate misc printproperty valid charwidth graphemetest normtest; do + install -m 0755 ${B}/$t ${D}${PTEST_PATH}/ + done + install -d ${D}${PTEST_PATH}/data + install -m 0644 ${B}/data/GraphemeBreakTest.txt ${D}${PTEST_PATH}/data/ + install -m 0644 ${B}/data/NormalizationTest.txt ${D}${PTEST_PATH}/data/ +} + +BBCLASSEXTEND = "native" From patchwork Thu Sep 4 22:11:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 69702 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 AA0CCCA1013 for ; Thu, 4 Sep 2025 22:13:41 +0000 (UTC) Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net [185.136.65.227]) by mx.groups.io with SMTP id smtpd.web11.7441.1757024015780899498 for ; Thu, 04 Sep 2025 15:13:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm1 header.b=TB6sPbCc; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.65.227, mailfrom: fm-256628-20250904221333d9381874cd000207d2-gx5bio@rts-flowmailer.siemens.com) Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 20250904221333d9381874cd000207d2 for ; Fri, 05 Sep 2025 00:13:33 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=KoFJqUdo1wccTWMGFDV8bIhXT5A+gp3Wh/U2QyyNFQg=; b=TB6sPbCc8v1QLAQnQnK+f7C2mMVfQ91tI+rpvCVhYlR+0DopvR5URcqpBMnPm2WF2EjtmL iLFEEji80ckX0XPnWou9de82+YfKw7WoM3w4CzfWAGzqIwY15kZ1llJk2DySRCtktYtWRbod o5358LQ5cCsE8kSmz81R4fDI+UguEW3T8IOGt8LW8iGq5UHDa4lMLJBER04T2oTytO+uAgzX EjcISJtgbbk81y9p9YSnEi8Q6LRlV9bPFwxqUXgJGJ4uSkzmtN8ZtNIQ7FvnZDdsr5LHgABL fCviNG80sjOlidzcEsRDY+HuNfkaZjE1TYCMxt65ycE2Z9+E6tc0KK2w==; From: Peter Marko To: openembedded-devel@lists.openembedded.org Cc: Peter Marko Subject: [meta-oe][PATCH 10/10] poco: upgrade 1.13.3 -> 1.14.2 Date: Fri, 5 Sep 2025 00:11:39 +0200 Message-Id: <20250904221139.3131569-10-peter.marko@siemens.com> In-Reply-To: <20250904221139.3131569-1-peter.marko@siemens.com> References: <20250904221139.3131569-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628: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 ; Thu, 04 Sep 2025 22:13:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119307 From: Peter Marko Release notes: * https://github.com/pocoproject/poco/releases/tag/poco-1.14.0-release * https://github.com/pocoproject/poco/releases/tag/poco-1.14.1-release * https://github.com/pocoproject/poco/releases/tag/poco-1.14.2-release Handles CVE-2025-6375 (in 1.14.2) and several other security issues without CVE assignment. Changes: * remove patches included in new release * added new dependency utf8proc for Foundation * added libpng dependency to PDF (was bundled previously) * added new component DNSSD (Avahi) * fixed buildpaths issue * removed failing test Test with databases are problematic: * ODBC - does not compile (previously caused QA errors) * https://github.com/pocoproject/poco/issues/5010 * MySQL - broken test - database not connecting (already in old version) * Redis - broken test - database not connecting (already in old version) Should be fixed by someone needing these modules. Example can be taken from my ptest patch for PostgreSQL. Signed-off-by: Peter Marko --- ...er.h-fix-the-build-on-gcc-15-unsatis.patch | 59 ------------------- ...DataTest-disable-testSQLChannel-test.patch | 26 ++++++++ ...uild-error-with-GCC-15-class-Poco-Pr.patch | 53 ----------------- .../poco/{poco_1.13.3.bb => poco_1.14.2.bb} | 26 +++++--- 4 files changed, 44 insertions(+), 120 deletions(-) delete mode 100644 meta-oe/recipes-support/poco/poco/0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch create mode 100644 meta-oe/recipes-support/poco/poco/0002-DataTest-disable-testSQLChannel-test.patch delete mode 100644 meta-oe/recipes-support/poco/poco/0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch rename meta-oe/recipes-support/poco/{poco_1.13.3.bb => poco_1.14.2.bb} (86%) diff --git a/meta-oe/recipes-support/poco/poco/0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch b/meta-oe/recipes-support/poco/poco/0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch deleted file mode 100644 index d976a1f83b..0000000000 --- a/meta-oe/recipes-support/poco/poco/0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 03c35cff930e421199b586c33a00eb6cc537ba28 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Thu, 19 Sep 2024 09:36:48 +0100 -Subject: [PATCH] SimpleRowFormatter.h: fix the build on `gcc-15` (unsatisfied - `noexcept`) - -On today's `gcc-15` poco fails to build as: - - In file included from /build/source/Data/include/Poco/Data/Statement.h:27, - from /build/source/Data/include/Poco/Data/Session.h:23, - from /build/source/Data/include/Poco/Data/ArchiveStrategy.h:22, - from /build/source/Data/src/ArchiveStrategy.cpp:15: - /build/source/Data/include/Poco/Data/SimpleRowFormatter.h:114:21: error: declaration of 'std::_Require >, std::is_move_construc - tible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) noexcept [with _Tp = Poco::Data::SimpleRowFormatter; _Require<__not_<__is_tuple_like<_Tp> >, is_move_constructible<_Tp>, is_move_assignable<_Tp> > = void]' has a different exception specifier - 114 | inline void swap(Poco::Data::SimpleRowFormatter& s1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - In file included from /nix/store/...-gcc-15.0.0/include/c++/15.0.0/bits/new_allocator.h:36, - from /nix/store/...-gcc-15.0.0/include/c++/15.0.0/x86_64-unknown-linux-gnu/bits/c++allocator.h:33, - from /nix/store/...-gcc-15.0.0/include/c++/15.0.0/bits/allocator.h:46, - from /nix/store/...-gcc-15.0.0/include/c++/15.0.0/string:43, - from /build/source/Foundation/include/Poco/Foundation.h:94, - from /build/source/Data/include/Poco/Data/Data.h:23, - from /build/source/Data/include/Poco/Data/ArchiveStrategy.h:21: - /nix/store/...-gcc-15.0.0/include/c++/15.0.0/bits/move.h:214:5: note: from previous declaration 'std::_Require >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) noexcept (false) [with _Tp = Poco::Data::SimpleRowFormatter; _Require<__not_<__is_tuple_like<_Tp> >, is_move_constructible<_Tp>, is_move_assignable<_Tp> > = void]' - 214 | swap(_Tp& __a, _Tp& __b) - | ^~~~ - -Possibly because `SimpleRowFormatter` does not have constructors and -assignment operators that involve rvalue references? - -Updated `noexcept` condition. Fixes the build on` gcc-15`. Still -compiles on `gcc-13`. - -Upstream-Status: Backport [03c35cf SimpleRowFormatter.h: fix the build on `gcc-15` (unsatisfied `noexcept`)] -Signed-off-by: mark.yang ---- - Data/include/Poco/Data/SimpleRowFormatter.h | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -diff --git a/Data/include/Poco/Data/SimpleRowFormatter.h b/Data/include/Poco/Data/SimpleRowFormatter.h -index 0dcb43b0b..c8417b3a7 100644 ---- a/Data/include/Poco/Data/SimpleRowFormatter.h -+++ b/Data/include/Poco/Data/SimpleRowFormatter.h -@@ -109,13 +109,10 @@ inline std::streamsize SimpleRowFormatter::getSpacing() const - - namespace std - { -- // Note: for an unknown reason, clang refuses to compile this function as noexcept - template<> - inline void swap(Poco::Data::SimpleRowFormatter& s1, - Poco::Data::SimpleRowFormatter& s2) --#ifndef POCO_COMPILER_CLANG -- noexcept --#endif -+ noexcept(std::is_nothrow_swappable_v) - /// Full template specalization of std:::swap for SimpleRowFormatter - { - s1.swap(s2); - diff --git a/meta-oe/recipes-support/poco/poco/0002-DataTest-disable-testSQLChannel-test.patch b/meta-oe/recipes-support/poco/poco/0002-DataTest-disable-testSQLChannel-test.patch new file mode 100644 index 0000000000..7628a8625a --- /dev/null +++ b/meta-oe/recipes-support/poco/poco/0002-DataTest-disable-testSQLChannel-test.patch @@ -0,0 +1,26 @@ +From 0a8c7e5e074c124c2d5e5713fc3038295324cf96 Mon Sep 17 00:00:00 2001 +From: Peter Marko +Date: Thu, 4 Sep 2025 22:27:26 +0200 +Subject: [PATCH] DataTest: disable testSQLChannel test + +It takes forever and then is killed by signal 9 + +Upstream-Status: Inappropriate [OE specific] +Signed-off-by: Peter Marko +--- + Data/testsuite/src/DataTest.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Data/testsuite/src/DataTest.cpp b/Data/testsuite/src/DataTest.cpp +index e18b87edc..60fd266c3 100644 +--- a/Data/testsuite/src/DataTest.cpp ++++ b/Data/testsuite/src/DataTest.cpp +@@ -1648,7 +1648,7 @@ CppUnit::Test* DataTest::suite() + CppUnit_addTest(pSuite, DataTest, testExternalBindingAndExtraction); + CppUnit_addTest(pSuite, DataTest, testTranscode); + CppUnit_addTest(pSuite, DataTest, testSQLParse); +- CppUnit_addTest(pSuite, DataTest, testSQLChannel); ++ //CppUnit_addTest(pSuite, DataTest, testSQLChannel); + CppUnit_addTest(pSuite, DataTest, testNullableExtract); + + return pSuite; diff --git a/meta-oe/recipes-support/poco/poco/0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch b/meta-oe/recipes-support/poco/poco/0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch deleted file mode 100644 index e607063d58..0000000000 --- a/meta-oe/recipes-support/poco/poco/0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 6faf90773a7327e54342a5d3caee151623b5caf0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= -Date: Fri, 27 Sep 2024 08:53:18 +0200 -Subject: [PATCH] =?UTF-8?q?fix(Foundation):=20Build=20error=20with=20GCC-1?= - =?UTF-8?q?5=20(class=20Poco::PriorityDelegate?= - =?UTF-8?q?=E2=80=99=20has=20no=20member=20named=20=E2=80=98=5FpTarget?= - =?UTF-8?q?=E2=80=99)=20(#4695)?= -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Upstream-Status: Backport [6faf907 fix(Foundation): Build error with GCC-15 (class Poco::PriorityDelegate’ has no member named ‘_pTarget’) (#4695)] -Signed-off-by: mark.yang ---- - Foundation/include/Poco/PriorityDelegate.h | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/Foundation/include/Poco/PriorityDelegate.h b/Foundation/include/Poco/PriorityDelegate.h -index 4cd664aab..cac9cf25e 100644 ---- a/Foundation/include/Poco/PriorityDelegate.h -+++ b/Foundation/include/Poco/PriorityDelegate.h -@@ -52,7 +52,6 @@ public: - { - if (&delegate != this) - { -- this->_pTarget = delegate._pTarget; - this->_receiverObject = delegate._receiverObject; - this->_receiverMethod = delegate._receiverMethod; - this->_priority = delegate._priority; -@@ -126,7 +125,6 @@ public: - { - if (&delegate != this) - { -- this->_pTarget = delegate._pTarget; - this->_receiverObject = delegate._receiverObject; - this->_receiverMethod = delegate._receiverMethod; - this->_priority = delegate._priority; -@@ -200,7 +198,6 @@ public: - { - if (&delegate != this) - { -- this->_pTarget = delegate._pTarget; - this->_receiverObject = delegate._receiverObject; - this->_receiverMethod = delegate._receiverMethod; - this->_priority = delegate._priority; -@@ -274,7 +271,6 @@ public: - { - if (&delegate != this) - { -- this->_pTarget = delegate._pTarget; - this->_receiverObject = delegate._receiverObject; - this->_receiverMethod = delegate._receiverMethod; - this->_priority = delegate._priority; diff --git a/meta-oe/recipes-support/poco/poco_1.13.3.bb b/meta-oe/recipes-support/poco/poco_1.14.2.bb similarity index 86% rename from meta-oe/recipes-support/poco/poco_1.13.3.bb rename to meta-oe/recipes-support/poco/poco_1.14.2.bb index c57c207f82..9cdc9e325c 100644 --- a/meta-oe/recipes-support/poco/poco_1.13.3.bb +++ b/meta-oe/recipes-support/poco/poco_1.14.2.bb @@ -6,15 +6,14 @@ LICENSE = "BSL-1.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc" # These dependencies are required by Foundation -DEPENDS = "libpcre2 zlib" +DEPENDS = "libpcre2 utf8proc zlib" -SRC_URI = "git://github.com/pocoproject/poco.git;branch=poco-1.13.3;protocol=https \ +SRC_URI = "git://github.com/pocoproject/poco.git;branch=poco-${PV};protocol=https;tag=poco-${PV}-release \ file://0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch \ + file://0002-DataTest-disable-testSQLChannel-test.patch \ file://run-ptest \ - file://0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch \ - file://0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch \ " -SRCREV = "7f848d25aa0461d3beeff1189dc61b48ffe8e2f4" +SRCREV = "96d182a99303fb068575294b36f0cc20da2e7b25" UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P\d+(\.\d+)+)" @@ -24,7 +23,7 @@ inherit cmake ptest # By default the most commonly used poco components are built # Foundation is built anyway and doesn't need to be listed explicitly # these don't have dependencies outside oe-core -PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataPostgreSQL DataSQLite Zip Encodings Prometheus" +PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataPostgreSQL DataSQLite DNSSDAvahi Zip Encodings Prometheus" # MongoDB does not build for all architectures yet keep in sync with COMPATIBLE_HOST list in mongodb recipe # and mongodb needs meta-python enabled as well PACKAGECONFIG:remove:riscv32 = "MongoDB" @@ -32,11 +31,11 @@ PACKAGECONFIG:remove:riscv64 = "MongoDB" PACKAGECONFIG:remove:mipsarch = "MongoDB" PACKAGECONFIG:remove:powerpc = "MongoDB" # Following options have dependencies on recipes which don't have native variant -PACKAGECONFIG:remove:class-native = "MongoDB DataODBC DataPostgreSQL" +PACKAGECONFIG:remove:class-native = "MongoDB DataODBC DataPostgreSQL DNSSDAvahi" PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat" PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF" -PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,zlib" +PACKAGECONFIG[PDF] = "-DENABLE_PDF=ON,-DENABLE_PDF=OFF,libpng zlib" PACKAGECONFIG[Util] = "-DENABLE_UTIL=ON,-DENABLE_UTIL=OFF" PACKAGECONFIG[Net] = "-DENABLE_NET=ON,-DENABLE_NET=OFF" PACKAGECONFIG[NetSSL] = "-DENABLE_NETSSL=ON,-DENABLE_NETSSL=OFF,openssl" @@ -45,6 +44,7 @@ PACKAGECONFIG[JWT] = "-DENABLE_JWT=ON,-DENABLE_JWT=OFF,openssl" PACKAGECONFIG[Data] = "-DENABLE_DATA=ON,-DENABLE_DATA=OFF" PACKAGECONFIG[DataPostgreSQL] = "-DENABLE_DATA_POSTGRESQL=ON,-DENABLE_DATA_POSTGRESQL=OFF,postgresql,postgresql" PACKAGECONFIG[DataSQLite] = "-DENABLE_DATA_SQLITE=ON,-DENABLE_DATA_SQLITE=OFF,sqlite3" +PACKAGECONFIG[DNSSDAvahi] = "-DENABLE_DNSSD=ON -DENABLE_DNSSD_AVAHI=ON,-DENABLE_DNSSD=OFF -DENABLE_DNSSD_AVAHI=OFF,avahi" PACKAGECONFIG[Zip] = "-DENABLE_ZIP=ON,-DENABLE_ZIP=OFF" PACKAGECONFIG[Encodings] = "-DENABLE_ENCODINGS=ON,-DENABLE_ENCODINGS=OFF" PACKAGECONFIG[Prometheus] = "-DENABLE_PROMETHEUS=ON,-DENABLE_PROMETHEUS=OFF" @@ -92,6 +92,16 @@ python populate_packages:prepend () { d.setVar("RRECOMMENDS:%s" % pn, " ".join(packages)) } +do_install:append() { + # fix buildpaths + if [ -e ${D}${nonarch_libdir}/cmake/Poco/PocoPDFTargets.cmake ]; then + sed -i 's#${RECIPE_SYSROOT}##' ${D}${nonarch_libdir}/cmake/Poco/PocoPDFTargets.cmake + fi + if [ -e ${D}${nonarch_libdir}/cmake/Poco/PocoDNSSDAvahiTargets.cmake ]; then + sed -i 's#${RECIPE_SYSROOT}##g' ${D}${nonarch_libdir}/cmake/Poco/PocoDNSSDAvahiTargets.cmake + fi +} + do_install_ptest () { cp -rf ${B}/bin/ ${D}${PTEST_PATH} cp -f ${B}/lib/libCppUnit.so* ${D}${libdir}