grpc: Upgrade to 1.76.0
PATCH 1/1 grpc: Upgrade to 1.76.0
Backport a fix to build with latest gcc and clang
Signed-off-by Khem Raj <[email protected]>
---
...001-build-add-missing-includes-41351.patch | 58 +++++++++++++++++++
.../grpc/{grpc_1.71.0.bb => grpc_1.76.0.bb} | 7 ++-
2 files changed, 62 insertions(+), 3 deletions(-)
create mode 100644 meta-oe/recipes-devtools/grpc/grpc/0001-build-add-missing-includes-41351.patch
rename meta-oe/recipes-devtools/grpc/{grpc_1.71.0.bb => grpc_1.76.0.bb} (94%)meta-oe/recipes-devtools/grpc/grpc/0001-build-add-missing-includes-41351.patch new file +58 -0
@@ -0,0 +1,58 @@ +From a976f66ac7d1b9f43a3071e22b5014fcfeab04b3 Mon Sep 17 00:00:00 2001 +From: "Mark D. Roth" <[email protected]> +Date: Tue, 6 Jan 2026 10:09:45 -0800 +Subject: [PATCH] [build] add missing includes (#41351) + +Fixes #41305. + +Closes #41351 + +COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/41351 from markdroth:add_missing_includes 223be6932adb00d085149c53167c1b0318745f6c +PiperOrigin-RevId: 852829597 + +Upstream-Status: Backport [https://github.com/grpc/grpc/commit/d54219b508423f0a2ff6a0b98c16fb6dafd44b84] +Signed-off-by: Khem Raj <[email protected]> +--- + include/grpc/event_engine/memory_request.h | 2 ++ + src/core/channelz/v2tov1/property_list.cc | 1 + + src/core/util/glob.cc | 2 ++ + 3 files changed, 5 insertions(+) + +diff --git a/include/grpc/event_engine/memory_request.h b/include/grpc/event_engine/memory_request.h +index 76bcbb2036..ad8cab842e 100644 +--- a/include/grpc/event_engine/memory_request.h ++++ b/include/grpc/event_engine/memory_request.h +@@ -17,6 +17,8 @@ + #include <grpc/support/port_platform.h> + #include <stddef.h> + ++#include <string> ++ + #include "absl/strings/string_view.h" + + namespace grpc_event_engine { +diff --git a/src/core/channelz/v2tov1/property_list.cc b/src/core/channelz/v2tov1/property_list.cc +index 64bbb6307c..03367cce7c 100644 +--- a/src/core/channelz/v2tov1/property_list.cc ++++ b/src/core/channelz/v2tov1/property_list.cc +@@ -15,6 +15,7 @@ + #include "src/core/channelz/v2tov1/property_list.h" + + #include <cstdint> ++#include <limits> + #include <optional> + #include <string> + +diff --git a/src/core/util/glob.cc b/src/core/util/glob.cc +index 1b1c16e23d..22e54259f0 100644 +--- a/src/core/util/glob.cc ++++ b/src/core/util/glob.cc +@@ -12,6 +12,8 @@ + // See the License for the specific language governing permissions and + // limitations under the License. + ++#include <algorithm> ++ + #include "absl/strings/string_view.h" + + namespace grpc_core {
meta-oe/recipes-devtools/grpc/grpc_1.76.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.71.0.bb +4 -3
@@ -23,10 +23,11 @@ RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler" # Both dependencies are mutually exclusive # RDEPENDS:${PN}-dev += "${PN}-compiler" -SRCREV_grpc = "4e9357bca1408596663a218c0c608a4c0560a867" -BRANCH = "v1.71.x" -SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \ +SRCREV_grpc = "f5ffb68d8a2fd603dff16287e90a4ac571e1fec6" +BRANCH = "v1.76.x" +SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH};tag=v${PV} \ file://0001-cmake-Link-with-libatomic-on-rv32-rv64.patch \ + file://0001-build-add-missing-includes-41351.patch \ " inherit cmake pkgconfig
Quoted 85 lines · Khem Raj via lists.openembedded.org
Backport a fix to build with latest gcc and clang
Signed-off-by Khem Raj <[email protected]>--- ...001-build-add-missing-includes-41351.patch | 58 +++++++++++++++++++ .../grpc/{grpc_1.71.0.bb => grpc_1.76.0.bb} | 7 ++- 2 files changed, 62 insertions(+), 3 deletions(-) create mode 100644 meta-oe/recipes-devtools/grpc/grpc/0001-build-add-missing-includes-41351.patch rename meta-oe/recipes-devtools/grpc/{grpc_1.71.0.bb => grpc_1.76.0.bb} (94%)meta-oe/recipes-devtools/grpc/grpc/0001-build-add-missing-includes-41351.patch new file +58
-0@@ -0,0 +1,58 @@ +From a976f66ac7d1b9f43a3071e22b5014fcfeab04b3 Mon Sep 17 00:00:00 2001 +From: "Mark D. Roth" <[email protected]> +Date: Tue, 6 Jan 2026 10:09:45 -0800 +Subject: [PATCH] [build] add missing includes (#41351) + +Fixes #41305. + +Closes #41351 + +COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/41351 from markdroth:add_missing_includes 223be6932adb00d085149c53167c1b0318745f6c +PiperOrigin-RevId: 852829597 + +Upstream-Status: Backport [https://github.com/grpc/grpc/commit/d54219b508423f0a2ff6a0b98c16fb6dafd44b84] +Signed-off-by: Khem Raj <[email protected]> +--- + include/grpc/event_engine/memory_request.h | 2 ++ + src/core/channelz/v2tov1/property_list.cc | 1 + + src/core/util/glob.cc | 2 ++ + 3 files changed, 5 insertions(+) + +diff --git a/include/grpc/event_engine/memory_request.h b/include/grpc/event_engine/memory_request.h +index 76bcbb2036..ad8cab842e 100644 +--- a/include/grpc/event_engine/memory_request.h ++++ b/include/grpc/event_engine/memory_request.h +@@ -17,6 +17,8 @@ + #include <grpc/support/port_platform.h> + #include <stddef.h> + ++#include <string> ++ + #include "absl/strings/string_view.h" + + namespace grpc_event_engine { +diff --git a/src/core/channelz/v2tov1/property_list.cc b/src/core/channelz/v2tov1/property_list.cc +index 64bbb6307c..03367cce7c 100644 +--- a/src/core/channelz/v2tov1/property_list.cc ++++ b/src/core/channelz/v2tov1/property_list.cc +@@ -15,6 +15,7 @@ + #include "src/core/channelz/v2tov1/property_list.h" + + #include <cstdint> ++#include <limits> + #include <optional> + #include <string> + +diff --git a/src/core/util/glob.cc b/src/core/util/glob.cc +index 1b1c16e23d..22e54259f0 100644 +--- a/src/core/util/glob.cc ++++ b/src/core/util/glob.cc +@@ -12,6 +12,8 @@ + // See the License for the specific language governing permissions and + // limitations under the License. + ++#include <algorithm> ++ + #include "absl/strings/string_view.h" + + namespace grpc_core {meta-oe/recipes-devtools/grpc/grpc_1.76.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.71.0.bb +0
-0@@ -23,10 +23,11 @@ RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler" # Both dependencies are mutually exclusive # RDEPENDS:${PN}-dev += "${PN}-compiler"
meta-oe/recipes-devtools/grpc/grpc_1.76.0.bb RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler" · line 31
Quoted 10 lines
meta-oe/recipes-devtools/grpc/grpc_1.76.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.71.0.bb +4
-3-SRCREV_grpc = "4e9357bca1408596663a218c0c608a4c0560a867" -BRANCH = "v1.71.x" -SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \ +SRCREV_grpc = "f5ffb68d8a2fd603dff16287e90a4ac571e1fec6" +BRANCH = "v1.76.x" +SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH};tag=v${PV} \ file://0001-cmake-Link-with-libatomic-on-rv32-rv64.patch \ + file://0001-build-add-missing-includes-41351.patch \ "
Do we still need name=grpc in the SRC_URI?
IMO we can drop it and rename SRCREV as well.
Quoted 11 lines
meta-oe/recipes-devtools/grpc/grpc_1.76.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.71.0.bb +0
-1inherit cmake pkgconfig -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#123487): https://lists.openembedded.org/g/openembedded-devel/message/123487
Mute This Topic: https://lists.openembedded.org/mt/117269739/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-