From patchwork Sun Nov 8 05:22:24 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 103396 Received: from a27-192.smtp-out.us-west-2.amazonses.com (a27-192.smtp-out.us-west-2.amazonses.com [54.240.27.192]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.8372.1794115345399469150 for ; Sat, 07 Nov 2026 21:22:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=uJGfBKDy; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=WZO/22p+; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.192, mailfrom: 010101a1b99b9800-9a11f051-5bf2-4e12-b395-abdfb57f893a-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1794115344; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=+wbjubOlFSn+lGJ5ObpDNkrgvyE1VPwWXykqGKVxoHA=; b=uJGfBKDy6WTZHVnsRMMzenGdCqEmdSVUAcAozJe8GyXxKtFRCLFKmOAf0I4tZcY7 K4Wxzm2nIINrOQg+eOS7tSASeXSGipIjiTzlLQE8rdbUdoxMamxoLQpZYoVHG/uXv7H 4Om8ENBw3opG1F3E9pJPMcXjeXI9pLyrRqDir2lU= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1794115344; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=+wbjubOlFSn+lGJ5ObpDNkrgvyE1VPwWXykqGKVxoHA=; b=WZO/22p+7JJ/jUkE+xtIFvizJdZjOejdJjgO2hjd2AML0tgZ736Bs2v5xzwB9OmO kT1iCVY3bN2CZeESgm60StnskLJU6Fv1dIcoVWYglPTlhelR2y7UfyE5KD0afIfpB62 vubPJbDpWfShD89dnYdOTrLyetcTdKhoS6m8LlCw= MIME-Version: 1.0 From: auh@yoctoproject.org To: Enoch Ng Cc: openembedded-core@lists.openembedded.org Subject: [AUH] fmt: upgrading to 12.2.1 SUCCEEDED Message-ID: <010101a1b99b9800-9a11f051-5bf2-4e12-b395-abdfb57f893a-000000@us-west-2.amazonses.com> Date: Sun, 8 Nov 2026 05:22:24 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2026.11.08-54.240.27.192 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 08 Nov 2026 05:22:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/249750 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *fmt* to *12.2.1* has Succeeded. Next steps: - apply the patch: git am 0001-fmt-upgrade-12.2.0-12.2.1.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From c979c664bd8d03c5fe0d6ddd14a2f8b6e43b3e78 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Sun, 8 Nov 2026 05:13:26 +0000 Subject: [PATCH] fmt: upgrade 12.2.0 -> 12.2.1 # 12.2.1 - 2026-11-07 - Fixed a heap buffer overflow on 32-bit targets when the size of a formatting buffer overflows, e.g. `fmt::format(L"{:>{}}", s, 1100000000)`. Such allocations now throw `std::bad_alloc`. - Fixed an out-of-bounds read when parsing format specifiers of `std::error_code` ( ). Thanks @IfkumRfnl. - Fixed a crash when formatting `nullptr` with `FMT_COMPILE` and an exception in `fmt::to_string(nullptr)`; both now format it as `0x0` ( ). Thanks @INo-xious. --- .../0001-Fix-fallback-uint128-bitwise-not-4813.patch | 10 +++++----- .../fmt/0001-Workaround-an-ABI-issue-in-spdlog.patch | 8 ++++---- .../fmt/{fmt_12.2.0.bb => fmt_12.2.1.bb} | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) rename meta/recipes-devtools/fmt/{fmt_12.2.0.bb => fmt_12.2.1.bb} (88%) diff --git a/meta/recipes-devtools/fmt/fmt/0001-Fix-fallback-uint128-bitwise-not-4813.patch b/meta/recipes-devtools/fmt/fmt/0001-Fix-fallback-uint128-bitwise-not-4813.patch index ef5c6e9f82..e07e89b39b 100644 --- a/meta/recipes-devtools/fmt/fmt/0001-Fix-fallback-uint128-bitwise-not-4813.patch +++ b/meta/recipes-devtools/fmt/fmt/0001-Fix-fallback-uint128-bitwise-not-4813.patch @@ -1,4 +1,4 @@ -From d838c8c7923730afb751350ecac2b169256f1445 Mon Sep 17 00:00:00 2001 +From ae7e9eb7f0c17735d577d1a7dea4f2ce78b46700 Mon Sep 17 00:00:00 2001 From: Vinay Kumar Date: Thu, 18 Jun 2026 12:22:12 +0530 Subject: [PATCH] Fix fallback uint128 bitwise not (#4813) @@ -11,10 +11,10 @@ Signed-off-by: Alexander Kanavin 2 files changed, 8 insertions(+) diff --git a/include/fmt/format.h b/include/fmt/format.h -index f33c8b87..ca95f6df 100644 +index 36f483a4..07b99ca9 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h -@@ -326,6 +326,9 @@ class uint128 { +@@ -327,6 +327,9 @@ class uint128 { -> uint128 { return {lhs.hi_ & rhs.hi_, lhs.lo_ & rhs.lo_}; } @@ -25,10 +25,10 @@ index f33c8b87..ca95f6df 100644 -> uint128 { auto result = uint128(lhs); diff --git a/test/format-test.cc b/test/format-test.cc -index 61a53c72..7e48b751 100644 +index 3de178a0..d2ef0144 100644 --- a/test/format-test.cc +++ b/test/format-test.cc -@@ -81,6 +81,11 @@ TEST(uint128_test, minus) { +@@ -82,6 +82,11 @@ TEST(uint128_test, minus) { EXPECT_EQ(n - 2, 40); } diff --git a/meta/recipes-devtools/fmt/fmt/0001-Workaround-an-ABI-issue-in-spdlog.patch b/meta/recipes-devtools/fmt/fmt/0001-Workaround-an-ABI-issue-in-spdlog.patch index afae644d49..f2df082a48 100644 --- a/meta/recipes-devtools/fmt/fmt/0001-Workaround-an-ABI-issue-in-spdlog.patch +++ b/meta/recipes-devtools/fmt/fmt/0001-Workaround-an-ABI-issue-in-spdlog.patch @@ -1,4 +1,4 @@ -From 6ee6b54766c50ae8df9478efd91075543e89f66e Mon Sep 17 00:00:00 2001 +From 96adf3e174ad93daa2833e9a924e195a70392b6a Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 22 Mar 2025 06:57:04 -0700 Subject: [PATCH] Workaround an ABI issue in spdlog @@ -10,10 +10,10 @@ Signed-off-by: Khem Raj 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h -index 5044befd..f33c8b87 100644 +index 672a8ddf..36f483a4 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h -@@ -774,7 +774,9 @@ enum { inline_buffer_size = 500 }; +@@ -775,7 +775,9 @@ enum { inline_buffer_size = 500 }; * converted to `std::string` with `to_string(out)`. */ template { private: T store_[SIZE]; -@@ -2769,7 +2771,7 @@ class bigint { +@@ -2770,7 +2772,7 @@ class bigint { } public: diff --git a/meta/recipes-devtools/fmt/fmt_12.2.0.bb b/meta/recipes-devtools/fmt/fmt_12.2.1.bb similarity index 88% rename from meta/recipes-devtools/fmt/fmt_12.2.0.bb rename to meta/recipes-devtools/fmt/fmt_12.2.1.bb index d68684e4f6..0f3eeec20e 100644 --- a/meta/recipes-devtools/fmt/fmt_12.2.0.bb +++ b/meta/recipes-devtools/fmt/fmt_12.2.1.bb @@ -5,12 +5,12 @@ LICENSE = "MIT WITH fmt-exception" LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec080902ed8f82f5a97ed13e8042634 \ file://doc/LICENSE-exception;md5=b9257785fc4f3803a4b71b76c1412729" -SRC_URI = "git://github.com/fmtlib/fmt;branch=main;protocol=https;tag=${PV} \ +SRC_URI = "git://github.com/fmtlib/fmt;branch=12.x;protocol=https;tag=${PV} \ file://0001-Workaround-an-ABI-issue-in-spdlog.patch \ file://run-ptest \ file://0001-Fix-fallback-uint128-bitwise-not-4813.patch \ " -SRCREV = "1be298e1bd68957e4cd352e1f676f00e07dcfb57" +SRCREV = "208219daff58f2a7438f6931cc2ddc358acf33ef" inherit cmake ptest