From patchwork Sun May 28 17:07:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 24629 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 984AFC77B7E for ; Sun, 28 May 2023 17:08:08 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web10.32982.1685293685067114009 for ; Sun, 28 May 2023 10:08:05 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=rnQdixMn; spf=softfail (domain: sakoman.com, ip: 209.85.210.173, mailfrom: steve@sakoman.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-64d247a023aso1890288b3a.2 for ; Sun, 28 May 2023 10:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1685293684; x=1687885684; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ptsdCOYZPIQ7FFkr1w3cn9Qfxc8Hx5+yht53G4LYLAY=; b=rnQdixMnOqjO8mx5r7SoM1+ya9cC002DizLyjedRgZ5snrhUmA2IIqBkUIUNEkTTgv u89Ht4PMW2bheNDhMoJ51Py7awEj2maW88UhWUkNH1LhwQLy3aBVIb+Mv9gVayfimCe8 qtR4B/8N1c8c5hDBHxXJNRIYs5/huajaXGqo8DQ3d8c+crcasLdZBbvmz/VHX4v5V4Kz 58t1fMChuE/qiOG1MdvsePfq7S/R60XKr+t58d9LRfRWkk4tkZLCS4l6sOsPXM3592oH V/9rNuHhMY7VdYYCNVI0EPYrR0str3w/YnVQP57YmjHwCHIFd6gweRiEnR5H+DqK/Z4F D7Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685293684; x=1687885684; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ptsdCOYZPIQ7FFkr1w3cn9Qfxc8Hx5+yht53G4LYLAY=; b=XamewxmQ+GYNpSpb5WcMFaPYELAqjDY5swmCndeEutzvHYXPcOIQGVahfSVdxtSh0G H4n9LEiSHRfwCSshq19dDAXozkcfRQ9N0qundf7LtCHOc3FmovLOTK7212W8ZEa3qvAB HwQaUBgy0cBkkKW8Qhak/p3ZK2TPttm3DotsiUMoLlqHSSZB2PdxRNZhCVLlntKCnW8J RqhdI4k5FicJBbofV20R+YLPm3oAmbEL96HLYEhw6tJ5IYluEX5+CCc3ReiDvdufeZs7 x3o3ZB30GAv7QYZSDX8X8Ww9xj+Ew/aKkz/auvXUdeCHdfluK9I+bMD1Xan4+C1e5H05 D7Ig== X-Gm-Message-State: AC+VfDyaRWoqToYiOb6g981nf3sYTPmuo8/fZk1KioTIIRPVc2ChA02D Db3sl5cdgsDFCf8oCIov+hyWXyn9lbxHxSnFZRs= X-Google-Smtp-Source: ACHHUZ4ef+291eu7kvHSuzfi/szEPhcJbqAIt23jrDMTVzHxBHZRFgyDcB9xlZ8M4GjWGNBJqMqflA== X-Received: by 2002:aa7:8896:0:b0:643:59cd:6caa with SMTP id z22-20020aa78896000000b0064359cd6caamr12459308pfe.7.1685293684134; Sun, 28 May 2023 10:08:04 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id n23-20020a62e517000000b00625d84a0194sm5363425pff.107.2023.05.28.10.08.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 10:08:03 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 01/12] libxfixes: Upgrade to v6.0.1 Date: Sun, 28 May 2023 07:07:44 -1000 Message-Id: <95ede06cacde7af23d21df8059636ddb4c753869.1685291299.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 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 ; Sun, 28 May 2023 17:08:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/181836 From: Sudip Mukherjee Changes: Use tar.xz: upstream has not released bz2. Update license checksum: minor change in text. Update sha256sum for new version. Signed-off-by: Sudip Mukherjee Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 1a435cb3e6cf3450867f6a591c1e3ceb4918a97d) Signed-off-by: Steve Sakoman --- .../xorg-lib/{libxfixes_6.0.0.bb => libxfixes_6.0.1.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-graphics/xorg-lib/{libxfixes_6.0.0.bb => libxfixes_6.0.1.bb} (71%) diff --git a/meta/recipes-graphics/xorg-lib/libxfixes_6.0.0.bb b/meta/recipes-graphics/xorg-lib/libxfixes_6.0.1.bb similarity index 71% rename from meta/recipes-graphics/xorg-lib/libxfixes_6.0.0.bb rename to meta/recipes-graphics/xorg-lib/libxfixes_6.0.1.bb index 018138f11d..28df7bb805 100644 --- a/meta/recipes-graphics/xorg-lib/libxfixes_6.0.0.bb +++ b/meta/recipes-graphics/xorg-lib/libxfixes_6.0.1.bb @@ -6,16 +6,16 @@ provide the minimal server-side support necessary to eliminate problems \ caused by these workarounds." require xorg-lib-common.inc -SRC_URI[sha256sum] = "a7c1a24da53e0b46cac5aea79094b4b2257321c621b258729bc3139149245b4c" +SRC_URI[sha256sum] = "b695f93cd2499421ab02d22744458e650ccc88c1d4c8130d60200213abc02d58" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=3c1ce42c334a6f5cccb0277556a053e0" +LIC_FILES_CHKSUM = "file://COPYING;md5=a5a9755c8921cc7dc08a5cfe4267d0ff" DEPENDS += "virtual/libx11 xorgproto" PE = "1" XORG_PN = "libXfixes" -XORG_EXT = "tar.bz2" +XORG_EXT = "tar.xz" BBCLASSEXTEND = "native nativesdk" From patchwork Sun May 28 17:07:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 24631 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 9A38BC7EE2E for ; Sun, 28 May 2023 17:08:08 +0000 (UTC) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.web11.33134.1685293687217273039 for ; Sun, 28 May 2023 10:08:07 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=Da/C9XxY; spf=softfail (domain: sakoman.com, ip: 209.85.210.170, mailfrom: steve@sakoman.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-64d1a0d640cso1922527b3a.1 for ; Sun, 28 May 2023 10:08:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1685293686; x=1687885686; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=+GE//NTIflU9mECMu5aW+lAsmSFaLVjGf58Bwe+vYKQ=; b=Da/C9XxYKGotiI4KVljDJ4QzGq+SNaH+8YQ+jhPIWH5LlI1FEV9goAnYxEsUi4c32n o8wcDFZ0RmoaMq/VFUA3oQNFAYEZJx5ajnLe0mHYWSNDncFc7bh5YV/kOjO9RKUWB2Mz KWTDBDQZZ8km3Uv5lbwRNICsSbO2wAJ0Seu14M6+Ab0BSkHO67/Enb0qlBlzmSH+QXE6 fzWuxAFZmu6Bm5mZzNqP+mN+R+fDqFOfZieh2ajLEOdGPdK1j+aJB4icVR7rrTEQsyGh 4syMeXa7knDlfZbJc20sA9014lFtZ71GKlmr15zYMDsMiW7tTCxaaUxBALMtgejamvXU UkRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685293686; x=1687885686; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+GE//NTIflU9mECMu5aW+lAsmSFaLVjGf58Bwe+vYKQ=; b=RabBHdxekr0S/q33HqoREptH76RSBVOO49XIspgMHyPfRO+p/nz6C199DyhSP8WtZi XU+0zBxVCrcf4/N4Z30rGwv0yUXTwLYcaxTLmA+9Z2+uF4IYO+f9I7dNyHrIFb83QLD1 z52vGchCI7U7Kd220i2XDPH95ZTSpRZQYcC9O2bdc5DbeSGVPvJiDbVp0K3JpA8GQy8x dWP59TOYnax33sAsNkM/qE9prxma7B3i192n/Y28lfI2ryUm94Uz4ZDGR//ZpLBQJvLb Osp0Iwlqk/4dwCdTHt/OU8s3L8tP83Y2dh/2MhpPIJ0/w4H0yS9VfSiaJrpKKK76BnSd 2ttg== X-Gm-Message-State: AC+VfDxIxuhtto6ckEkGrgZZRF+4hq0gmKpy4fqgl/f7oX2MyA+Cg25B uE82g1i6wqY9wxCF9sHsMGf4X5BqTj/Zm88326c= X-Google-Smtp-Source: ACHHUZ73qUfClVJ35B7USw2dXzTfYCerWVFHHMpzhBBaWHW5Qx20miNbMCEn13m1GImIIi5TtGU9+w== X-Received: by 2002:a05:6a00:cc5:b0:643:bb16:7ca6 with SMTP id b5-20020a056a000cc500b00643bb167ca6mr14184138pfv.21.1685293686076; Sun, 28 May 2023 10:08:06 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id n23-20020a62e517000000b00625d84a0194sm5363425pff.107.2023.05.28.10.08.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 10:08:05 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 02/12] gstreamer1.0: upgrade 1.22.0 -> 1.22.2 Date: Sun, 28 May 2023 07:07:45 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 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 ; Sun, 28 May 2023 17:08:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/181837 From: Pablo Saavedra Changelog: =========== From 1.22.1: audio channel-mix: allow up to 64 channels (instead of up to 63 channels) avfvideosrc: Don't wait on main thread for permissions request avvidenc: avoid generating inaccurate output timestamps, especially with variable framerate streams AV1 video codec caps signalling improvements in various elements codectimestamper: Fix timestamping on sequence update d3d11overlaycompositor: fix texture width and height d3d11videosink: Fix rendering on external handle dashdemux2: fix seek operation taking a log time to finish for some streams nvencoder: Fix B-frame encoding on Linux and min buffers in auto GPU mode playbin3: fixing buffering for live pipelines playbin: fix potential deadlock when stopping stream with subtitles visible redenc: fix setting of extension ID for twcc rtspsrc: improved compatibility with more broken RTSP servers v4l2h264dec: Fix Raspberry Pi4 will not play video in application vtdec: fix jittery playback of H.264 Level 4.1 movies in macOS vtdec: Fix non-deterministic frame output after flushing seeks vtenc: fix handling of interlaced ProRes on Apple M1 hardware vtenc: don't advertise ARGB/RGBA64 input caps on M1 Pro/Max with macOS <13 wasapi2src: Fix loopback capture on Windows 10 Anniversary Update tools: better handling of non-ASCII command line arguments on Windows gst-libav: fix build against newer ffmpeg versions gst-python: Use arch-specific install dir for gi overrides cerbero: Fix setuptools site.py breakage in Python 3.11 macOS packages: Fix broken binaries on macos < 11.0 various bug fixes, memory leak fixes, and other stability and reliability improvements From 1.22.2: avdec_h264: fix decoder deadlocks with FFmpeg 6.0 rtspsrc: fix regression with URI protocols in OPTIONS requests for RTSP over TLS rtspsrc: improved control url handling compatibility for broken servers decklink: fix 10 bit RGB (r210) format auto detection for capture and fix playout if video caps are configured before audio caps d3d11videosink: Fix tearing in case of fullscreen mode playbin: fix deadlock when stopping stream with subtitles visible (even more) typefinding: fix regression not detecting application/dash+xml in some corner cases osxvideosink: fix broken aspect ratio and frame drawing region decodebin3, parsebin: Improve elementary stream handling when decoders are not present and fix hang when removing a failing stream urisourcebin: Propagate sticky events from parsebin, so that the STREAM_START event with the GstStream info is always available when pads get exposed v4l2: Add support for YVU420M format; mark JPEG content as parsed h264decoder, h265decoder: DPB bumping process and latency reporting fixes Opus: Fix reading of extended channel config in MPEG-TS and fix missing sample rate when remuxing from RTP to Matroska zxing: add support for building against zxing-c++ 2.0 cerbero: Fix packaging of Rust plugins on Android; fix modern Gentoo distro detection various bug fixes, memory leak fixes, and other stability and reliability improvements Signed-off-by: Steve Sakoman --- .../{gst-devtools_1.22.0.bb => gst-devtools_1.22.2.bb} | 2 +- ...r1.0-libav_1.22.0.bb => gstreamer1.0-libav_1.22.2.bb} | 2 +- ...eamer1.0-omx_1.22.0.bb => gstreamer1.0-omx_1.22.2.bb} | 2 +- ...-bad_1.22.0.bb => gstreamer1.0-plugins-bad_1.22.2.bb} | 4 ++-- ...ase_1.22.0.bb => gstreamer1.0-plugins-base_1.22.2.bb} | 4 ++-- ...ood_1.22.0.bb => gstreamer1.0-plugins-good_1.22.2.bb} | 4 ++-- ...gly_1.22.0.bb => gstreamer1.0-plugins-ugly_1.22.2.bb} | 4 ++-- ....0-python_1.22.0.bb => gstreamer1.0-python_1.22.2.bb} | 6 ++++-- ...rver_1.22.0.bb => gstreamer1.0-rtsp-server_1.22.2.bb} | 2 +- ...r1.0-vaapi_1.22.0.bb => gstreamer1.0-vaapi_1.22.2.bb} | 9 +-------- .../{gstreamer1.0_1.22.0.bb => gstreamer1.0_1.22.2.bb} | 2 +- 11 files changed, 18 insertions(+), 23 deletions(-) rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.22.0.bb => gst-devtools_1.22.2.bb} (95%) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.22.0.bb => gstreamer1.0-libav_1.22.2.bb} (91%) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.22.0.bb => gstreamer1.0-omx_1.22.2.bb} (95%) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.22.0.bb => gstreamer1.0-plugins-bad_1.22.2.bb} (98%) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.22.0.bb => gstreamer1.0-plugins-base_1.22.2.bb} (96%) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.22.0.bb => gstreamer1.0-plugins-good_1.22.2.bb} (96%) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.22.0.bb => gstreamer1.0-plugins-ugly_1.22.2.bb} (92%) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.22.0.bb => gstreamer1.0-python_1.22.2.bb} (83%) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.22.0.bb => gstreamer1.0-rtsp-server_1.22.2.bb} (90%) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.22.0.bb => gstreamer1.0-vaapi_1.22.2.bb} (86%) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.22.0.bb => gstreamer1.0_1.22.2.bb} (97%) diff --git a/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.0.bb b/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.2.bb similarity index 95% rename from meta/recipes-multimedia/gstreamer/gst-devtools_1.22.0.bb rename to meta/recipes-multimedia/gstreamer/gst-devtools_1.22.2.bb index 3e9a789d24..8b282bbb7b 100644 --- a/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.0.bb +++ b/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.2.bb @@ -12,7 +12,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV} file://0001-connect-has-a-different-signature-on-musl.patch \ " -SRC_URI[sha256sum] = "4d21fee5c15f2877c0b1f6c2da0cdba67ce7caab2c199ab27e91a1394d5ba195" +SRC_URI[sha256sum] = "eb62726d3e27a8782369a24fd6364a8885ed2462b3bbdab091dffc8139ee06d8" DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" RRECOMMENDS:${PN} = "git" diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.2.bb similarity index 91% rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.0.bb rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.2.bb index 625a52ea55..ed3dbaca22 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.0.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.2.bb @@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ " SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz" -SRC_URI[sha256sum] = "0e48407b4905227a260213dbda84cba3812f0530fc7a75b43829102ef82810f1" +SRC_URI[sha256sum] = "fcaaf9878fe8f3bc82317ef13a1558824cb68df1f8968c6797f556c5e33bcffd" S = "${WORKDIR}/gst-libav-${PV}" diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.2.bb similarity index 95% rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.0.bb rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.2.bb index ed4c44583e..d2d23050d9 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.0.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.2.bb @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz" -SRC_URI[sha256sum] = "dbc951a99af532380e599aa8acd9e1385fdb299b46b5868cd2be4230ad888341" +SRC_URI[sha256sum] = "1b0c57f2cc4ddeec5e7f0c436e502f06665c4e93c73261855b94e04fc94337b2" S = "${WORKDIR}/gst-omx-${PV}" diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.2.bb similarity index 98% rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.0.bb rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.2.bb index b9fc17f3e9..6260f9586b 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.0.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.2.bb @@ -1,7 +1,7 @@ require gstreamer1.0-plugins-common.inc require gstreamer1.0-plugins-license.inc -DESCRIPTION = "'Bad' GStreamer plugins and helper libraries " +SUMMARY = "'Bad' GStreamer plugins and helper libraries " HOMEPAGE = "https://gstreamer.freedesktop.org/" BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues" @@ -10,7 +10,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad file://0002-avoid-including-sys-poll.h-directly.patch \ file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ " -SRC_URI[sha256sum] = "3c9d9300f5f4fb3e3d36009379d1fb6d9ecd79c1a135df742b8a68417dd663a1" +SRC_URI[sha256sum] = "3d8faf1ce3402c8535ce3a8c4e1a6c960e4b5655dbda6b55943db9ac79022d0f" S = "${WORKDIR}/gst-plugins-bad-${PV}" diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.2.bb similarity index 96% rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.0.bb rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.2.bb index 01ef63c104..c1e5d0cd09 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.0.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.2.bb @@ -1,6 +1,6 @@ require gstreamer1.0-plugins-common.inc -DESCRIPTION = "'Base' GStreamer plugins and helper libraries" +SUMMARY = "'Base' GStreamer plugins and helper libraries" HOMEPAGE = "https://gstreamer.freedesktop.org/" BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues" LICENSE = "LGPL-2.1-or-later" @@ -11,7 +11,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-ba file://0003-viv-fb-Make-sure-config.h-is-included.patch \ file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch \ " -SRC_URI[sha256sum] = "f53672294f3985d56355c8b1df8f6b49c8c8721106563e19f53be3507ff2229d" +SRC_URI[sha256sum] = "eb65120c4ee79b7a153c3c1972d5c0158c2151877cc51ec7725bba5749679d49" S = "${WORKDIR}/gst-plugins-base-${PV}" diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.2.bb similarity index 96% rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.0.bb rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.2.bb index ef4d82c598..a9352949b5 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.0.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.2.bb @@ -1,6 +1,6 @@ require gstreamer1.0-plugins-common.inc -DESCRIPTION = "'Good' GStreamer plugins" +SUMMARY = "'Good' GStreamer plugins" HOMEPAGE = "https://gstreamer.freedesktop.org/" BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues" @@ -8,7 +8,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-go file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ file://0001-v4l2-Define-ioctl_req_t-for-posix-linux-case.patch" -SRC_URI[sha256sum] = "582e617271e7f314d1a2211e3e3856ae2e4303c8c0d6114e9c4a5ea5719294b0" +SRC_URI[sha256sum] = "7c8cc59425f2b232f60ca7d13e56edd615da4f711e73dd01a7cffa46e6bc0cdd" S = "${WORKDIR}/gst-plugins-good-${PV}" diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.2.bb similarity index 92% rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.0.bb rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.2.bb index 9c384fea5c..dc81bf27f6 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.0.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.22.2.bb @@ -1,7 +1,7 @@ require gstreamer1.0-plugins-common.inc require gstreamer1.0-plugins-license.inc -DESCRIPTION = "'Ugly GStreamer plugins" +SUMMARY = "'Ugly GStreamer plugins" HOMEPAGE = "https://gstreamer.freedesktop.org/" BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues" @@ -14,7 +14,7 @@ LICENSE_FLAGS = "commercial" SRC_URI = " \ https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ " -SRC_URI[sha256sum] = "a644dc981afa2d8d3a913f763ab9523c0620ee4e65a7ec73c7721c29da3c5a0c" +SRC_URI[sha256sum] = "8f30f44db0bd063709bf6fbe55138e3a98af0abcb61c360f35582bbe10e80691" S = "${WORKDIR}/gst-plugins-ugly-${PV}" diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.2.bb similarity index 83% rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.0.bb rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.2.bb index c447f2cbe8..ab1600db41 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.0.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.22.2.bb @@ -8,7 +8,7 @@ LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" -SRC_URI[sha256sum] = "6c63ad364ca4617eb2cbb3975ab26c66760eb3c7a6adf5be69f99c11e21ef3a5" +SRC_URI[sha256sum] = "bef2b3d82ce4be46b775b1bb56305c1003ee01b535a53a82f9fe8924972153ad" DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" @@ -23,6 +23,8 @@ EXTRA_OEMESON += "\ -Dlibpython-dir=${libdir} \ " -inherit meson pkgconfig setuptools3-base upstream-version-is-even +inherit meson pkgconfig setuptools3-base upstream-version-is-even features_check FILES:${PN} += "${libdir}/gstreamer-1.0" + +REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.2.bb similarity index 90% rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.0.bb rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.2.bb index f943c829c4..02c2badc2a 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.0.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.22.2.bb @@ -10,7 +10,7 @@ PNREAL = "gst-rtsp-server" SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" -SRC_URI[sha256sum] = "aea24eeb59ee5fadfac355de2f7cecb51966c3e147e5ad7cfb4c314f1a4086ed" +SRC_URI[sha256sum] = "2be4aecfb88710100ea7115ed0216403e8094344ebf146094271b8d4d73828bf" S = "${WORKDIR}/${PNREAL}-${PV}" diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.2.bb similarity index 86% rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.0.bb rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.2.bb index 8a703f533e..6111720976 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.0.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.22.2.bb @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz" -SRC_URI[sha256sum] = "593ccad19f88e5fa29f40f98356c007806bd535828707b1406944d16a90bdff5" +SRC_URI[sha256sum] = "d2e642f9745f97d9f73a7f5085e7659a9a31fe209b774e6e45dae041b435df06" S = "${WORKDIR}/${REALPN}-${PV}" DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" @@ -51,10 +51,3 @@ FILES:${PN} += "${libdir}/gstreamer-*/*.so" FILES:${PN}-dbg += "${libdir}/gstreamer-*/.debug" FILES:${PN}-dev += "${libdir}/gstreamer-*/*.a" FILES:${PN}-tests = "${bindir}/*" - -# correct .pc install location - fixed in upstream trunk -do_install:append() { - mkdir -p ${D}/${libdir}/pkgconfig - mv ${D}/${libdir}/gstreamer-1.0/pkgconfig/*.pc ${D}/${libdir}/pkgconfig - rmdir ${D}/${libdir}/gstreamer-1.0/pkgconfig/ -} diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.2.bb similarity index 97% rename from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.0.bb rename to meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.2.bb index 11002e667d..f6dd2c168e 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.0.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.2.bb @@ -22,7 +22,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.x file://0003-tests-use-a-dictionaries-for-environment.patch;striplevel=3 \ file://0004-tests-add-helper-script-to-run-the-installed_tests.patch;striplevel=3 \ " -SRC_URI[sha256sum] = "78d21b5469ac93edafc6d8ceb63bc82f6cbbee94d2f866cca6b9252157ee0a09" +SRC_URI[sha256sum] = "b2afe73603921c608ba48969dbb7d743776744bfe5d8059ece241137b7f88e21" PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ check \ From patchwork Sun May 28 17:07:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 24633 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 78F3DC7EE29 for ; Sun, 28 May 2023 17:08:18 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web10.32983.1685293688982938348 for ; Sun, 28 May 2023 10:08:09 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=DVyBn1bp; spf=softfail (domain: sakoman.com, ip: 209.85.210.181, mailfrom: steve@sakoman.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-64d41763796so1851196b3a.2 for ; Sun, 28 May 2023 10:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1685293688; x=1687885688; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=uo1ntc7/eush937xEjX+LL6rxjEHrh46vvElN2dt0ww=; b=DVyBn1bpsGRdXb1oNxgZCAYxi0wY5l1ZjyrPCGgmGRc3bah130pbZjBkxArX5EkrXJ 6nHBsu5fD04n1qrAmyOhfkUWFi90hpnaoTM70SG0tp9UcWen97eFiS3CPNa/UI7x17UU Bu9OLXOFNdRhqXK+Y+Ir4XntopaubhxRY5Jyw5ojI1TlQbey00eD/E43hCMpEg82gYhr n8X/PTRHdeNN1UelN5yoyyP6JR7kT5USn3THYT47s802ySj3A7FESa3X2hQDZ+iaCqHc jH3bY8KWsfplNVQv24MWuZACNQYhf6Rta3cN8mUF5ubFAW2GF+TLzjqgmY0K9PBaYh3j ZaMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685293688; x=1687885688; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uo1ntc7/eush937xEjX+LL6rxjEHrh46vvElN2dt0ww=; b=RlI5AyRm1axb7h8Twhoay9+Ha/V7jcxHnlDLyHsGd1NURWvgJWPnlf386NXQrJnjzz De28HtGZ2kEThcXvVnE5PfgvaIAHtGZWkgjUVnjC3X+fxB6E3iNQJM/GsMWnLq9Kap7h OJQACAjNPetc3BBhecrWWJobzXr1ZlQaPvWkItdLgb7EmPb7gIAuI0qnv6X0phlb6DBu hyZktlDiPaKW6UjsYHNkpLxHBuF/0Zu1DrqIbHcQhTJGJlAJTInLu64PvUMTHnKHv/r4 2HuUsMq1GOokMEpvwiaO+CF/8RzAZ/46XwYx1gbxHL+hSDK1ihZEsGKSn8d6c0ILUJLY IqJQ== X-Gm-Message-State: AC+VfDyEOg9hSbL6RECUKelS4gbZ/GSXcQ6Eng3Ubm+5s91/0nJUUEj4 OUc5I1AMQHCwxGXYTham2SA6d9GqVVxjyqxn1Wc= X-Google-Smtp-Source: ACHHUZ4GENOV/wrIQG/zilnwl7iXhnoL0V03Jy7Xvq1k1OSkol7MRfysvyXvyjo69RvO6lDSdViKHA== X-Received: by 2002:a05:6a00:170b:b0:64d:1451:8224 with SMTP id h11-20020a056a00170b00b0064d14518224mr11700400pfc.22.1685293688070; Sun, 28 May 2023 10:08:08 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id n23-20020a62e517000000b00625d84a0194sm5363425pff.107.2023.05.28.10.08.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 10:08:07 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 03/12] xwininfo: upgrade to v1.1.6 Date: Sun, 28 May 2023 07:07:46 -1000 Message-Id: <5a30b3ddb0feb485b893d77e06939dc64ce8f7e3.1685291299.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 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 ; Sun, 28 May 2023 17:08:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/181838 From: Sudip Mukherjee Changes: Use xz: upstream has not released bz2. Update license checksum: change in copyright year. Update sha256sum and md5sum for new version. Signed-off-by: Sudip Mukherjee Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 44db345f3a1f13ba31edbff28774b4512d07f8d9) Signed-off-by: Steve Sakoman --- .../xorg-app/{xwininfo_1.1.5.bb => xwininfo_1.1.6.bb} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename meta/recipes-graphics/xorg-app/{xwininfo_1.1.5.bb => xwininfo_1.1.6.bb} (56%) diff --git a/meta/recipes-graphics/xorg-app/xwininfo_1.1.5.bb b/meta/recipes-graphics/xorg-app/xwininfo_1.1.6.bb similarity index 56% rename from meta/recipes-graphics/xorg-app/xwininfo_1.1.5.bb rename to meta/recipes-graphics/xorg-app/xwininfo_1.1.6.bb index ec9f08268e..39ec76724c 100644 --- a/meta/recipes-graphics/xorg-app/xwininfo_1.1.5.bb +++ b/meta/recipes-graphics/xorg-app/xwininfo_1.1.6.bb @@ -6,10 +6,11 @@ DESCRIPTION = "Xwininfo is a utility for displaying information about \ windows. Information may include window position, size, color depth, \ and a number of other items." -LIC_FILES_CHKSUM = "file://COPYING;md5=78976cd3115f6faf615accc4e094d90e" +LIC_FILES_CHKSUM = "file://COPYING;md5=a1b9559d7b7997a6e9588012ebf8769a" DEPENDS += "libxext libxmu gettext-native" PE = "0" -SRC_URI[md5sum] = "26d46f7ef0588d3392da3ad5802be420" -SRC_URI[sha256sum] = "7a405441dfc476666c744f5fcd1bc8a75abf8b5b1d85db7b88b370982365080e" +SRC_URI_EXT = "xz" +SRC_URI[md5sum] = "c91201bc1eb5e7b38933be8d0f7f16a8" +SRC_URI[sha256sum] = "3518897c17448df9ba99ad6d9bb1ca0f17bc0ed7c0fd61281b34ceed29a9253f" From patchwork Sun May 28 17:07:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 24635 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 8B2C9C7EE33 for ; Sun, 28 May 2023 17:08:18 +0000 (UTC) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.web11.33136.1685293690721399088 for ; Sun, 28 May 2023 10:08:10 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=Gwu9eI42; spf=softfail (domain: sakoman.com, ip: 209.85.210.172, mailfrom: steve@sakoman.com) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-64d3491609fso1881024b3a.3 for ; Sun, 28 May 2023 10:08:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1685293690; x=1687885690; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ellMAkuIGTqntcYG9t2uAd3fBGrIvVJX+WPeW4RlXww=; b=Gwu9eI428k38EjcG31A9jfYceYdONCAhHsaYY50zX1T8EYuumU3hZgEGp+h/2hiYsJ FgUqT8evXyUHMJtEuEy7IM7cXbwqMn9BkRhEu9j1sRMCpWUsLljF0VG040Rvm9IwyqHk cVGOSqbYl3cuTTQcyHqHi0QdJGAPQW26xOkaRgA1mWWQ1t7PZWmDjq0DnnUk/Jw04vmY 1gItBdsdlFlsmR5HKryve0RHLbCPu8jyjIwQipKGz99CaZ9u6xp0+TM4qrQZgE9/22qQ 9TTYbXyM7NHlS+CQCgcD//Dh9ep6HlKLiuseCMFjNIvLIx6NivehohKI/s0QJkmWTX90 BZlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685293690; x=1687885690; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ellMAkuIGTqntcYG9t2uAd3fBGrIvVJX+WPeW4RlXww=; b=VUUH0QsnPGJjj2n1SHzGCWujn31fdiUi6YFxu74zpWG61rKiJEgkUqU0nl77xbPItq lGrY+qgZ4ERZHte9oDesQpy7dzOGEPm7uzD+aKxlk2p7K+nbnaYnTK5P/Xv4xoeq9Fx7 97StKt2C9PoD0Y75x6zByv1h+7EIN0gaCAsa6PaTJj2MOedJ1VN/i/iXDMTZPgj2/HxV ilL7G3OEZxy1d14cvRJS5GWSRBm3HxlV50SZ8bsbGXATNrp0VCReS2u6OSapOmLWkYaB lV5C791tqRWWJCmGcpKwIxlFhp8U0qOhjeJres4CkhlN93IjGAh2VYiuB5AowR5VcnlW c2jw== X-Gm-Message-State: AC+VfDxT2T+h1qE9BoFCAPmRyZrMlVnXArMF78PEBl6slJzjCT+NFQXv MPtmA5lWaYlQHsS3xdWbl9KtH5is0iriKV415kw= X-Google-Smtp-Source: ACHHUZ6Y6vXLrFg2XNnkLBbdUnlYo0ugP/JeQETqtSE5sJrukLdN5MiCLbXA1b+sQ25oCi1PEYdpEQ== X-Received: by 2002:a05:6a00:170b:b0:64c:c5f9:1533 with SMTP id h11-20020a056a00170b00b0064cc5f91533mr12386085pfc.33.1685293689825; Sun, 28 May 2023 10:08:09 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id n23-20020a62e517000000b00625d84a0194sm5363425pff.107.2023.05.28.10.08.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 10:08:09 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 04/12] xinput: upgrade to v1.6.4 Date: Sun, 28 May 2023 07:07:47 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 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 ; Sun, 28 May 2023 17:08:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/181839 From: Sudip Mukherjee Changes: Use xz: upstream has not released bz2. Update sha256sum and md5sum for new version. Signed-off-by: Sudip Mukherjee Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 4080fda237b8c7c540b54b7abc2075fd40a684d4) Signed-off-by: Steve Sakoman --- .../xorg-app/{xinput_1.6.3.bb => xinput_1.6.4.bb} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-app/{xinput_1.6.3.bb => xinput_1.6.4.bb} (64%) diff --git a/meta/recipes-graphics/xorg-app/xinput_1.6.3.bb b/meta/recipes-graphics/xorg-app/xinput_1.6.4.bb similarity index 64% rename from meta/recipes-graphics/xorg-app/xinput_1.6.3.bb rename to meta/recipes-graphics/xorg-app/xinput_1.6.4.bb index ff1f1c9148..f5e3f5da12 100644 --- a/meta/recipes-graphics/xorg-app/xinput_1.6.3.bb +++ b/meta/recipes-graphics/xorg-app/xinput_1.6.4.bb @@ -8,5 +8,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=881525f89f99cad39c9832bcb72e6fa5" DEPENDS += " libxi libxrandr libxinerama" -SRC_URI[md5sum] = "ac6b7432726008b2f50eba82b0e2dbe4" -SRC_URI[sha256sum] = "35a281dd3b9b22ea85e39869bb7670ba78955d5fec17c6ef7165d61e5aeb66ed" +SRC_URI_EXT = "xz" +SRC_URI[md5sum] = "8e4d14823b7cbefe1581c398c6ab0035" +SRC_URI[sha256sum] = "ad04d00d656884d133110eeddc34e9c69e626ebebbbab04dc95791c2907057c8" From patchwork Sun May 28 17:07:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 24637 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 7B09AC7EE2F for ; Sun, 28 May 2023 17:08:18 +0000 (UTC) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mx.groups.io with SMTP id smtpd.web10.32984.1685293692612970968 for ; Sun, 28 May 2023 10:08:12 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=gwqAh8ai; spf=softfail (domain: sakoman.com, ip: 209.85.210.177, mailfrom: steve@sakoman.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-64d41d8bc63so2043673b3a.0 for ; Sun, 28 May 2023 10:08:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1685293691; x=1687885691; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=UkxoC1IOLvbB0xeweayPuL0ZKbJ4dK2rV1RTdEbO6qA=; b=gwqAh8ai+njfINb3y56kDaGgZVlIhmSq4p6TeWRzkPIU6f1fNFESDuXKc4pGC56SQK YOBiCGsbegJ85PY/ICwA7GoSj56udbyzaOv9G42HN8I73/A+EGdHemb1q6MqYglpRnMb N1f/PgcBW4ftfbOmgDzClwyACHHFdlrsWAONN9FxJPJrAdm7e4vSmRs29N7+HiU4S/0N njsTRIVRSrnVnE/odai42qw7yQhCrEn40p34Rga+JJAIXE4+IwyKQDRvif07p4jprNhO zKh6W8/0DVxDWaa/r2D0sQZIpsRg4UQvLWRIedRLzmfLXXwHA/y6/gihxsnB9IQLBGNf AZbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685293691; x=1687885691; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UkxoC1IOLvbB0xeweayPuL0ZKbJ4dK2rV1RTdEbO6qA=; b=A+vJrLt9DC3/mPQVcR29xTU93d5Kzj3kZ99YJdtqy0akIWDn1LM3hWArrKbYbW3Ldw aWsL9I/ocITV+OjyoLXkSmXD59WQxzqBWnZWqCFmvUGN1lBwcsTcqM7K9ZUzMD0NkXMJ +8UwMMEcz4QO3LL5l5jenKAFfiOQIrsYf0+bzGHmmf1/PMGhesV8ipizfAY39rzu1HJ4 oxL0fnxY94YRF8T34bQ8E8F8ClJYj4KRDijmG4bBA5SDVZfnBNlibndgwcht0oyF1JGx yPDhHlBoLMR3CHrxh5Fmo+bZCaMovW8PSKa/oMKlYQVkQCUG8h7VvPmIRSnTeM0fHLrz SnmQ== X-Gm-Message-State: AC+VfDxzoKu+XAZT5o+2Io5gVJ2MXErtGYvHTLNgpZ2uvmpnazHFnr7G CiV63NCjgyPV+TcgM+AKw8J1Q1BM6qYiKe9YmxI= X-Google-Smtp-Source: ACHHUZ4MtbA77UmYbzPYzMefFPjpHtw+0gdRHcQTD46sRYrcg2JYimSb6HMM6wv+6epRLNnQWQneaQ== X-Received: by 2002:a05:6a20:3952:b0:10e:5c1f:660f with SMTP id r18-20020a056a20395200b0010e5c1f660fmr7556524pzg.35.1685293691484; Sun, 28 May 2023 10:08:11 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id n23-20020a62e517000000b00625d84a0194sm5363425pff.107.2023.05.28.10.08.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 10:08:11 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 05/12] libmodule-build-perl: upgrade 0.4232 -> 0.4234 Date: Sun, 28 May 2023 07:07:48 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 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 ; Sun, 28 May 2023 17:08:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/181840 From: Tim Orling * Skip t/pod_parser.t ptest since it is for testing documentation and requires Pod::Parser for which we do not have a recipe. Adding one does not make much sense since Pod::Parser was dropped from Perl > 5.31.1 in favor of Pod::Simple https://metacpan.org/pod/Pod::Parser#DESCRIPTION Changes: https://metacpan.org/dist/Module-Build/changes 0.4234 - Fri 28 Apr 2023 10:46:26 CEST - PodParser now respects =encoding directives - Don't use libraries in t/bundled for Build.PL - make_tarball: workaround for broken tar on Darwin - Respect $Config{man1ext}/$Config{man3ext} - Do not require a compiler if c_source is an empty list Signed-off-by: Tim Orling Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit c3b97f6d74b67706fbbc8685e8060566b815630d) Signed-off-by: Steve Sakoman --- ...uild-perl_0.4232.bb => libmodule-build-perl_0.4234.bb} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) rename meta/recipes-devtools/perl/{libmodule-build-perl_0.4232.bb => libmodule-build-perl_0.4234.bb} (94%) diff --git a/meta/recipes-devtools/perl/libmodule-build-perl_0.4232.bb b/meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb similarity index 94% rename from meta/recipes-devtools/perl/libmodule-build-perl_0.4232.bb rename to meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb index 0ead690067..b57618724d 100644 --- a/meta/recipes-devtools/perl/libmodule-build-perl_0.4232.bb +++ b/meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb @@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://README;beginline=881;endline=886;md5=3027f56c664545e5 SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-${PV}.tar.gz \ file://run-ptest \ " -SRC_URI[sha256sum] = "67c82ee245d94ba06decfa25572ab75fdcd26a9009094289d8f45bc54041771b" +SRC_URI[sha256sum] = "66aeac6127418be5e471ead3744648c766bd01482825c5b66652675f2bc86a8f" S = "${WORKDIR}/Module-Build-${PV}" @@ -34,6 +34,12 @@ do_patch[postfuncs] += "do_patch_module_build" EXTRA_CPAN_BUILD_FLAGS = "--create_packlist=0" +do_install:prepend () { + # We do not have a recipe for libpod-parser-perl which is for + # documentation (and is deprecated in favor of Pod::Simple) + rm -rf ${B}/t/pod_parser.t +} + do_install:append () { rm -rf ${D}${docdir}/perl/html sed -i "s:^#!.*:#!/usr/bin/env perl:" ${D}${bindir}/config_data From patchwork Sun May 28 17:07:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 24636 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 868A0C7EE31 for ; Sun, 28 May 2023 17:08:18 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web11.33140.1685293694103172809 for ; Sun, 28 May 2023 10:08:14 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=xEuReRHg; spf=softfail (domain: sakoman.com, ip: 209.85.210.173, mailfrom: steve@sakoman.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-64d341bdedcso1829412b3a.3 for ; Sun, 28 May 2023 10:08:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1685293693; x=1687885693; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=FMm/vh4jLVg1mqdyCxCKSnnRqaAKu8NPBzfS0dPxCmc=; b=xEuReRHgo3Eh5f2p7REGZ9jXlDNyHuMMYGo4JtMOoufWy+BhVaTAsH0qNws1FdBobq wpXdeO0wpSN2KosTQFHi9owUZN7KMj9jOTwTQdiDGBwkyS+s5xTFG0PVdrLlUUnh2j3V thIet5S2W2MaJfT/mApFqNaFY9q9FVFOi3RwdyMDj27/k6uJoReeOt0ws84/ihzNhYWc L3t7lkR2b43h1K4hSIMxdXyaQgkeLQV3g2rl76jL7ZRnuEmBs5ickCGhJl3qjPGhQIPV UF4c79+WNDxMzN8stg2+NIZ3z7t4CtMKJ7G8tY+Gn6l9QSQCvlicRX67fFUNcKnL3DrA FFQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685293693; x=1687885693; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FMm/vh4jLVg1mqdyCxCKSnnRqaAKu8NPBzfS0dPxCmc=; b=eVFW92owly+m3+5TmBf99wRyeIoB6Obuocq24K7e2AfZlpc0862eHeePDcSzK4RWfY UbIyhXKztxIvl+iI8UF/rlVSWdsrGrlbEN8nzutCSC8rNZb7MPB6F4Twft6yt1XLRNE8 GutiGtQevTwmhugpoSS1/sQ5rLeUCZQGKI5VzTxItrM7BTyb0LCn//KjntnE4VsyZGF6 txOYk1P8hBycvES1Tz/TfpU9ymDGx+ZhLLCwPKxW1jESYK1F1EsynTKAiD3kY4fG7arW rYIFHlU3WSNCo4Z2RWQFknQD2f29el04sIN+rMEgFFzXIQnIdL83iPXDFK9yOgEHkvUK D01g== X-Gm-Message-State: AC+VfDwRuRQr3x1l+2AmH+3KGeceCEemuMnqWkQiC0SNQwmkqJTPR17M uKk/Iv7IADjLifWMDFFOOtryUCml7JPfPCtfeiU= X-Google-Smtp-Source: ACHHUZ6MWrCgDTOezHnAZDLa3sOsAmw/8gJhyiaAvHnm741QKpQxlKSXc0ZlXTNb0gGOPFyw+MAw5w== X-Received: by 2002:a05:6a00:845:b0:63b:5c82:e209 with SMTP id q5-20020a056a00084500b0063b5c82e209mr13611119pfk.10.1685293693135; Sun, 28 May 2023 10:08:13 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id n23-20020a62e517000000b00625d84a0194sm5363425pff.107.2023.05.28.10.08.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 10:08:12 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 06/12] libbsd: Add correct license for all packages Date: Sun, 28 May 2023 07:07:49 -1000 Message-Id: <5f4111fa1b5f2fe35fca854eed08eca415c5a3f1.1685291299.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 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 ; Sun, 28 May 2023 17:08:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/181841 From: Ranjitsinh Rathod BSD-4-Clause is only applicable to the {PN}-doc package as when I check for the source code I find below files which only uses the license BSD-4-Clause ~/sources/libbsd$ grep -rl "All advertising materials mentioning features or use of this software" *|grep -v \.1|grep -v \.5|grep -v \.8 | sort COPYING man/arc4random.3bsd ~/sources/libbsd$ grep -rnB5 "BSD-4" COPYING-9-Files: COPYING-10- man/arc4random.3bsd COPYING-11-Copyright: COPYING-12- Copyright 1997 Niels Provos COPYING-13- All rights reserved. COPYING:14:License: BSD-4-clause-Niels-Provos So other all PACKAGES should not contain the BSD-4-Clause Signed-off-by: Ranjitsinh Rathod Signed-off-by: Ranjitsinh Rathod Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit fe57f5ec7fa46f595a302275ce3063d53634c00e) Signed-off-by: Steve Sakoman --- meta/recipes-support/libbsd/libbsd_0.11.7.bb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta/recipes-support/libbsd/libbsd_0.11.7.bb b/meta/recipes-support/libbsd/libbsd_0.11.7.bb index a9f7a00469..5c958f950e 100644 --- a/meta/recipes-support/libbsd/libbsd_0.11.7.bb +++ b/meta/recipes-support/libbsd/libbsd_0.11.7.bb @@ -29,6 +29,13 @@ HOMEPAGE = "https://libbsd.freedesktop.org/wiki/" # License: public-domain-Colin-Plumb LICENSE = "BSD-3-Clause & BSD-4-Clause & ISC & PD" LICENSE:${PN} = "BSD-3-Clause & ISC & PD" +LICENSE:${PN}-dbg = "BSD-3-Clause & ISC & PD" +LICENSE:${PN}-dev = "BSD-3-Clause & ISC & PD" +LICENSE:${PN}-doc = "BSD-3-Clause & BSD-4-Clause & ISC & PD" +LICENSE:${PN}-locale = "BSD-3-Clause & ISC & PD" +LICENSE:${PN}-src = "BSD-3-Clause & ISC & PD" +LICENSE:${PN}-staticdev = "BSD-3-Clause & ISC & PD" + LIC_FILES_CHKSUM = "file://COPYING;md5=75e85c5a558f86d10fbd5abc567ea5e6" SECTION = "libs" From patchwork Sun May 28 17:07:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 24634 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 8695EC7EE32 for ; Sun, 28 May 2023 17:08:18 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web11.33140.1685293694103172809 for ; Sun, 28 May 2023 10:08:15 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=EIlzJyDc; spf=softfail (domain: sakoman.com, ip: 209.85.210.173, mailfrom: steve@sakoman.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-64d341bdedcso1829422b3a.3 for ; Sun, 28 May 2023 10:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1685293695; x=1687885695; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=UjbZ/vVS4DyGwde4fLihfCqOR+qKEnej09HRJNCJjtA=; b=EIlzJyDcy7srutXfJinh41tCkP0zdY+oE/47sztDV4wTlyr6m1zcettyhfOxgN74wt f5JDtDRqUWw9pTeFSDUvtOmfqkr4PuozDhIdmPPn+U0jAXeVogPMu9obmH3c/Ad9GF4x XmYPCht38+37QeYhh2SNzxuZBrrdavtGgOITiEjxmKlKNfyYCqldMJRje1sIQBmOXhM0 wW0vegKsTPxb2HSIufUEp1gpammq4Tvy5uE8Y6zAo00g45ze2pF5iV7vk9w7TK1+S3ay x7C2KYGoKJYlbAQurVadW9Faffs9OU00tpKMkh80IpdNu6bXB+VnKY1aHfcZSMq438pc CoOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685293695; x=1687885695; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UjbZ/vVS4DyGwde4fLihfCqOR+qKEnej09HRJNCJjtA=; b=EGyiyfNJL7ZC6Qbcz59x9rIMs2tCB/un54+ekNGGWKOxGHpgMCBMlV2Sb7hqpMQgqV kkLLAWqb07tV+l8flFyt/32ogVySkTm/EAqjRn5zaXAwF3H0tRUCvUGOc2top/JUx3GB Iyi9CwhXiP5YI/SSY/htxpnitSGWiA6OdxjFUPKtqH3/NnW7Fjx/+TAFDKEwod5CSbbx J0qpmQ9/xDuP8IDmdd+FctoBpt0AQdbXv5YFq7FLwnVzcwge7jXTWEjUgZX34cZ0yTZS b2YUNsUpqEYRaDIIsqZhWVsafJ86PTKjQsX40tNGaNJBdPykZPNh8q8/OD9ozwbnTj0u B/gQ== X-Gm-Message-State: AC+VfDwK8zIp8Q/+zrzSoUQ5JaWBWosjnxRMxGDkpsLfOK7y5m1QMPRq fTRJig/RS7uHGzzBgOoJT/I/jsJy0oFFMX1nHdw= X-Google-Smtp-Source: ACHHUZ6/fbUf7++Fo9dVS96eNaeP9BRf+BLj1ftF0VMot1X7qy/UQzlshVyMgC+MsNfpjOVCpn7zxw== X-Received: by 2002:a05:6a20:144e:b0:f2:ad27:f98a with SMTP id a14-20020a056a20144e00b000f2ad27f98amr8121891pzi.14.1685293694774; Sun, 28 May 2023 10:08:14 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id n23-20020a62e517000000b00625d84a0194sm5363425pff.107.2023.05.28.10.08.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 10:08:14 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 07/12] expect: Add ptest support Date: Sun, 28 May 2023 07:07:50 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 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 ; Sun, 28 May 2023 17:08:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/181842 From: Chi Xu Test results: root@qemux86-64:~# ptest-runner expect START: ptest-runner 2023-05-23T05:17 BEGIN: /usr/lib64/expect/ptest via send_stdout PASS: cat-1.1 PASS: expect-1.1 PASS: expect-1.2 PASS: expect-1.3 PASS: expect-1.4 PASS: expect-1.5 PASS: expect-1.6 PASS: expect-1.7 PASS: expect-1.10 PASS: expect-1.11 PASS: expect-1.12 PASS: expect-1.13 PASS: expect-1.8 PASS: expect-1.8b PASS: expect-1.9 PASS: logfile-1.1 PASS: pid-1.2 PASS: pid-1.3 PASS: pid-1.4 PASS: pid-1.5 PASS: send-1.1 PASS: send-1.2 PASS: spawn-1.1 PASS: spawn-1.2 PASS: spawn-1.3 PASS: spawn-1.4 PASS: spawn-1.5 PASS: stty-1.1 PASS: stty-1.2 DURATION: 17 END: /usr/lib64/expect/ptest 2023-05-23T05:17 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Chi Xu Signed-off-by: Steve Sakoman --- meta/conf/distro/include/ptest-packagelists.inc | 1 + meta/recipes-devtools/expect/expect/run-ptest | 6 ++++++ meta/recipes-devtools/expect/expect_5.45.4.bb | 8 +++++++- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100755 meta/recipes-devtools/expect/expect/run-ptest diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index d60ebb38fc..003348906a 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -17,6 +17,7 @@ PTESTS_FAST = "\ diffutils \ ethtool \ expat \ + expect \ findutils \ flex \ gawk \ diff --git a/meta/recipes-devtools/expect/expect/run-ptest b/meta/recipes-devtools/expect/expect/run-ptest new file mode 100755 index 0000000000..856c314eaf --- /dev/null +++ b/meta/recipes-devtools/expect/expect/run-ptest @@ -0,0 +1,6 @@ +#!/bin/sh + +out_put=`tclsh tests/all.tcl -verbose bpse` +echo +echo "${out_put}" | awk '/PASSED|FAILED|SKIPPED/{gsub(/PASSED/,"PASS"); gsub(/FAILED/,"FAIL"); gsub(/SKIPPED/,"SKIP"); if ($NF=="PASS"){print $NF": "$(NF-1)}else{print $NF": "$2}}' | uniq + diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb index 6cb46f334c..7b610b1ff2 100644 --- a/meta/recipes-devtools/expect/expect_5.45.4.bb +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb @@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://license.terms;md5=fbf2de7e9102505b1439db06fc36ce5c" DEPENDS += "tcl" RDEPENDS:${PN} = "tcl" -inherit autotools update-alternatives +inherit autotools update-alternatives ptest SRC_URI = "${SOURCEFORGE_MIRROR}/expect/Expect/${PV}/${BPN}${PV}.tar.gz \ file://0001-configure.in.patch \ @@ -27,6 +27,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/expect/Expect/${PV}/${BPN}${PV}.tar.gz \ file://0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch \ file://0001-fixline1-fix-line-1.patch \ file://0001-Add-prototype-to-function-definitions.patch \ + file://run-ptest \ " SRC_URI[md5sum] = "00fce8de158422f5ccd2666512329bd2" SRC_URI[sha256sum] = "49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34" @@ -44,6 +45,11 @@ do_install:append() { sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl } +do_install_ptest() { + install -d ${D}${PTEST_PATH} + cp -r ${S}/tests ${D}${PTEST_PATH} +} + # Apparently the public Tcl headers are only in /usr/include/tcl8.6 # when building for the target and nativesdk. TCL_INCLUDE_PATH = "--with-tclinclude=${STAGING_INCDIR}/tcl8.6" From patchwork Sun May 28 17:07:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 24632 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 774E4C77B7C for ; Sun, 28 May 2023 17:08:18 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web10.32983.1685293688982938348 for ; Sun, 28 May 2023 10:08:17 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=TbKFME6y; spf=softfail (domain: sakoman.com, ip: 209.85.210.181, mailfrom: steve@sakoman.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-64d41763796so1851240b3a.2 for ; Sun, 28 May 2023 10:08:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1685293696; x=1687885696; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=missYJgo2TR3DImUHe9cDI5eue9+bEOvCK4NoM7DyFY=; b=TbKFME6yWbmylk8AnvAI8xw+GfsZZ1m1yw+xdRR+FY6ZQY2A0QIrTV1SXq89JsgDqV Mw/cqvcGCMbvMV/dPdnK/yqmjJI1+kNzRBwQSG/G7EX5p4MDBAdP9XKz6x0JWOA8aeiD xk1Un8ADpEh0zZ66aS+CCijT+cOS5mOJyzUv2rCs9kAZe+i99gy/8PN+juDK/eAfcG5l 3h3QHS+dBQIVQqujGvt5TMsY1yMXawuIbVSKTvnPtNW74oZnRPYcJ/iMfj3XFTx/V7lM eIoe9K1X1OcSHhAVjvK8VagPgpxOLYMqln0sKGsHP4i4QgojrDFJaJew0pFO0bMosEbP gWYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685293696; x=1687885696; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=missYJgo2TR3DImUHe9cDI5eue9+bEOvCK4NoM7DyFY=; b=F9rVD1KWqOWlJxcliiVz/OgNRt1dSzUe1Ceb9xBq3fB4egk3/bhTPGXcUbSjo21tKm Ly0hSQXXjNGuSzu2j27fbL3yRyPhO1JZhomlHjFoLZMKzzEv8imRWRCZHiic0FXQWRr5 5nNwa2eCk+Ieu6Sk/2TxiEldqeB2m07yl5tCefkaa8+9qUJmz6HKS1x8IHFEONbpQX8Z DUENAHH7f2xjNnxvYC3sc8vwAHgqfiRBST10VDFJZnZNnOySg0MxkA6XpqgTNdTHg57g d2uVQ3fBnli516gKMFLF2ZMOLM7xcCVMxjodBwraGLoIeFHh5mO8/fo9IphOLHGSci3n BbnA== X-Gm-Message-State: AC+VfDxEnXxZQ64qi/84z2kd3ynr/uaZcJPMB+0Ld/Px5DsXhA1k3ALt UF704wSbofzn8+IoRFJTthcc48Q+LoEWFNvLb/8= X-Google-Smtp-Source: ACHHUZ7MaBa26v6fMF8+/D6XNVWGW/25BDu6cIa5v9+izCnIq9YukEV0X8cBV3G9kl72L7hUS/Tquw== X-Received: by 2002:a05:6a00:218f:b0:64e:bada:2411 with SMTP id h15-20020a056a00218f00b0064ebada2411mr12378513pfi.25.1685293696404; Sun, 28 May 2023 10:08:16 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id n23-20020a62e517000000b00625d84a0194sm5363425pff.107.2023.05.28.10.08.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 10:08:16 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 08/12] scripts: fix buildstats diff/summary hard bound to host python3 Date: Sun, 28 May 2023 07:07:51 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 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 ; Sun, 28 May 2023 17:08:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/181843 From: Paul Gortmaker Somehow these two got left behind and hence on older hosts that are using buildtools for a newer python - they will still fail. Signed-off-by: Paul Gortmaker Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit f1b11b83a6dd991f393940741c930691463e6d53) Signed-off-by: Steve Sakoman --- scripts/buildstats-diff | 2 +- scripts/buildstats-summary | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/buildstats-diff b/scripts/buildstats-diff index 2f6498ab67..c9aa76a8fa 100755 --- a/scripts/buildstats-diff +++ b/scripts/buildstats-diff @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # # Script for comparing buildstats from two different builds # diff --git a/scripts/buildstats-summary b/scripts/buildstats-summary index f521d78650..b10c671b29 100755 --- a/scripts/buildstats-summary +++ b/scripts/buildstats-summary @@ -1,4 +1,4 @@ -#! /usr/bin/python3 +#!/usr/bin/env python3 # # Dump a summary of the specified buildstats to the terminal, filtering and # sorting by walltime. From patchwork Sun May 28 17:07:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 24639 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 7F819C77B7C for ; Sun, 28 May 2023 17:08:28 +0000 (UTC) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.web10.32989.1685293699258670716 for ; Sun, 28 May 2023 10:08:19 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=hvXN5vc3; spf=softfail (domain: sakoman.com, ip: 209.85.210.180, mailfrom: steve@sakoman.com) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-64d2467d640so3053420b3a.1 for ; Sun, 28 May 2023 10:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1685293698; x=1687885698; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=KIm3+POFq6IX0pSxxh8jHaSiUX6q1qQRLp0CUi9UmZI=; b=hvXN5vc3xDZmZ+JMeBLVH3kSuLHAPOepi+8Y57427ftKzaLNCgiPE1S2z2Pv1M4R7L aO6PcY29/bpJ4bcxq8FWr7WLzWfaKcHGsfp7JqIlT3BoBNx4G4MVM/E1wM+BURZNR8JC 0OIY1+VTcIGScNndlFuDlUqyL4Fb53+BlBfoh2aYAHd0ZbCH0WYRp9T/dmD6W9jojD2H sEMRszzuaf8Vp517v/qF6d0j7k3fH3hxXfqI4hmO2Eard31U5JQ8ZiVCQZ88Zn277YZC +lHjG4xzY3GlUDT0V03HkIzXFkKKBXbrwWpKBP1LGQ/kkpsj/ULoXJkSXVH0/GpzQMk5 +1lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685293698; x=1687885698; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KIm3+POFq6IX0pSxxh8jHaSiUX6q1qQRLp0CUi9UmZI=; b=MXFHPJMbkoWp7KjrSbbWd9nEuX43rfUSYuLcGNYCgXKiPaPj1QgbHGsnFCtF+gbIwr WBQcr2BslmKPqR3KJ94HjMu46e0vlknLZi7K3UHXPKCyoCdAjcXTwGxPoVDgGTu4TAVa np69Gf+EENWH/18ifdEg0zuCgMabs2JuLBZYcutG5IwnVMiKdb05clGj4tGJbU6IuQn7 x0GYFPB7SoTK4U2xw56JT24l++pniWKd5CN91llzrcuT1jCv1GlVohdIHtQ3csVf6QOC YmtRgPlWEFcuDS+r5F0NXkB0XqXCuPPRwCBkDgfRVQu8YBusRXWerGGNk3JwjAVFhmKK eATg== X-Gm-Message-State: AC+VfDySI4H9cawZv+0PIZrFu9YvDSL7gT/2TzdBzvJCFol79P0/zi0C Q93+7yqTg2CzTEAXeMH5lrt2+/ZJHV1j7mJ4E+A= X-Google-Smtp-Source: ACHHUZ7GqFLgLb2KdLP/pAZPq+gLXfS3F9cKHB5hATO2sxmjhmZQ+uiX1ZsqPgXSRWCM7pqj5cu5KQ== X-Received: by 2002:a05:6a00:a1f:b0:643:980:65b with SMTP id p31-20020a056a000a1f00b006430980065bmr12450156pfh.2.1685293698281; Sun, 28 May 2023 10:08:18 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id n23-20020a62e517000000b00625d84a0194sm5363425pff.107.2023.05.28.10.08.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 10:08:17 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 09/12] piglit: Fix c++11-narrowing warnings in tests Date: Sun, 28 May 2023 07:07:52 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 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 ; Sun, 28 May 2023 17:08:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/181844 From: Khem Raj This is found with clang on 32bit builds Signed-off-by: Khem Raj Cc: Ross Burton Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 844a1f1f593e0b4e4b0949ad78a00aa4ab8657e9) Signed-off-by: Steve Sakoman --- ...Fix-narrowing-errors-seen-with-clang.patch | 53 +++++++++++++++++++ meta/recipes-graphics/piglit/piglit_git.bb | 1 + 2 files changed, 54 insertions(+) create mode 100644 meta/recipes-graphics/piglit/piglit/0001-tests-Fix-narrowing-errors-seen-with-clang.patch diff --git a/meta/recipes-graphics/piglit/piglit/0001-tests-Fix-narrowing-errors-seen-with-clang.patch b/meta/recipes-graphics/piglit/piglit/0001-tests-Fix-narrowing-errors-seen-with-clang.patch new file mode 100644 index 0000000000..b1bb00e052 --- /dev/null +++ b/meta/recipes-graphics/piglit/piglit/0001-tests-Fix-narrowing-errors-seen-with-clang.patch @@ -0,0 +1,53 @@ +From cd38c91e8c743bfc1841bcdd08e1ab18bf22f0e1 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 3 May 2023 21:59:43 -0700 +Subject: [PATCH] tests: Fix narrowing errors seen with clang + +Fixes +piglit-test-pattern.cpp:656:26: error: type 'float' cannot be narrowed to 'int' in initiali +zer list [-Wc++11-narrowing] + +Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/807] +Signed-off-by: Khem Raj +--- + .../spec/ext_framebuffer_multisample/draw-buffers-common.cpp | 4 ++-- + tests/util/piglit-test-pattern.cpp | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/tests/spec/ext_framebuffer_multisample/draw-buffers-common.cpp b/tests/spec/ext_framebuffer_multisample/draw-buffers-common.cpp +index 48e1ad4a5..b36830c45 100644 +--- a/tests/spec/ext_framebuffer_multisample/draw-buffers-common.cpp ++++ b/tests/spec/ext_framebuffer_multisample/draw-buffers-common.cpp +@@ -353,8 +353,8 @@ draw_pattern(bool sample_alpha_to_coverage, + float vertices[4][2] = { + { 0.0f, 0.0f + i * (pattern_height / num_rects) }, + { 0.0f, (i + 1.0f) * (pattern_height / num_rects) }, +- { pattern_width, (i + 1.0f) * (pattern_height / num_rects) }, +- { pattern_width, 0.0f + i * (pattern_height / num_rects) } }; ++ { static_cast(pattern_width), (i + 1.0f) * (pattern_height / num_rects) }, ++ { static_cast(pattern_width), 0.0f + i * (pattern_height / num_rects) } }; + + glVertexAttribPointer(0, 2, GL_FLOAT, GL_FALSE, + sizeof(vertices[0]), +diff --git a/tests/util/piglit-test-pattern.cpp b/tests/util/piglit-test-pattern.cpp +index 43d451d6a..52ee94457 100644 +--- a/tests/util/piglit-test-pattern.cpp ++++ b/tests/util/piglit-test-pattern.cpp +@@ -653,12 +653,12 @@ ColorGradientSunburst::draw_with_scale_and_offset(const float (*proj)[4], + { + switch (out_type) { + case GL_INT: { +- int clear_color[4] = { offset, offset, offset, offset }; ++ int clear_color[4] = { static_cast(offset), static_cast(offset), static_cast(offset), static_cast(offset) }; + glClearBufferiv(GL_COLOR, 0, clear_color); + break; + } + case GL_UNSIGNED_INT: { +- unsigned clear_color[4] = { offset, offset, offset, offset }; ++ unsigned clear_color[4] = { static_cast(offset), static_cast(offset), static_cast(offset), static_cast(offset) }; + glClearBufferuiv(GL_COLOR, 0, clear_color); + break; + } +-- +2.40.1 + diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index 78b47985bc..4353a0a3a4 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb @@ -10,6 +10,7 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma file://0001-cmake-install-bash-completions-in-the-right-place.patch \ file://0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \ file://0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \ + file://0001-tests-Fix-narrowing-errors-seen-with-clang.patch \ " UPSTREAM_CHECK_COMMITS = "1" From patchwork Sun May 28 17:07:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 24638 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 8402FC7EE2F for ; Sun, 28 May 2023 17:08:28 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web10.32993.1685293701302189309 for ; Sun, 28 May 2023 10:08:21 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=b25/5JbU; spf=softfail (domain: sakoman.com, ip: 209.85.210.173, mailfrom: steve@sakoman.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-64f47448aeaso1848277b3a.0 for ; Sun, 28 May 2023 10:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1685293700; x=1687885700; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=VqWCxiVWwmvmWYlfWpt74NtBI0GiCy3wIAAZEJF4EVY=; b=b25/5JbUi/0LSzpdFmPN2NyQ2+p1gsNc0Jsx74UALr1qtFwPqCZ2BrC8Ww8BLton0p q6podt7ZjpoXRW5Oe7IpNZl5yYzvXfZgmhv3S8XlJN0hHw1vvk6+DfPoMj7JG7sS9b/E PZxhmK0raBs8dJ/F/Wsn02M4BCqDn5lTt5TX4cV5DywktvzM9KAMT9+v88tuDFyirnWw LeljZ+gVa/RWNcofmb/XzW7ydTXmVzXx79CnuQ28Afdygk3lAzdpVUEVzneXJlsthmOB H0fKrs6aJhA47aQSRB2I+koZpRvxvM/yW46vUCMbYCKlpiMft9tsFnqQA1jKuTh/heA1 U4xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685293700; x=1687885700; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VqWCxiVWwmvmWYlfWpt74NtBI0GiCy3wIAAZEJF4EVY=; b=SbTarAiCcUIJ+Zm55JJ7yxymymFxjr021I7Cco5UGrBXJMaDUWOs92xgeMopIxKWY8 XItzqYc2Eg3muRxMI2OL2kiF1V2JpQL+AhSEF30K2VgGnSgGDS2edZE2EceunWV4ojjw TZ9QoymYIVXvOo7vE4mxMg/0E5sKa3lsJkTL/Z14ZZdUJiMDNStANgyUeJBzEv29HgT6 C0m3TirXQobywPpgsSjO4paBnYs5cRYX1wwGpIGI+Ts+w4ZPJAd9rfK8VtXL1teFe3/o eLpMU8hBuApr1k4CnefQu2QbpekmPAUPx6KON4LkZmNe8UbNLcFewEoqjo1KMIEcuOUQ xzMA== X-Gm-Message-State: AC+VfDwLgSL+cj804Jti9bjMF0yNKSmBhTCy6jLyayXKVoweZyYCx46+ Gww57tkkOqnTMbhRRaVPdn598dpW5D2K0NrE41s= X-Google-Smtp-Source: ACHHUZ7/ojDGiJLQl7Y7CKCDghqqkZDF/XGUvmQVqh4C2q39oNu7TDxEEhbPzpiCCB7co7zKxnLdvQ== X-Received: by 2002:a05:6a00:1913:b0:64d:722d:a8d9 with SMTP id y19-20020a056a00191300b0064d722da8d9mr12450606pfi.28.1685293700314; Sun, 28 May 2023 10:08:20 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id n23-20020a62e517000000b00625d84a0194sm5363425pff.107.2023.05.28.10.08.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 10:08:19 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 10/12] cpio: Run ptests under ptest user Date: Sun, 28 May 2023 07:07:53 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 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 ; Sun, 28 May 2023 17:08:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/181845 From: Khem Raj Running these tests under root user on musl works ok but it emits additional diagnostic cpio: dir: Cannot change ownership to uid 0, gid 0: Not supported Ideally its better to run this test suite under non-root user which is often how these are run. Moreover, tests work on musl as well. (From OE-Core rev: 22d19266269c28f596f031fcba8f2831c6465880) Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni (cherry picked from commit 587e007d9febfe92fef434dea984d31642bb23a1) Signed-off-by: Steve Sakoman --- meta/recipes-extended/cpio/cpio-2.13/run-ptest | 9 +-------- meta/recipes-extended/cpio/cpio-2.13/test.sh | 10 ++++++++++ meta/recipes-extended/cpio/cpio_2.13.bb | 18 +++++++++++++++++- 3 files changed, 28 insertions(+), 9 deletions(-) mode change 100644 => 100755 meta/recipes-extended/cpio/cpio-2.13/run-ptest create mode 100644 meta/recipes-extended/cpio/cpio-2.13/test.sh diff --git a/meta/recipes-extended/cpio/cpio-2.13/run-ptest b/meta/recipes-extended/cpio/cpio-2.13/run-ptest old mode 100644 new mode 100755 index f027574e86..f35a756d6b --- a/meta/recipes-extended/cpio/cpio-2.13/run-ptest +++ b/meta/recipes-extended/cpio/cpio-2.13/run-ptest @@ -1,10 +1,3 @@ #!/bin/sh -# Define cpio test work dir -WORKDIR=@PTEST_PATH@/tests/ - -# Run test -cd ${WORKDIR} -./atconfig ./atlocal ./testsuite - -./testsuite 2>&1 | grep -E '[0-9]{1,3}: ' | sed -e 's/^.....//' -e '/[ok]$/s/^/PASS: /;/FAILED (.*)/s/^/FAIL: /;/skipped (.*)/s/^/SKIP: /;/expected failure/ s/^/PASS: /;/UNEXPECTED PASS/s/^/FAIL: /' -e 's/ok$//g' -e 's/FAILED.*//g' -e 's/skipped.*//g' -e 's/expected failure.*//g' -e 's/UNEXPECTED PASS.*//g' +su -c ./test.sh ptest diff --git a/meta/recipes-extended/cpio/cpio-2.13/test.sh b/meta/recipes-extended/cpio/cpio-2.13/test.sh new file mode 100644 index 0000000000..f027574e86 --- /dev/null +++ b/meta/recipes-extended/cpio/cpio-2.13/test.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +# Define cpio test work dir +WORKDIR=@PTEST_PATH@/tests/ + +# Run test +cd ${WORKDIR} +./atconfig ./atlocal ./testsuite + +./testsuite 2>&1 | grep -E '[0-9]{1,3}: ' | sed -e 's/^.....//' -e '/[ok]$/s/^/PASS: /;/FAILED (.*)/s/^/FAIL: /;/skipped (.*)/s/^/SKIP: /;/expected failure/ s/^/PASS: /;/UNEXPECTED PASS/s/^/FAIL: /' -e 's/ok$//g' -e 's/FAILED.*//g' -e 's/skipped.*//g' -e 's/expected failure.*//g' -e 's/UNEXPECTED PASS.*//g' diff --git a/meta/recipes-extended/cpio/cpio_2.13.bb b/meta/recipes-extended/cpio/cpio_2.13.bb index d48429b8ce..400c6b2f90 100644 --- a/meta/recipes-extended/cpio/cpio_2.13.bb +++ b/meta/recipes-extended/cpio/cpio_2.13.bb @@ -15,6 +15,7 @@ SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \ file://0001-Wrong-CRC-with-ASCII-CRC-for-large-files.patch \ file://0001-Fix-appending-to-archives-bigger-than-2G.patch \ file://run-ptest \ + file://test.sh \ " SRC_URI[md5sum] = "389c5452d667c23b5eceb206f5000810" @@ -58,9 +59,24 @@ do_install_ptest() { install --mode=755 ${B}/tests/atlocal ${D}${PTEST_PATH}/tests/ install --mode=755 ${B}/tests/genfile ${D}${PTEST_PATH}/tests/ install --mode=755 ${S}/tests/testsuite ${D}${PTEST_PATH}/tests/ - sed -i "s#@PTEST_PATH@#${PTEST_PATH}#g" ${D}${PTEST_PATH}/run-ptest + install --mode=755 ${WORKDIR}/test.sh ${D}${PTEST_PATH}/test.sh + sed -i "s#@PTEST_PATH@#${PTEST_PATH}#g" ${D}${PTEST_PATH}/test.sh } +# ptest.bbclass currently chowns the ptest directory explicitly, so we need to +# change permission after that has happened so the ptest user can write a +# temporary directory. +do_install_ptest_base:append() { + chgrp -R ptest ${D}${PTEST_PATH}/ + chmod -R g+w ${D}${PTEST_PATH}/ +} + +# The tests need to run as a non-root user, so pull in the ptest user +DEPENDS:append:class-target = "${@bb.utils.contains('PTEST_ENABLED', '1', ' ptest-runner', '', d)}" +PACKAGE_WRITE_DEPS += "ptest-runner" + +RDEPENDS:${PN}-ptest += "ptest-runner" + PACKAGES =+ "${PN}-rmt" FILES:${PN}-rmt = "${sbindir}/rmt*" From patchwork Sun May 28 17:07:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 24640 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 782F1C7EE29 for ; Sun, 28 May 2023 17:08:28 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web10.32996.1685293703143679576 for ; Sun, 28 May 2023 10:08:23 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=fNxjACsZ; spf=softfail (domain: sakoman.com, ip: 209.85.210.181, mailfrom: steve@sakoman.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-64d2a613ec4so1840486b3a.1 for ; Sun, 28 May 2023 10:08:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1685293702; x=1687885702; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=L1eRqoFnhOH+lnKgiPtRka0JRBhAFBBc3T9HrcjQyBM=; b=fNxjACsZ6SK6Vrwi7NY6KzPwnXCIfn9O4BEE3af9OVvkGg6g6j/V1JZBZXLgNiQ8xs JCbI38baUfzeWv1myNhpT5F/Q3gvj+6+LUcjh+6OwNcQgoP+58mFOTJUD3hGDzizTMFF GCe8TWmrYc0q+fhg+Fw7r03V0HSmyKiezGwu9tXM+1pl5OwzHEcaXltUTmQTkgvWUnug zRDhjxmPcbAhxWUppPXVOoGW2itsXE4+8OSNiPG31qdMgsQWKljNYgYqukPYopVh9+nt ipbgkOmsJJ7oQ4eTbs+mWQh0Bc4Vci1MOkVabwYUIuTOLUCsXbwivJB53epeTivnz3gJ eRXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685293702; x=1687885702; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=L1eRqoFnhOH+lnKgiPtRka0JRBhAFBBc3T9HrcjQyBM=; b=GV36UTCSeEsxf5LusFJmJ6TKkxa1eMfjGrM3ovXUtclMkPM4WtfrU6S5x9CSdIhFCx a2OmPnVzrdoDJqvn2azAco1ueBkSQoPFSjGr5P51eE7VmbaXJNXG7LqGa74qJBr4W/oM wnhVO4OK9qSHk2sTqh3z+dI60gYnt8gqSteUCl7m/vYWnxr4XtFyD/al9omwiBrKOc8B EcNJVLK+6sK2VClpQLeGflbwXcJ/3iAos/roA5YS9Vlup8az+bCYxeWGe+sBl5DGEcRn sJ3pkdMJhltC04KvFmjLlCyMWxHoCuZtl17f6bdCf0J1T0BHTavhMui5M6qKZUrcwXUn yBkg== X-Gm-Message-State: AC+VfDx0OJ/zcn+ywaslME0uX74qSfo2oE5At09Bfs0RkAEZjTxy77u+ feQ/BjsnEbiHU2v3jmpR4vYM6J91QPDs1SsCWN8= X-Google-Smtp-Source: ACHHUZ5wARgU5swkKQUQAni1hnCF58fLPWIzRHfL0B/bEh+Tu6M0sOUN7geBcCmAwvsHyVq9TPLtAw== X-Received: by 2002:a05:6a00:b44:b0:643:aa8d:8cd7 with SMTP id p4-20020a056a000b4400b00643aa8d8cd7mr13425092pfo.32.1685293702187; Sun, 28 May 2023 10:08:22 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id n23-20020a62e517000000b00625d84a0194sm5363425pff.107.2023.05.28.10.08.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 10:08:21 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 11/12] Revert "ipk: Decode byte data to string in manifest handling" Date: Sun, 28 May 2023 07:07:54 -1000 Message-Id: <29bd0b6272680769b438f39fa96b47d21c846f37.1685291299.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 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 ; Sun, 28 May 2023 17:08:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/181846 From: Andrew Jeffery cf9df9e8d89f ("ipk: Decode byte data to string in manifest handling") did a bit of least-effort fix to a string vs byte sequence issue in the manifest handling. The approach was chosen as it localised the fix, rather than having to analyse further call sites. However since then f2167ae80258 ("package_manager/ipk: do not pipe stderr to stdout") was applied, reworking the output handling from the subcommand. dummy_bytes() now returns a string, so stop trying to decode it. Fixes: f2167ae80258 ("package_manager/ipk: do not pipe stderr to stdout") Cc: Curtis Meier Cc: Pam Eggler (From OE-Core rev: b61739554780d70307d2b6b37d2b3b1c7df93c77) Signed-off-by: Andrew Jeffery Signed-off-by: Alexandre Belloni (cherry picked from commit 07e5a6331be60d5e35d7336a6215a972ced6eb57) Signed-off-by: Steve Sakoman --- meta/lib/oe/package_manager/ipk/manifest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/package_manager/ipk/manifest.py b/meta/lib/oe/package_manager/ipk/manifest.py index 469e14c3c6..3549d7428d 100644 --- a/meta/lib/oe/package_manager/ipk/manifest.py +++ b/meta/lib/oe/package_manager/ipk/manifest.py @@ -64,7 +64,7 @@ class PkgManifest(Manifest): if len(pkgs_to_install) == 0: return - output = pm.dummy_install(pkgs_to_install).decode('utf-8') + output = pm.dummy_install(pkgs_to_install) with open(self.full_manifest, 'w+') as manifest: pkg_re = re.compile('^Installing ([^ ]+) [^ ].*') From patchwork Sun May 28 17:07:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 24641 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 78324C7EE2E for ; Sun, 28 May 2023 17:08:28 +0000 (UTC) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mx.groups.io with SMTP id smtpd.web11.33144.1685293705214060283 for ; Sun, 28 May 2023 10:08:25 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@sakoman-com.20221208.gappssmtp.com header.s=20221208 header.b=G74BRg2f; spf=softfail (domain: sakoman.com, ip: 209.85.210.177, mailfrom: steve@sakoman.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-64d24136685so1742069b3a.1 for ; Sun, 28 May 2023 10:08:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20221208.gappssmtp.com; s=20221208; t=1685293704; x=1687885704; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=A3qrwiqyYB1mxCmGP1yMfTBYQKNwnDvtqsdXoiHm2rc=; b=G74BRg2fAB+vBj+bfJkS8rdqBrGws7liJewvoM7+f3mSEgMPQyLVoV9maQa73qGI2V gzMeO+ISkWf6KXHJeUwLEqpIr59PlfALYEpav+ZL2bNRZHHfFwDMsisSWKNoFtROW7YX 1grCXYLDLWftY0A64fjdK+F9XTe1ynrCkALqP0hrdCfnOjPI6aTFgpg7YW1oFLWx/x46 g0XZEqDLKcY2zePdJyzA0gYE6IpiWlnvgCr8YjC5RLNgTTQ99xQDJlOocumerNM1+KaK ESswOo6tzP3TXr9tO4gT9tJfMVzzhaTw5rcWqwI3nX+8EI8wgagw1Y1ubdqJOCrKiRu+ JAWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685293704; x=1687885704; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A3qrwiqyYB1mxCmGP1yMfTBYQKNwnDvtqsdXoiHm2rc=; b=EO+ulNOAEBqDxPQ/8afSMJTjNajdyGnXzmYeLvhm6mrP04Il39/yG6T+3mFYd4H6Tb bQdso20aWxOTFGfqy1z/lmlRq+18g+8MrTAfQ7rJPSJk0xYSkOEz+IheK/c+KAJFG8p4 t0ZTUTisYcXD0VJhxp/TgnHfJg/TsQ4l5FkEvC0WSvM0GngZ7zPCGOZx2sZr5B+rGzsH 1FhiLu3J/lzqz3N+FZ+9eQTEX++UT14E2f1X6SypTBUjpCHW3QE5lC3jgQTOioHW2prB djiI1ldSP6u+wjAtQ9lQBQGeVy3b2sJyrgpoo3SByWkSD5Ffb28Q1YdrMFD/RAAEUYlm u+Ig== X-Gm-Message-State: AC+VfDw08ATKqiZtOTq8nS5t7xR+lSMIDmotnGa/LxBCn6HMwRJIGzDY nWp34eFB87dGQcCLJlnNlDw+fJ61FyV1cKzUqJc= X-Google-Smtp-Source: ACHHUZ6h86+mv4Yhp+JBjF06zaIaJ0I3P3FaAyQlaqrHec3ql0VRXIhV1OTl6wx42qrcLR57yDLBVA== X-Received: by 2002:a05:6a00:2313:b0:645:834c:f521 with SMTP id h19-20020a056a00231300b00645834cf521mr6007898pfh.17.1685293703920; Sun, 28 May 2023 10:08:23 -0700 (PDT) Received: from hexa.router0800d9.com (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id n23-20020a62e517000000b00625d84a0194sm5363425pff.107.2023.05.28.10.08.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 10:08:23 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 12/12] gdb: fix crashes when debugging threads with Arm Pointer Authentication enabled Date: Sun, 28 May 2023 07:07:55 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 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 ; Sun, 28 May 2023 17:08:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/181847 From: Ross Burton (From OE-Core rev: 8057edfcb23004b18ab8cb09b9a359346ed54db9) Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni (cherry picked from commit a6120d0c7946842195f0c7624b7c3025e74e7964) Signed-off-by: Steve Sakoman --- meta/recipes-devtools/gdb/gdb.inc | 1 + ...r-valid-inferior-thread-regcache-bef.patch | 286 ++++++++++++++++++ 2 files changed, 287 insertions(+) create mode 100644 meta/recipes-devtools/gdb/gdb/0001-aarch64-Check-for-valid-inferior-thread-regcache-bef.patch diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc index 9457c27f8b..8589de62ff 100644 --- a/meta/recipes-devtools/gdb/gdb.inc +++ b/meta/recipes-devtools/gdb/gdb.inc @@ -15,6 +15,7 @@ SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \ file://0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ file://0009-gdbserver-linux-low.cc-Fix-a-typo-in-ternary-operato.patch \ file://add-missing-ldflags.patch \ + file://0001-aarch64-Check-for-valid-inferior-thread-regcache-bef.patch \ " SRC_URI[sha256sum] = "115ad5c18d69a6be2ab15882d365dda2a2211c14f480b3502c6eba576e2e95a0" diff --git a/meta/recipes-devtools/gdb/gdb/0001-aarch64-Check-for-valid-inferior-thread-regcache-bef.patch b/meta/recipes-devtools/gdb/gdb/0001-aarch64-Check-for-valid-inferior-thread-regcache-bef.patch new file mode 100644 index 0000000000..9adf4a4db5 --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb/0001-aarch64-Check-for-valid-inferior-thread-regcache-bef.patch @@ -0,0 +1,286 @@ +From b3eff3e15576229af9bae026c5c23ee694b90389 Mon Sep 17 00:00:00 2001 +From: Luis Machado +Date: Fri, 24 Mar 2023 07:58:38 +0000 +Subject: [PATCH] aarch64: Check for valid inferior thread/regcache before + reading pauth registers + +Upstream-Status: Backport +Signed-off-by: Ross Burton + +There were reports of gdb throwing internal errors when calling +inferior_thread ()/get_current_regcache () on a system with +Pointer Authentication enabled. + +In such cases, gdb produces the following backtrace, or a variation +of it (for gdb's with the non-address removal implemented only in +the aarch64-linux-tdep.c file). + +../../../repos/binutils-gdb/gdb/thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed. +A problem internal to GDB has been detected, +further debugging may prove unreliable. +----- Backtrace ----- +0xaaaae04a571f gdb_internal_backtrace_1 + ../../../repos/binutils-gdb/gdb/bt-utils.c:122 +0xaaaae04a57f3 _Z22gdb_internal_backtracev + ../../../repos/binutils-gdb/gdb/bt-utils.c:168 +0xaaaae0b52ccf internal_vproblem + ../../../repos/binutils-gdb/gdb/utils.c:401 +0xaaaae0b5310b _Z15internal_verrorPKciS0_St9__va_list + ../../../repos/binutils-gdb/gdb/utils.c:481 +0xaaaae0e24b8f _Z18internal_error_locPKciS0_z + ../../../repos/binutils-gdb/gdbsupport/errors.cc:58 +0xaaaae0a88983 _Z15inferior_threadv + ../../../repos/binutils-gdb/gdb/thread.c:86 +0xaaaae0956c87 _Z20get_current_regcachev + ../../../repos/binutils-gdb/gdb/regcache.c:428 +0xaaaae035223f aarch64_remove_non_address_bits + ../../../repos/binutils-gdb/gdb/aarch64-tdep.c:3572 +0xaaaae03e8abb _Z31gdbarch_remove_non_address_bitsP7gdbarchm + ../../../repos/binutils-gdb/gdb/gdbarch.c:3109 +0xaaaae0a692d7 memory_xfer_partial + ../../../repos/binutils-gdb/gdb/target.c:1620 +0xaaaae0a695e3 _Z19target_xfer_partialP10target_ops13target_objectPKcPhPKhmmPm + ../../../repos/binutils-gdb/gdb/target.c:1684 +0xaaaae0a69e9f target_read_partial + ../../../repos/binutils-gdb/gdb/target.c:1937 +0xaaaae0a69fdf _Z11target_readP10target_ops13target_objectPKcPhml + ../../../repos/binutils-gdb/gdb/target.c:1977 +0xaaaae0a69937 _Z18target_read_memorymPhl + ../../../repos/binutils-gdb/gdb/target.c:1773 +0xaaaae08be523 ps_xfer_memory + ../../../repos/binutils-gdb/gdb/proc-service.c:90 +0xaaaae08be6db ps_pdread + ../../../repos/binutils-gdb/gdb/proc-service.c:124 +0x40001ed7c3b3 _td_fetch_value + /build/glibc-RIFKjK/glibc-2.31/nptl_db/fetch-value.c:115 +0x40001ed791ef td_ta_map_lwp2thr + /build/glibc-RIFKjK/glibc-2.31/nptl_db/td_ta_map_lwp2thr.c:194 +0xaaaae07f4473 thread_from_lwp + ../../../repos/binutils-gdb/gdb/linux-thread-db.c:413 +0xaaaae07f6d6f _ZN16thread_db_target4waitE6ptid_tP17target_waitstatus10enum_flagsI16target_wait_flagE + ../../../repos/binutils-gdb/gdb/linux-thread-db.c:1420 +0xaaaae0a6b33b _Z11target_wait6ptid_tP17target_waitstatus10enum_flagsI16target_wait_flagE + ../../../repos/binutils-gdb/gdb/target.c:2586 +0xaaaae0789cf7 do_target_wait_1 + ../../../repos/binutils-gdb/gdb/infrun.c:3825 +0xaaaae0789e6f operator() + ../../../repos/binutils-gdb/gdb/infrun.c:3884 +0xaaaae078a167 do_target_wait + ../../../repos/binutils-gdb/gdb/infrun.c:3903 +0xaaaae078b0af _Z20fetch_inferior_eventv + ../../../repos/binutils-gdb/gdb/infrun.c:4314 +0xaaaae076652f _Z22inferior_event_handler19inferior_event_type + ../../../repos/binutils-gdb/gdb/inf-loop.c:41 +0xaaaae07dc68b handle_target_event + ../../../repos/binutils-gdb/gdb/linux-nat.c:4206 +0xaaaae0e25fbb handle_file_event + ../../../repos/binutils-gdb/gdbsupport/event-loop.cc:573 +0xaaaae0e264f3 gdb_wait_for_event + ../../../repos/binutils-gdb/gdbsupport/event-loop.cc:694 +0xaaaae0e24f9b _Z16gdb_do_one_eventi + ../../../repos/binutils-gdb/gdbsupport/event-loop.cc:217 +0xaaaae080f033 start_event_loop + ../../../repos/binutils-gdb/gdb/main.c:411 +0xaaaae080f1b7 captured_command_loop + ../../../repos/binutils-gdb/gdb/main.c:475 +0xaaaae0810b97 captured_main + ../../../repos/binutils-gdb/gdb/main.c:1318 +0xaaaae0810c1b _Z8gdb_mainP18captured_main_args + ../../../repos/binutils-gdb/gdb/main.c:1337 +0xaaaae0338453 main + ../../../repos/binutils-gdb/gdb/gdb.c:32 +--------------------- +../../../repos/binutils-gdb/gdb/thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed. +A problem internal to GDB has been detected, +further debugging may prove unreliable. +Quit this debugging session? (y or n) + +We also see failures across the testsuite if the tests get executed on a target +that has native support for the pointer authentication feature. But +gdb.base/break.exp and gdb.base/access-mem-running.exp are two examples of +tests that run into errors and internal errors. + +This issue started after commit d88cb738e6a7a7179dfaff8af78d69250c852af1, which +enabled more broad use of pointer authentication masks to remove non-address +bits of pointers, but wasn't immediately detected because systems with native +support for pointer authentication are not that common yet. + +The above crash happens because gdb is in the middle of handling an event, +and do_target_wait_1 calls switch_to_inferior_no_thread, nullifying the +current thread. This means a call to inferior_thread () will assert, and +attempting to call get_current_regcache () will also call inferior_thread (), +resulting in an assertion as well. + +target_has_registers was one function that seemed useful for detecting these +types of situation where we don't have a register cache. The problem with that +is the inconsistent state of inferior_ptid, which is used by +target_has_registers. + +Despite the call to switch_to_no_thread in switch_to_inferior_no_thread from +do_target_wait_1 in the backtrace above clearing inferior_ptid, the call to +ps_xfer_memory sets inferior_ptid momentarily before reading memory: + +static ps_err_e +ps_xfer_memory (const struct ps_prochandle *ph, psaddr_t addr, + gdb_byte *buf, size_t len, int write) +{ + scoped_restore_current_inferior restore_inferior; + set_current_inferior (ph->thread->inf); + + scoped_restore_current_program_space restore_current_progspace; + set_current_program_space (ph->thread->inf->pspace); + + scoped_restore save_inferior_ptid = make_scoped_restore (&inferior_ptid); + inferior_ptid = ph->thread->ptid; + + CORE_ADDR core_addr = ps_addr_to_core_addr (addr); + + int ret; + if (write) + ret = target_write_memory (core_addr, buf, len); + else + ret = target_read_memory (core_addr, buf, len); + return (ret == 0 ? PS_OK : PS_ERR); +} + +Maybe this shouldn't happen, or maybe it is just an unfortunate state to be +in. But this prevents the use of target_has_registers to guard against the +lack of registers, since, although current_thread_ is still nullptr, +inferior_ptid is valid and is not null_ptid. + +There is another crash scenario after we kill a previously active inferior, in +which case the gdbarch will still say we support pointer authentication but we +will also have no current thread (inferior_thread () will assert etc). + +If the target has support for pointer authentication, gdb needs to use +a couple (or 4, for bare-metal) mask registers to mask off some bits of +pointers, and for that it needs to access the registers. + +At some points, like the one from the backtrace above, there is no active +thread/current regcache because gdb is in the middle of doing event handling +and switching between threads. + +Simon suggested the use of inferior_ptid to fetch the register cache, as +opposed to relying on the current register cache. Though we need to make sure +inferior_ptid is valid (not null_ptid), I think this works nicely. + +With inferior_ptid, we can do safety checks along the way, making sure we have +a thread to fetch a register cache from and checking if the thread is actually +stopped or running. + +The following patch implements this idea with safety checks to make sure we +don't run into assertions or errors. If any of the checks fail, we fallback to +using a default mask to remove non-address bits of a pointer. + +I discussed with Pedro the possibility of caching the mask register values +(which are per-process and can change mid-execution), but there isn't a good +spot to cache those values. Besides, the mask registers can change constantly +for bare-metal debugging when switching between exception levels. + +In some cases, it is just not possible to get access to these mask registers, +like the case where threads are running. In those cases, using a default mask +to remove the non-address bits should be enough. + +This can happen when we let threads run in the background and then we attempt +to access a memory address (now that gdb is capable of reading memory even +with threads running). Thus gdb will attempt to remove non-address bits +of that memory access, will attempt to access registers, running into errors. + +Regression-tested on aarch64-linux Ubuntu 20.04. +--- + gdb/aarch64-linux-tdep.c | 64 ++++++++++++++++++++++++++++++---------- + 1 file changed, 49 insertions(+), 15 deletions(-) + +diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c +index 20a041c599e..4b2915b8e99 100644 +--- a/gdb/aarch64-linux-tdep.c ++++ b/gdb/aarch64-linux-tdep.c +@@ -57,6 +57,9 @@ + #include "elf/common.h" + #include "elf/aarch64.h" + ++/* For inferior_ptid and current_inferior (). */ ++#include "inferior.h" ++ + /* Signal frame handling. + + +------------+ ^ +@@ -1986,29 +1989,60 @@ aarch64_linux_decode_memtag_section (struct gdbarch *gdbarch, + static CORE_ADDR + aarch64_remove_non_address_bits (struct gdbarch *gdbarch, CORE_ADDR pointer) + { +- aarch64_gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); +- + /* By default, we assume TBI and discard the top 8 bits plus the VA range +- select bit (55). */ ++ select bit (55). Below we try to fetch information about pointer ++ authentication masks in order to make non-address removal more ++ precise. */ + CORE_ADDR mask = AARCH64_TOP_BITS_MASK; + +- if (tdep->has_pauth ()) ++ /* Check if we have an inferior first. If not, just use the default ++ mask. ++ ++ We use the inferior_ptid here because the pointer authentication masks ++ should be the same across threads of a process. Since we may not have ++ access to the current thread (gdb may have switched to no inferiors ++ momentarily), we use the inferior ptid. */ ++ if (inferior_ptid != null_ptid) + { +- /* Fetch the PAC masks. These masks are per-process, so we can just +- fetch data from whatever thread we have at the moment. ++ /* If we do have an inferior, attempt to fetch its thread's thread_info ++ struct. */ ++ thread_info *thread ++ = find_thread_ptid (current_inferior ()->process_target (), ++ inferior_ptid); + +- Also, we have both a code mask and a data mask. For now they are the +- same, but this may change in the future. */ +- struct regcache *regs = get_current_regcache (); +- CORE_ADDR cmask, dmask; ++ /* If the thread is running, we will not be able to fetch the mask ++ registers. */ ++ if (thread != nullptr && thread->state != THREAD_RUNNING) ++ { ++ /* Otherwise, fetch the register cache and the masks. */ ++ struct regcache *regs ++ = get_thread_regcache (current_inferior ()->process_target (), ++ inferior_ptid); ++ ++ /* Use the gdbarch from the register cache to check for pointer ++ authentication support, as it matches the features found in ++ that particular thread. */ ++ aarch64_gdbarch_tdep *tdep ++ = gdbarch_tdep (regs->arch ()); ++ ++ /* Is there pointer authentication support? */ ++ if (tdep->has_pauth ()) ++ { ++ /* We have both a code mask and a data mask. For now they are ++ the same, but this may change in the future. */ ++ CORE_ADDR cmask, dmask; + +- if (regs->cooked_read (tdep->pauth_reg_base, &dmask) != REG_VALID) +- dmask = mask; ++ if (regs->cooked_read (tdep->pauth_reg_base, &dmask) ++ != REG_VALID) ++ dmask = mask; + +- if (regs->cooked_read (tdep->pauth_reg_base + 1, &cmask) != REG_VALID) +- cmask = mask; ++ if (regs->cooked_read (tdep->pauth_reg_base + 1, &cmask) ++ != REG_VALID) ++ cmask = mask; + +- mask |= aarch64_mask_from_pac_registers (cmask, dmask); ++ mask |= aarch64_mask_from_pac_registers (cmask, dmask); ++ } ++ } + } + + return aarch64_remove_top_bits (pointer, mask); +-- +2.34.1 +