From patchwork Wed Nov 13 03:15:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52382 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E76BD597CF for ; Wed, 13 Nov 2024 03:16:28 +0000 (UTC) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web11.3411.1731467780728250017 for ; Tue, 12 Nov 2024 19:16:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=dezc/FUk; spf=softfail (domain: sakoman.com, ip: 209.85.210.176, mailfrom: steve@sakoman.com) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-71e4e481692so6320111b3a.1 for ; Tue, 12 Nov 2024 19:16:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467780; x=1732072580; darn=lists.openembedded.org; 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=xgmi3zye11u4Jknej3KSPscg3nmKb8YPUOe6Vi7OrtY=; b=dezc/FUkL9M1W5rN9XSqZ69hWbKTYGFqlsxX0VrsERmQfEZ48IfXAdFxO/r+YOaMX7 q5MlH7zyzuQQAfCKQAw/RQs6phDUJLPAH0ZEuIVnw6kTxM7zm04P9YlmVwCBkeSxlrRP eHtl5uwooShPe5nmKvRy2Z2Dc3UHWMYTgcuP3Dm3daLVDenqXE04Tl5ytkiZbRdhkf/8 4zq9d34J8eqJD4slo8t+cHsus9zjWMrlKF1vpi/tSCSOACPvpw1mwoAFTKVkkejdXGv3 ogrQq5gZzmKrLLUQktft1lfCEG7nwMgcbvxKJJ7V4DW4DmRwW4Ywz8nuWREDq7heiTAP 7izA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467780; x=1732072580; 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=xgmi3zye11u4Jknej3KSPscg3nmKb8YPUOe6Vi7OrtY=; b=Eo5IhBcMwO03N6Bpcd5u6IauTLdiiYENBV38RArt1pZvZhBnDLp29anDRjG4pBHhQB IPGCrBfS/AyvQ7FARXco4mI/Dkx43Vf8Xvz8ZIdH/5MOmd6H+qsAoWpGUbJfnrxRaV/x XXWjRaqU3zJ7xNg/hTVPFSi9rZEjSovCXvmrp+FmSJdaeeDrlef4dK4nLH/04kqQom0C GeAFd+rFQUF0TJgG/p5ydqkFjHbsfU31h3awIZf/+Gy4JSWtqSoZezjcvu+bsvZc5gbw 3a2r9hxIj+sMiyc5RjQfiuR/cgz3Omc8JTG8xegFhZNu4qk3TPlnVCtG36vZa5e8CcXt aXdg== X-Gm-Message-State: AOJu0YzzICN1RfFvEaYZDHDs8kZz8VJ43dfNTyecW/ygjCtsO75BogYq gDnThypGht/4qZqYAGWeDmHB2AGMFhw2+NkILQJ2+thaYiqT+U9fKCCKdUbWmOiMa9JPBuMyyoA I X-Google-Smtp-Source: AGHT+IEBLnQ8DaHEXQel7vYjRCW4oQ4kPw8mkgyG0jfwLuE8pO7MM7Bk2lxrgCqnNf/s9bLK2Evl6g== X-Received: by 2002:a05:6300:6387:b0:1db:ecd6:fb41 with SMTP id adf61e73a8af0-1dc2294ac6emr18935306637.15.1731467779689; Tue, 12 Nov 2024 19:16:19 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:19 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 01/19] ghostscript: fix CVE-2023-46361 Date: Tue, 12 Nov 2024 19:15:54 -0800 Message-Id: <3e9018fb14466495be7472a8620918347c732e86.1731467662.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 ; Wed, 13 Nov 2024 03:16:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207074 From: Archana Polampalli Artifex Software jbig2dec v0.20 was discovered to contain a SEGV vulnerability via jbig2_error at /jbig2dec/jbig2.c. Signed-off-by: Archana Polampalli Signed-off-by: Steve Sakoman --- .../ghostscript/CVE-2023-46361.patch | 32 +++++++++++++++++++ .../ghostscript/ghostscript_9.55.0.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2023-46361.patch diff --git a/meta/recipes-extended/ghostscript/ghostscript/CVE-2023-46361.patch b/meta/recipes-extended/ghostscript/ghostscript/CVE-2023-46361.patch new file mode 100644 index 0000000000..d91a94e9d0 --- /dev/null +++ b/meta/recipes-extended/ghostscript/ghostscript/CVE-2023-46361.patch @@ -0,0 +1,32 @@ +From 44ca5b9d023e1de33fcb8984c85bb29619c4db7e Mon Sep 17 00:00:00 2001 +From: Sebastian Rasmussen +Date: Sun, 5 Nov 2023 12:21:52 +0100 +Subject: [PATCH] Bug 705041: jbig2dec: Avoid uninitialized allocator in + command-line tool. + +This fixes CVE-2023-46361. + +CVE: CVE-2023-46361 + +Upstream-Status: Backport [https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=44ca5b9d023e1de33fcb8984c85bb29619c4db7e] + +Signed-off-by: Archana Polampalli +--- + jbig2dec/jbig2dec.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/jbig2dec/jbig2dec.c b/jbig2dec/jbig2dec.c +index dc1fd56..78c8e89 100644 +--- a/jbig2dec/jbig2dec.c ++++ b/jbig2dec/jbig2dec.c +@@ -567,7 +567,7 @@ main(int argc, char **argv) + { + jbig2dec_params_t params; + jbig2dec_error_callback_state_t error_callback_state; +- jbig2dec_allocator_t allocator_; ++ jbig2dec_allocator_t allocator_ = { 0 }; + jbig2dec_allocator_t *allocator = &allocator_; + Jbig2Ctx *ctx = NULL; + FILE *f = NULL, *f_page = NULL; +-- +2.40.0 diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb b/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb index 969e637f5e..9f368a291f 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb @@ -56,6 +56,7 @@ SRC_URI_BASE = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/d file://CVE-2024-29506.patch \ file://CVE-2024-29508-1.patch \ file://CVE-2024-29508-2.patch \ + file://CVE-2023-46361.patch \ " SRC_URI = "${SRC_URI_BASE} \ From patchwork Wed Nov 13 03:15:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52383 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B3A3D597D2 for ; Wed, 13 Nov 2024 03:16:28 +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.web10.3462.1731467782560488254 for ; Tue, 12 Nov 2024 19:16:22 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=l4iCHQre; 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-720c2db824eso6934765b3a.0 for ; Tue, 12 Nov 2024 19:16:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467782; x=1732072582; darn=lists.openembedded.org; 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=FBYeQ/a8r1S9Mp2whPTlqI34LRsIjMMuEgTRTqscQp0=; b=l4iCHQrekcEbLubyuY9HXmiEaal65mPtllCsjXu1H/XIhMqElILjhbGe+JeOjQQh/r aAKnr7o17g9PFX7240fET9cVs5+S6ajX4keYNOutSShVpH1dd+YQgn5y57ThO9KrLt6h tcyLUiIMxG7DHLzHjKheKEA06PlBExYFJOUMFFdq/OKRF3wcPoaeFLu7s3y+guS9ISLV vQYItrA/y/vgh6/VKNdPG3Wc5ty1OGOWsm81vHsSCZuvB/e2q425sR8ZR1AcjZ6Ay3Ou etyatua/5QuF7B8Ukl8KhaQ7dUHgD8EV+FU8ExswmLvaYVZiZyf/XX9uisS85BgC/hO6 gvMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467782; x=1732072582; 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=FBYeQ/a8r1S9Mp2whPTlqI34LRsIjMMuEgTRTqscQp0=; b=ezSkQwPpWaLGY84FMEQcjWdMt/l4RugYFjSeBKB1A+jTD/5Bs7ny6pjHZGNNPJIB5/ yTHrnju3WhS2kToRCzEoih1ncSGMX4QKqk7p9ciykMiL/IWZrOXLPw0mLROXDE57dQZi +A/I7BW+B+Aqhubtu4fhRzFV78l+o4Ndilw2nZLBNemLQ7Fu5Jiabs2ue/uHm5qTgTk5 hD/tilAH2OWNUpjoamNTB2irZD4/wpOMCsRBQA5wwCVDrJxrVkWIcy9nNdwQLf/sXQ8i hb9WC4WXuPD2+QRVZI2HIk9M37HowAIqVt2baXF6d/N70C2fhlENBb0pNeVRJ2kTxg2M EJIA== X-Gm-Message-State: AOJu0YwNZGyDvUOPFnRdzKa/SpZdM8pHMrGHyC8Mp+EpJIuMX7VKb1d4 sw55Hj7pewsT20XNtAjQD5JYXPeSWoBENm9Yb3x/54W9CJ15v4C3i/vZVzg/3cpiKqyR6iaaYTL S X-Google-Smtp-Source: AGHT+IE0zXtSXba+eN9QrV1y20wQmbJNYR4ImYVpfI4PekGwFbv1CXoRl4SToS2cAwa9Yo7xTXDuNg== X-Received: by 2002:a05:6a20:3d84:b0:1db:eff0:6ae7 with SMTP id adf61e73a8af0-1dc22b57616mr27871608637.33.1731467781672; Tue, 12 Nov 2024 19:16:21 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:21 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 02/19] curl: patch CVE-2024-9681 Date: Tue, 12 Nov 2024 19:15:55 -0800 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 ; Wed, 13 Nov 2024 03:16:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207075 From: Peter Marko Picked commit [1] per solution described in [2]. [1] https://github.com/curl/curl/commit/a94973805df96269bf [2] https://curl.se/docs/CVE-2024-9681.html Signed-off-by: Peter Marko Signed-off-by: Steve Sakoman --- .../curl/curl/CVE-2024-9681.patch | 85 +++++++++++++++++++ meta/recipes-support/curl/curl_7.82.0.bb | 1 + 2 files changed, 86 insertions(+) create mode 100644 meta/recipes-support/curl/curl/CVE-2024-9681.patch diff --git a/meta/recipes-support/curl/curl/CVE-2024-9681.patch b/meta/recipes-support/curl/curl/CVE-2024-9681.patch new file mode 100644 index 0000000000..e6c8bf7223 --- /dev/null +++ b/meta/recipes-support/curl/curl/CVE-2024-9681.patch @@ -0,0 +1,85 @@ +From a94973805df96269bf3f3bf0a20ccb9887313316 Mon Sep 17 00:00:00 2001 +From: Daniel Stenberg +Date: Wed, 9 Oct 2024 10:04:35 +0200 +Subject: [PATCH] hsts: improve subdomain handling + +- on load, only replace existing HSTS entries if there is a full host + match + +- on matching, prefer a full host match and secondary the longest tail + subdomain match + +Closes #15210 + +CVE: CVE-2024-9681 +Upstream-Status: Backport [https://github.com/curl/curl/commit/a94973805df96269bf3f3bf0a20ccb9887313316] +Signed-off-by: Peter Marko +--- + lib/hsts.c | 14 ++++++++++---- + tests/data/test1660 | 2 +- + 2 files changed, 11 insertions(+), 5 deletions(-) + +diff --git a/lib/hsts.c b/lib/hsts.c +index d5e883f51ef0f7..12052ce53c1c5a 100644 +--- a/lib/hsts.c ++++ b/lib/hsts.c +@@ -247,12 +247,14 @@ CURLcode Curl_hsts_parse(struct hsts *h, const char *hostname, + struct stsentry *Curl_hsts(struct hsts *h, const char *hostname, + bool subdomain) + { ++ struct stsentry *bestsub = NULL; + if(h) { + char buffer[MAX_HSTS_HOSTLEN + 1]; + time_t now = time(NULL); + size_t hlen = strlen(hostname); + struct Curl_llist_element *e; + struct Curl_llist_element *n; ++ size_t blen = 0; + + if((hlen > MAX_HSTS_HOSTLEN) || !hlen) + return NULL; +@@ -277,15 +279,19 @@ struct stsentry *Curl_hsts(struct hsts *h, const char *hostname, + if(ntail < hlen) { + size_t offs = hlen - ntail; + if((hostname[offs-1] == '.') && +- Curl_strncasecompare(&hostname[offs], sts->host, ntail)) +- return sts; ++ Curl_strncasecompare(&hostname[offs], sts->host, ntail) && ++ (ntail > blen)) { ++ /* save the tail match with the longest tail */ ++ bestsub = sts; ++ blen = ntail; ++ } + } + } + if(Curl_strcasecompare(hostname, sts->host)) + return sts; + } + } +- return NULL; /* no match */ ++ return bestsub; + } + + /* +@@ -447,7 +453,7 @@ static CURLcode hsts_add(struct hsts *h, char *line) + e = Curl_hsts(h, p, subdomain); + if(!e) + result = hsts_create(h, p, subdomain, expires); +- else { ++ else if(Curl_strcasecompare(p, e->host)) { + /* the same host name, use the largest expire time */ + if(expires > e->expires) + e->expires = expires; +diff --git a/tests/data/test1660 b/tests/data/test1660 +index f86126d19cf269..4b6f9615c9d517 100644 +--- a/tests/data/test1660 ++++ b/tests/data/test1660 +@@ -52,7 +52,7 @@ this.example [this.example]: 1548400797 + Input 12: error 43 + Input 13: error 43 + Input 14: error 43 +-3.example.com [example.com]: 1569905261 includeSubDomains ++3.example.com [3.example.com]: 1569905261 includeSubDomains + 3.example.com [example.com]: 1569905261 includeSubDomains + foo.example.com [example.com]: 1569905261 includeSubDomains + 'foo.xample.com' is not HSTS diff --git a/meta/recipes-support/curl/curl_7.82.0.bb b/meta/recipes-support/curl/curl_7.82.0.bb index ba3abadac9..cda42da4d3 100644 --- a/meta/recipes-support/curl/curl_7.82.0.bb +++ b/meta/recipes-support/curl/curl_7.82.0.bb @@ -62,6 +62,7 @@ SRC_URI = "https://curl.se/download/${BP}.tar.xz \ file://CVE-2024-7264_2.patch \ file://CVE-2024-8096.patch \ file://0001-url-free-old-conn-better-on-reuse.patch \ + file://CVE-2024-9681.patch \ " SRC_URI[sha256sum] = "0aaa12d7bd04b0966254f2703ce80dd5c38dbbd76af0297d3d690cdce58a583c" From patchwork Wed Nov 13 03:15:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52381 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B366D597D1 for ; Wed, 13 Nov 2024 03:16:28 +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.web10.3463.1731467784115322287 for ; Tue, 12 Nov 2024 19:16:24 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=pm/UDp+V; 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-72458c0e0d5so223986b3a.1 for ; Tue, 12 Nov 2024 19:16:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467783; x=1732072583; darn=lists.openembedded.org; 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=s0y5ZSCLZaQoygE7lo7n/hBe3nvo6x7MnywGydCT7n0=; b=pm/UDp+VylWE3F37owzmUhJFS2dDUPbefojShfE7KyCadOk1db6mHPyyoNnwVyfXQT O0SXEf8QVRtYIzG0nafZc71SNTBuBRuOcs/sM76GoNf9YqUmziyohqkJjd+OuUOrDDCi nRcrEy3i3vMefGifwBSZmgKpTzYx7T/lRxAIJlbXP9AsUBe3wVNiSbTWG/ZIMyncHH2t WAA76ewIigrRcsvfcCEkk9d64XRwcaeS2nvCvnCJMX9T7Y43RmlIHGPyCF83B+E56CxB sxY8GLlywXMeT1q+SPWL1UFCpetjV4rxyyv5qyXa5i6IJAB9ID+dKAdszzY9F0Nr3Ond PDUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467783; x=1732072583; 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=s0y5ZSCLZaQoygE7lo7n/hBe3nvo6x7MnywGydCT7n0=; b=iKuYbcJPrmM/gP5smZCFP7WOHIWkH4+qAbf8Uc90CauhKYIgtrSHUf0s7BPmfeUgTM 6PcKhXyd5xh9m98apNnhF3PeZtDI0wUMnZRMTTgv9CBFuvqmkUbcANtRlL9bZROprXNF UGON0Kb7wsh1xLjZyqyuyVtPqw6mz0ZXJfqzEB1ZDincI9FloXi8ffGm/qjdO6+WzwzZ JvzrpHRfnCwhM1Nu3ypKh3hgb7CkDZvD39eDSRkUKUl9PnABKCvcgeeME+5o9X15CCKs YD6PsYJyqwlIJT6bbsBDtdBQrHSsNW9VKI4axUXbm+IUoM+QjBb6Hz2u1i8UrgpJIVao 6g0Q== X-Gm-Message-State: AOJu0YzUcbNqnI6nrRtUDlho5RKkJCAKqNEhmuoEP+22nLVMD0hHg4xu PJtoHPVf1mXBWr8Ffn+7FzNGihS09Z2r0BdbvNP4AB0l0N/CERiDqa1wil6IByEjoefvbLZ6lbo a X-Google-Smtp-Source: AGHT+IHmt5XIBLJKbUPkUprw1sxRg+f4z6h7YTiEN+9a2f4vWVxrRuPtrAlAMvYbrvXA5T/Oa8Q4Fg== X-Received: by 2002:a05:6a20:9150:b0:1d8:a322:6e with SMTP id adf61e73a8af0-1dc20633951mr27957035637.19.1731467783310; Tue, 12 Nov 2024 19:16:23 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:23 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 03/19] gstreamer1.0: ignore CVE-2024-0444 Date: Tue, 12 Nov 2024 19:15:56 -0800 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 ; Wed, 13 Nov 2024 03:16:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207076 From: Peter Marko This CVE is patched in gstreamer1.0-plugins-bad. cpe product is set to gstreamer, they share source git repository. Signed-off-by: Peter Marko Signed-off-by: Steve Sakoman --- meta/recipes-multimedia/gstreamer/gstreamer1.0_1.20.7.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.20.7.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.20.7.bb index 6d002198ae..2c9c6944b0 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.20.7.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.20.7.bb @@ -69,4 +69,7 @@ FILES:${PN}-dbg += "${datadir}/gdb ${datadir}/gstreamer-1.0/gdb" CVE_PRODUCT = "gstreamer" +# this CVE is patched in gstreamer1.0-plugins-bad +CVE_CHECK_IGNORE += "CVE-2024-0444" + PTEST_BUILD_HOST_FILES = "" From patchwork Wed Nov 13 03:15:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52384 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59790D597D3 for ; Wed, 13 Nov 2024 03:16: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.web11.3415.1731467785942107516 for ; Tue, 12 Nov 2024 19:16:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=q5f+L2jP; 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-71e49ad46b1so5601793b3a.1 for ; Tue, 12 Nov 2024 19:16:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467785; x=1732072585; darn=lists.openembedded.org; 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=Rh6pe1j0f8OfvofHCd+vgTVtZ+eJDOpc7Lmd+aQUIDA=; b=q5f+L2jPkoYjPr/OKSrtROmDJLYYHHwDMqtxTcG0vLy184CTa6kOBNbBuJCEI20hzO DYG45yNgPUyzVGFW82z/o9IYnp4iPCUn9wRQ7v6u6dbvU4BOzNCGcuZYM65fdmBwpcON rWvbkYu9vuGiJkeRoBaiJr6srDFhnGOv8Ot4vkhNT293bD+LdLGkrwf6UlEAtx/EdQFg YZRFTroC3KMSLEkTOyBAWqX+m0uFPMssN2vSXyaA0IyQQcUTAacEhU695GA8gnhHLlQv YArlOVgY2cJLdqWWOf836IYkfkryMS0rbrwBLQzgVmAGVawzcO7u0LORpHyVGl5SzJCN Jnog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467785; x=1732072585; 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=Rh6pe1j0f8OfvofHCd+vgTVtZ+eJDOpc7Lmd+aQUIDA=; b=DCuUrxwyyBGI/RFru3LfM7ivyydkyKqRS8/D0VqyaqkBBG48+XqiZeaCW5+WRPwBKv hKml6Z38htDZx/A3AQCOU61RzYzHN8fRmUM5jI6zOz/uhCHm8trzZ4mwobyOJxV1/GgE 9BxhEMUtf2Vtu/kJwH14lpO+ec9oTTK3IL3K9zFPDiCeL4oKZ7AYdAFnR6R/1B9CIIR+ c/LxuvYkF20BhP45aZIkp/Y0RnbxR1ZP4ifXz0abwUn0AUDdEWTqLNulcmJDYX7EhHgG dNiA2QjXbJ4q5mxK8ee/5QkBygCTQZ+mxksFO9PIzh1IVYXxsjZiGxNge2bmkcfo1NI+ vfAQ== X-Gm-Message-State: AOJu0YxvD5a1F4wAhQeKK8X0sK8QJp0C9Am0OvVFaPR8c2pHS98WTJc/ acRczu0QyrzuGMi/FVXU2CaB+HbZU4CyY8PygTBpSQ3upr8UsK5J24E92ZHxbuMQQ0/MvWJYv0J K X-Google-Smtp-Source: AGHT+IEN3oUn39uU69/NLhdGfkWjZZZGL+z6/TttUqeQ8MUJFq5MtrAouoNUfRcmPkDWcIGT8WzhuQ== X-Received: by 2002:a05:6a21:1690:b0:1d9:2694:44df with SMTP id adf61e73a8af0-1dc22b75a1bmr28742822637.43.1731467785078; Tue, 12 Nov 2024 19:16:25 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:24 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 04/19] expat: patch CVE-2024-50602 Date: Tue, 12 Nov 2024 19:15:57 -0800 Message-Id: <2cf8325876aa4d43151f5a327a21834db37bf0cb.1731467662.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 ; Wed, 13 Nov 2024 03:16:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207077 From: Peter Marko Pick commits from https://github.com/libexpat/libexpat/pull/915 Not picking test is suboptimal, but test structure was changed meanwhile so we'd have to invent new code. Skipping tests was already done in previous expat/kirkstone CVE patches. Signed-off-by: Peter Marko Signed-off-by: Steve Sakoman --- .../expat/expat/CVE-2024-50602-01.patch | 56 +++++++++++++++++++ .../expat/expat/CVE-2024-50602-02.patch | 38 +++++++++++++ meta/recipes-core/expat/expat_2.5.0.bb | 2 + 3 files changed, 96 insertions(+) create mode 100644 meta/recipes-core/expat/expat/CVE-2024-50602-01.patch create mode 100644 meta/recipes-core/expat/expat/CVE-2024-50602-02.patch diff --git a/meta/recipes-core/expat/expat/CVE-2024-50602-01.patch b/meta/recipes-core/expat/expat/CVE-2024-50602-01.patch new file mode 100644 index 0000000000..6abaa85261 --- /dev/null +++ b/meta/recipes-core/expat/expat/CVE-2024-50602-01.patch @@ -0,0 +1,56 @@ +From 51c7019069b862e88d94ed228659e70bddd5de09 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Mon, 21 Oct 2024 01:42:54 +0200 +Subject: [PATCH 1/2] lib: Make XML_StopParser refuse to stop/suspend an + unstarted parser + +CVE: CVE-2024-50602 +Upstream-Status: Backport [https://github.com/libexpat/libexpat/commit/51c7019069b862e88d94ed228659e70bddd5de09] +Signed-off-by: Peter Marko +--- + expat/lib/expat.h | 4 +++- + expat/lib/xmlparse.c | 6 ++++++ + 2 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/lib/expat.h b/lib/expat.h +index d0d6015a..3ba61304 100644 +--- a/lib/expat.h ++++ b/lib/expat.h +@@ -127,7 +127,9 @@ enum XML_Error { + /* Added in 2.3.0. */ + XML_ERROR_NO_BUFFER, + /* Added in 2.4.0. */ +- XML_ERROR_AMPLIFICATION_LIMIT_BREACH ++ XML_ERROR_AMPLIFICATION_LIMIT_BREACH, ++ /* Added in 2.6.4. */ ++ XML_ERROR_NOT_STARTED, + }; + + enum XML_Content_Type { +diff --git a/lib/xmlparse.c b/lib/xmlparse.c +index d9285b21..fa02537f 100644 +--- a/lib/xmlparse.c ++++ b/lib/xmlparse.c +@@ -2189,6 +2189,9 @@ XML_StopParser(XML_Parser parser, XML_Bool resumable) { + if (parser == NULL) + return XML_STATUS_ERROR; + switch (parser->m_parsingStatus.parsing) { ++ case XML_INITIALIZED: ++ parser->m_errorCode = XML_ERROR_NOT_STARTED; ++ return XML_STATUS_ERROR; + case XML_SUSPENDED: + if (resumable) { + parser->m_errorCode = XML_ERROR_SUSPENDED; +@@ -2474,6 +2477,9 @@ XML_ErrorString(enum XML_Error code) { + case XML_ERROR_AMPLIFICATION_LIMIT_BREACH: + return XML_L( + "limit on input amplification factor (from DTD and entities) breached"); ++ /* Added in 2.6.4. */ ++ case XML_ERROR_NOT_STARTED: ++ return XML_L("parser not started"); + } + return NULL; + } +-- +2.30.2 + diff --git a/meta/recipes-core/expat/expat/CVE-2024-50602-02.patch b/meta/recipes-core/expat/expat/CVE-2024-50602-02.patch new file mode 100644 index 0000000000..4d99eb738c --- /dev/null +++ b/meta/recipes-core/expat/expat/CVE-2024-50602-02.patch @@ -0,0 +1,38 @@ +From 5fb89e7b3afa1c314b34834fe729cd063f65a4d4 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Mon, 21 Oct 2024 01:46:11 +0200 +Subject: [PATCH 2/2] lib: Be explicit about XML_PARSING in XML_StopParser + +CVE: CVE-2024-50602 +Upstream-Status: Backport [https://github.com/libexpat/libexpat/commit/5fb89e7b3afa1c314b34834fe729cd063f65a4d4] +Signed-off-by: Peter Marko +--- + expat/lib/xmlparse.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/lib/xmlparse.c b/lib/xmlparse.c +index fa02537f..983f6df0 100644 +--- a/lib/xmlparse.c ++++ b/lib/xmlparse.c +@@ -2202,7 +2202,7 @@ XML_StopParser(XML_Parser parser, XML_Bool resumable) { + case XML_FINISHED: + parser->m_errorCode = XML_ERROR_FINISHED; + return XML_STATUS_ERROR; +- default: ++ case XML_PARSING: + if (resumable) { + #ifdef XML_DTD + if (parser->m_isParamEntity) { +@@ -2213,6 +2213,9 @@ XML_StopParser(XML_Parser parser, XML_Bool resumable) { + parser->m_parsingStatus.parsing = XML_SUSPENDED; + } else + parser->m_parsingStatus.parsing = XML_FINISHED; ++ break; ++ default: ++ assert(0); + } + return XML_STATUS_OK; + } +-- +2.30.2 + diff --git a/meta/recipes-core/expat/expat_2.5.0.bb b/meta/recipes-core/expat/expat_2.5.0.bb index 26190383e3..33207ff0da 100644 --- a/meta/recipes-core/expat/expat_2.5.0.bb +++ b/meta/recipes-core/expat/expat_2.5.0.bb @@ -28,6 +28,8 @@ SRC_URI = "https://github.com/libexpat/libexpat/releases/download/R_${VERSION_TA file://CVE-2024-45490-0004.patch \ file://CVE-2024-45491.patch \ file://CVE-2024-45492.patch \ + file://CVE-2024-50602-01.patch \ + file://CVE-2024-50602-02.patch \ " UPSTREAM_CHECK_URI = "https://github.com/libexpat/libexpat/releases/" From patchwork Wed Nov 13 03:15:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52379 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C7A7D597C8 for ; Wed, 13 Nov 2024 03:16: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.3464.1731467787452616515 for ; Tue, 12 Nov 2024 19:16:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=byEdVI7r; 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-71e592d7f6eso4786148b3a.3 for ; Tue, 12 Nov 2024 19:16:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467787; x=1732072587; darn=lists.openembedded.org; 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=hOAVAmxYGiB0v+7YW9kjw9iDZgvWW+GdAxvW7kXxnKw=; b=byEdVI7rtiGMr/u/B0eduij3pm0GN/PU6z0gdmWxQnZWikLJ8kaqrDRsKkHU6KxB8A ZD1Bes3JAepZwek36Z/h9/m5mE4vmXMsSl7XDpggZ6ooDjYl5W7BZv2SeNnutzGrOzo6 KXnBzQ/ZvCrhlgirUiBWXWAxg496vMVt9YU4cNjHby/pT9MY6USG6LneBJS77thNnHAI QmmyvkBSkBsK1o2SMNG8GWOLqd0X+vLUKmFDTZ/MBqM0ycULiWxNShcMdsg7aaKsvMkJ Xwnhqjy612Ao9rGwExPD7vetFyNx9UM4QgRp+tONFvKIju26X3VjhCCN5Yqo2EVEmq9i ZhnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467787; x=1732072587; 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=hOAVAmxYGiB0v+7YW9kjw9iDZgvWW+GdAxvW7kXxnKw=; b=hsf5CV8Dsf+aP8gvFY89QRbDVVF9th9Rnrr2pWhVJG8iQPiVlRB0S4Fivaqmse5hCf 6eekuCzFtD99FCq12xrxjkSUI3bSh4KwJuLirNe7VGGVzQriOZTrvQcE8fnSPCzZ6faw 4HxpYzRnCsyBX7oV3RQigMum/ic2Y8mYLB7fZ8DYf/4w2cE+/RxnSjiDvo0iGwizSOqa VzmkYJmsGbFdoi6LF0JmzHuwsWqDjYLC11hMv08tJKmDUTJbePasM5xE99ZTaJdA2rEV /PqsNLtS4H2aj4ns/r6yblypY9z4iEPGMZDFr9YThj0EQN3ristMLxeNFBcAkQp+hJWT 5W8g== X-Gm-Message-State: AOJu0YxPsnH0p8q7UqD0rLQFj4w1rnDUARPG5cZVUJJZVu7y3agA1Cv0 dZZiAJt3alcVlWUuh65Y43A9QBlyEK/AvmPZKkejxck6UBkIPflvikjNQaeCfmnrcThPsDZhvVk Q X-Google-Smtp-Source: AGHT+IH+XpEKRAs25ML27sLMyRZsXt5M9X9iT4Kdt48y/4PzOGLyGQ5o9HqVlwKvrwsEeWbrbsjOMg== X-Received: by 2002:a05:6a20:840f:b0:1d9:18b7:496 with SMTP id adf61e73a8af0-1dc22b7551cmr24768501637.45.1731467786650; Tue, 12 Nov 2024 19:16:26 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:26 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 05/19] glib-2.0: patch regression of CVE-2023-32665 Date: Tue, 12 Nov 2024 19:15:58 -0800 Message-Id: <2400e143477cc93d4698df921bd89ef4b8b4692b.1731467662.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 ; Wed, 13 Nov 2024 03:16:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207078 From: Peter Marko Official CVE-2023-32665 patch introduced a regression for big-endian architectures. This code was backported in CVE-2023-32665-0003.patch Reported in [1] and fixed by [2] where this patch is picked from. [1] https://gitlab.gnome.org/GNOME/glib/-/issues/2839 [2] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3136 Signed-off-by: Peter Marko Signed-off-by: Steve Sakoman --- ...aliser-Convert-endianness-of-offsets.patch | 68 +++++++++++++++++++ meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb | 1 + 2 files changed, 69 insertions(+) create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0001-gvariant-serialiser-Convert-endianness-of-offsets.patch diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0001-gvariant-serialiser-Convert-endianness-of-offsets.patch b/meta/recipes-core/glib-2.0/glib-2.0/0001-gvariant-serialiser-Convert-endianness-of-offsets.patch new file mode 100644 index 0000000000..86cce768ed --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0/0001-gvariant-serialiser-Convert-endianness-of-offsets.patch @@ -0,0 +1,68 @@ +From dc16dffed0480d0c8cdd6a05ede68263fc8723a9 Mon Sep 17 00:00:00 2001 +From: Simon McVittie +Date: Thu, 15 Dec 2022 12:51:37 +0000 +Subject: [PATCH] gvariant-serialiser: Convert endianness of offsets +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The array of offsets is little-endian, even on big-endian architectures +like s390x. + +Fixes: ade71fb5 "gvariant: Don’t allow child elements to overlap with each other" +Resolves: https://gitlab.gnome.org/GNOME/glib/-/issues/2839 +Signed-off-by: Simon McVittie + +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/glib/-/commit/dc16dffed0480d0c8cdd6a05ede68263fc8723a9] +Signed-off-by: Peter Marko +--- + glib/gvariant-serialiser.c | 19 +++++++++++-------- + 1 file changed, 11 insertions(+), 8 deletions(-) + +diff --git a/glib/gvariant-serialiser.c b/glib/gvariant-serialiser.c +index 25c85b30b..e9b0eab2b 100644 +--- a/glib/gvariant-serialiser.c ++++ b/glib/gvariant-serialiser.c +@@ -712,17 +712,19 @@ gvs_variable_sized_array_n_children (GVariantSerialised value) + /* Find the index of the first out-of-order element in @data, assuming that + * @data is an array of elements of given @type, starting at index @start and + * containing a further @len-@start elements. */ +-#define DEFINE_FIND_UNORDERED(type) \ ++#define DEFINE_FIND_UNORDERED(type, le_to_native) \ + static gsize \ + find_unordered_##type (const guint8 *data, gsize start, gsize len) \ + { \ + gsize off; \ +- type current, previous; \ ++ type current_le, previous_le, current, previous; \ + \ +- memcpy (&previous, data + start * sizeof (current), sizeof (current)); \ ++ memcpy (&previous_le, data + start * sizeof (current), sizeof (current)); \ ++ previous = le_to_native (previous_le); \ + for (off = (start + 1) * sizeof (current); off < len * sizeof (current); off += sizeof (current)) \ + { \ +- memcpy (¤t, data + off, sizeof (current)); \ ++ memcpy (¤t_le, data + off, sizeof (current)); \ ++ current = le_to_native (current_le); \ + if (current < previous) \ + break; \ + previous = current; \ +@@ -730,10 +732,11 @@ gvs_variable_sized_array_n_children (GVariantSerialised value) + return off / sizeof (current) - 1; \ + } + +-DEFINE_FIND_UNORDERED (guint8); +-DEFINE_FIND_UNORDERED (guint16); +-DEFINE_FIND_UNORDERED (guint32); +-DEFINE_FIND_UNORDERED (guint64); ++#define NO_CONVERSION(x) (x) ++DEFINE_FIND_UNORDERED (guint8, NO_CONVERSION); ++DEFINE_FIND_UNORDERED (guint16, GUINT16_FROM_LE); ++DEFINE_FIND_UNORDERED (guint32, GUINT32_FROM_LE); ++DEFINE_FIND_UNORDERED (guint64, GUINT64_FROM_LE); + + static GVariantSerialised + gvs_variable_sized_array_get_child (GVariantSerialised value, +-- +2.30.2 + diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb index 35b51a3ec9..239099d568 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb @@ -49,6 +49,7 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ file://CVE-2024-34397_16.patch \ file://CVE-2024-34397_17.patch \ file://CVE-2024-34397_18.patch \ + file://0001-gvariant-serialiser-Convert-endianness-of-offsets.patch \ " SRC_URI:append:class-native = " file://relocate-modules.patch" From patchwork Wed Nov 13 03:15:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52386 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50CD2D597D2 for ; Wed, 13 Nov 2024 03:16:38 +0000 (UTC) Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) by mx.groups.io with SMTP id smtpd.web10.3467.1731467789627627345 for ; Tue, 12 Nov 2024 19:16:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=lsYzJFPk; spf=softfail (domain: sakoman.com, ip: 209.85.166.176, mailfrom: steve@sakoman.com) Received: by mail-il1-f176.google.com with SMTP id e9e14a558f8ab-3a3c00f2c75so23039035ab.2 for ; Tue, 12 Nov 2024 19:16:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467789; x=1732072589; darn=lists.openembedded.org; 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=/NpPd/oUahTFQYZhPlH7HzFx7mjpWbnxuVvla11hcNY=; b=lsYzJFPkzY096EnClpabML3JWARyYnsgxJUOlcXOYMeCz8cXEg6Rb8X59P9KriPU+N h/h2cEFsc5Yi/uvCD2TgxnXg+sjrlJdd4ZIsi5nQCLnbIZC3WxTmsFSrtH4/9Y91TY7L wray9heLoJayHfsjxTE7Iean1g9OWtEklomd1lGBd18CYcJKGt8XyeZo0G4mLcfQtsuy vdclpZ1/kiHBBZl/lXYs0d6XwiTWiE7/cBZl41fGjErNDT/ewXvKCXR3R6LQok/vfdfH lFh4Isa6OPB5tQPZkx9jOm4tv0g1xmwgMtTOfHnBVV1iCooP08rXhFFLnqwXqd4dRkn4 p//g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467789; x=1732072589; 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=/NpPd/oUahTFQYZhPlH7HzFx7mjpWbnxuVvla11hcNY=; b=oC2kDSvAmCRUhcM9v+Zng0C2I+wanshnV6RG51w4b6QsHTX812MXtnfUxHo7P4FRo1 ZzCuci7hMiIRuQWznWxR/aMmkL3VKpfs4SE+IO6R1XoI7jikCNC9BUBnUX7+npA4e4GX LfY3E2Niom3w0wJcPrnol01ZjvBxg1xRru1tGKWgk5ZU7XjuSHNVYGzmW726mKQCnR/Z dQ+BperYVv0Q4TraIy5aNVi+mZaofPZXIVhonggtgD2YJSeV8wKd/aIrOoGThzpxMkIr uufXqlSrFHK9qXBezipOg34h5EangbmScQLpsdTxQNsQebOKhfM9BPk/DqSJEjJCFIVZ y7qg== X-Gm-Message-State: AOJu0YwIu5ZlwURuAMS6XunGCRsO9ENr0kOGApUgeo0kQoOq/PpHFon0 E2IXnJx1Y9D8i+5JOuGn5w1Wr2D6CqcjgWTnDMYmGrjLKAtWxR7Bgu7Ek7F1VHgGhLe3FZc1psZ c X-Google-Smtp-Source: AGHT+IGGQOjahRf4tDOAwSSNyYU0z/7HCZIRusSLUzCUqkezLQ0QTkoGkC5nkEcUQLTQXyOh8I4Ktw== X-Received: by 2002:a05:6e02:1f03:b0:3a5:e532:799d with SMTP id e9e14a558f8ab-3a6f19e86dcmr190153985ab.3.1731467788525; Tue, 12 Nov 2024 19:16:28 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:28 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 06/19] patch.py: Use shlex instead of deprecated pipe Date: Tue, 12 Nov 2024 19:15:59 -0800 Message-Id: <8eec5c4417301ea3b38e6662e7b29c9071f233e1.1731467662.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 ; Wed, 13 Nov 2024 03:16:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207079 From: Ola x Nilsson The pipe library is deprecated in Python 3.11 and will be removed in Python 3.13. pipe.quote is just an import of shlex.quote anyway. Clean up imports while we're at it. Signed-off-by: Ola x Nilsson Signed-off-by: Luca Ceresoli (cherry picked from commit 5f33c7b99a991c380d1813da8248ba5470ca4d4e) Signed-off-by: Steve Sakoman --- meta/lib/oe/patch.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 4ec9caed45..e607148ec7 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py @@ -2,9 +2,11 @@ # SPDX-License-Identifier: GPL-2.0-only # +import os +import shlex +import subprocess import oe.path import oe.types -import subprocess class NotFoundError(bb.BBHandledException): def __init__(self, path): @@ -25,8 +27,6 @@ class CmdError(bb.BBHandledException): def runcmd(args, dir = None): - import pipes - if dir: olddir = os.path.abspath(os.curdir) if not os.path.exists(dir): @@ -35,7 +35,7 @@ def runcmd(args, dir = None): # print("cwd: %s -> %s" % (olddir, dir)) try: - args = [ pipes.quote(str(arg)) for arg in args ] + args = [ shlex.quote(str(arg)) for arg in args ] cmd = " ".join(args) # print("cmd: %s" % cmd) proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) @@ -215,7 +215,7 @@ class PatchTree(PatchSet): with open(self.seriespath, 'w') as f: for p in patches: f.write(p) - + def Import(self, patch, force = None): """""" PatchSet.Import(self, patch, force) @@ -919,4 +919,3 @@ def should_apply(parm, d): return False, "applies to later version" return True, None - From patchwork Wed Nov 13 03:16:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52388 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57CF8D597D1 for ; Wed, 13 Nov 2024 03:16:38 +0000 (UTC) Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) by mx.groups.io with SMTP id smtpd.web10.3468.1731467791066221390 for ; Tue, 12 Nov 2024 19:16:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=OXzFhpOB; spf=softfail (domain: sakoman.com, ip: 209.85.167.174, mailfrom: steve@sakoman.com) Received: by mail-oi1-f174.google.com with SMTP id 5614622812f47-3e5f968230bso2845889b6e.3 for ; Tue, 12 Nov 2024 19:16:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467790; x=1732072590; darn=lists.openembedded.org; 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=Yq3RHYZWp+YRN5zN/1y88NYJnubo7PPmTm7xCffOm3Q=; b=OXzFhpOBHRWYcs6HFSdNi3JZquUCs+ZgQ0rBIETox9FuAYZJfHoMCK2Yubbr/tzwqr kHWldnaTA6mFpGJQK1QplTn4E7GqSyaHHWywusElp3Q+q0kCw781BAzw/g14yA/06rE2 C3FIiI83S74eFDO0i/TIQYIoJb3wGrccsFonq45j1yG4QgFdb2vblUnAczZzxT1WkFot 5qiGf79V1E9VJQLaSfR/1hKrSvhZQ+CSYLUGMZ5aqxR3G+sJzwGq4ULeNAxOt4/fDoZF ksS+dt+apI1TXFO+w6+s7ATchy28PpIQsbCmfBDiz/CLDTLIBLKAYPu+aTbGHwQ+2Hli mK8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467790; x=1732072590; 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=Yq3RHYZWp+YRN5zN/1y88NYJnubo7PPmTm7xCffOm3Q=; b=bQV1LIW8YgZ9iy2sRvaGn+4PAdR09R1+LGdAyAGvaLrzuMiPCSkwP6eZy7LrDR7l+6 96IQEEbiMVJzSH8ipjEucwuMe8X/zVwftMYE/57j6A5Rnm1+PZRilAxEagjU604iNJqk 8xQDlGw5nflxu/OL6Mxxddub0dofNY6ksdsHjn9an8PjEH9cMqzMhjnp9YLEb/6hJWqm mFjxvUDvV5JS08LUnhiK2MJRdmnchkbJz9EAu0vlSpQRMWH/2f+Ofl5bAqtYDg4iYQFi zXW1xcf/RGUX848ITEK3MhTHO2cbhiQdxlfy8fPnBii/GAGPuKoh60G8fSWQcCi9eOlO blxw== X-Gm-Message-State: AOJu0YxQii0E2fhU7VUa1ebeO/3FT2h0m5A+gpmuEng7W/M3cF6I+wMP QSk6FvR0o1QQMMMumiRZtzpJQeK2O3bm+Zz4/FwlMi/oOqtpO9fJiytZTaQcwIVBchE+Ch7Y0sb j X-Google-Smtp-Source: AGHT+IF0zpFV74EWMNI+PjsMD6Gh/mjHP0Ig7grg3rqubKLhYhYjVfNtxiTjCKIbzeM4ViA5bGPg2A== X-Received: by 2002:a05:6808:11ca:b0:3e6:147:6c5 with SMTP id 5614622812f47-3e79469fcc2mr17132283b6e.10.1731467790073; Tue, 12 Nov 2024 19:16:30 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:29 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 07/19] cmake: Fix sporadic issues when determining compiler internals Date: Tue, 12 Nov 2024 19:16:00 -0800 Message-Id: <8e2233fd0509b9f20c19d5006dd7ef0c2260bdba.1731467662.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 ; Wed, 13 Nov 2024 03:16:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207080 From: Philip Lorenz When `-pipe` is enabled, GCC passes data between its different executables using pipes instead of temporary files. This leads to issues when cmake attempts to infer compiler internals via the `-v` parameter as each executable will print to `stderr` in parallel. In turn this may lead to compilation issues down the line as for example the system include directories could not be determined properly which may then propagate to issues such as: recipe-sysroot/usr/include/c++/11.3.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory | 75 | #include_next | | ^~~~~~~~~~ | compilation terminated. | ninja: build stopped: subcommand failed. | WARNING: exit code 1 from a shell command. Fix this stripping `-pipe` from the command line used to determine compiler internals. Signed-off-by: Philip Lorenz Signed-off-by: Steve Sakoman --- meta/recipes-devtools/cmake/cmake.inc | 1 + ...mpilerABI-Strip-pipe-from-compile-fl.patch | 52 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch diff --git a/meta/recipes-devtools/cmake/cmake.inc b/meta/recipes-devtools/cmake/cmake.inc index d500321138..3811aae9c4 100644 --- a/meta/recipes-devtools/cmake/cmake.inc +++ b/meta/recipes-devtools/cmake/cmake.inc @@ -17,6 +17,7 @@ LIC_FILES_CHKSUM = "file://Copyright.txt;md5=31023e1d3f51ca90a58f55bcee8e2339 \ CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}" SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \ + file://0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch \ file://0003-cmake-support-OpenEmbedded-Qt4-tool-binary-names.patch \ file://0004-Fail-silently-if-system-Qt-installation-is-broken.patch \ " diff --git a/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch b/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch new file mode 100644 index 0000000000..a30273458f --- /dev/null +++ b/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch @@ -0,0 +1,52 @@ +From dab7ba34f87be0172f6586325656ee962de0029e Mon Sep 17 00:00:00 2001 +From: Philip Lorenz +Date: Mon, 3 Jun 2024 13:19:24 +0200 +Subject: [PATCH] CMakeDetermineCompilerABI: Strip -pipe from compile flags + +When `-pipe` is enabled, GCC passes data between its different +executables using pipes instead of temporary files. This leads to issues +when cmake attempts to infer compiler internals via the `-v` parameter +as each executable will print to `stderr` in parallel. + +For example we have observed the following outputs in our builds which +sporadically lead to build failures as system include directories were +not detected reliably: + +Parsed CXX implicit include dir info from above output: rv=done + found start of include info + found start of implicit include info + add: [.../usr/bin/x86_64-poky-linux/../../lib/x86_64-poky-linux/gcc/x86_64-poky-linux/11.4.0/include] + add: [.../usr/bin/x86_64-poky-linux/../../lib/x86_64-poky-linux/gcc/x86_64-poky-linux/11.4.0/include-fixed] + add: [.../usr/include/c++/11.4.0] + add: [.../usr/include/c++/11.4.0/x86_64-poky-linux] + add: [.../usr/include/c++/11.4.0/backward] + add: [.../usr/lib/x86_64-poky-linux/11.4.0/include] + add: [...GNU assembler version 2.38 (x86_64-poky-linux) using BFD version (GNU Binutils) 2.38.20220708] + add: [/usr/include] + end of search list found + +Fix this issue by stripping the `-pipe` parameter from the compilation +flag when determining the toolchain configuration. + +Upstream-Status: Backport [3.32.0, 71be059f3f32b6791427893a48ba4815a19e2e78] +Signed-off-by: Philip Lorenz +--- + Modules/CMakeDetermineCompilerABI.cmake | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/Modules/CMakeDetermineCompilerABI.cmake b/Modules/CMakeDetermineCompilerABI.cmake +index 8191d819bf..ae4c9ee44e 100644 +--- a/Modules/CMakeDetermineCompilerABI.cmake ++++ b/Modules/CMakeDetermineCompilerABI.cmake +@@ -35,6 +35,11 @@ function(CMAKE_DETERMINE_COMPILER_ABI lang src) + + # Avoid failing ABI detection on warnings. + string(REGEX REPLACE "(^| )-Werror([= ][^ ]*)?( |$)" " " CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS}") ++ # Avoid passing of "-pipe" when determining the compiler internals. With ++ # "-pipe" GCC will use pipes to pass data between the involved ++ # executables. This may lead to issues when their stderr output (which ++ # contains the relevant compiler internals) becomes interweaved. ++ string(REGEX REPLACE "(^| )-pipe( |$)" " " CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS}") + + # Save the current LC_ALL, LC_MESSAGES, and LANG environment variables + # and set them to "C" that way GCC's "search starts here" text is in From patchwork Wed Nov 13 03:16:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52390 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57EF4D597D7 for ; Wed, 13 Nov 2024 03:16:38 +0000 (UTC) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mx.groups.io with SMTP id smtpd.web11.3421.1731467792369429339 for ; Tue, 12 Nov 2024 19:16:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=G1TCH+kl; spf=softfail (domain: sakoman.com, ip: 209.85.214.170, mailfrom: steve@sakoman.com) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-20c8b557f91so68773215ad.2 for ; Tue, 12 Nov 2024 19:16:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467792; x=1732072592; darn=lists.openembedded.org; 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=pdsS1XQdH3Hu+t+jLpEiTQJvshyUqKQjePYd4oFLEuk=; b=G1TCH+klP1IpNeGP2rkLwmAv8rJiKfnW3vJC7hAZfoSXSDmfE33gmPRT1Uq/niYnwK NsmYiekYZoK0SjhwzCJTHE+IiXOk8w2SX9rfJyKDd+/8ffhLse87fVl5C00E6VG+yf6N Tea5RFadevYGIxqAI5DPc6woNuyed8kqCKkly3BqXbz1yLwlrfV8C5rAK4eCFYUpqB1y BTbTuHQ6v+gshLl0rshgOosB4Aa/Lozggwr99Fp0iHWYWZPFODe5o0qiZhts9P+zfN7i YkR18LKRkdBc3CKueSUthCr4yXj3Y2gl9dnx6IFrmX4hHaB6pzMLqNgBNxa+8RvLsnRD 910A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467792; x=1732072592; 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=pdsS1XQdH3Hu+t+jLpEiTQJvshyUqKQjePYd4oFLEuk=; b=NmoIeVxUGmW/5kRs/+Jgtq69Kn437b9Da+jDbKGu1yyclLuSNDB/Bxot3Q0xvke+Yg +XA31ixtFCDHgD1wFKmtJoqDhy+Q087Qst5sNkjiPRDqIWY0dp3Nxj2Mr1yflSHi8DNg sLJSCqaZi8fokWoexNLC5R99lb3MIgg+fi3aK4EZqelbBWopfUFTI9gw++ogIzAMgWoe JJRSzDwmgE7CKR/8Np8mfPKn94VmtZOavVPmiQogO+awYqYQLZihsaO5S0K2OOIPhroB kGWFT7RCI1NKYdGdI8mxDc58MQQsrAPiO83HHYa7pw12dUpvbtsGu2BO/ZrDa3/luxy/ srog== X-Gm-Message-State: AOJu0YwzEjBIwiFaf9SyqtQ4sMmiE67RjhF3rBLuTAOGDJI205x9IQjr AMm5UHZsN+d1VOOZXIohgyo86IBatG2Q6X6kc2IJBxPfY/y1VjKPx7f8QP4HKN9nLOX2yHO3JfZ 7 X-Google-Smtp-Source: AGHT+IFBN3m+4cO4dETPgtNzVo0mRP04BmpMuVlSeciEvjDtU5ch6CV1TYWX5vEPSB3BuinAC5mCaw== X-Received: by 2002:a17:902:d508:b0:206:aac4:b844 with SMTP id d9443c01a7336-21183c43373mr277005725ad.6.1731467791623; Tue, 12 Nov 2024 19:16:31 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:31 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 08/19] pseudo: Update to pull in linux-libc-headers race fix Date: Tue, 12 Nov 2024 19:16:01 -0800 Message-Id: <77d018ce3b3a9390a5cc020bce9f9ea9017820dd.1731467662.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 ; Wed, 13 Nov 2024 03:16:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207081 From: Richard Purdie Update to pull in: pseudo.c: Avoid patch mismatch errors for NAMELESS file entries In rare cases we see failures, often in linux-libc-headers for things like: | INSTALL /XXX/linux-libc-headers/6.1-r0/image/usr/include | abort()ing pseudo client by server request. See https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this. Pseudo log: path mismatch [2 links]: ino 46662476 db 'NAMELESS FILE' req '/XXX/linux-libc-headers/6.1-r0/image/usr'. Setup complete, sending SIGUSR1 to pid 3630890. Whilst this doesn't easily reproduce, the issue is that multiple different processes are likely working on the directory and the creation in pseudo might not match accesses made by other processes. Ultimately, the "NAMELESS FILE" is harmless and pseudo will reconcile things so rather than error out, we should ignore this case. Signed-off-by: Richard Purdie Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie (cherry picked from commit 4f30a1a74828e105cbe69677b3fbe5623f371543) Signed-off-by: Fabio Berton Signed-off-by: Steve Sakoman --- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index 4dd9156238..6b0cb598e2 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb @@ -14,7 +14,7 @@ SRC_URI:append:class-nativesdk = " \ file://older-glibc-symbols.patch" SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" -SRCREV = "c9670c27ff67ab899007ce749254b16091577e55" +SRCREV = "cc1f6167cb5065daba1462056e2dce8ff72aa855" S = "${WORKDIR}/git" PV = "1.9.0+git${SRCPV}" From patchwork Wed Nov 13 03:16:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52387 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5ED55D597D6 for ; Wed, 13 Nov 2024 03:16:38 +0000 (UTC) Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) by mx.groups.io with SMTP id smtpd.web11.3422.1731467793964230511 for ; Tue, 12 Nov 2024 19:16:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=QgPFXfVR; spf=softfail (domain: sakoman.com, ip: 209.85.167.169, mailfrom: steve@sakoman.com) Received: by mail-oi1-f169.google.com with SMTP id 5614622812f47-3e600add5dcso3108906b6e.2 for ; Tue, 12 Nov 2024 19:16:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467793; x=1732072593; darn=lists.openembedded.org; 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=9JWKEoYr2gO+ZL7KItOe0rp1Oe+l//9QIKMwsDLTjSA=; b=QgPFXfVREKvpoYCLFgQGnHHXWB0VeeoxWonAvaJr3Bff6mhFM6KS3gG8PEWm10ev9R 985BtVwiMLLoGsJDkeQXMe4A83CuLs2cq+O3Y+gi9D4E+SJh0tCFhTlgBeiola+2aNo1 /+rmLM+cPEQnG22tmcjy1xVzx1e3ZUPQelG1FaiDQGeLq3wsp1yvXovajKg0Ric9mPF0 IPU+dDjNVLMajJzJDiIay+jiLliWIfIP/zdkCi+XqS4pDvs1S0Aa107Bj89BYYsl0FsS VYv3XnzwGidbuZXMz398yI98YA7HhTCwh06f/ZEpM1NSwpqUU/nBPJ2R13sqSj0vw7wx r0TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467793; x=1732072593; 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=9JWKEoYr2gO+ZL7KItOe0rp1Oe+l//9QIKMwsDLTjSA=; b=Cba2vJbOxax/5aMr1nq9dRT33QggiwDUJ58wBIC/jZ6kxPtMw+YxBhny2UjSv+n67M EJvI0oEuGzQOqc21dS1fzrC2F4gjJUkkmJqZ5kC/CNSyIyYmw2FYPVrX6KiJNXXwYhJC G0Ek+SPijUVZ7cMvfx/7TL5f+0yQ4YBysH1T+ddSsXmYzi9GANNKF4/iDaxiqg47plMZ 6ijtekrL6lkGRRh6uauhJZEUWoO+7iGdDeE4I6clVfOyID2tyvNB9Lgab7kIOWXAMPTb 0Z2RMhnkgl68WSrk8X/AzCsBL6Z/ke9/YjPc8p+hD8VXpIEj8yjlpW75i9edNXB7CEGt L6Og== X-Gm-Message-State: AOJu0Yzn3oq06s06EmzvCyDUBmY0UTYZpa2+fUouyLMrShIU+BaB84aR aMIWb5z8Mxec0Ov8rTnX+MRnNM94jneVsXQ/JBgi8DZhUypy/5uFBzq09R+xOif7t8Y9XHuXAn+ g X-Google-Smtp-Source: AGHT+IEFoRsFkLtOVBxGE+t2VCsKJ24aS3Iux0Ls/Q/UVhJqlzbQEkGqZL0sOo8foB3pV2TAcgeWVw== X-Received: by 2002:a05:6808:1a1b:b0:3e6:3878:35c8 with SMTP id 5614622812f47-3e7946a3a1fmr19324975b6e.15.1731467792986; Tue, 12 Nov 2024 19:16:32 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:32 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 09/19] pseudo: Disable LFS on 32bit arches Date: Tue, 12 Nov 2024 19:16:02 -0800 Message-Id: <215367b62ac1f48ba224e56e7b8862c0a7bdbcd0.1731467662.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 ; Wed, 13 Nov 2024 03:16:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207082 From: Khem Raj pseudo overrides certain libc functions which are aliases when LFS64 is enabled. In anycase pseudo may not be of much use on 32bit systems Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Steve Sakoman --- meta/recipes-devtools/pseudo/pseudo_git.bb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index 6b0cb598e2..00af809689 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb @@ -18,5 +18,12 @@ SRCREV = "cc1f6167cb5065daba1462056e2dce8ff72aa855" S = "${WORKDIR}/git" PV = "1.9.0+git${SRCPV}" +# largefile and 64bit time_t support adds these macros via compiler flags globally +# remove them for pseudo since pseudo intercepts some of the functions which will be +# aliased due to this e.g. open/open64 and it will complain about duplicate definitions +# pseudo on 32bit systems is not much of use anyway and these features are not of much +# use for it. +TARGET_CPPFLAGS:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + # error: use of undeclared identifier '_STAT_VER' COMPATIBLE_HOST:libc-musl = 'null' From patchwork Wed Nov 13 03:16:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52389 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 627E8D597D9 for ; Wed, 13 Nov 2024 03:16:38 +0000 (UTC) Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) by mx.groups.io with SMTP id smtpd.web10.3470.1731467795545116647 for ; Tue, 12 Nov 2024 19:16:35 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=tcuhOMxG; spf=softfail (domain: sakoman.com, ip: 209.85.167.173, mailfrom: steve@sakoman.com) Received: by mail-oi1-f173.google.com with SMTP id 5614622812f47-3e604425aa0so3705325b6e.0 for ; Tue, 12 Nov 2024 19:16:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467795; x=1732072595; darn=lists.openembedded.org; 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=j5YuUcS/zmE6KJ5oEy76wD/Q7C436+T0DGBlIrK/Fzc=; b=tcuhOMxG+gfuJmViJlyjylJOLU5FRv+wzSXwD3BZ9W6DeO46oBpJCwhmOzRTbPdJqA JJ+YY1zuaLGXjGNqs+1lVK02nlRmUpgInzNjmWG7wYdGEaYNX4XZVdV+NGu77/SzR50i nlPd7/6zqzTY+j+cqrPWQcd7Si7/E9D2FN2EnvZ1qvJoKVcn3+ghEzsss8eBSUz+OuiA QwHTthWMrr1QJzE2HTOouRtZ3WHM8hWddhh2NxfN3F0WoO636C1Z9b0IhLky+xFwYzT/ N4C1BG4bCWIgRXt9Kik0xsqtQNqCTi/w0rF9AANCxpvZnpRsg/jY8UIK34bJR3aOpMTl ngkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467795; x=1732072595; 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=j5YuUcS/zmE6KJ5oEy76wD/Q7C436+T0DGBlIrK/Fzc=; b=bxD/XZEcu0d1CiDLwq2F8PQT9j5vn8DdLlev1YXDlfOR8R2j8cEOb9kRpiQQdmPCY6 Z9McDGTIAAy+2WEWzk79qRivXBtuMicgXqcnNH7FwUyP8GqRXGbjp7SkJ5sFUUn7dMst QmbftNSP2MsaOtNMxq94V3h2IgDKFF/qVrPIQ/bx7IqZbB9GXf1EDCo1yFdzNjk++h4x v7kte8kbkuLY3jbnm/t4NBpWbZy+Ma70F7S62M7pu0wRdFxcWd2q0OJv4albOfmefTIS rey0cx70chaqyM2FQZ2LPNbWsN8bTDMytNG87novJdrUWxDEc31BK/jp5ZLLUS4lkt5W 9KjQ== X-Gm-Message-State: AOJu0Yxr16cjrhAcQUGeDNE+68+8EA1hUM/t35tzvVHm1J0QSS0dIBZC CD4DNWLCoE6UXPsA2kF94ZGUHVKWD1hgLfme80hgEr5W+yAlHfmpmoAtpmLbPUnNxgqeg4bQ8Q2 x X-Google-Smtp-Source: AGHT+IHgtRjD5RCLtk3Yl4b9eyNROytBdYz7Avg2/6I45MAHXNHNYa95RVJ+QPbt9aavuqKSR1v7/Q== X-Received: by 2002:a05:6808:120e:b0:3e6:d0:febd with SMTP id 5614622812f47-3e79475d863mr16793373b6e.35.1731467794681; Tue, 12 Nov 2024 19:16:34 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:34 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 10/19] pseudo: Switch back to the master branch Date: Tue, 12 Nov 2024 19:16:03 -0800 Message-Id: <198ff9141f94c551d2a29f3a036c209e3e554a37.1731467662.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 ; Wed, 13 Nov 2024 03:16:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207083 From: Richard Purdie OE is the main user of pseudo and we've had the changes in the oe-core branch around long enough that we're going to run with them. Swicth back to directly using the master branch. Signed-off-by: Richard Purdie [Luca: re-add 'branch' parameter to fix "does not set any branch parameter" warning] Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index 00af809689..f40ad9f6f1 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb @@ -1,6 +1,6 @@ require pseudo.inc -SRC_URI = "git://git.yoctoproject.org/pseudo;branch=oe-core \ +SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master \ file://0001-configure-Prune-PIE-flags.patch \ file://glibc238.patch \ file://fallback-passwd \ From patchwork Wed Nov 13 03:16:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52385 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4ABCCD597CF for ; Wed, 13 Nov 2024 03:16:38 +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.web10.3472.1731467796853028854 for ; Tue, 12 Nov 2024 19:16:36 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=kqKHuSiT; 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-71e61b47c6cso5851105b3a.2 for ; Tue, 12 Nov 2024 19:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467796; x=1732072596; darn=lists.openembedded.org; 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=GcKWK77yU5IlBhowtt/LNjYNdVqBsNhoD5YVtkt4Lh0=; b=kqKHuSiTzxL9SVkc2xtt37GIn6GmHKdr4GyWUkOedrkLWX+Ze9FEf/MFfpJr+cGMcp uWah0go0Lsmg6Pq+xHe85xPOfiyVEwnZvCtathvbVoatNBqSuj+B1U4OcRiPgowas1rU qbAkAU6HDpl37dZ+bFflckxv9HibrOPOfgQMv1JGWURDK2bA9TTwlNqrinWBnKZ7NWmn DuTGBGj0qMzzSCnzqbPZQ0zrwppKI54g7UYsRUbKByQfpN8zdlMNrb+dbyssAYA4/Ene vYA81+k6v4U771t5NHRz7PLYeDUqMPRN4KgfZYgxS6incwDxtBs9VPQy//UrjTBzo886 DBYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467796; x=1732072596; 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=GcKWK77yU5IlBhowtt/LNjYNdVqBsNhoD5YVtkt4Lh0=; b=DcqANLRtNFarlhJR1Pt9HURxMrEHX2BnoRjGONRlwB0SMgqoY3U8kTBIYwNhQ8AxPq uq6vd2zy36eaJA8U6drsgOkVyEjf8nyrtt3dYyA2f6AF/ZrNrOMyvJkQ1lz/5jJqfc+Z UU4VwYuF4oriQ6ZZ2gjJ5dsabR1he/umKFfWI55wJTmHKwuxTDOvY2uefTJNeGLO1wuc wPkTlqBD0ACSSoSMJWyQCOcUMzXGF/RcDQWsmeUC4dvK78WjHbOUdY5QhRjSPGdvs9PD UvPX3W5uhAeTiX2OWAorFX5wpADCZiFILQVlEHwPJVcX3U+zAHxbz1LZ7NdsBxLCfa/N sj+g== X-Gm-Message-State: AOJu0YyJXuZeJven8F+XeP03+n+J7OyCpuriHuZ8O1s7ASK3lpfhJBAS bb7McFNUxZ2Y47bgYiblAE2atTpYs9hgG87k16NXGrAzZW1yiz1z43FJOr7cV2B/0XovvSHl3SD G X-Google-Smtp-Source: AGHT+IG2ssBuwfuEkpow5rnARXJicqZgtCdGtG5WYA+z7qRLFfUFiANcacDDRUF7Rym/SVbli2mf3Q== X-Received: by 2002:a05:6a20:748b:b0:1d9:c78f:4207 with SMTP id adf61e73a8af0-1dc2292c2a4mr25516916637.11.1731467796053; Tue, 12 Nov 2024 19:16:36 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:35 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 11/19] pseudo: Update to include logic fix Date: Tue, 12 Nov 2024 19:16:04 -0800 Message-Id: <9b06d2741191333c7b11c66e9ab5848f95cb4e42.1731467662.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 ; Wed, 13 Nov 2024 03:16:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207084 From: Richard Purdie The logic in the previous commit was reversed, update to fix it. Signed-off-by: Richard Purdie Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index f40ad9f6f1..d38c9d79c0 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb @@ -14,7 +14,7 @@ SRC_URI:append:class-nativesdk = " \ file://older-glibc-symbols.patch" SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" -SRCREV = "cc1f6167cb5065daba1462056e2dce8ff72aa855" +SRCREV = "9df045968d739ead0bebacce415d05269694de4e" S = "${WORKDIR}/git" PV = "1.9.0+git${SRCPV}" From patchwork Wed Nov 13 03:16:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52396 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D005D597CF for ; Wed, 13 Nov 2024 03:16:48 +0000 (UTC) Received: from mail-il1-f173.google.com (mail-il1-f173.google.com [209.85.166.173]) by mx.groups.io with SMTP id smtpd.web10.3473.1731467798430288179 for ; Tue, 12 Nov 2024 19:16:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=mlzlTIs+; spf=softfail (domain: sakoman.com, ip: 209.85.166.173, mailfrom: steve@sakoman.com) Received: by mail-il1-f173.google.com with SMTP id e9e14a558f8ab-3a3aeb19ea2so23848875ab.0 for ; Tue, 12 Nov 2024 19:16:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467797; x=1732072597; darn=lists.openembedded.org; 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=tcsKZcnERIAkKLnmrwqcI8YbevnvtkXQip36ax/XPQQ=; b=mlzlTIs+0wiCx+TG3hi2XmqO6FXR9MFFyYc40EZLWNkQPExDBCbOycJoZ5tUVodrV2 OVuqKb3bdRWPOGIu430i3t6JNsAXTyO9xOhTW9olawoVFmbEwDC8kpxmZOX4NwsDvEF3 AWYvntIH8nIgnaqXNY11Mg/rqngt/5WB4/zQhf3HPbL8FPpmM8W9x5iHtG9IjsHuJQ/u BWv7WHBkP/5pwmgZoXQipLzDGbub2aMt6ptMzGmZ9bGqZwoqaJyWghGGrP9ACWNePRvm mAjo4w+sf3jx5l6+xLN/eb55BZSFwYrENBKc/j03iP3f6FeEK7zB9YCpj97U1d6/a+9N qqTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467797; x=1732072597; 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=tcsKZcnERIAkKLnmrwqcI8YbevnvtkXQip36ax/XPQQ=; b=VFQiuOuM4HYpXytEOzXvUzDMR3U0blw7J93lyTzQM2JbkPbbjAThPuiQY5Txr7QWoU QRgKY1/bWO9k0tYKT0O3+ln8vZzmZSix7/VxJHqyRlNzJxEzA1vXBKjatRxSzxDJD8+X mNM72p9fkVQBlayRzgBkTAKvUcV6rIUthn9Qw+ZH7zE4tjD85aCLpmaRfdOhAcKGnh0G GxEI5+dAM1I+JZ+K2Lyyr/oOFkXzBIMqvwdbruK8J2axUGLemijyWz7oQDBx+IYx8/7I FWboTIVnoZpFCqdmq14I3NUumDSioXabbvew8tko283vC1Sf8FkoGbVABHnYsCKSvbbk 71QA== X-Gm-Message-State: AOJu0Yx9DFqwlMiw8dk9KJJcAzfebHrsD1U5TUU5v2XGg7MYEpoYKRwC vh9Q5NIYfXAlPIvNmEwk0NOl09PVfZarGnHhrX1hWS8rdSlBAXQKDVq2zFYKYQ6s7jY5RI1SU/E Z X-Google-Smtp-Source: AGHT+IH4hQB8eSe6hb4rSE3atlsLX3SInFzAH2+kIhx7Kv5QHWim955nZtN5JUltxnMlz5wyo4FLuQ== X-Received: by 2002:a05:6e02:1a44:b0:3a6:aade:e30f with SMTP id e9e14a558f8ab-3a6f198e7c5mr186440455ab.3.1731467797495; Tue, 12 Nov 2024 19:16:37 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:37 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 12/19] pseudo: Update to pull in fd leak fix Date: Tue, 12 Nov 2024 19:16:05 -0800 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 ; Wed, 13 Nov 2024 03:16:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207085 From: Alexandre Belloni Pull in: pseudo_util.c: Open file with O_CLOEXEC to avoid fd leak Use close-on-exec (O_CLOEXEC) flag when open log file to make sure its file descriptor is not leaked to parent process on fork/exec. Fixes [YOCTO #13311] Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index d38c9d79c0..134d941609 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb @@ -14,7 +14,7 @@ SRC_URI:append:class-nativesdk = " \ file://older-glibc-symbols.patch" SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" -SRCREV = "9df045968d739ead0bebacce415d05269694de4e" +SRCREV = "ec6151a2b057109b3f798f151a36690af582e166" S = "${WORKDIR}/git" PV = "1.9.0+git${SRCPV}" From patchwork Wed Nov 13 03:16:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52391 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 633ADD597D2 for ; Wed, 13 Nov 2024 03:16:48 +0000 (UTC) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mx.groups.io with SMTP id smtpd.web10.3474.1731467799778933772 for ; Tue, 12 Nov 2024 19:16:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=ltrmhRqG; spf=softfail (domain: sakoman.com, ip: 209.85.214.182, mailfrom: steve@sakoman.com) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-20c7edf2872so2348015ad.1 for ; Tue, 12 Nov 2024 19:16:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467799; x=1732072599; darn=lists.openembedded.org; 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=GpaiB6LK03zPHcNE/0DIz+ZIKNYrhCPnebwRFzzxcvg=; b=ltrmhRqGNWoCkLLlrT4zBxYA91YTUZixCQ3B670skYk4GD4AMAr52ToPQyIyxzaWXh hpsZh82WZizb78AS6YulwVvnTxEeprsrKVvWgIMG0Na0ERxJzafgLguWplUY6o41E+XN 9401B4T0UZZLslCran6S5z0fbEP7Vab5GhCt0pXT/w400SNKK/eB0n4LKRHVREbvamC9 3TojZFUx6RpDTD2W1GLugA1rGRmZJCyTBMyz/4NlshDVclNlfjXx3v0N7B8r+CGD8cB7 zLBXFubnInz05rqku7LWwGTc2imWctSwq7Mz+5SmG4t45SoUVI4OCp3sn0HqJJwykggn egtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467799; x=1732072599; 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=GpaiB6LK03zPHcNE/0DIz+ZIKNYrhCPnebwRFzzxcvg=; b=voZHbBh1Bv2ajrFAD5+XC42v1ZgML8AM/9f9vKxPjeIiDfXW8nsLNuFdJzH1xoKAu1 jPuY+5ymCLZhaqRyLZnL0KwasMdhsnFHS0jXomUGesM3GtOg8ERvbsqw8bIH+/yy9Z26 gxa6xFmowBn0qsv4+oPLltybHuqCBtjzsdT0MP3nFqKMV+rojmKkQ9vIpm+kincyKrm+ 7Aplm6ZUiL2dUlz8S26t+5mL4oySLXgRyf/zgnK5R1jPOXzr092k9TmN6GUiqATINI5a eFLWuLj2xKo+2FTQUgwutyGOSLEuqEbI3KZhWZ5+IrlAavYvY0BsXZhTWYGjJq/qp9gk ggTg== X-Gm-Message-State: AOJu0YxELuf+PCkOLYzmbA8xSK5FABG9/NuSvS0LTC7ous/eN7wLKzSS Mw3rx6xI7+w/q9biHil+H4RO3wUtmN0cYl+1R6h9vkL35WDxBU4hIAIZ3y+7eJQAT6HVQ3YbfdH x X-Google-Smtp-Source: AGHT+IHjKKPutfOGlbLVaUURBc8Ih6PoSdqP24eD1ybjtcSA/oTu1Y4iTktCrxeuFLZmiH5I3ZqEhA== X-Received: by 2002:a17:902:e807:b0:20a:fd4e:fef6 with SMTP id d9443c01a7336-2118217cb53mr288789005ad.8.1731467799027; Tue, 12 Nov 2024 19:16:39 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:38 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 13/19] pseudo: Update to pull in syncfs probe fix Date: Tue, 12 Nov 2024 19:16:06 -0800 Message-Id: <40a013f7134aec1d0e953ad4906944072cfb2ca1.1731467662.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 ; Wed, 13 Nov 2024 03:16:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207086 From: Richard Purdie Pulls in the changes: Eilís 'pidge' Ní Fhlannagáin (1): subports: Add _GNU_SOURCE for syncfs probe Richard Purdie (1): SECURITY.md: Add file Wu Zhenyu (1): pseudo.1: Fix a typo Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index 134d941609..067fb6b378 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb @@ -14,7 +14,7 @@ SRC_URI:append:class-nativesdk = " \ file://older-glibc-symbols.patch" SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" -SRCREV = "ec6151a2b057109b3f798f151a36690af582e166" +SRCREV = "a8453eea4d902bbb0e01c786f1cb4a178c3bbee3" S = "${WORKDIR}/git" PV = "1.9.0+git${SRCPV}" From patchwork Wed Nov 13 03:16:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52394 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71231D597DC for ; Wed, 13 Nov 2024 03:16:48 +0000 (UTC) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web10.3475.1731467801532945978 for ; Tue, 12 Nov 2024 19:16:41 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=sww57aCz; spf=softfail (domain: sakoman.com, ip: 209.85.210.176, mailfrom: steve@sakoman.com) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-72097a5ca74so5382312b3a.3 for ; Tue, 12 Nov 2024 19:16:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467801; x=1732072601; darn=lists.openembedded.org; 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=I3ceirSDV6ynp4tIgHK+mvky1ntA9Rwq3xKD4m5eHUA=; b=sww57aCzgfBkCnBj3jQYy4hl2GIqxgFIgqYYkqTLucQaxcpYOzSinh2jQ6PyB3E7oW 2jeYQm7RSMvaZH7Z4WYbVeJEIHZi2zJBdJs1qD4klg8hD0nrwvLNV0dcOL/txN2gLvzT UiyZ8uI++YyZkRs8eZP06Fxvs6+ELmlSqMzFhVIh72RFgELsJ30D2CU/p+S41kRLNPP6 CG9ky4M3qgug8iN4FyYeCNlPV842qov6ne7RslGiTkumHSL0q/ZLIbqLIPz9JTkwqDvp 9tgVXQJ+CMp99d5N+KGVE03gMr6n9X357O1vgqvMIFoZzHlAyMDA2ImJ1oN6I0nMtENQ OhHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467801; x=1732072601; 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=I3ceirSDV6ynp4tIgHK+mvky1ntA9Rwq3xKD4m5eHUA=; b=YqfJJUZwsU5JF3K+TRKtsy9KVHrylcBZzanBD7cJm3P78ZKsH/RjOWesifrtIXdRwW 5hG0fOgwVyFbz7zIhrC0XLcUjAPq6FrJuw6vtCBXeIeGNc3saWkNwqbRd+RefqL7HwiG KSEwxK1ZwFDV3vL7YWqxz/WNB+VHVwih/z9SS38sSjQ9abrThv7ahs3NujXixeWOLy8H 7nLw2huCJbzsQF3YsSA+y3t1oZO9Oz3rmGY5dNuKxgTdZ51jRlSO+x2fbC9+fparxVFO O39hscDFGSIbKOpBjiSEavhqGdGmOH7NOo92vNGA4t/pBwLj7Zrf4dUYvRp5ml8i5Ney cynQ== X-Gm-Message-State: AOJu0YzrPW493t7pjIP5WOeGokCJiU48wDhO+j+t7P3QAie9DNOPUXAP H7fckMYJSufEvgJ1ICA0bxsoTIK/I2JRVwYPdKuW6xwWMU6750vBSAfFfHU7VAkDL7ZIEFzpyg1 Q X-Google-Smtp-Source: AGHT+IEfavloVky3mSJtEVF83w0Dv9mRdEVO0P8mOfJ3Beok5rD93Nlccw0gir6D8Oi3pzj+8VPz/g== X-Received: by 2002:a05:6a20:430e:b0:1db:ef0d:95d9 with SMTP id adf61e73a8af0-1dc22b58803mr24339523637.31.1731467800788; Tue, 12 Nov 2024 19:16:40 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:40 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 14/19] pseudo: Update to pull in gcc14 fix and missing statvfs64 intercept Date: Tue, 12 Nov 2024 19:16:07 -0800 Message-Id: <1b181d1fcef45f969ef9147912995d80dbe87d87.1731467662.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 ; Wed, 13 Nov 2024 03:16:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207087 From: Richard Purdie rpm 4.19 now builds with LFS64 support enabled by default, so it calls statvfs64() to get the space available on the filesystem it is installing packages into. This is not getting caught by pseudo, so rpm is checking the host's root filesystem, rather than the filesystem where the build is happening. Merge in that fix and a gcc14 fix. Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/recipes-devtools/pseudo/files/glibc238.patch | 13 ------------- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/meta/recipes-devtools/pseudo/files/glibc238.patch b/meta/recipes-devtools/pseudo/files/glibc238.patch index 76ca8c11eb..da4b8caee3 100644 --- a/meta/recipes-devtools/pseudo/files/glibc238.patch +++ b/meta/recipes-devtools/pseudo/files/glibc238.patch @@ -44,19 +44,6 @@ Index: git/pseudo_util.c #include #include -Index: git/pseudolog.c -=================================================================== ---- git.orig/pseudolog.c -+++ git/pseudolog.c -@@ -8,7 +8,7 @@ - */ - /* We need _XOPEN_SOURCE for strptime(), but if we define that, - * we then don't get S_IFSOCK... _GNU_SOURCE turns on everything. */ --#define _GNU_SOURCE -+#define _DEFAULT_SOURCE - - #include - #include Index: git/pseudo_client.c =================================================================== --- git.orig/pseudo_client.c diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index 067fb6b378..ad7067a08f 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb @@ -14,7 +14,7 @@ SRC_URI:append:class-nativesdk = " \ file://older-glibc-symbols.patch" SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" -SRCREV = "a8453eea4d902bbb0e01c786f1cb4a178c3bbee3" +SRCREV = "516a0a3c4b46f046895d27bfa019d685fe462dfa" S = "${WORKDIR}/git" PV = "1.9.0+git${SRCPV}" From patchwork Wed Nov 13 03:16:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52393 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 792CAD597DF for ; Wed, 13 Nov 2024 03:16:48 +0000 (UTC) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mx.groups.io with SMTP id smtpd.web10.3477.1731467803272202271 for ; Tue, 12 Nov 2024 19:16:43 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=zZUj3wJ4; spf=softfail (domain: sakoman.com, ip: 209.85.215.169, mailfrom: steve@sakoman.com) Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-7eae96e6624so4379265a12.2 for ; Tue, 12 Nov 2024 19:16:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467802; x=1732072602; darn=lists.openembedded.org; 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=f1t8mGrfQgkJGQEsLOfqEGR92vumT4CpY2uXmWOtpf8=; b=zZUj3wJ4cbAekoWbo0H4jO7rzEA7y+rID8Rs+PjmTEpKZHk/ZuuoF6JDM7TAQrQmpz PLxsTHNbisQ2ZrwaxxbkeXxtLgfpMHLwtq9Hx7vh5aDDw65sGYi/IUHuY+rQgJgCv9no LNz82iybOmfdd0FgP+n1bDPxCMS0XvTKtKmdi02d8m6RSofqv5qqYfsSYL5sBcXuodHS ntq2/SXryA63x1JhWdx5dZy/2VEHr32b3YgnYd8TYNz8TLZXZ7rZ7r/oLaIUY3oQXYG6 w5w1EiR9ImrY2Ht5vHxDKai3XyB2XxxGSO/rfYirziY+HrBl7P80SMm+G3iPOHpIXazV 1s1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467802; x=1732072602; 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=f1t8mGrfQgkJGQEsLOfqEGR92vumT4CpY2uXmWOtpf8=; b=QV+p0oEGY0n1BJVthc8O93u+Rz55Utz558ZCtz9oG3n2JFq3vuGRlEe1TnJ2pusFEs XIKpqL+yvggVJS5UfxpyG6czbdVPRdMv80MkqksC3IMbXKfGLtkd3ejF5KP0cHc6Qukd 7kAZoENlP9SA6PpuBc++XEo9yRiVt7ySFAakWYwPWECmssyTWfb5xBvR8p6UvfiLDMa1 PEl7a8VpRd4BDFN61x9lyLsqliGQIzWhVRRMlZ7VpMlicvzREglPsoaVc1YcdxCYsKbM dMpEcAfF4xlTVQy3Yb6ygEqRiZh+b/pZC0fWcc5aZNvCHThpOzunB7ZY2KVBB0SVPxsc 1EaA== X-Gm-Message-State: AOJu0YwXqKffCsWjK2nH14huCazkiACsv4QRx9UPgHrlOafVr605NSfz IwYV7DRFvUkpK3xgTGRUMkY2HG+NM7Lx1ASLQr/5Hg80wLOp8cph0oVpHmdajRV6vlburFvZvfB v X-Google-Smtp-Source: AGHT+IHYE3OFvgjgbI6XZnYoNMvGICx4C0xqqgWAS9d95MdnHGJPWlCHNK5wmt+qEx/K+Y0jIhwUrQ== X-Received: by 2002:a05:6a21:9983:b0:1db:efca:7bc9 with SMTP id adf61e73a8af0-1dc22a391e5mr29286965637.25.1731467802450; Tue, 12 Nov 2024 19:16:42 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:42 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 15/19] pseudo: Update to pull in fchmodat fix Date: Tue, 12 Nov 2024 19:16:08 -0800 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 ; Wed, 13 Nov 2024 03:16:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207088 From: Richard Purdie This is needed to work with coreutils 9.5. Also contains some README tweaks. Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index ad7067a08f..5a7ccb5761 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb @@ -14,7 +14,7 @@ SRC_URI:append:class-nativesdk = " \ file://older-glibc-symbols.patch" SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" -SRCREV = "516a0a3c4b46f046895d27bfa019d685fe462dfa" +SRCREV = "0d292df61aeb886ae8ca33d9edc3b6d0ff5c0f0f" S = "${WORKDIR}/git" PV = "1.9.0+git${SRCPV}" From patchwork Wed Nov 13 03:16:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52397 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8486FD42B9E for ; Wed, 13 Nov 2024 03:16:48 +0000 (UTC) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.web11.3428.1731467804736824171 for ; Tue, 12 Nov 2024 19:16:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=eYs9LL/y; spf=softfail (domain: sakoman.com, ip: 209.85.210.182, mailfrom: steve@sakoman.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-723f37dd76cso6650952b3a.0 for ; Tue, 12 Nov 2024 19:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467804; x=1732072604; darn=lists.openembedded.org; 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=ecaKFYDLo9b1JJoi2t90ngt9ICJBbeGXc7G+uW+dtn4=; b=eYs9LL/ymh3iez3JyYXYmworjFzBBd99NMd9b1L8M+cTJX3dtJ/0BSDj8skdpteJPP obX/l6HLcApllHBPeeK9gjNmdE34WXX1DEP/nSonxp/8hAtJlqcIGrlmvvJcPEg0uJgO IxeGiQLgxY1TwK7f8/3ASRvsH9Cm9dRES3nFTFq9N6yhKKDNgfLRltApzWA0aTzSgDS8 6+YHM6kKVZUHN4O+fqGaLJo5gyoxsmZ1lGjLjOhc5ORcTIutwOPL113lFKO9rj724GJg cMInGz4Eyh/bpd0WmEFWIEAsHcioFrv1aorj7+oKI3GFPOVNiMQZDjMq8zbdNspOR1yk Z79A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467804; x=1732072604; 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=ecaKFYDLo9b1JJoi2t90ngt9ICJBbeGXc7G+uW+dtn4=; b=Adgl2GHb1RsqeaaOkeNDHhlzcPhoMV//LJPhzbr3EasxnZ711uvRSE4BbRbrNBUUC6 hrmvHPYcpzoS1Iulc3ousABdoMfCpPZLMDP1ZiTqfGcDtQVfA9bHFXSd9sAZKIjt0aWl KSJIxyoAegF6Xe9SE9oLYVpRu/zg9ppGccWT2VutGTQ8GjkW+rUkn6CwLpHKjFRgSc3t 5P/koj4hmClgxn+SgsBJYDJJRemNjaRxNCurfD3ayV5v2nhj503w3U22AOoEZsqvI9Yl 4xe811LPPmdJUidrFICheVxyf5hEVvznJNd1V2aim915buyvqIy0dmtZpeIJ3YNs0CnY PyAw== X-Gm-Message-State: AOJu0YzQzX7TvT1wfibwCb0sRkvYlwhWATeT59EjPNF1i5IkmmyVy7Wo ps6iAhGAvuTO896shr+MxbjtktE8o0OvsViAwS5XXycfZG8LLSKLyTjbBQwYg4Eu2xFe1KWVIN+ P X-Google-Smtp-Source: AGHT+IGNoE3wDf3LeCd8Nl9tEyb7QUSSsAMzdMZdhh2OlsZ3xSPqVkeIhTkaH1XITW15SLzP29QwgA== X-Received: by 2002:a05:6a21:9993:b0:1db:e82f:2a63 with SMTP id adf61e73a8af0-1dc70338e88mr2381364637.3.1731467803982; Tue, 12 Nov 2024 19:16:43 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:43 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 16/19] pseudo: Update to pull in python 3.12+ fix Date: Tue, 12 Nov 2024 19:16:09 -0800 Message-Id: <82526703823e252070dbf689e6f82a12ceb3b035.1731467662.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 ; Wed, 13 Nov 2024 03:16:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207089 From: Richard Purdie Pull in a fix which avoids syntax warnings with python 3.12. Signed-off-by: Richard Purdie Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index 5a7ccb5761..50c3b59975 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb @@ -14,7 +14,7 @@ SRC_URI:append:class-nativesdk = " \ file://older-glibc-symbols.patch" SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" -SRCREV = "0d292df61aeb886ae8ca33d9edc3b6d0ff5c0f0f" +SRCREV = "e11ae91da7d0711f5e33ea9dfbf1875dde3c1734" S = "${WORKDIR}/git" PV = "1.9.0+git${SRCPV}" From patchwork Wed Nov 13 03:16:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52392 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C05BD597DB for ; Wed, 13 Nov 2024 03:16:48 +0000 (UTC) Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) by mx.groups.io with SMTP id smtpd.web10.3478.1731467807425478725 for ; Tue, 12 Nov 2024 19:16:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=VQhHqxRs; spf=softfail (domain: sakoman.com, ip: 209.85.210.53, mailfrom: steve@sakoman.com) Received: by mail-ot1-f53.google.com with SMTP id 46e09a7af769-7181caa08a3so3602379a34.0 for ; Tue, 12 Nov 2024 19:16:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467806; x=1732072606; darn=lists.openembedded.org; 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=usguIwgmuvs9D0QCZdRPiXh/b/rh9zwLwi1v7rl6A6I=; b=VQhHqxRsvV+WOOJAwIaUCONdAigasKwD6DOkWTTiX0qA9vQhU6OR3UTEXKixhUBzCp nsHundS2+iedg+qiDxJmmHJjA0qbneCDz44meD+jKJmml8QQ+LAuoGG0tYnEgWWTr5/e cTFfTXfkauAO2bE4upW0W130IL2X4uIVMK/IxaGpJsRWUcEqhppfZzw50jBxQlI9phoM cjOQBkNz4qYLImFKUR3FeKPSmqi0KF90z36lBfR+fq0j8APCRgRrMrBMtdz/tvM2rGZf Ryc3kjabux3QcvQeqvi6th7mv8eelRxK1/r4rK2sdTC2YM7NPrrjR+OPVowZaNSJJ5oB okyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467806; x=1732072606; 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=usguIwgmuvs9D0QCZdRPiXh/b/rh9zwLwi1v7rl6A6I=; b=mJ7KFIwNyeF0cqDid5u57WY5NaeQx35Ni9/vrXWFCW4mat4jk9jEZdrBSxtClLQRLx 3DYcj7kemGOEfPi8h3hrhD/NcR4bFFUaLO4proMr2Is1gD5vL/AeAoyW78fBv7KYekhK swOou2gFuHT/y5EMsr7c9iga/S9eJWgGeIfDV7gprukhVVknYQ6cbdl1GT2/mdFBfTEH BLDKz80GY8uCrVwgxwTRo3XgmT9WxUAULcS0j8lbgoDWij4WgLhmJ8b2Qgh56OA9txaW MO/k79hQ+T5iaOQ0/vRLJK/8sbLC1XGbTX2qG8Sw3Gs6bDdw3/5tshci/VMs0eZSi/QC mPkg== X-Gm-Message-State: AOJu0YyPUDgXXfL20l0OysELyB20Yc8kjKl+A22DlH7zOr6AdDoPlkTn VuYQFX6zvgwVYj29kKyDudrx2HcNKFr18O48BwboPA1DNBtLfOUCxkS2rPoZxVHSrCDAFAMz4HW d X-Google-Smtp-Source: AGHT+IEigs6HStaUZeqUyfrefMBSgeNNBCKeq17BhNZ700ME7Pe4uW8+NkgM4Bf29X/zmEGJzD5PDA== X-Received: by 2002:a05:6830:6e99:b0:718:c7f:5cbd with SMTP id 46e09a7af769-71a1c26d439mr20364342a34.28.1731467805671; Tue, 12 Nov 2024 19:16:45 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:45 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 17/19] pseudo: Fix to work with glibc 2.40 Date: Tue, 12 Nov 2024 19:16:10 -0800 Message-Id: <63d7c11b46119f0c97d08f2fa837c02e633ab75f.1731467662.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 ; Wed, 13 Nov 2024 03:16:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207090 From: Richard Purdie glibc 2.40 renames some internal header variables. Update our hack to work with the new version. These kinds of problems illustrate we need to address the issue properly. Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/recipes-devtools/pseudo/files/glibc238.patch | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/pseudo/files/glibc238.patch b/meta/recipes-devtools/pseudo/files/glibc238.patch index da4b8caee3..dfb5c283f6 100644 --- a/meta/recipes-devtools/pseudo/files/glibc238.patch +++ b/meta/recipes-devtools/pseudo/files/glibc238.patch @@ -9,7 +9,7 @@ Index: git/pseudo_wrappers.c =================================================================== --- git.orig/pseudo_wrappers.c +++ git/pseudo_wrappers.c -@@ -6,6 +6,15 @@ +@@ -6,6 +6,18 @@ * SPDX-License-Identifier: LGPL-2.1-only * */ @@ -21,6 +21,9 @@ Index: git/pseudo_wrappers.c +#undef __GLIBC_USE_ISOC2X +#undef __GLIBC_USE_C2X_STRTOL +#define __GLIBC_USE_C2X_STRTOL 0 ++#undef __GLIBC_USE_ISOC23 ++#undef __GLIBC_USE_C23_STRTOL ++#define __GLIBC_USE_C23_STRTOL 0 + #include #include @@ -29,7 +32,7 @@ Index: git/pseudo_util.c =================================================================== --- git.orig/pseudo_util.c +++ git/pseudo_util.c -@@ -8,6 +8,14 @@ +@@ -8,6 +8,17 @@ */ /* we need access to RTLD_NEXT for a horrible workaround */ #define _GNU_SOURCE @@ -41,6 +44,9 @@ Index: git/pseudo_util.c +#undef __GLIBC_USE_ISOC2X +#undef __GLIBC_USE_C2X_STRTOL +#define __GLIBC_USE_C2X_STRTOL 0 ++#undef __GLIBC_USE_ISOC23 ++#undef __GLIBC_USE_C23_STRTOL ++#define __GLIBC_USE_C23_STRTOL 0 #include #include From patchwork Wed Nov 13 03:16:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52395 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9207CD42BB6 for ; Wed, 13 Nov 2024 03:16:48 +0000 (UTC) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.web11.3430.1731467808118365231 for ; Tue, 12 Nov 2024 19:16:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=KRGXRC2/; spf=softfail (domain: sakoman.com, ip: 209.85.210.178, mailfrom: steve@sakoman.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-72458c0e0d5so224157b3a.1 for ; Tue, 12 Nov 2024 19:16:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467807; x=1732072607; darn=lists.openembedded.org; 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=MBdkm++QnTM5pdRJPnlPelnn1hF0RJ54OGWFCRId8aU=; b=KRGXRC2/ZM1KLpmn/8zTQl71jf2kz3CzITBhBA/i66WhLv7omlUCJfqUJ3YyFVor5v DWlMx8m4G/DSnespYR+4W2myXEZsfBYyBtonZodAesGXFdVp7gGWwm5mcXS9aJX1oDm4 ReKZwye38ZU31oyenelD1f4smRMv3i9kQDJ92ndttJNuRFXPbL+UR6FauQOOEtolfex4 gdHhgYxxIiGSilfU6gl7Xg6s40Mmb96m0nGSgMDUBvMDXfHHIwst1+3HZ6t6G+6rAnGi hF3hKfHtSjdcqqMwBc0FXWIxHFt/f4Qp8CHwpR5zLSyapxVQSXtcJZ0KYNwHZlYS9m5e wVEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467807; x=1732072607; 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=MBdkm++QnTM5pdRJPnlPelnn1hF0RJ54OGWFCRId8aU=; b=pFSIAGde+VU+DECoCqC73RBex8xKniIyVJhUCTDJAjwUSbgRwuigmVvXfDEicR+yPU W9q6+n5mQc/lOboh2OQKvWwhD/JdpVL94h8/nuxJK6KQjAdIUn4b4yQ6xWCy+LOWFJRg u3xKg6q1Z8QwfHaNC7ulBWmtX12tbIooik/IT06rcVx2IMfWh+2W36ZTuLAHZ06K9keg fHZmG2EE7X1JDEnw8Ow5im+hwDe0uxqdjGa2ycAmXh+RgzrI+BgGgOI+zMXeENXGMFY2 yU8DAUsMUqT2qQPB627iAEiIALkcPwsSkhOA500IYm+V7dUV1UynpqcPxHcany1ZUOcs J04g== X-Gm-Message-State: AOJu0YzF3KVvulQydnXNlefW9oiSKuR7GdrjFrIV0qezkD7XpPREnnzN uHsxrfFpK61rL3bQNiPNPxsbyQId17Akk9cPeHZZVJEYFXNjSYPp5PD66SKFazt3ke9xODVgVyI n X-Google-Smtp-Source: AGHT+IF3kKYTxMAhAk6J/GsVIFwwW5/1kyPRdxGTZSXH2KSJmB/yVu9D2XUZkKmPucBxwlR+CIun8g== X-Received: by 2002:a05:6a20:430a:b0:1db:d6b1:c225 with SMTP id adf61e73a8af0-1dc22ee9bbfmr29583804637.0.1731467807334; Tue, 12 Nov 2024 19:16:47 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:47 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 18/19] pseudo: Update to include open symlink handling bugfix Date: Tue, 12 Nov 2024 19:16:11 -0800 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 ; Wed, 13 Nov 2024 03:16:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207091 From: Richard Purdie Update to a new revision which includes "Bugfix for Linux open(O_CREAT|O_EXCL)" Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index 50c3b59975..b390ca7db9 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb @@ -14,7 +14,7 @@ SRC_URI:append:class-nativesdk = " \ file://older-glibc-symbols.patch" SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" -SRCREV = "e11ae91da7d0711f5e33ea9dfbf1875dde3c1734" +SRCREV = "374089f2ed83da4d0d4e58df067142ff99c7eb12" S = "${WORKDIR}/git" PV = "1.9.0+git${SRCPV}" From patchwork Wed Nov 13 03:16:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52398 X-Patchwork-Delegate: steve@sakoman.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 871F4D597DC for ; Wed, 13 Nov 2024 03:16:58 +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.3432.1731467809497396171 for ; Tue, 12 Nov 2024 19:16:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=EhBcOwtv; 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-720be27db27so5392629b3a.2 for ; Tue, 12 Nov 2024 19:16:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731467809; x=1732072609; darn=lists.openembedded.org; 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=z3l92nJidW3GXLTCDf+6PaAudyjsser0EOV30kxSKe0=; b=EhBcOwtvhJe76R7chgdENO6V3AEZVdFVJliQ5o4cdtqBvNxG2N6iZ1XNhQZdmNM5b0 yEAagkNATztpKGEYoE4KJhI8NI3U9PdJ9pmOFVWehvae3rMl+Cf5XGPuYVK2gqW7cn5a nvB2Y8e6S3xmIKyq+sp6bbgF7Rx8I7oJH26/VcGdyqusATqe+tz9QqGqJ2/3S0grcFG8 VtDI1SDW1HQUnHS5KaZ10I/k/mF1YpXNZl5F7NlTkGZGaRGGcEirfiQLOXYmqfQHn5ea OrUgfB8yp/Y5MF9EuUHiwtVP+vA4Rij6ayndFIBdRXz32K7YPCHh4kLXeqe24Z6whP8x U88w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731467809; x=1732072609; 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=z3l92nJidW3GXLTCDf+6PaAudyjsser0EOV30kxSKe0=; b=fWUq0LwCvd6Pqpj34WPRfjdVa9H72nnpfKNDlCPKzeXYQo0IP3uAmXQcBVtVIkTx/a 6irVrXL0R1YYTmmTs/4KDqWqf0wu70gojaCMs7CYeHwvp2/njynlNDPIc8nsDus0ctgM UoPZ2O8oLpLK0xIG8iZWsgZA+0GoWqH0erS2Z+YZDCe0/p26kN8P2QJm1G5HzCCeolh5 6HwUSAx95B3iiJXtMpTMJAzmRo2zJzik37wAVj7ZSK/iUsRKOu5nu7HX/FV7ibS9eMbS G1VF7Mf6p+aBhww/Uk/SV7DaGC2A16ZNC3zfUYJJxc9SaYLzT4pnyUVRklq4WOD8e+hv k2Cg== X-Gm-Message-State: AOJu0YxPwYPU8xd7oe5f5N4UQhtrZPUnf991WSzAhufFY1VrjJfuqT3V 4DiZV2uoRaa69v1povDKtxHcWMdQy3c/6mNpGeUntXvJFYdF0bc7hPXYC/VmP+FMmV/rE+J05OF d X-Google-Smtp-Source: AGHT+IFLmqwDVjcgWQ9qkMW2gQULA1PqBsegCnXZ82BK0745s6heBuV4Ks1ftYbVaVszcs900RphCw== X-Received: by 2002:a05:6a21:8cca:b0:1db:ff57:562b with SMTP id adf61e73a8af0-1dc5f982de0mr7284924637.31.1731467808814; Tue, 12 Nov 2024 19:16:48 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7f41f64616csm9660213a12.64.2024.11.12.19.16.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 19:16:48 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 19/19] pseudo: Fix envp bug and add posix_spawn wrapper Date: Tue, 12 Nov 2024 19:16:12 -0800 Message-Id: <89b64526ac2bf0609a18c4d44b4835028f686978.1731467662.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 ; Wed, 13 Nov 2024 03:16:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207092 From: Richard Purdie Fix pseudo with python 3.13 by adding a wrapper for posix_spawn and fixing a NULL pointer dereference in envp handling it uncovered. This fixes issues on Fedora 41. Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/recipes-devtools/pseudo/pseudo_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index b390ca7db9..405d2340ae 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb @@ -14,7 +14,7 @@ SRC_URI:append:class-nativesdk = " \ file://older-glibc-symbols.patch" SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" -SRCREV = "374089f2ed83da4d0d4e58df067142ff99c7eb12" +SRCREV = "28dcefb809ce95db997811b5662f0b893b9923e0" S = "${WORKDIR}/git" PV = "1.9.0+git${SRCPV}"