From patchwork Wed Nov 13 20:42:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52437 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 23D97D637B7 for ; Wed, 13 Nov 2024 20:42:34 +0000 (UTC) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mx.groups.io with SMTP id smtpd.web10.22178.1731530553048967005 for ; Wed, 13 Nov 2024 12:42:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=ktacy7gI; spf=softfail (domain: sakoman.com, ip: 209.85.214.177, mailfrom: steve@sakoman.com) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-20c7ee8fe6bso73229515ad.2 for ; Wed, 13 Nov 2024 12:42:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731530551; x=1732135351; 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=tF+toVNy2BNfzg7bwjGcNl4sMjZvIkS36Q0bB6GHxxg=; b=ktacy7gIjYFGQTBvm4XEzD+VjjEam4h119JPdaf3k17uSuJTTFyOOPh2SFuEHSl58F qGLOpcEjnbyuOQVQoMkZhFAmshF0r8rIoo7SGOlF2ARFKr+/AEvTsMsJibfUxoQtV6RB 9PllYcav+dxsot4nSt8TxO9bC7SY3d5t/l9lr3PPOUJV20mqm/D+PSPx+XYJ+/fZpM0S Du8VlT4XzSnRbYKRkzWwbXI1T0Q5bAX+6ALy2QkuvCxmc5NHCSXQocDldRBN09NNbplP 6a+0Jt9QOwxwfSK5+L8tIjYWfLVKSi+Csil20b9g/1VafR/lebagjaWr5CcBcGexA4P0 N/FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731530551; x=1732135351; 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=tF+toVNy2BNfzg7bwjGcNl4sMjZvIkS36Q0bB6GHxxg=; b=bXZCvo9lNLDoIzFDqitsooRjI0G/jA/SwI7z5Uv3kIwDLLQi69s1cv1M7u8nKa0h8S FS1u2DNetYLWXb+IBZNNVs3/w4sZ0EZTRIY/YBlZ2IYpZBA8H3YAKFOTOwWZ27xo5AhS BStxSsEV10StnBfcdn/7rLr1/TtR6QrcN0Y1PbwgqIvRFxZi2/V1MGfbO6VFgTWb5j/9 bqdnnxc1nsAmEJJj7F//uuPjLY0kwj0Oy7ZrDe2gllw5jZo6lFyBgW6EsvN1OFRQYtYW IM6p/3SAdKkfrmsXImzAxHfsFMr2EiaNV+HLqIpBiH9Uam6wCTUKsVkXWo13H9gLKTLe ladw== X-Gm-Message-State: AOJu0Yyo63GTWbUiKgBCD8S6hYLOaqtSakfieTIPmfhMh6EOwQZ64a/x nZ8+pNB/7jNS3qEy0sOsuXDXlDbrOgKC3+6J0HROIahlE52BjLLvQVjJe+4KuGOV2Ex3EbU3E/V E X-Google-Smtp-Source: AGHT+IGv/y6G1DP/dr3KoSBetexg14zVPRXd2TpQ6pJtUxS9qJT/oiabYYPzSii8MEVDjiDnp4BJhQ== X-Received: by 2002:a17:903:234c:b0:20b:6188:fc5e with SMTP id d9443c01a7336-21183d66a42mr302908945ad.28.1731530551396; Wed, 13 Nov 2024 12:42:31 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177e84ee2sm114545595ad.274.2024.11.13.12.42.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2024 12:42:31 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 1/9] dropbear: backport patch for CVE-2023-48795 Date: Wed, 13 Nov 2024 12:42:16 -0800 Message-Id: <2ab0b4212aee85c77c3667ccfaedbe9540e78e3f.1731530398.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 20:42:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207125 From: Peter Marko Documentation for this patch is under https://github.com/mkj/dropbear/commit/66bc1fcdee594c6cb1139df0ef8a6c9c5fc3fde3 Signed-off-by: Peter Marko Signed-off-by: Steve Sakoman --- .../dropbear/dropbear/CVE-2023-48795.patch | 234 ++++++++++++++++++ .../recipes-core/dropbear/dropbear_2022.83.bb | 1 + 2 files changed, 235 insertions(+) create mode 100644 meta/recipes-core/dropbear/dropbear/CVE-2023-48795.patch diff --git a/meta/recipes-core/dropbear/dropbear/CVE-2023-48795.patch b/meta/recipes-core/dropbear/dropbear/CVE-2023-48795.patch new file mode 100644 index 0000000000..64b0405473 --- /dev/null +++ b/meta/recipes-core/dropbear/dropbear/CVE-2023-48795.patch @@ -0,0 +1,234 @@ +From 6e43be5c7b99dbee49dc72b6f989f29fdd7e9356 Mon Sep 17 00:00:00 2001 +From: Matt Johnston +Date: Mon, 20 Nov 2023 14:02:47 +0800 +Subject: [PATCH] Implement Strict KEX mode + +As specified by OpenSSH with kex-strict-c-v00@openssh.com and +kex-strict-s-v00@openssh.com. + +CVE: CVE-2023-48795 +Upstream-Status: Backport [https://github.com/mkj/dropbear/commit/6e43be5c7b99dbee49dc72b6f989f29fdd7e9356] + +Signed-off-by: Peter Marko +--- + cli-session.c | 11 +++++++++++ + common-algo.c | 6 ++++++ + common-kex.c | 26 +++++++++++++++++++++++++- + kex.h | 3 +++ + process-packet.c | 34 +++++++++++++++++++--------------- + ssh.h | 4 ++++ + svr-session.c | 3 +++ + 7 files changed, 71 insertions(+), 16 deletions(-) + +diff --git a/cli-session.c b/cli-session.c +index 5981b24..d261c8f 100644 +--- a/cli-session.c ++++ b/cli-session.c +@@ -46,6 +46,7 @@ static void cli_finished(void) ATTRIB_NORETURN; + static void recv_msg_service_accept(void); + static void cli_session_cleanup(void); + static void recv_msg_global_request_cli(void); ++static void cli_algos_initialise(void); + + struct clientsession cli_ses; /* GLOBAL */ + +@@ -117,6 +118,7 @@ void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection + } + + chaninitialise(cli_chantypes); ++ cli_algos_initialise(); + + /* Set up cli_ses vars */ + cli_session_init(proxy_cmd_pid); +@@ -487,3 +489,12 @@ void cli_dropbear_log(int priority, const char* format, va_list param) { + fflush(stderr); + } + ++static void cli_algos_initialise(void) { ++ algo_type *algo; ++ for (algo = sshkex; algo->name; algo++) { ++ if (strcmp(algo->name, SSH_STRICT_KEX_S) == 0) { ++ algo->usable = 0; ++ } ++ } ++} ++ +diff --git a/common-algo.c b/common-algo.c +index 378f0ca..f9d46eb 100644 +--- a/common-algo.c ++++ b/common-algo.c +@@ -307,6 +307,12 @@ algo_type sshkex[] = { + /* Set unusable by svr_algos_initialise() */ + {SSH_EXT_INFO_C, 0, NULL, 1, NULL}, + #endif ++#endif ++#if DROPBEAR_CLIENT ++ {SSH_STRICT_KEX_C, 0, NULL, 1, NULL}, ++#endif ++#if DROPBEAR_SERVER ++ {SSH_STRICT_KEX_S, 0, NULL, 1, NULL}, + #endif + {NULL, 0, NULL, 0, NULL} + }; +diff --git a/common-kex.c b/common-kex.c +index ac88442..8e33b12 100644 +--- a/common-kex.c ++++ b/common-kex.c +@@ -183,6 +183,10 @@ void send_msg_newkeys() { + gen_new_keys(); + switch_keys(); + ++ if (ses.kexstate.strict_kex) { ++ ses.transseq = 0; ++ } ++ + TRACE(("leave send_msg_newkeys")) + } + +@@ -193,7 +197,11 @@ void recv_msg_newkeys() { + + ses.kexstate.recvnewkeys = 1; + switch_keys(); +- ++ ++ if (ses.kexstate.strict_kex) { ++ ses.recvseq = 0; ++ } ++ + TRACE(("leave recv_msg_newkeys")) + } + +@@ -550,6 +558,10 @@ void recv_msg_kexinit() { + + ses.kexstate.recvkexinit = 1; + ++ if (ses.kexstate.strict_kex && !ses.kexstate.donefirstkex && ses.recvseq != 1) { ++ dropbear_exit("First packet wasn't kexinit"); ++ } ++ + TRACE(("leave recv_msg_kexinit")) + } + +@@ -859,6 +871,18 @@ static void read_kex_algos() { + } + #endif + ++ if (!ses.kexstate.donefirstkex) { ++ const char* strict_name; ++ if (IS_DROPBEAR_CLIENT) { ++ strict_name = SSH_STRICT_KEX_S; ++ } else { ++ strict_name = SSH_STRICT_KEX_C; ++ } ++ if (buf_has_algo(ses.payload, strict_name) == DROPBEAR_SUCCESS) { ++ ses.kexstate.strict_kex = 1; ++ } ++ } ++ + algo = buf_match_algo(ses.payload, sshkex, kexguess2, &goodguess); + allgood &= goodguess; + if (algo == NULL || algo->data == NULL) { +diff --git a/kex.h b/kex.h +index 77cf21a..7fcc3c2 100644 +--- a/kex.h ++++ b/kex.h +@@ -83,6 +83,9 @@ struct KEXState { + + unsigned our_first_follows_matches : 1; + ++ /* Boolean indicating that strict kex mode is in use */ ++ unsigned int strict_kex; ++ + time_t lastkextime; /* time of the last kex */ + unsigned int datatrans; /* data transmitted since last kex */ + unsigned int datarecv; /* data received since last kex */ +diff --git a/process-packet.c b/process-packet.c +index 9454160..133a152 100644 +--- a/process-packet.c ++++ b/process-packet.c +@@ -44,6 +44,7 @@ void process_packet() { + + unsigned char type; + unsigned int i; ++ unsigned int first_strict_kex = ses.kexstate.strict_kex && !ses.kexstate.donefirstkex; + time_t now; + + TRACE2(("enter process_packet")) +@@ -54,22 +55,24 @@ void process_packet() { + now = monotonic_now(); + ses.last_packet_time_keepalive_recv = now; + +- /* These packets we can receive at any time */ +- switch(type) { + +- case SSH_MSG_IGNORE: +- goto out; +- case SSH_MSG_DEBUG: +- goto out; ++ if (type == SSH_MSG_DISCONNECT) { ++ /* Allowed at any time */ ++ dropbear_close("Disconnect received"); ++ } + +- case SSH_MSG_UNIMPLEMENTED: +- /* debugging XXX */ +- TRACE(("SSH_MSG_UNIMPLEMENTED")) +- goto out; +- +- case SSH_MSG_DISCONNECT: +- /* TODO cleanup? */ +- dropbear_close("Disconnect received"); ++ /* These packets may be received at any time, ++ except during first kex with strict kex */ ++ if (!first_strict_kex) { ++ switch(type) { ++ case SSH_MSG_IGNORE: ++ goto out; ++ case SSH_MSG_DEBUG: ++ goto out; ++ case SSH_MSG_UNIMPLEMENTED: ++ TRACE(("SSH_MSG_UNIMPLEMENTED")) ++ goto out; ++ } + } + + /* Ignore these packet types so that keepalives don't interfere with +@@ -98,7 +101,8 @@ void process_packet() { + if (type >= 1 && type <= 49 + && type != SSH_MSG_SERVICE_REQUEST + && type != SSH_MSG_SERVICE_ACCEPT +- && type != SSH_MSG_KEXINIT) ++ && type != SSH_MSG_KEXINIT ++ && !first_strict_kex) + { + TRACE(("unknown allowed packet during kexinit")) + recv_unimplemented(); +diff --git a/ssh.h b/ssh.h +index 1b4fec6..ef3efdc 100644 +--- a/ssh.h ++++ b/ssh.h +@@ -100,6 +100,10 @@ + #define SSH_EXT_INFO_C "ext-info-c" + #define SSH_SERVER_SIG_ALGS "server-sig-algs" + ++/* OpenSSH strict KEX feature */ ++#define SSH_STRICT_KEX_S "kex-strict-s-v00@openssh.com" ++#define SSH_STRICT_KEX_C "kex-strict-c-v00@openssh.com" ++ + /* service types */ + #define SSH_SERVICE_USERAUTH "ssh-userauth" + #define SSH_SERVICE_USERAUTH_LEN 12 +diff --git a/svr-session.c b/svr-session.c +index 769f073..a538e2c 100644 +--- a/svr-session.c ++++ b/svr-session.c +@@ -370,6 +370,9 @@ static void svr_algos_initialise(void) { + algo->usable = 0; + } + #endif ++ if (strcmp(algo->name, SSH_STRICT_KEX_C) == 0) { ++ algo->usable = 0; ++ } + } + } + diff --git a/meta/recipes-core/dropbear/dropbear_2022.83.bb b/meta/recipes-core/dropbear/dropbear_2022.83.bb index 528eff1a10..686cb8a809 100644 --- a/meta/recipes-core/dropbear/dropbear_2022.83.bb +++ b/meta/recipes-core/dropbear/dropbear_2022.83.bb @@ -22,6 +22,7 @@ SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \ ${@bb.utils.contains('PACKAGECONFIG', 'disable-weak-ciphers', 'file://dropbear-disable-weak-ciphers.patch', '', d)} \ file://CVE-2023-36328.patch \ + file://CVE-2023-48795.patch \ " SRC_URI[sha256sum] = "bc5a121ffbc94b5171ad5ebe01be42746d50aa797c9549a4639894a16749443b" From patchwork Wed Nov 13 20:42:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52439 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 06490D637B9 for ; Wed, 13 Nov 2024 20:42:44 +0000 (UTC) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mx.groups.io with SMTP id smtpd.web10.22179.1731530553985967803 for ; Wed, 13 Nov 2024 12:42:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=xkUSpobI; spf=softfail (domain: sakoman.com, ip: 209.85.214.171, mailfrom: steve@sakoman.com) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-210e5369b7dso77723155ad.3 for ; Wed, 13 Nov 2024 12:42:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731530553; x=1732135353; 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=kSVJXduf/mZ7mt0WPWQjDsr2IXKlkVRiaBwoKrj3aFU=; b=xkUSpobIRYMqYRFo/J+H8hqxFo8Ff5weLd6TkjZM5vUafkOC0Rfx9XwgMmFbgVH1On BIZNQDu4EoXExEj4ndaNSQMyqUJl+Y0VU04f3CPDo6NgbgGWrnSP6yTuTFOB+M4ortgb nivxmxWzI2qlqTU8bhI1KqSEv3T/vBqay96D5s3vHKhCzoSzaQtLUazHtYeg4igbwv2F 9I5IVaa/5vtlmGXHTJggnoblhKKABHwu58kT2AzjUIV2h+vVlR76gxL1TJGW76M3e3ea wnK5YfLWBp7cucRFMWlL0qhRhe4JWTFUPgmQ3/cBw7DXQaGVEA2TCLSAgbVxF6RuQqP4 wvuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731530553; x=1732135353; 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=kSVJXduf/mZ7mt0WPWQjDsr2IXKlkVRiaBwoKrj3aFU=; b=tIo2RPDiNp+mTKv5QLDx+MKiipRZgPXzkunAdSX7ppyYS0NrG1M0I6SXVgXsejX5w5 Pjz5JoAK+xAQLU6DszabtIjbq/tMr2qOfPA7YOimguYkAH1ybqh6HTRUcId9uDxHQj23 Xwu9+DvV6WBMOQnynqlWooKFiZEBmWHm0O4ENsy/URzl775lB3w8GU2VYIs+w9eBDAer f1YHVZGZgzr+7W5ss7oOT+PmfM8fqk3mbVk/y9Y2o9yU8bP5DH4YIn2kg0ze6hXZ77IC y3mYBOZ/Vksp96icm9uR9erZlMJzmkw6GbJDrkQxbH0iuNv3Y+MELpjPT08QGer0QpCU NXIw== X-Gm-Message-State: AOJu0YzwINEnH8sfVNS5aipf2Q4CpabkNEeOCkAasCeYQEhq3fq6r+gN EDgob6YrdAJsw0oGMhzENySBT3B0WMgu8exHfW33vCPCQJNN9G/5e1OaChesqv5Fqwx0/1JlrCM 8 X-Google-Smtp-Source: AGHT+IHz1zOYv/YXiNdPoTqNuWSOV9F/n5MtBfxwD5VmFVIr9fE9TLaN3I/uLkykKarYXZXbUxB82w== X-Received: by 2002:a17:902:cec1:b0:20c:8763:b3f7 with SMTP id d9443c01a7336-21183ca7259mr304081805ad.17.1731530553024; Wed, 13 Nov 2024 12:42:33 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177e84ee2sm114545595ad.274.2024.11.13.12.42.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2024 12:42:32 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 2/9] curl: patch CVE-2024-9681 Date: Wed, 13 Nov 2024 12:42:17 -0800 Message-Id: <19663c559b72a0d14ddd0792be325284a6e16edc.1731530398.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 20:42:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207126 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_8.7.1.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..d9131228fc --- /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 +@@ -254,12 +254,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; +@@ -284,15 +286,19 @@ struct stsentry *Curl_hsts(struct hsts *h, const char *hostname, + if(ntail < hlen) { + size_t offs = hlen - ntail; + if((hostname[offs-1] == '.') && +- strncasecompare(&hostname[offs], sts->host, ntail)) +- return sts; ++ strncasecompare(&hostname[offs], sts->host, ntail) && ++ (ntail > blen)) { ++ /* save the tail match with the longest tail */ ++ bestsub = sts; ++ blen = ntail; ++ } + } + } + if(strcasecompare(hostname, sts->host)) + return sts; + } + } +- return NULL; /* no match */ ++ return bestsub; + } + + /* +@@ -444,7 +450,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(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_8.7.1.bb b/meta/recipes-support/curl/curl_8.7.1.bb index d094604ea1..439fcb7881 100644 --- a/meta/recipes-support/curl/curl_8.7.1.bb +++ b/meta/recipes-support/curl/curl_8.7.1.bb @@ -19,6 +19,7 @@ SRC_URI = " \ file://CVE-2024-7264-1.patch \ file://CVE-2024-7264-2.patch \ file://CVE-2024-8096.patch \ + file://CVE-2024-9681.patch \ " SRC_URI[sha256sum] = "6fea2aac6a4610fbd0400afb0bcddbe7258a64c63f1f68e5855ebc0c659710cd" From patchwork Wed Nov 13 20:42:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52440 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 07588D637BD for ; Wed, 13 Nov 2024 20:42:44 +0000 (UTC) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mx.groups.io with SMTP id smtpd.web11.21872.1731530555317830821 for ; Wed, 13 Nov 2024 12:42:35 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=UASWc3ow; spf=softfail (domain: sakoman.com, ip: 209.85.214.179, mailfrom: steve@sakoman.com) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-20cdb889222so73934025ad.3 for ; Wed, 13 Nov 2024 12:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731530554; x=1732135354; 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=nmz60ZlQz+ZifCpMOEILMtIG7xpgeisXQjbAmKWmyJQ=; b=UASWc3owt62vZDCcA+tPz4tJT3b9cpctObYy3nN7PaqY+3nO2TD6/u82+0pCQCobjr 4oZO3mRfNtJfZ/xUsLBHLnL851VOcC2klyRtZpKYYssPOLeR2RKdou7EsJtTVskEXkKp OM8/eQGApBmCtv6QRS9XQnJiCIPOX0L84QmDaOeqsqE7sKE7IYBvOwX9NBdsIDM8n8JR a6Xe6OVNa4EaBpAF7hyqzR1QiQLgIIXITEBcAcv5MivpnBY+Zk/eJ7XtUAnOo6ZNP5tm GuV9EyT8SgBZsNwzjcKCwnM6HiYFQhSgfqJwz4P6boLUiXr84V1dvAt4HWHEpf6MEUfN VWYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731530554; x=1732135354; 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=nmz60ZlQz+ZifCpMOEILMtIG7xpgeisXQjbAmKWmyJQ=; b=QsXxXR0MYN4Obwh4v3kv+7ziZ3OcTqdPsr3sNJ6qGl1FE0co+sBbMdboIq2FPmui8q S3P0xhV3q4YvgJQ4uC1SpQF53aILrzmCHc6t1koIjnl/sYQVMzjhsTShwru2bVolGIQg kKEk270LJOuecfmEwwf/XdV/criD338bO14FSkHZeDh7GgRdQZrfuTEJ/HaWeOzYwdBq 4LvpddT+41WN9X7/mTdxnCuivKCZM+FOd7iVbtcUBigVSATrN/DN/6EiSbr+TbTrz0EO pDfrx2WSZjIEtXoa69OSg8swUjnzVO+62wxw3nG5RO97PBLa+BEFtBFeqfdBZRPku5Tv hKEw== X-Gm-Message-State: AOJu0YyKvsltRqatIYYApjiNbFoaOFjQDMWT8ExZVHwzaBkQjkzH2llp jzV7o2UGOvmFbFK7GJ8FyXPavWbZqpFttbn1m1xAtBTPe675izlXu+PrgaAXapBW5kTvYjmHxLw u X-Google-Smtp-Source: AGHT+IEl0rgxBUGIauwmEtByKmFso+duc1YKsny7aYF9fzY2qMW0YHbhG3/BlQWOI68azL4w2bwcGA== X-Received: by 2002:a17:902:ced2:b0:20e:986a:6e72 with SMTP id d9443c01a7336-211b5ca65cdmr51109735ad.30.1731530554620; Wed, 13 Nov 2024 12:42:34 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177e84ee2sm114545595ad.274.2024.11.13.12.42.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2024 12:42:34 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 3/9] gstreamer1.0: set status for CVE-2024-0444 Date: Wed, 13 Nov 2024 12:42:18 -0800 Message-Id: <5ea630617daf0897e5a1edd7482f705e1e7997fe.1731530398.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 20:42:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207127 From: Peter Marko This is patched in gstreamer1.0-plugins-bad in 1.22 branch since 1.22.9 via [1]. cpe product is set to gstreamer, they share source git repository. [1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/394d5066f8a7b728df02fe9084e955b2f7d7f6fe Signed-off-by: Peter Marko Signed-off-by: Steve Sakoman --- meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.12.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.12.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.12.bb index f4acb0977b..8486e258d5 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.12.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.22.12.bb @@ -71,4 +71,6 @@ RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-gconv-iso8859-5" CVE_PRODUCT = "gstreamer" +CVE_STATUS[CVE-2024-0444] = "cpe-incorrect: this is patched in gstreamer1.0-plugins-bad in 1.22 branch since 1.22.9" + PTEST_BUILD_HOST_FILES = "" From patchwork Wed Nov 13 20:42:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52438 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 064F7D637BC for ; Wed, 13 Nov 2024 20:42:44 +0000 (UTC) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mx.groups.io with SMTP id smtpd.web11.21874.1731530556927336993 for ; Wed, 13 Nov 2024 12:42:36 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=PTWlqbK0; spf=softfail (domain: sakoman.com, ip: 209.85.214.171, mailfrom: steve@sakoman.com) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-20cdb889222so73934285ad.3 for ; Wed, 13 Nov 2024 12:42:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731530556; x=1732135356; 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=/nEP9+hfpnCbebrAr6/MTg2Rpo9OdTUnsPUvr6IlU00=; b=PTWlqbK0+XotUFsWfyGH+ES+5iPW9MoO2fIadUPp9iymsxvoxoR+5iu6TS60UwkS6o dkvOX+i759OyDMgY8GvDXRZ1Bm6U9+neTKp4JVGQN82tW4qqBjgeY9yNo/FTQn80FCZH 724HL8IBP1Z8WdVXWMgVxm4U8EZF8EcbUGeQkTLTWNZP8HhfrG8Uvf3ZPmnpaN1k7/A3 RG4lGjwJZXQLEGn4wRitfr4aLFXrBf277PMDdI4C/A1GxDYn4ql51Mn70pp4T7GHeD2r IMAX0PE/oFO9/sgzyrNf4KXSf1hH+956RqyP4FcffLjmfgycKctWnpSgrw3oa+S1PqRZ Psxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731530556; x=1732135356; 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=/nEP9+hfpnCbebrAr6/MTg2Rpo9OdTUnsPUvr6IlU00=; b=GlpIOdshsPJZSaDxcnNzJYyXCmW4WVgH6T0WUGAGHAwVnzZL6yYpC01oRGpMVZg+jY tXaDgaI1Bwv7hqrLSFZ+Hlq3dYIRxUl2RzeQCY2IjYwqwEDnDWwc+a2yIjSwlCjkve1G vRvmcSgZdEMxDmrZUNPtCxiw4AQSV/a2z9srDZ8tPzXzw9Ww+umLg9ywuIx0MSm74BBO iD81sPdG6adSCl6gK+mMBUcyQU67Zhn+lDsNIY69ZY3EH5OWNnkHFFE4zrZRCesHIB9n A/0ynewxjxPeNUR3x26Qb6RHOB7pdC5Wox4EtX36zmrJvw2kPLqFKm/SvRA6GYwnoaQk 5PSw== X-Gm-Message-State: AOJu0YwJMFL010YbDy+0Ft6ICZ3fuibCeQWeQEfPvTuc8A2eGUKX7ayC pcOz0/zUn59jBR0sgU8NyQ1kq+m9mQo0BY3OsgVg32spYBzxTrZQbbdbu5VMFzlZnpPVp24Fqzm S X-Google-Smtp-Source: AGHT+IFVn3cKehA9F5jXXQrb1A8EH242wk/8+Vh/rcnah1e7s7ElOYlhytanXKpiB+zC/mSJBhOBOQ== X-Received: by 2002:a17:903:22c6:b0:20c:bda8:3a10 with SMTP id d9443c01a7336-211b5d29e3cmr50679645ad.37.1731530556156; Wed, 13 Nov 2024 12:42:36 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177e84ee2sm114545595ad.274.2024.11.13.12.42.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2024 12:42:35 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 4/9] expat: upgrade 2.6.3 -> 2.6.4 Date: Wed, 13 Nov 2024 12:42:19 -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 20:42:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207128 From: Peter Marko Handle CVE-2024-50602 Signed-off-by: Peter Marko Signed-off-by: Steve Sakoman --- meta/recipes-core/expat/{expat_2.6.3.bb => expat_2.6.4.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-core/expat/{expat_2.6.3.bb => expat_2.6.4.bb} (92%) diff --git a/meta/recipes-core/expat/expat_2.6.3.bb b/meta/recipes-core/expat/expat_2.6.4.bb similarity index 92% rename from meta/recipes-core/expat/expat_2.6.3.bb rename to meta/recipes-core/expat/expat_2.6.4.bb index 5ae694a004..f383792793 100644 --- a/meta/recipes-core/expat/expat_2.6.3.bb +++ b/meta/recipes-core/expat/expat_2.6.4.bb @@ -15,7 +15,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/R_${VERSION_TAG}/expat-${PV}.tar.bz2 \ GITHUB_BASE_URI = "https://github.com/libexpat/libexpat/releases/" UPSTREAM_CHECK_REGEX = "releases/tag/R_(?P.+)" -SRC_URI[sha256sum] = "b8baef92f328eebcf731f4d18103951c61fa8c8ec21d5ff4202fb6f2198aeb2d" +SRC_URI[sha256sum] = "8dc480b796163d4436e6f1352e71800a774f73dbae213f1860b60607d2a83ada" EXTRA_OECMAKE:class-native += "-DEXPAT_BUILD_DOCS=OFF" From patchwork Wed Nov 13 20:42:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52442 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 0BA97D637BF for ; Wed, 13 Nov 2024 20:42:54 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.web10.22183.1731530566371189924 for ; Wed, 13 Nov 2024 12:42:46 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=B7BjxVHi; spf=softfail (domain: sakoman.com, ip: 209.85.214.172, mailfrom: steve@sakoman.com) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-20cf6eea3c0so71085275ad.0 for ; Wed, 13 Nov 2024 12:42:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731530565; x=1732135365; 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=TsIzwXLlYgkxlmHXmdhvWJfVpRLgz4I0ZvATreb743k=; b=B7BjxVHixN0a8NM/vb07ODR1ZyhhwvrPK/WM2D92yImzzQo5VDi54TNPt99mcDinLD o3GCx/IOcOaDQR76lAY+ZhNyB+RAuWqnRGo2W2dpt9RUjJbNOzrnTxrkifxznLjbkpXZ Z+NGpQFEfA7qdFbaQ4gazPc4VUFppn6yuZAZENl+ZeAxfaaEYrZKgG938nejycP/THI4 dSRe9JdJO33EoWWeWJpzxHJeYGiRzcgy5scG4ZS0QznidxlQwus+J1Nfbs8/AK3dkwl1 1qJK33ZXOWhwSDnF/1Y0trNJPvcCU0UMMhs1FIryca5sgZUpdtG4FvME9163fJtvJ45z 3sSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731530565; x=1732135365; 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=TsIzwXLlYgkxlmHXmdhvWJfVpRLgz4I0ZvATreb743k=; b=MQGNM32fppGNNoC8sUPi/JK8kbVBEh79/p+zVkX7li2S9YFXbl7UADRgDqx3VMnZU8 a9QhAIzfmxZvZyfkfgOzcjAV4HSKzDVHWsMdZRZqTGWzGhQdw3R4uDgDyGysX3ocglLg Ke1I4yVZXJFCd27+8qNC7aprVYOKH0u4eylJWtrDR0856ZjQvZw7+OlBJ5EuEzY3wTxx 6VjOxU76FG/B00ynY82fsRAPAfxBaRE9P76X5j9MVuZfbgOcqFz0b5tTWtjrviwJc3IS O5PSDMQq+TRRPSgpwh9YBmYoK8s2GEsRjlhBqRHwMnRS4thCTqbUnXzQ3EoiM3zVi1te LQXg== X-Gm-Message-State: AOJu0Ywxz8NQndBi7u6tU+qCgeRn1/z9NwfGXxaNE+ykzusItgsRjf2D uP6dgu5us7JCeDyhyQu45u+2c3axaqufHCfcAFdpdZdoZZEuEYSgwX3GyCaTUS5UH3SfXk1yX6y O X-Google-Smtp-Source: AGHT+IEeUA/LU+52A0W3NW0IEAgORlvKQsbimRHwjoXqj11oMpI+QsOQJK1eJozlrf3EWUtKa50Uqw== X-Received: by 2002:a17:903:11c9:b0:20c:cccd:17a3 with SMTP id d9443c01a7336-2118359c11amr295996965ad.46.1731530564561; Wed, 13 Nov 2024 12:42:44 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177e84ee2sm114545595ad.274.2024.11.13.12.42.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2024 12:42:44 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 5/9] cmake: Fix sporadic issues when determining compiler internals Date: Wed, 13 Nov 2024 12:42:20 -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 20:42:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207129 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 | 3 +- ...mpilerABI-Strip-pipe-from-compile-fl.patch | 52 +++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) 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 ab9f459c05..a52506a8ea 100644 --- a/meta/recipes-devtools/cmake/cmake.inc +++ b/meta/recipes-devtools/cmake/cmake.inc @@ -17,7 +17,8 @@ LIC_FILES_CHKSUM = "file://Copyright.txt;md5=9d3d12c5f3b4c1f83650adcc65b59c06 \ 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 \ + " SRC_URI[sha256sum] = "72b7570e5c8593de6ac4ab433b73eab18c5fb328880460c86ce32608141ad5c1" 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..7ffcc95ac3 --- /dev/null +++ b/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch @@ -0,0 +1,52 @@ +From bd94bbdc35a9da4c73d538e0cc55bc95944f620d 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 efc18f93c2..f2e40479b1 100644 +--- a/Modules/CMakeDetermineCompilerABI.cmake ++++ b/Modules/CMakeDetermineCompilerABI.cmake +@@ -43,6 +43,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 20:42:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52444 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 0C1E4D637C1 for ; Wed, 13 Nov 2024 20:42:54 +0000 (UTC) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mx.groups.io with SMTP id smtpd.web11.21882.1731530567650312346 for ; Wed, 13 Nov 2024 12:42:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=uHlnXccE; spf=softfail (domain: sakoman.com, ip: 209.85.214.174, mailfrom: steve@sakoman.com) Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-21116b187c4so59600535ad.3 for ; Wed, 13 Nov 2024 12:42:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731530567; x=1732135367; 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=UD0tpMjzR08rsMBW3pSKtcrG+3qA2maxKenzc5aKv5s=; b=uHlnXccE32ro8RmdJ1N2qdFl6FY2ARRXlF5v+r3V95hJdU9pX+2fcMg2Y6uVJ+x/Xe BwR5i3UT1T71WR6Uhz2+gaJJtF3SU+lC4iYcs0UYNaSEHKU7OsIdUggsBKoqUfAkaRqT DgRICW3gffY0HcnlU47c49gwOkM4RL6CiSnRQHfPBbi1ruzXjtikvg4VAcioMrMiahbo pNZEp5mN7oZSXKflFE1+XiKzAg7xNTTytQ8L9Hij7DS5QsMtmp/BPZJ2usjX0J2Jb6Si ArNZL+O1YLDKZx157ZpbmVlnyF2eyNk+SLDM/0K2w3esymAGzHuAH/UCWaQmCSvTZ6+k 7gOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731530567; x=1732135367; 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=UD0tpMjzR08rsMBW3pSKtcrG+3qA2maxKenzc5aKv5s=; b=NR17Dlcydu0xIqdCRFkPneHqwLyE8fZ6REGGO7iSvIPlZrchr+R4h4blzl4R7DmUbn 9UdAha1CyWy7EemmDJI5rSD6hSUeCmKvGCC3UbZ177g81f0wSkT1czqeHg2/Uv0djcz7 KR/noyr6FfuNSYHbTn/1vUL3T4JE2uH+oP9aeQcgpoubBNwy1y0wAQn5T4ltNjb8j06B WpiDWQSFn5U92RQit1lP/N9jl4+btjwxQkmwYFg3K9n12SrFhAyk9yKoOoZYa4X3cOZI H2L7v+9WOj4lUllewCxm9fhm8fECuNfAb7bzxlw/7JOH1Br9oow6GZn4ai8JkZu13/SS 8bhg== X-Gm-Message-State: AOJu0YyJUp/vqKyJ2w5o2D/Qv9N4qnyLnJkDxIMGzGbr2Wm1O2a/ZXex kkNhSTRGWjH6LSa/uGhMH+h8BXA7EW75bAsQEG2/fsbwpbv/PX5p0FLjur8Zyo+pnP2uyxhhptS F X-Google-Smtp-Source: AGHT+IFWCRJGXotYOWvtNUi6J/Xqd36Hzn/S4xB4chBq3yBOQApJJZzOfOH7ZHklSXGQx4lWKvkyRw== X-Received: by 2002:a17:902:d50f:b0:211:31ac:89eb with SMTP id d9443c01a7336-21183d10a1dmr298907465ad.11.1731530566913; Wed, 13 Nov 2024 12:42:46 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177e84ee2sm114545595ad.274.2024.11.13.12.42.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2024 12:42:46 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 6/9] pseudo: Fix envp bug and add posix_spawn wrapper Date: Wed, 13 Nov 2024 12:42:21 -0800 Message-Id: <782fc8c12deaf713a60c62c34914b585ff150ddf.1731530398.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 20:42:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207130 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 (cherry picked from commit d80e20d70d170397f9827c5a5fc75ad1f2e8cd94) 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 7d8f71f65d..87c62e0678 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" From patchwork Wed Nov 13 20:42:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52441 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 12721D637BE for ; Wed, 13 Nov 2024 20:42:54 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web11.21885.1731530569147125025 for ; Wed, 13 Nov 2024 12:42:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=EFZjNtDb; spf=softfail (domain: sakoman.com, ip: 209.85.214.173, mailfrom: steve@sakoman.com) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-20c6f492d2dso82540635ad.0 for ; Wed, 13 Nov 2024 12:42:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731530568; x=1732135368; 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=baQMKVCOBW0rlK9VlrQSBdkaeNtPYIylu3KiiR6yxb8=; b=EFZjNtDbf+V1GVb6+gXKCD47Sfu6KNubB6b0Kuz8o9l0hz07Mo9lXDxgQjWZCLjjig +Dj4ay5sIcb3SWqdat4rewEkafej55PRijCqVCt9HfNOWRt3Zikkru5vkvBIA0D7ndtC rdZofEeHf6KQE2hV74nl9HAm7jhkeeaQ5nn8oio5f68N1CEsokDt4Mg6PDGzdS06ym1k tj6omOv3fyzQY2aCHBTHoY4hnmyYmWkxbJD6YSfsTUAPuvfTfz94Fn3KaJtl3UeoiuqT qaligv3XxndAua0bXXl1t5K498dMM3Vggics5EE+JuyUSPV/OJEX7Tmh/pXUf5/0jGbJ jOvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731530568; x=1732135368; 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=baQMKVCOBW0rlK9VlrQSBdkaeNtPYIylu3KiiR6yxb8=; b=gXhPXZBooHRcvpe+LK6o15oVGiLi166JZ3ui/UnxVf8QwxLHJpipIYhmwg9jl/4ku/ C3nuoA/O1GF+VwEswBHrxjLUu4IMR+KOIVQI8cPltQvBEYHqRujt4aYvHRKKnlzQDecT qgnlEoguTRjCYDIcenmw0BUpJM1cVzAB6YmDu+b3U5Wx/rwcZefv/NuBYjIp7jidRSI0 rKJWVRPq1oYYllJCaQ7GH0w2s1LaqMNHxqa99ua/ojkK5ttvC4SVjQiPS2NoPLw9m+GE LyvuPq/999/nLDSC4eCly/ROt3qS9A7Xi7G6qncqlAcwMWnxxjVQZgzcwXgwj7UdTECf SVAQ== X-Gm-Message-State: AOJu0YxQTUaKH29ZKnaQfK+7ymSp2jaapY6wjXUzFFcAR+yDPjdJDIOy DaDvGrCnJXleg+vmvEyPJw1GEo/YL1s83K0cQjWpPIZZpg88mxRj5vp/BjjxhG+hTGMJp9CAOKv w X-Google-Smtp-Source: AGHT+IGPJhcgj7Tl+QUCjG1k4box3wM2o93UiBf8iqNbsTtYuV5bxZphLwYaLg6Dly65PU7fZ5G/Hw== X-Received: by 2002:a17:902:ce0c:b0:20b:4875:2c51 with SMTP id d9443c01a7336-2118352a6damr295290195ad.27.1731530568409; Wed, 13 Nov 2024 12:42:48 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177e84ee2sm114545595ad.274.2024.11.13.12.42.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2024 12:42:48 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 7/9] binutils: Add missing perl modules to RDEPENDS for nativesdk variant Date: Wed, 13 Nov 2024 12:42:22 -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 20:42:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207131 From: Harish Sadineni In SDK, missing perl modules causes 'x86_64-pokysdk-linux-gp-display-html --help' to abort with below errors.. - Can't locate bignum.pm in @INC (you may need to install the feature module). - Can't locate Math/BigInt.pm in @INC (you may need to install the Math::BigInt module) By adding the following perl modules to RDEPENDS fixes the above errors: nativesdk-perl-module-bignum nativesdk-perl-module-bigint nativesdk-perl-module-math-bigint (patch taken to master branch with following commit id: 05f1099acbbb10b6ce33ea117d313749f7dc4a47) Signed-off-by: Harish Sadineni Signed-off-by: Steve Sakoman --- meta/recipes-devtools/binutils/binutils_2.42.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/binutils/binutils_2.42.bb b/meta/recipes-devtools/binutils/binutils_2.42.bb index 2cce40f1ef..8594db9bfb 100644 --- a/meta/recipes-devtools/binutils/binutils_2.42.bb +++ b/meta/recipes-devtools/binutils/binutils_2.42.bb @@ -72,5 +72,9 @@ SRC_URI:append:class-nativesdk = " file://0003-binutils-nativesdk-Search-for-al USE_ALTERNATIVES_FOR:class-nativesdk = "" FILES:${PN}:append:class-nativesdk = " ${bindir}" +RDEPENDS:gprofng:class-nativesdk = " nativesdk-perl-module-bignum \ + nativesdk-perl-module-bigint \ + nativesdk-perl-module-math-bigint \ +" BBCLASSEXTEND = "native nativesdk" From patchwork Wed Nov 13 20:42:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52443 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 39457D637C4 for ; Wed, 13 Nov 2024 20:42:54 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.web10.22188.1731530570724599288 for ; Wed, 13 Nov 2024 12:42:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=06xemwTo; spf=softfail (domain: sakoman.com, ip: 209.85.214.172, mailfrom: steve@sakoman.com) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-2118dfe6042so38467055ad.2 for ; Wed, 13 Nov 2024 12:42:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731530570; x=1732135370; 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=oh7wdp8fqAr9lPeGHhDC7vknd1jzz4zIbmOP0rZ48sM=; b=06xemwTo+4EYLyzjLG63y9tiNWCOmTfknA2sG9fKapKiJuW3w82kTic2cawfAgAuN+ svfryCoJurXjRCcNUzSsF5VUNY8ORcmWF7xPTBO+zU++03NpN2U2RRX6tnX4qgmPF7cv 7G+ANkKz0Aj1naFX0sKaLJ/xTgNfGOeLA7Z8w1F0ZfNbRRkVKK5SmJpqeUJzqHaeU6sm Ke2/iUz2suX83pO3/MwnZVaYAA7QHxC/vrzoZ8GGOszI3I41/T+EpKVTsSR5dxvNWpO0 wVOaL9lI31pe9zhZs62fjgbdxsQzLoV01VsTfeMqoTaDyYy2sEvTjg67NEaTZTEl6LQ2 wUBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731530570; x=1732135370; 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=oh7wdp8fqAr9lPeGHhDC7vknd1jzz4zIbmOP0rZ48sM=; b=PxeqiwfaCedIulbDoMankdAGT/6K5osoYMERYGkHGJ535KFFy8OvXuZpF1FlsErbOS 0nlUr0j20Wb/htw1mmByDOw4+bPzz6HYwrcC5xw48drbehOmZBRS/pB7WjRvT2zxhCeW mMvr4LkAdRb7qWstRuPK5jNVOHM6lF0rE3MY6+yyynLmhMsLMp4VzKSsCnT1/Zizs/uN OeZcO0zK7iPdbsWtDWdOY48pTBevbZY1KPLYQMUrw9mtpiqDkiX/rGRzXDfCGUJc9+21 oX01HbxMJMCtYA1sKfLa+MgkULLUaIXkwC3MygpgUm+hOvsZfqS1roxWq2nRe0KblvzI mDXA== X-Gm-Message-State: AOJu0YyHxhq9bmAw3zz+KTeCyhsl75Xr0VrFRTFzc4tF0ZjkJwRIh8dU 4mtFaLM3YnH2VwsETAQAg2iH8DusZCC6FTu9TKZyARTJBJSuS7O5jR0SA94nBWAWUJ0lf5GSL9W u X-Google-Smtp-Source: AGHT+IHFR56025QtEyddEWaDWZI+Q/4bFKLzM0vmEZIW5A9t25bmLobzEsWbghBicP8WPKezchGOCA== X-Received: by 2002:a17:902:c951:b0:20e:5777:1b83 with SMTP id d9443c01a7336-211ab952b9cmr108705925ad.24.1731530569939; Wed, 13 Nov 2024 12:42:49 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177e84ee2sm114545595ad.274.2024.11.13.12.42.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2024 12:42:49 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 8/9] enchant2: fix do_fetch error Date: Wed, 13 Nov 2024 12:42:23 -0800 Message-Id: <15337a58f77de3d0a30b73fcd836349df811ca39.1731530398.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 20:42:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207132 From: Jiaying Song Change the SRC_URI to the correct value due to the following error: WARNING: enchant2-2.6.7-r0 do_fetch: Failed to fetch URL https://github.com/AbiWord/enchant/releases/download/v2.6.7/enchant-2.6.7.tar.gz, attempting MIRRORS if available Signed-off-by: Jiaying Song Signed-off-by: Steve Sakoman --- meta/recipes-support/enchant/enchant2_2.6.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/enchant/enchant2_2.6.7.bb b/meta/recipes-support/enchant/enchant2_2.6.7.bb index b31bdc422b..26ff4e8502 100644 --- a/meta/recipes-support/enchant/enchant2_2.6.7.bb +++ b/meta/recipes-support/enchant/enchant2_2.6.7.bb @@ -14,7 +14,7 @@ inherit autotools pkgconfig github-releases SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/enchant-${PV}.tar.gz" SRC_URI[sha256sum] = "a1c2e5b59acca000bbfb24810af4a1165733d407f2154786588e076c8cd57bfc" -GITHUB_BASE_URI = "https://github.com/AbiWord/enchant/releases" +GITHUB_BASE_URI = "https://github.com/rrthomas/enchant/releases" S = "${WORKDIR}/enchant-${PV}" From patchwork Wed Nov 13 20:42:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 52445 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 01825D637BD for ; Wed, 13 Nov 2024 20:42:54 +0000 (UTC) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mx.groups.io with SMTP id smtpd.web11.21887.1731530572949583284 for ; Wed, 13 Nov 2024 12:42:53 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=zFsYjOYB; spf=softfail (domain: sakoman.com, ip: 209.85.214.179, mailfrom: steve@sakoman.com) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-20cbcd71012so86198075ad.3 for ; Wed, 13 Nov 2024 12:42:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1731530572; x=1732135372; 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=3N1JL8TzDzbDwjIgBFO5eTG3MgANmaQhhf103nZq1oo=; b=zFsYjOYBV265vBLwxJ4O9DFvfPjXyvr6BrSID80Y8QN6Q1hde6z3zy4n5CkxppgMIl AkQnmElHlb0+UOF8KWw3o9p37+H9FfObbS/YNYs3oehUa00uKe9Rysz3C9xB9QobpBs9 Mj8Zv8tuhydGdWUuXDd6DfqbeLRJKoJbx5Yja3nNIIHyVC8Ne9n9iaKwZl80TlJBVc88 zgH/ujXpiFEq4qHEV8rP7k4VLBLqDw35/elHtvXKgjRI2jTUbZl2EcodcVlEPoOaTeGX +MQN0W1J5ji0Yp3TiZSuDP2Mw7SfkByjfYGtOn4Dj+edCi2GTZxRgmSAMqcs1RvDAmtf TrFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731530572; x=1732135372; 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=3N1JL8TzDzbDwjIgBFO5eTG3MgANmaQhhf103nZq1oo=; b=oVqjKURfZQEQqgxTZvUpC06ptp28I/FK+bf8j4F5B0jxp9hL5RsRlDZXm2tuHMucxz 9ufhVhg9aBM4Iq2kQfgisst6IjRgN5Z3i2U8jMD7mKXCDnZ0SEJTLdkjCScn10y3ucK6 LjCvC7Wa2bwyP4mNZBtZiFtFesbbOMJLMF/sZbcsa3pOAO8MUBRPYhQjHmuHnmBWDtHY m7DBpDcqq3naJCpHi2jRmP3rBCjZXndFdzohfsGKr/xF+SOgnhp0DcZCLRB5EwhueYQ8 auqbz/WusfDxRUE1hpzyhZxzwDZeefgDf7ssKo7jeR3UwFMlYGhA+/6qEOv0rIwt53kM s3sQ== X-Gm-Message-State: AOJu0YxEoZ6iZjyBIaWdv0gHIgq51Iz6iSAO1eFPos2lsim77zUkvbtR tx4dVCXLIskA9+NcNcpKRnPDk/81u6ah+c+yVKrY9ZQvM8+3+Z5SWxcvu3MAPQQbtIn5HaLHVIe z X-Google-Smtp-Source: AGHT+IE0yE+2Jz5sUdgjCvDX6csOGEeGsGRM0F4tVJOLmXMJb05dm14QnklNNdqq/km4blAZBch/NA== X-Received: by 2002:a17:902:ecc2:b0:20c:aa41:997a with SMTP id d9443c01a7336-2118354d664mr301967805ad.34.1731530572172; Wed, 13 Nov 2024 12:42:52 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177e84ee2sm114545595ad.274.2024.11.13.12.42.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2024 12:42:51 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 9/9] libxml-parser-perl: fix do_fetch error Date: Wed, 13 Nov 2024 12:42:24 -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 20:42:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/207133 From: Jiaying Song Change the SRC_URI to the correct value due to the following error: WARNING: libxml-parser-perl-native-2.47-r0 do_fetch: Failed to fetch URL https://search.cpan.org/CPAN/modules/by-module/XML/XML-Parser-2.47.tar.gz, attempting MIRRORS if available Signed-off-by: Jiaying Song Signed-off-by: Steve Sakoman --- meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb b/meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb index cffc133a45..803164f713 100644 --- a/meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb +++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4342f85bf14a1fdd6a751573f1e61c03" DEPENDS += "expat" -SRC_URI = "${CPAN_MIRROR}/modules/by-module/XML/XML-Parser-${PV}.tar.gz \ +SRC_URI = "${CPAN_MIRROR}/authors/id/T/TO/TODDR/XML-Parser-${PV}.tar.gz \ file://0001-Makefile.PL-make-check_lib-cross-friendly.patch \ "