From patchwork Wed Oct 1 13:32:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 71368 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 9BA5BCCD197 for ; Wed, 1 Oct 2025 13:32:23 +0000 (UTC) Received: from a27-30.smtp-out.us-west-2.amazonses.com (a27-30.smtp-out.us-west-2.amazonses.com [54.240.27.30]) by mx.groups.io with SMTP id smtpd.web10.17940.1759325536278979541 for ; Wed, 01 Oct 2025 06:32:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=j46ser6a2yusdzubpv7m7ewqgesde2ie header.b=SsmKr0TC; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b=PgwxKyhd; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.30, mailfrom: 010101999ff93cc9-47d90b50-fa55-4452-bf7e-f53eae31088f-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=j46ser6a2yusdzubpv7m7ewqgesde2ie; d=yoctoproject.org; t=1759325535; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=dqP74HyVlcFA74bcljvqjFnlPW2NKGE16lGGwGJwaok=; b=SsmKr0TCWLxh6Q6fOyfGLCdG6DYIfjH6VAOb72XwoFzYWbXqTt1FAiUKlnWfsCzH 81MbyJMK8mUQqlz/qeRUHGb65lXDe9mUCGNbnHT/10QIfJIfqmm4KR/NaqYVhRKhukT iCka7600dnzoD26zPIturiCYttUjcr4hyOpIPsIg= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1759325535; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=dqP74HyVlcFA74bcljvqjFnlPW2NKGE16lGGwGJwaok=; b=PgwxKyhdSRFVOY1QmazpnH5E/GXo6KK8T/uV10aCb62dR5GetHLBkit1KrNqBF7Q GfNSlWMg8bbv59p8GBG37FJ5RsHTmR1ycLrtVPASgewLiERfgdvGL43Pim7hU52QmnG n2VfJm94Y3Oj1751jl/kpEyAc0MVBi902FGWPYIY= MIME-Version: 1.0 From: auh@yoctoproject.org To: Robert Yang Cc: openembedded-core@lists.openembedded.org Subject: [AUH] fmt: upgrading to 12.0.0 SUCCEEDED Message-ID: <010101999ff93cc9-47d90b50-fa55-4452-bf7e-f53eae31088f-000000@us-west-2.amazonses.com> Date: Wed, 1 Oct 2025 13:32:15 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2025.10.01-54.240.27.30 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, 01 Oct 2025 13:32:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/224226 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *fmt* to *12.0.0* has Succeeded. Next steps: - apply the patch: git am 0001-fmt-upgrade-11.2.0-12.0.0.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 bf0482f9f4913da747c6ca63663a4c27fbb90816 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Wed, 1 Oct 2025 08:33:41 +0000 Subject: [PATCH] fmt: upgrade 11.2.0 -> 12.0.0 --- ...compilation-on-clang-21-libc-21-4477.patch | 46 ------------------- ...01-Workaround-an-ABI-issue-in-spdlog.patch | 8 ++-- .../fmt/{fmt_11.2.0.bb => fmt_12.0.0.bb} | 5 +- 3 files changed, 6 insertions(+), 53 deletions(-) delete mode 100644 meta/recipes-devtools/fmt/fmt/0001-Fix-compilation-on-clang-21-libc-21-4477.patch rename meta/recipes-devtools/fmt/{fmt_11.2.0.bb => fmt_12.0.0.bb} (79%) diff --git a/meta/recipes-devtools/fmt/fmt/0001-Fix-compilation-on-clang-21-libc-21-4477.patch b/meta/recipes-devtools/fmt/fmt/0001-Fix-compilation-on-clang-21-libc-21-4477.patch deleted file mode 100644 index 911fa90a40..0000000000 --- a/meta/recipes-devtools/fmt/fmt/0001-Fix-compilation-on-clang-21-libc-21-4477.patch +++ /dev/null @@ -1,46 +0,0 @@ -From f4345467fce7edbc6b36c3fa1cf197a67be617e2 Mon Sep 17 00:00:00 2001 -From: Remy Jette -Date: Sat, 21 Jun 2025 07:28:14 -0700 -Subject: [PATCH] Fix compilation on clang-21 / libc++-21 (#4477) - -`` was not being included, so malloc and free were only declared -via transitive includes. Some includes changed in the latest libc++-21 -build which broke fmt. - -Also changed `malloc`/`free` to `std::malloc` and `std::free`, as -putting those symbols in the global namespace is optional for the -implementation when including ``. - -Upstream-Status: Backport [https://github.com/fmtlib/fmt/pull/4477] -Signed-off-by: Khem Raj ---- - include/fmt/format.h | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -Index: fmt-11.2.0/include/fmt/format.h -=================================================================== ---- fmt-11.2.0.orig/include/fmt/format.h -+++ fmt-11.2.0/include/fmt/format.h -@@ -44,6 +44,7 @@ - # include // std::signbit - # include // std::byte - # include // uint32_t -+# include // std::malloc, std::free - # include // std::memcpy - # include // std::numeric_limits - # include // std::bad_alloc -@@ -744,12 +745,12 @@ template struct allocator { - - T* allocate(size_t n) { - FMT_ASSERT(n <= max_value() / sizeof(T), ""); -- T* p = static_cast(malloc(n * sizeof(T))); -+ T* p = static_cast(std::malloc(n * sizeof(T))); - if (!p) FMT_THROW(std::bad_alloc()); - return p; - } - -- void deallocate(T* p, size_t) { free(p); } -+ void deallocate(T* p, size_t) { std::free(p); } - }; - - } // namespace detail 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 3fe85d51ee..b204676602 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 5a5637c306c617ddb3726c76d3f7490a2dc0a5cd Mon Sep 17 00:00:00 2001 +From fe33ca62b3600676afce954e05c5c338358b8f03 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 287e7163..61cb2825 100644 +index c3a1bda0..1a1fd9d0 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h -@@ -774,7 +774,9 @@ enum { inline_buffer_size = 500 }; +@@ -781,7 +781,9 @@ enum { inline_buffer_size = 500 }; * converted to `std::string` with `to_string(out)`. */ template { private: T store_[SIZE]; -@@ -2594,7 +2596,7 @@ class bigint { +@@ -2734,7 +2736,7 @@ class bigint { } public: diff --git a/meta/recipes-devtools/fmt/fmt_11.2.0.bb b/meta/recipes-devtools/fmt/fmt_12.0.0.bb similarity index 79% rename from meta/recipes-devtools/fmt/fmt_11.2.0.bb rename to meta/recipes-devtools/fmt/fmt_12.0.0.bb index fd5dc0c4ab..54e1bd8f3a 100644 --- a/meta/recipes-devtools/fmt/fmt_11.2.0.bb +++ b/meta/recipes-devtools/fmt/fmt_12.0.0.bb @@ -4,11 +4,10 @@ HOMEPAGE = "https://fmt.dev" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b9257785fc4f3803a4b71b76c1412729" -SRC_URI = "git://github.com/fmtlib/fmt;branch=master;protocol=https;tag=${PV}\ +SRC_URI = "git://github.com/fmtlib/fmt;branch=master;protocol=https;tag=${PV} \ file://0001-Workaround-an-ABI-issue-in-spdlog.patch \ - file://0001-Fix-compilation-on-clang-21-libc-21-4477.patch \ " -SRCREV = "40626af88bd7df9a5fb80be7b25ac85b122d6c21" +SRCREV = "e424e3f2e607da02742f73db84873b8084fc714c" inherit cmake