From patchwork Fri Aug 21 18:02:03 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 96021 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 8F04AC5DF97 for ; Fri, 21 Aug 2026 18:02:25 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.700.1787335336650791888 for ; Fri, 21 Aug 2026 11:02:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=EzeXXb/U; spf=pass (domain: gmail.com, ip: 209.85.214.172, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-2d5cad1a6baso12849055ad.3 for ; Fri, 21 Aug 2026 11:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787335336; x=1787940136; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=h0uyvyBH+iOKSP3oW8+pEyXz4vOf/X7inkmCw06xgY0=; b=EzeXXb/U+ripaN1JYpmlQosqu5VlHh9cLMyk6/ylUzcimQ6m9tEJOSRt3CDIzZxcb5 gohv+4nO7VG1R06pha9r52exvArFrJRV2M0On14Eue51tB5nPyaSeNg3rghqiz01/cln e29hXrO6VTmys18dqBOo84PMDvx4zKCg3uJ+6IclOVvqSmCNuW1TmEV/oIwK1K/acEMz UraqnUVkkjvGnwaKbOTmvBo+1lxecF+mP6xGk3z1J1XWGzGGXDsi84aHXHQTXHQECCBo NQPg/H502cmaQ/4Xp0fkuflA4En1xBXhykXYQNmbpW4eUXF8XtvvzMBObgu9nM0ezUTd 6B4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787335336; x=1787940136; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=h0uyvyBH+iOKSP3oW8+pEyXz4vOf/X7inkmCw06xgY0=; b=J7xzQlicNE5qfoaNAOA7q745Cd9d1jqCK/RhuSFCN3ybv16igZCGxJRPsYRGfdpAgG gMnVec8kr80Iot/Jh86jjG4UQisgMI3BAUVik/w/FaaaoWfGjJFNlXM4SjhgFFIk5gYu O8+MlWadxUoxTV381eKkXszbaTrb4FSvfXdgX4EPcKHmjwy6i99PnrvZ5UQMWZTo1Sln ReuhvgZ6iLlCcHs6kRQGrFysEJbIcQvU18Uvfx7N2a/ckTXdbRnKnmnEDCGZo1RyeDa7 sWs6GD/gKZQUFbhCWJSStndhzlclxKY1y5unR3Mk8M/tWQd5VqbKJ6r0aDe1dU7PXTfH 0I8g== X-Gm-Message-State: AFuF++ng8q04H7HB/VbRwYpbIJAskL8qR3CBGyLflhf4mBpMggUwwOAd X+I28fMUxLP6NtSPm7l5tXfkyyfn5VCMUsYUenzQA+2hM8n9PYi8U+orWRZxUwQY X-Gm-Gg: AR+sD12yKctdEW3yy/WIh1rVjstLBOwnsu+lv2xO4v0aW3piDDTb9hFMLcy1aqh1r0U k3cMksoMPepHVeFbHFs2yvyZl7f28oWyXD1Ec5Iws/KkYcIBY7a8+MkhmveeSBz4SrRtwwFbsWR I4Z2vfA4Qdpwj62Y5iSJcppRnDMKTIdNMNxJ298a7eOzE2T+3d/gF6IGCloi7IU3uUD7KXlOTt8 4Kir8I3nDZaT2Rb1w9NYVqhmD4QyzP4OziAawtN6kF7Hy430FqFEv0f7FcNsI/qGeaPeFPwdG9S JWspCJesGdEokNCS72bOgU9fw/yupBEW+9U8ssOd2lXGGhclkTGpBJ0+TMtQiMvII5Wbn7WHOpd dz1tLcRD/YjPccDMmJUaSGiOS9bbP9VvqJJ15Pp34Nr6q5oiaotw5L0cpkdZ6DdgfbSU90B2G9e Fiz60IBmU/y8vOtmw2CGdpdc4pdPCcg+XAmx/Xtf9jfx2yhKt1uP82rC2Gfr+0rxJzBMSt5Wmhb j/3FTxPYeKhtVnhG6N2RTE8rWobYaMACpIokWFgzrJJDl+ctDYBK+++7BTVqGupqnSDRpi5cTo4 sjZqLoVUXSvstOUqwe0cLQXBGk7GkIpy1zDb+Q1AG/yS3bG4KvN2barSbrTn13nK9RZFDVRPd7S 1sUkrKi6lbxNYXPv9nj985CzS5Gjd7dZ/0/PELeqAXq6vrQ== X-Received: by 2002:a17:902:f78f:b0:2c9:9a2e:dab0 with SMTP id d9443c01a7336-2d64ad92e17mr162464695ad.3.1787335335772; Fri, 21 Aug 2026 11:02:15 -0700 (PDT) Received: from apollo.localdomain ([208.95.233.74]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-327bef3bb46sm26102708eec.3.2026.08.21.11.02.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 11:02:15 -0700 (PDT) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 1/9] xdg-dbus-proxy: use VIRTUAL-RUNTIME_dbus for ptest RDEPENDS Date: Fri, 21 Aug 2026 11:02:03 -0700 Message-ID: <20260821180211.423633-1-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.55.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, 21 Aug 2026 18:02:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/129425 From: Khem Raj Hardcoding "dbus" makes the ptest image unbuildable on any distro that selects a different system bus implementation. On a systemd distro setting VIRTUAL-RUNTIME_dbus = "dbus-broker", do_rootfs fails to solve: package dbus-broker-37 conflicts with dbus provided by dbus-1-1.16.2 package systemd requires dbus-broker, but none of the providers can be installed package xdg-dbus-proxy-ptest requires dbus, but none of the providers can be installed Depend on ${VIRTUAL-RUNTIME_dbus} instead so the ptest package pulls in whichever bus the distro actually uses. Signed-off-by: Khem Raj --- meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.7.bb b/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.7.bb index a8e0a651ad..eb21f701d6 100644 --- a/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.7.bb +++ b/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.7.bb @@ -23,6 +23,6 @@ CVE_STATUS[CVE-2026-34080] = "fixed-version: fixed in 0.1.7" PACKAGECONFIG = "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" PACKAGECONFIG[tests] = "-Dtests=true -Dinstalled_tests=true,-Dtests=false -Dinstalled_tests=false" -RDEPENDS:${PN}-ptest += "dbus" +RDEPENDS:${PN}-ptest += "${VIRTUAL-RUNTIME_dbus}" BBCLASSEXTEND = "native" From patchwork Fri Aug 21 18:02:04 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 96020 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 8462EC5DF9A for ; Fri, 21 Aug 2026 18:02:25 +0000 (UTC) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.701.1787335338419098571 for ; Fri, 21 Aug 2026 11:02:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=GmzR2ZzB; spf=pass (domain: gmail.com, ip: 209.85.214.179, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-2ce98cb8165so13177025ad.1 for ; Fri, 21 Aug 2026 11:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787335338; x=1787940138; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=iffgd7pZFCJOxuulaVL9jzt4cBygjcrEUE5mE9vSV3w=; b=GmzR2ZzBFghHlL2X5XfZPxojHTkBz6ndXYDj7xGPM+VIoRasd5llYlLV8Eopur9KFQ IBeL7nDF/Huot07HlHMelizXA+HNP0QnC5J9809giq6Pi3DbT4KBP2ga35E26wtND88V IfuQzFtM0h2d2zO5k4NfG1Ag/oANvN0AKLwyWo/gfyylfk6VKNPvbHiG3PUAHp1YiULE 8rffjDSSgLDlQykZ+A+qSFp5QidIMB7DDjK9NRJmTXJyfWCX9Pz7BRqpnjwm1+W+4Kj5 KnSEma5Ul+QlFXqgFtk+/mG5P2f7CIKuxYtURAqap6FLSGOiD2lTJU0AFmBu3OhGUeZ8 73JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787335338; x=1787940138; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=iffgd7pZFCJOxuulaVL9jzt4cBygjcrEUE5mE9vSV3w=; b=Riz3Ih5djVJ/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hq5YiIaiDleWWVDd2t3KYzFEL8nbPQB95p9rjFCBf5JCwoZLqSOQku0UNr1Ak2zkeiuT2jcS pUOlUn9wtbV7HoG0SVl4+8vj9LTM5XJL0jnJy0M/pJ5pLzg== X-Received: by 2002:a17:902:ce0d:b0:2bd:2c3a:2a36 with SMTP id d9443c01a7336-2d619d47dfamr197114105ad.0.1787335337780; Fri, 21 Aug 2026 11:02:17 -0700 (PDT) Received: from apollo.localdomain ([208.95.233.74]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-327bef3bb46sm26102708eec.3.2026.08.21.11.02.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 11:02:16 -0700 (PDT) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 2/9] fwupd: use VIRTUAL-RUNTIME_dbus for ptest RDEPENDS Date: Fri, 21 Aug 2026 11:02:04 -0700 Message-ID: <20260821180211.423633-2-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260821180211.423633-1-khem.raj@oss.qualcomm.com> References: <20260821180211.423633-1-khem.raj@oss.qualcomm.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, 21 Aug 2026 18:02:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/129426 From: Khem Raj Same problem as xdg-dbus-proxy: the hardcoded "dbus" RDEPENDS makes meta-oe-image-ptest-fwupd fail do_rootfs on a distro whose VIRTUAL-RUNTIME_dbus is dbus-broker, since dbus-broker RCONFLICTS with the dbus provided by dbus-1 while systemd requires dbus-broker. Signed-off-by: Khem Raj --- meta-oe/recipes-bsp/fwupd/fwupd_2.1.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_2.1.7.bb b/meta-oe/recipes-bsp/fwupd/fwupd_2.1.7.bb index c144a52156..bab444be7e 100644 --- a/meta-oe/recipes-bsp/fwupd/fwupd_2.1.7.bb +++ b/meta-oe/recipes-bsp/fwupd/fwupd_2.1.7.bb @@ -81,7 +81,7 @@ FILES:${PN} += "\ FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \ ${datadir}/installed-tests/" -RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3 dbus" +RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3 ${VIRTUAL-RUNTIME_dbus}" # ESP mounting, not strictly necessary RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'udisks2', '', d)}" From patchwork Fri Aug 21 18:02:05 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 96019 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 C1FAFC5DF7D for ; Fri, 21 Aug 2026 18:02:24 +0000 (UTC) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.746.1787335340540848171 for ; Fri, 21 Aug 2026 11:02:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=heZMG3pp; spf=pass (domain: gmail.com, ip: 209.85.214.174, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-2ced3386430so12148555ad.1 for ; Fri, 21 Aug 2026 11:02:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787335340; x=1787940140; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=XTFHrrO0sTemnBUGIiQxQxAZB3ZDCZITVzB3kAmX7lU=; b=heZMG3ppjqLWqTwfIXDELSFU+x6ia9i20xsf+oqlsPHH4HfPRl5gNb9vdqbPG+3j8n wnGdxHRfjuXiPqJR/+sIQfSVrzLXShLOu2kfX5BIPruVuoXb4vbAZNER1uOa6dHzjktk nVJ1s+vLkEHv8AkZ4WdS4RwufVN6ZhF+zqIE3v8HONbZorBllLfE6cZ8AMPGHghjQXu7 z6C5ZCJg/hq+U9lvcvAUcCz8mnjWmV9mJgO+6xzfCXoX8oqguJYC2XmxozgPKEhXW9zx /nw+ZiZtUIAff8emgq/O3V7iDvYJRV5gd4Q0YOevxwxu9hhhugpTmh5aKJL9FIpCsXmv 6AGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787335340; x=1787940140; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=XTFHrrO0sTemnBUGIiQxQxAZB3ZDCZITVzB3kAmX7lU=; b=m34lMH1FW6rOo1GjeCaBizPxiwnbejOtGmvyApSlju+t1rA/ViLzhRItqU/CHgPEQc QyiZ95piykP3c/Qd8OjMSMiL4U4LnyMit9liD3+JyNlsUBnrx8Oy0g95PcYlgWBYt6Gb 7xGZDqOoHF+Abdk3aQ9MaziqjeAhTS8Pfr32FaLzf4hifVzMOsShABD+zuDNu6kQsIXs P97peZZdXfRndGaIGAoM5LTrOZB13RpLYM2iN9iBfOrglrjTGUoYmRKkHKxbKy/XeoW2 XGxuHU3iSw/wADiDVJ9C5PzO0qgB2EGNTtsqVS6XZrzgJe3AD+GdkCmVN1pN45KBhb4L FsQA== X-Gm-Message-State: AFuF++k2oz2xOVI3N6gjj6K/jPN7CmW4CE2fVrpVeFODNcFFev3L2yty AN672HXi09mPB6ThfkDW51L2LE9XVGt6yQqDc2Hbv9sAgXkWDTkUv2LDT7qmJQ5H X-Gm-Gg: AR+sD11CVqA2feMSijrvJGVBFs/KKp2jyAHoXj9YZqq8FkAOYWIdrWvAq1M0ma8flw6 ulC3fi1E0IHSsFRSc2vu1eYcZDZL/A3yVPugnt+T0ZQAqgPhPPdbcHUUbl1Ea2xToD5rEOuV/H2 iZnuQy/1VPZ0GgDiyd3BCGK4CSy/VIP0PTuDhvXz031ofCofW7J/R6iyIfiB8FwU+wpDmSoEkI+ spQCUDiqZ5thZcCeHMTOLPkDc2QjQH9GVVQsq8MXP5W5TFiCqLrCVSSHF5mHoZE2YIUC3hn5/J5 NrH/+s3b+pELqLUQRU2xkgluStj2b2zEOwvLWb5PhPWB6l+IE1Lf1lqqC7pONJ2YiohaQ9Abk8u g75prXpCbisRzySwOEEvpSkDU/n5dOqakl89J1iBdaBc++bHND28sLsJ3tUQNzTZrH1M5mi8U4c i7+gwBMsXp0TvAeVYouGUK1YlCp+NQLEqP8vrqWbPgSEc4w9Ahc9bkwnQqlESnbTqwOdAbBOpNz 80aYPWizXRqAlzLk6zmVAsjna/azIycAC/dG5Z7sddXHbx+uhHNCqWyDMDwXJwR6Tmuo3P6iKnt DyHCFewruoLe2wtgY0vYi75hymGHJp6+R3CSGP93cYARXSscV4JSjnD+VZ+FgF9n2c1JLRMlad2 2abICCfNjCL+bHyDwe15FZn1LeAtVkJKUxRbtND3OceqGsA== X-Received: by 2002:a17:902:da82:b0:2ca:61bc:317c with SMTP id d9443c01a7336-2d64b17b564mr143251035ad.13.1787335339814; Fri, 21 Aug 2026 11:02:19 -0700 (PDT) Received: from apollo.localdomain ([208.95.233.74]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-327bef3bb46sm26102708eec.3.2026.08.21.11.02.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 11:02:18 -0700 (PDT) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 3/9] postgresql: drop bashisms from ptest runner Date: Fri, 21 Aug 2026 11:02:05 -0700 Message-ID: <20260821180211.423633-3-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260821180211.423633-1-khem.raj@oss.qualcomm.com> References: <20260821180211.423633-1-khem.raj@oss.qualcomm.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, 21 Aug 2026 18:02:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/129427 From: Khem Raj run-ptest has a #!/bin/sh shebang but used two constructs that are not available in the target /bin/sh (dash), so the suite died immediately after starting the server and reported no test results at all: run-ptest: line 54: stdbuf: not found run-ptest: line 58: syntax error: bad substitution ERROR: Exit status is 2 ${PIPESTATUS[0]} is a bash array reference; dash has no PIPESTATUS and fails with "bad substitution". stdbuf is coreutils-only and is not guaranteed to be installed on the target. Capture pg_regress output to a temporary file and use $? directly instead of piping live into sed, which removes the need for both PIPESTATUS and stdbuf while keeping the same PASS:/FAIL: translation. Signed-off-by: Khem Raj --- .../recipes-dbs/postgresql/files/run-ptest | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/meta-oe/recipes-dbs/postgresql/files/run-ptest b/meta-oe/recipes-dbs/postgresql/files/run-ptest index 4cb8e5c7e1..31f2116a7e 100644 --- a/meta-oe/recipes-dbs/postgresql/files/run-ptest +++ b/meta-oe/recipes-dbs/postgresql/files/run-ptest @@ -37,24 +37,31 @@ mkdir -p "${TESTDIR}/testtablespace" chmod 0700 "${TESTDIR}/testtablespace" chown postgres:postgres "${TESTDIR}/testtablespace" -# Disable set -e before the pipe so we can capture PIPESTATUS +# Disable set -e so we can capture the regression run's exit status set +e -# Run the regression tests. +# Run the regression tests, capturing output to a plain file instead of +# piping live into sed: ${PIPESTATUS[0]} is a bashism this script's +# "#!/bin/sh" shebang can't rely on (target /bin/sh is dash, which has no +# PIPESTATUS array and fails with "bad substitution"), and batching +# through a file avoids needing stdbuf, which isn't guaranteed installed. # --dlpath points to the standard PostgreSQL package library directory # where regress.so and contrib modules (autoinc.so, refint.so, etc.) # are installed, so that CREATE FUNCTION ... AS tests can locate them. +REGRESS_LOG=$(mktemp /tmp/postgresql-ptest.XXXXXX) su - postgres -c "cd ${TESTDIR} && \ ${TESTDIR}/pg_regress \ --inputdir=. \ --bindir=${PGBIN} \ --dlpath=${PKGLIBDIR} \ --max-concurrent-tests=20 \ - --schedule=parallel_schedule" 2>&1 | \ - stdbuf -oL sed -n \ - -e 's/^ok [0-9]\+\s\+[+* ]\?\s*/PASS: /p' \ - -e 's/^not ok [0-9]\+\s\+[+* ]\?\s*/FAIL: /p' -RESULT=${PIPESTATUS[0]} + --schedule=parallel_schedule" > "${REGRESS_LOG}" 2>&1 +RESULT=$? + +sed -n \ + -e 's/^ok [0-9]\+\s\+[+* ]\?\s*/PASS: /p' \ + -e 's/^not ok [0-9]\+\s\+[+* ]\?\s*/FAIL: /p' "${REGRESS_LOG}" +rm -f "${REGRESS_LOG}" if [ "${RESULT}" = "0" ]; then echo "PASS: all tests passed" From patchwork Fri Aug 21 18:02:06 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 96024 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 72F57C5DF8C for ; Fri, 21 Aug 2026 18:02:25 +0000 (UTC) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.703.1787335344094977490 for ; Fri, 21 Aug 2026 11:02:24 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=MNTg/Lia; spf=pass (domain: gmail.com, ip: 209.85.215.174, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-ca7bea5e5b3so1063260a12.1 for ; Fri, 21 Aug 2026 11:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787335343; x=1787940143; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=2vQXCbuklQ5bi7SKS3Bqd2dw5fSunYuZCvJolc8tZhA=; b=MNTg/LiajS983im1q5wc7fG/hImcNDXKEwi/e/2KIf9ft2/pWV77BaItt/rqvu/uCy kTsY1qUDpOQxPZi3TNH80VQ37yPlJb+Gy7KiTWeJzvekQFVzPOyEJ7NyVsqtWFJDOJXd mPEVrJTw4zd1KyBRoE4idonMuHtemM9ovoiVwMSWLHuugqmuxKSxyBW0NJfetKYKklPR M38jD6JCdidsm8zxeO+mYDDDy8YOSykmQhAvA+69UlypVQ1i+y4Ga6WmdvXZnde5Vx2E m4HE1qkmB4cMHIDDbDc+CpsvrlIH6H7lRvHxwhrHOpqxKUEMfEfj4i6ARU57FnZXbFT1 Ws5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787335343; x=1787940143; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=2vQXCbuklQ5bi7SKS3Bqd2dw5fSunYuZCvJolc8tZhA=; b=F3TM7Qnb0bpLBlWjoZMGU4RKLmVpBn8WbdwIdZdIbYGiL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Ds+zIN6ZquuXRut2y/kPQQwvLZzZWG0o79nDeotH1G89 NXEmTh6VdpGgXd2wsHBMS9BMFee2Os6Yf6HaCnI0d9OXguA== X-Received: by 2002:a17:90b:4fc4:b0:38e:fea2:df53 with SMTP id 98e67ed59e1d1-395dee88d49mr673562a91.4.1787335343123; Fri, 21 Aug 2026 11:02:23 -0700 (PDT) Received: from apollo.localdomain ([208.95.233.74]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-327bef3bb46sm26102708eec.3.2026.08.21.11.02.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 11:02:20 -0700 (PDT) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 4/9] pegtl: install ptest data files where the tests look for them Date: Fri, 21 Aug 2026 11:02:06 -0700 Message-ID: <20260821180211.423633-4-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260821180211.423633-1-khem.raj@oss.qualcomm.com> References: <20260821180211.423633-1-khem.raj@oss.qualcomm.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, 21 Aug 2026 18:02:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/129428 From: Khem Raj 14 of the 257 pegtl tests failed - every test that reads a data file (input_file_input, input_mmap_input, internal_file_mapper, internal_read_file_stdio, stream_*_input, example_json, ...) while the 243 tests that parse in-memory strings passed. Upstream runs its tests from the source root: src/test/CMakeLists.txt:299 add_test(NAME ${exename} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} ...) so the tests open their data with CWD-relative literals - grepping the test sources shows src/test/data/duseltronik.txt (7 references), src/test/data/test_data.txt (4) and src/test/data/{blns,pass1-3, fail1-39}.json. run-ptest executes the binaries from ${PTEST_PATH}, so the data has to be at ${PTEST_PATH}/src/test/data/. The recipe instead installed it to src/test/pegtl/data - one directory too deep - and copied only *.json, so test_data.txt and duseltronik.txt were missing entirely. Install all of src/test/data to the path the tests actually use. The binaries stay in src/test/pegtl, which is where run-ptest globs for them. Signed-off-by: Khem Raj --- meta-oe/recipes-extended/pegtl/pegtl_4.0.1.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-extended/pegtl/pegtl_4.0.1.bb b/meta-oe/recipes-extended/pegtl/pegtl_4.0.1.bb index 2676231dca..afaf8f997b 100644 --- a/meta-oe/recipes-extended/pegtl/pegtl_4.0.1.bb +++ b/meta-oe/recipes-extended/pegtl/pegtl_4.0.1.bb @@ -12,8 +12,9 @@ SRCREV = "9ec6da187f840d8e804d42b9b7867f79d5d6adc2" inherit cmake ptest do_install_ptest () { - install -d ${D}${PTEST_PATH}/src/test/pegtl/data + install -d ${D}${PTEST_PATH}/src/test/pegtl + install -d ${D}${PTEST_PATH}/src/test/data install -m 0755 ${B}/src/test/pegtl-test-* ${D}${PTEST_PATH}/src/test/pegtl - install ${S}/src/test/file_*.txt ${D}${PTEST_PATH}/src/test/pegtl - install ${S}/src/test/data/*.json ${D}${PTEST_PATH}/src/test/pegtl/data + install -m 0644 ${S}/src/test/file_*.txt ${D}${PTEST_PATH}/src/test/ + install -m 0644 ${S}/src/test/data/* ${D}${PTEST_PATH}/src/test/data/ } From patchwork Fri Aug 21 18:02:07 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 96027 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 04256C5DF9D for ; Fri, 21 Aug 2026 18:02:36 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.749.1787335347058449612 for ; Fri, 21 Aug 2026 11:02:27 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=NACRl22N; spf=pass (domain: gmail.com, ip: 209.85.214.172, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-2ced3386430so12149485ad.1 for ; Fri, 21 Aug 2026 11:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787335346; x=1787940146; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=aUP834J7wtssllaCd3Vcn6o7xuzhDUIV/scHTNdCoCw=; b=NACRl22NUPOEdSli9MR1tz7jHhWcP3aOZi6CDUB4/t+vdRnEX1qM+aT9+UlwoSyCv/ iLQqE7E+GlzKCDK7DAIe09DonjcqX8MjNT/h0Ar1weO7y7qSEkY7GzlCbbKo8jglIxCj iWdPJJnK+QsVV8MLFYQACSczaUOOsqHw1clYPpKvJfocTJG/fiz4LKe/cqcVuabjzoTq yIabLq4R9mxcyAH5Fwr6ZzIvEWcEmm51FlO9RRy4T2h9dRXl439/jZW/hZSo6cVGFW2t pf4ZPYessWbRIKkjLhVidSDRwZxktES1JiLmzDiA1qP6oDtwTZtUFSEs48T6ZnYv6TPI pWsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787335346; x=1787940146; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=aUP834J7wtssllaCd3Vcn6o7xuzhDUIV/scHTNdCoCw=; b=eLis20FCX6FeXv2CXEHSjR4zI9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UAsbtywPic5aOVh3Na0uHUlMTScIQy/PhD2GL8vE+isX rNh0u+XrrdnWmAaaeL3nxIQl3KwySv9PjFcoIa+fs0wId7Kr1ccvFBseZlQ== X-Received: by 2002:a17:90b:2687:b0:38f:26c7:165e with SMTP id 98e67ed59e1d1-395c383cae0mr16046078a91.9.1787335346344; Fri, 21 Aug 2026 11:02:26 -0700 (PDT) Received: from apollo.localdomain ([208.95.233.74]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-327bef3bb46sm26102708eec.3.2026.08.21.11.02.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 11:02:24 -0700 (PDT) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 5/9] libdbi-perl: add missing perl module ptest RDEPENDS Date: Fri, 21 Aug 2026 11:02:07 -0700 Message-ID: <20260821180211.423633-5-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260821180211.423633-1-khem.raj@oss.qualcomm.com> References: <20260821180211.423633-1-khem.raj@oss.qualcomm.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, 21 Aug 2026 18:02:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/129429 From: Khem Raj All 6 ptest failures (t/31methcache, t/35thrclone, t/40profile, t/41prof_dump, t/42prof_data, t/43prof_env) are missing runtime perl modules, in two groups: Module::Load, required by DBI/Profile.pm line 682: Can't locate Module/Load.pm in @INC ... at /usr/lib/perl5/vendor_perl/5.44.0/aarch64-linux/DBI/Profile.pm line 682. This breaks t/40profile and t/43prof_env directly, and cascades into t/41prof_dump and t/42prof_data: once DBI/Profile.pm fails to compile, %INC is poisoned, so those two report "Attempt to reload DBI/Profile.pm aborted" and a missing DBI::Profile->flush_to_disk method rather than the underlying cause. Provided by perl-module-load. Test2::Util::Sig, required by Test2/IPC/Driver/Files.pm line 18, which Test::Builder pulls in when a test enables Test2 IPC (threads/forking): Can't locate Test2/Util/Sig.pm in @INC ... at /usr/lib/perl5/5.44.0/Test2/IPC/Driver/Files.pm line 18. This makes Test::More unusable in t/31methcache and t/35thrclone, which is why only those two of the many Test::More-based tests fail. Provided by perl-module-test2-util-sig. Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/perl/libdbi-perl_1.651.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl_1.651.bb b/meta-oe/recipes-devtools/perl/libdbi-perl_1.651.bb index e641ac3167..436ee47165 100644 --- a/meta-oe/recipes-devtools/perl/libdbi-perl_1.651.bb +++ b/meta-oe/recipes-devtools/perl/libdbi-perl_1.651.bb @@ -53,6 +53,7 @@ RDEPENDS:${PN}-ptest += " \ perl-module-file-copy \ perl-module-file-path \ perl-module-lib \ + perl-module-load \ perl-module-perlio \ perl-module-perlio-encoding \ perl-module-perlio-scalar \ @@ -61,6 +62,7 @@ RDEPENDS:${PN}-ptest += " \ perl-module-storable \ perl-module-test-more \ perl-module-test2-ipc-driver \ + perl-module-test2-util-sig \ perl-module-threads \ perl-module-utf8 \ " From patchwork Fri Aug 21 18:02:08 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 96025 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 0B4B0C61CE0 for ; Fri, 21 Aug 2026 18:02:36 +0000 (UTC) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.750.1787335348159684588 for ; Fri, 21 Aug 2026 11:02:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=qLxf8B65; spf=pass (domain: gmail.com, ip: 209.85.214.179, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-2ce87c7e3bbso14750775ad.1 for ; Fri, 21 Aug 2026 11:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787335347; x=1787940147; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=BLgBYj4+M6gZd6X7Oh/Jyob4Fr9RxKgysnPhgS4ZLLA=; b=qLxf8B65hLp183GeE7kSc77KDQoc3Xxup4bGENq3gZaNwXk2cb+uxOPtmPy1BVUjUx /IHM6bkRmUrTGtoA+T/GMtYnR8YIGh+nkyyVBzmON4zNSRcbn8rQs2+0nXvYMTT/R/lI BsU7ENJfpG2Rs3BEz+ngjd1Z/UZH1S/oP0ZYUtDHJlCTEWGsOxXccnifhuvxULSupIrU c3zn3vacu0INRdw5AAOypI5pSLSXwMw2KyQfkiekvJMO24hZatBier1AAEszo70S1w/f +pk+xekXuwuY/Zkzs2OsN0+L9m7wL3Miidgjs5ANOh+XyicxmccOXLdz2UtaLW+9ROmv hFDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787335347; x=1787940147; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=BLgBYj4+M6gZd6X7Oh/Jyob4Fr9RxKgysnPhgS4ZLLA=; b=CLTplQK4pJTWL+ABFCAabFFMF1NbcMl+CAAig2dRPFy+EhG2hu2rRb4KzlurcSXtYs 7DlY0P3wTErMgMQ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mu67tGpE PKhWfJd4nlM798QVarrNit+82GRTbwt6QMlU+UjHIrpln/g== X-Received: by 2002:a17:902:ef01:b0:2c9:d88e:f996 with SMTP id d9443c01a7336-2d64b036c96mr168680865ad.9.1787335347352; Fri, 21 Aug 2026 11:02:27 -0700 (PDT) Received: from apollo.localdomain ([208.95.233.74]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-327bef3bb46sm26102708eec.3.2026.08.21.11.02.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 11:02:26 -0700 (PDT) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 6/9] freerdp3: install cmdline-tests data for ptest Date: Fri, 21 Aug 2026 11:02:08 -0700 Message-ID: <20260821180211.423633-6-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260821180211.423633-1-khem.raj@oss.qualcomm.com> References: <20260821180211.423633-1-khem.raj@oss.qualcomm.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, 21 Aug 2026 18:02:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/129430 From: Khem Raj TestCommandLineToCommaSeparatedValues fails because its JSON test cases are never installed. With no arguments the test runs runJsonTests(), which globs TEST_SOURCE_DIR/cmdline-tests/*.json via FindFirstFileA and returns -1 when the directory cannot be opened. do_configure:prepend already rewrites TEST_SOURCE_DIR for this CMakeLists to ${PTEST_PATH}/test, and the built driver confirms it: $ strings Testing/TestWinPRUtils | grep -e cmdline-tests -e ptest/test cmdline-tests cmdline-tests%c*.json /usr/lib/freerdp3/ptest/test but do_install_ptest only copies *bmp out of winpr/libwinpr/utils/test, so /usr/lib/freerdp3/ptest/test/cmdline-tests does not exist on target and the glob always fails. Copy the directory alongside the other test data. Signed-off-by: Khem Raj --- meta-oe/recipes-support/freerdp/freerdp3_3.30.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-support/freerdp/freerdp3_3.30.0.bb b/meta-oe/recipes-support/freerdp/freerdp3_3.30.0.bb index 7d78f770f7..c839f7b7a1 100644 --- a/meta-oe/recipes-support/freerdp/freerdp3_3.30.0.bb +++ b/meta-oe/recipes-support/freerdp/freerdp3_3.30.0.bb @@ -86,6 +86,7 @@ do_install_ptest() { cp -r ${B}/Testing ${D}${PTEST_PATH} # test data cp ${S}/winpr/libwinpr/utils/test/*bmp ${D}${PTEST_PATH}/test/ + cp -r ${S}/winpr/libwinpr/utils/test/cmdline-tests ${D}${PTEST_PATH}/test/ cp ${S}/libfreerdp/codec/test/*bmp ${D}${PTEST_PATH}/test/ cp -r ${S}/client/common/test/* ${D}${PTEST_PATH}/test/ cp -r ${S}/resources ${D}${PTEST_PATH} From patchwork Fri Aug 21 18:02:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 96022 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 D6189C5DF9C for ; Fri, 21 Aug 2026 18:02:35 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.706.1787335349244763711 for ; Fri, 21 Aug 2026 11:02:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=ErKnfhB+; spf=pass (domain: gmail.com, ip: 209.85.214.173, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-2cace91f112so14775545ad.0 for ; Fri, 21 Aug 2026 11:02:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787335349; x=1787940149; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ws0vJBbhhJDCvHVXVT7Z9CX8tEkjMUKS3O8bX+KLtzc=; b=ErKnfhB+Q+7LYZ+/jQqwBSCJ7o04BfusnUS0c7vd4nuuBa32/bN00y1pUmGq5ZR81Y +OxsBHkVsoXhZ0sOwigDGtew3TW7X/7ydSNMqEzsATrPDfJ/4W71exgPSczxSIxt5VzG qq3K/LFfi4bMPcthjOJqBSMNGClZwwAnEyOw3gxtXePrUc1kOtbMLGsNqNOHpYkE64ce demIt8a8bfN37jukrPhi8p8G4FOFQ2sk6XV7eM3PEp9/uB19M+hSpP8hQVH08ZhYYHly TwSPEFBEFX1s9cY1mxPuFSypuW3LUVeGdzdxww/21hrYTTYbIKBHGYzMLaqgY7dzKIy6 uEdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787335349; x=1787940149; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=ws0vJBbhhJDCvHVXVT7Z9CX8tEkjMUKS3O8bX+KLtzc=; b=VR5wrFKGoq0+Pkci/VicYPGhOVcAF9nB8j9KvHccHa6TREEmQNQeB3vyB6xs0x5GQU uaiuh3X/j9ucpfaKPEPwzT6FUg4uldSqhTN6VEuxN/vzu5OY+pHc07yd2oe5aPMMc6RD 4r7gQbnzJXA0jg2olIiFXQOleonOws3liVwJjz2OmSTwntN5CRfW4Zl/58ri9r3y5CW0 CHP2U6y57BPiSE5s9gvp/Vjb9HYN/uooYXMUdKWoRuf9U9RXi+tsBPekVHm4dJoKtL59 9O6NC1TPzVy9FAK02RxAHCAq9RgKSezOv6zjOtfJ+rBKBhA8wmvHcwIwEuI3hZWnJRaI ADEw== X-Gm-Message-State: AFuF++nX409ZSz/UD8nOWKiFVq4b1Gc2UZlO0hiTz5Xny42ATHjlvFAa zecfME6/padyBD6kDMOUmfpun8qhQReo/+A6q45vKi+xDA/e8JUyAP3Rs3sx/VbG X-Gm-Gg: AR+sD12Vkt2gRvyGxLTmzAzp0k7/w8YfaTXW2ZNv6aH6HcohcqppVSMmKALfgy8jtmJ +0Ww+X1UEvS4O/wk3A4M0DXWjFy6jbfCXG8COKRfbZ82j75KQVn8j6PUIn4OGSaxImTFn8WcUot AccbXh/NgAL4aORDM3vq3FofhiENQ5CVmBbg9Q0IdgfMQMia5vCsr7rc9TCx1nD7SdageGYGtDu 0I25vw/IihllC6jKbEZ9L9kurQQPCF6+y6lp55M/bg4zcXPtSbau0rGhplV73i2jMQ6OcGGwZmU 4fzScOWzjVxGZYv6Kaokp4dtEpmscw2CjzGljOpHa3R4u1LFZKoNBA1oZ8TRthJ02YeMzFyN/Du vjVziDzCMYtZ/FFrIystbRLxHqCYhoAU0zowTvsDQ3KTEcyxzA5cozsez+q08ggfvXbwXuwM6Gs kYGbKOaxNIsPwalBUJY+kfWQ1otc0mUl1wjx2NO6fWdvMASkhT8arjyEXfJyrEO5EfsC/ps/YRF WB116ZZdVaVEHdB5DxUpIebFZWWfw25/eUpOsM9KjyWbkRdnPnmtdrL/Fw1sFy9baGTiwWXB4LC leuVVp9zWFJsqNaNshnHGC6bTrc+1PlX2hLbHf5tswCnJJZnNnZiDKrsMQPZDuYXl04OqB1BK0r y6jwJ7ai/5BVZME7Nu9BNsOYUtAkkiNbDRlIXHzgfNu+anw== X-Received: by 2002:a17:903:2ec8:b0:2ca:e62c:9e96 with SMTP id d9443c01a7336-2d670b9ba58mr1474725ad.5.1787335348478; Fri, 21 Aug 2026 11:02:28 -0700 (PDT) Received: from apollo.localdomain ([208.95.233.74]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-327bef3bb46sm26102708eec.3.2026.08.21.11.02.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 11:02:27 -0700 (PDT) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 7/9] xdg-dbus-proxy: skip ptest when dbus-daemon is unavailable Date: Fri, 21 Aug 2026 11:02:09 -0700 Message-ID: <20260821180211.423633-7-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260821180211.423633-1-khem.raj@oss.qualcomm.com> References: <20260821180211.423633-1-khem.raj@oss.qualcomm.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, 21 Aug 2026 18:02:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/129431 From: Khem Raj tests/test-proxy.c setup() spawns the reference bus implementation directly: g_subprocess_launcher_spawn (launcher, &error, "dbus-daemon", "--session", "--print-address=1", "--nofork", NULL); so the test aborts on distros that select a different VIRTUAL-RUNTIME_dbus: ERROR:../tests/test-proxy.c:75:setup: assertion failed (error == NULL): Failed to execute child process "dbus-daemon" (No such file or directory) FAIL: xdg-dbus-proxy/test-proxy.test (Child process killed by signal 6) dbus-daemon is packaged only in dbus, and dbus-broker carries "RCONFLICTS:dbus-broker: dbus", so the two cannot be co-installed; dbus-broker-launch is not CLI-compatible and cannot stand in. The existing RDEPENDS on ${VIRTUAL-RUNTIME_dbus} already pulls in dbus (and hence dbus-daemon) on distros that use it, so report the test as skipped rather than failed when the daemon genuinely is not installable. Signed-off-by: Khem Raj --- .../xdg-dbus-proxy/xdg-dbus-proxy/run-ptest | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy/run-ptest b/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy/run-ptest index ff4b0b49ad..b6f3614a42 100755 --- a/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy/run-ptest +++ b/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy/run-ptest @@ -1,2 +1,11 @@ #!/bin/sh +# tests/test-proxy.c spawns the reference bus implementation directly as +# "dbus-daemon --session --print-address=1 --nofork". Distros that select a +# different VIRTUAL-RUNTIME_dbus (e.g. dbus-broker, which RCONFLICTS with dbus) +# have no dbus-daemon and no CLI-compatible replacement, so the test cannot run. +if ! command -v dbus-daemon >/dev/null 2>&1; then + echo "SKIP: xdg-dbus-proxy/test-proxy.test (no dbus-daemon; requires VIRTUAL-RUNTIME_dbus = dbus)" + exit 0 +fi + gnome-desktop-testing-runner xdg-dbus-proxy From patchwork Fri Aug 21 18:02:10 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 96023 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 E7646C5DF9B for ; Fri, 21 Aug 2026 18:02:35 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.708.1787335350653575828 for ; Fri, 21 Aug 2026 11:02:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=CsLqMPBF; spf=pass (domain: gmail.com, ip: 209.85.214.180, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-2ce98cb8165so13181995ad.1 for ; Fri, 21 Aug 2026 11:02:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787335350; x=1787940150; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=lqbY4Alh9/ViJB+Uc1CulK6LKDLAz5nv29pkP7cqr8w=; b=CsLqMPBFrtq/t0B8m1/a2Y7g5ly6T1n1oYO9ew4utP/p6kyjXHmu9tf+zZpskTcCcE bPOHLu3xAX3zkmtyJf7yk6ow/9G1HC9Mdak4aEQEvexef5aTqzptvGTkRbyPiBTHAMYj c3ahGxFh0t2Q5HX7w6OdbIgmK0FFRGjp6BMY8t/NtQaSggHhOfaVlJKUVrsP1D9qTe/j vfdulBV3S4In4wI6s1kfGzsTBAYp7Oh0Sj+0YRrlXVGUHWHAWMA59hpi4LifjbIZBdVS z87tNGkPWWmT2ZDneW4XAmx+L06/Y1pCtVPZ04EwKEECoaLWkb9G59R5bO/vjOC/pch6 /6TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787335350; x=1787940150; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=lqbY4Alh9/ViJB+Uc1CulK6LKDLAz5nv29pkP7cqr8w=; b=Fvn8mS+Hjlo+CYp/nw1O9sH2cunBLIMKB5PwRUeLCXvmkbLdQ2Rkcf0AqGWF326hI+ LFr7Lp//yn2KHVLe11d+J6r0ajVy6pxUludjCxghJPnar2/jpYrPcJ93XEcuFaJcLB3c ggulyxmv3ATSmYy6vyFizY8GtpqJ6M0COEGRxzzXdY/WwrjNb2cwNKOL1Mk/QN3lYe43 PxDw/YeD33r+U61YiQNY0yFkgRfFrI0aWP9UrmKE6s9q5UBGLjIj7VB9vXQM7U7avV99 VBMaTGkDLK8xYq1edwTcH8Xo6Thz66ihWEzHj0XhyVMTEBRMCxuuZnssZevZv2tElKDb z4hg== X-Gm-Message-State: AFuF++lEUai9+2U3l9umvAcRHULjjHm1vejbY7mrQGKG0FDHY117RNIJ qc7GOnstMvlKwOGZaXC9HRgQsbPQwJpo2kdQdTVM2YhbmeR5oWJ9WtJhuM5bW2jC X-Gm-Gg: AR+sD10dJOB/HPYJnqfdqpA4P5Gd1x0pDTlBAUtyB6T0LB0UryNWDHD5Yjim2J90fBd lWRCxAvm/BanDU8zd7Nm/w3cfhSXV354qxnEyxgL17Hslu8qc2Grz3F8a106Xddtuzqn35p3Bof QqL90uf5at4i6uItCZb9IQF4wThLxEXLznMImWbVlJzqi3KymtrGY4F+pH2No7pSaYleajc14cQ B6RvHYwhXA/IO6xC8UK4wjFbu6BhVwYDtfe0Vi0J03LuW1bfGAuUU2PpHhyDVTuKOrRLPhF+zQA on67Wt8lLED/6SL7qBrg5NcpF4MwcQq7yLg7s9UEwPsLh4twANAQRwB/0AzcptGwQZHJGAKbNAE lYjql1YhwC4NoNsXtqIA3Cyf//NMOhshkCLz4zVprHkdp3JbSzfwE4WX0oJn5itXPuz2dfcXxdJ LATOfixE+VAaen/nBleM3zc98B6Mnogk2wFXrHr1ZaWji0O+b/NVFAP7OcrNS3PG1cQEEq5DRIj 7XhyqqWTG09s8MPVujAQzGG30y+q6fzj/U5MrF68NIEH4othoppXn9JNadzHCZgONWWFd4uUfAj XK5TQpYAbSHkSIwrjbnHHf1r/ML3wwIXwRSOUQZI2lSsIlLsuTYnDpVB/CZ/y+bwTcalSRoKUE5 PMm2j0zpdzYjxH5V2Uv/XhdPKaJ2Mj0Ylp9HX102Liqd3ew0zb2G6evA6 X-Received: by 2002:a17:902:c944:b0:2d2:72b6:556b with SMTP id d9443c01a7336-2d61a1a54f5mr181197845ad.13.1787335349968; Fri, 21 Aug 2026 11:02:29 -0700 (PDT) Received: from apollo.localdomain ([208.95.233.74]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-327bef3bb46sm26102708eec.3.2026.08.21.11.02.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 11:02:29 -0700 (PDT) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 8/9] hunspell: add missing gconv ptest RDEPENDS Date: Fri, 21 Aug 2026 11:02:10 -0700 Message-ID: <20260821180211.423633-8-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260821180211.423633-1-khem.raj@oss.qualcomm.com> References: <20260821180211.423633-1-khem.raj@oss.qualcomm.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, 21 Aug 2026 18:02:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/129432 From: Khem Raj All 25 ptest failures are missing glibc character-set converters. With run-ptest no longer discarding test.sh output, the cause is explicit: error - iconv_open: ISO8859-1 -> UTF-8 error - iconv_open: UTF-8 -> ISO8859-1 ============================================= Fail in allcaps3.good. Good words recognised as wrong: Aggregated over the run: 382 ISO8859-1 and 10 ISO8859-15 iconv_open failures, and every one of the 25 failing tests reports them. Only glibc-gconv-iso8859-2 was pulled in, but the test corpus needs more than that. Dictionaries with no SET line in their .aff fall back to ISO8859-1 in both consumers of the default: csutil.hxx:99 #define SPELL_ENCODING "ISO8859-1" affixmgr.cxx:3502 if (encoding.empty()) encoding = SPELL_ENCODING; hashmgr.cxx:97 if (!csconv) csconv = get_current_cs(SPELL_ENCODING); and 92 of the 144 installed .aff files have no SET, which is why tests with pure-ASCII data and no SET line still needed a converter. The encodings actually referenced across the corpus are ISO8859-1, ISO8859-15, ISO-8859-15, ISO8859-2 and UTF-8; UTF-8 is built into glibc, so add the two missing ISO8859 modules. Signed-off-by: Khem Raj --- meta-oe/recipes-support/hunspell/hunspell_1.7.3.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/hunspell/hunspell_1.7.3.bb b/meta-oe/recipes-support/hunspell/hunspell_1.7.3.bb index 23f6ac87d8..7d0921c25f 100644 --- a/meta-oe/recipes-support/hunspell/hunspell_1.7.3.bb +++ b/meta-oe/recipes-support/hunspell/hunspell_1.7.3.bb @@ -34,6 +34,11 @@ do_install_ptest() { sed -i 's|alias analyze=.*ANALYZE.*|alias analyze="$ANALYZE"|' ${D}${PTEST_PATH}/tests/test.sh } -RDEPENDS:${PN}-ptest += "bash glibc-gconv-iso8859-2" +RDEPENDS:${PN}-ptest += " \ + bash \ + glibc-gconv-iso8859-1 \ + glibc-gconv-iso8859-2 \ + glibc-gconv-iso8859-15 \ +" BBCLASSEXTEND = "native" From patchwork Fri Aug 21 18:02:11 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 96026 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 1AC28C5DF9F for ; Fri, 21 Aug 2026 18:02:36 +0000 (UTC) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.751.1787335353022060072 for ; Fri, 21 Aug 2026 11:02:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=bBrsOznk; spf=pass (domain: gmail.com, ip: 209.85.216.47, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f47.google.com with SMTP id 98e67ed59e1d1-3856d6fbcb3so1002405a91.2 for ; Fri, 21 Aug 2026 11:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787335352; x=1787940152; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=WJv2Kp3J85FKYxFSgYZa+YvS6DF83PqF6PWxFmrIM8c=; b=bBrsOznkI184rJghuuHjnVG8peecNKPlXqP7sbn9UErDFG0t4XC2pflLtOfYB03QH+ op/u6WzRCQvTubFLZBPB/T3qGLDiIOaUsq8Bc/3HTdJsklslQ3p2biIOVLAKFssOjsIL ExH+pw8I8kIXgAzOPwfxFCsC30zRJ1hfgpbQI/eOhOmofMXYH7iSvtogbf0OkhicJF+d 7IkFUyWpxUORFKSSW163RckKvoJ+JoVt2J0NbRXsZjUVDy7vu11LMLHFZNeMRUYlSsdr LgchxM1ryIW/avSFryQ1xQ3zl/1XrXNVFb1MBS5waCj17AfojMUebeGfR2EZZvtjchxM R/4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787335352; x=1787940152; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=WJv2Kp3J85FKYxFSgYZa+YvS6DF83PqF6PWxFmrIM8c=; b=IayLysF2XFW4lLBvSqHM/AlmONIsmd/37T6wzfSLspfAoZ3AM8GCbUnAhp/CRGEA0h QxCoZVIAVOSQRLjHZF6tIM+Rv+rDJ655yqGo0hLGQnT/ZRrSQFMUN1s/m1HU9QBSCoTg onZm89ERe0P8dpN4b5Xo4APA0S/B42+QOQxKkiNi0FeA4iaNAN48wEcfbr7rK2TgMdCQ HEqPYCLfHOjnNrUanPmSMKyDsONUV8NHR5MGtCosYsAnDwk+f7F1c/7frUtbO9t1VyP2 ddeAn1t+nIZFDJhpsLapcPT6Oz+vnSalSPdAK2rpTNDACT/nBniqbzxOHOX3fns2VMCf m6og== X-Gm-Message-State: AFuF++mFKUGevZ6kEDNgZwK2E//ohZ9XYVpbjUQhEMQ4EKteX47cDgYo S8XCNgs1tJt+jZ8u+Zx+mU24+3F5x3VbsUjBuHozAW1QRO5j6Q+/5QcdvyPl3g== X-Gm-Gg: AR+sD103WEPCqn5EeijOZF6FeFLmZGOLL7YiTMmEbu9hwfjrnD1afqFcdJ4TMwtMpbM LU6n+kf2vxnjobwKZevoBK2wFjX944j1aloCxyXMYLgvyXjrqPahUXjd12vpBkzLcxwXyomJ1F1 WSLzjEu2KQGM5+/2W60UBXqrDYAqNRhQkT8N4LEEhqaOxjr/REHjGQtprIvrNcFf1Bw6kP3RkQn mT+ryUDLOqOCtEyRx1LrXRo4xad2Bzu/Q/ddR6FO8JwUWUdcpksxu4qRsqvMpxbxezUJDbD75Ca 8D1YVMENLsSgbrxYkNin84zt2evPmI2HptahAVL/vJLimD2Sw3g9gFYRmLLhg9k3HwOZzZUhai2 eF3e5fgo9ym3pAnXCeuhThW5InVh7JGbB+YgbvB/XoDGnk7FplrqrMU/jfty5FH+ks9zW3x8Gsa n9yMVQu0sPCvIR1Hyo/5jOGCO9UmO9M/jnO7f7XuarVvQMK/KfZZ1cgwpQCzvoPIMLtKqtIrHfA 1usUc6PqqQN/rCdSEWJiF55vbtDeh6rDiqT20vIxs9f+ASxdS+71K1eF5eOdT/DqMgz/EzaMKY7 RjcM+TCSQPxJF2Rc8ZoJXvkDWp3L7Rf6FFCCnl22yDgwUIPlcwbPcDkAIgrJe6L6X//TAAz+CU3 cl7lCtETYFEx3zI70HAkVzEO9PK4mPtbysv1AwJaqgz/AxA== X-Received: by 2002:a17:90b:5303:b0:38e:5ac1:9517 with SMTP id 98e67ed59e1d1-395c354cbffmr15168074a91.3.1787335352162; Fri, 21 Aug 2026 11:02:32 -0700 (PDT) Received: from apollo.localdomain ([208.95.233.74]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-327bef3bb46sm26102708eec.3.2026.08.21.11.02.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 11:02:30 -0700 (PDT) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 9/9] hunspell: keep ptest failure diagnostics instead of discarding them Date: Fri, 21 Aug 2026 11:02:11 -0700 Message-ID: <20260821180211.423633-9-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260821180211.423633-1-khem.raj@oss.qualcomm.com> References: <20260821180211.423633-1-khem.raj@oss.qualcomm.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, 21 Aug 2026 18:02:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/129433 From: Khem Raj run-ptest ran each case as "./test.sh $test > /dev/null 2>&1", throwing away the only thing that explains a failure: test.sh prints which check failed and which words were misrecognised, e.g. Fail in base.good. Good words recognised as wrong: Without it a failing hunspell ptest reports a bare "FAIL: " and gives no way to tell a packaging problem from a real defect when the suite runs on target. Capture the output and print it, indented, under the FAIL line, and take test.sh's exit status directly rather than reading $? inside the else branch of the if that consumed it. Signed-off-by: Khem Raj --- .../recipes-support/hunspell/files/run-ptest | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/meta-oe/recipes-support/hunspell/files/run-ptest b/meta-oe/recipes-support/hunspell/files/run-ptest index d2671c9d4e..bccf23506f 100644 --- a/meta-oe/recipes-support/hunspell/files/run-ptest +++ b/meta-oe/recipes-support/hunspell/files/run-ptest @@ -16,15 +16,20 @@ for test in $tests; do if echo "$SKIP_TESTS" | grep -qw "$test"; then continue fi - - if ./test.sh "$test" > /dev/null 2>&1; then + + # Capture test.sh output rather than discarding it: on failure it + # reports which check failed and which words were misrecognised, + # which is the only usable diagnostic when running on target. + output=$(./test.sh "$test" 2>&1) + status=$? + + if [ $status -eq 0 ]; then echo "PASS: $test" + elif [ $status -eq 3 ]; then + echo "SKIP: $test" else - status=$? - if [ $status -eq 3 ]; then - echo "SKIP: $test" - else - echo "FAIL: $test" - fi + echo "FAIL: $test" + # Indent so ptest-runner does not mistake diagnostics for results. + printf '%s\n' "$output" | sed 's/^/ /' fi done