Skip to contentSkip to conversation

grpc: Update to 1.50.x release

PATCH In review Khem Raj 3 participants 5 messages Oct 18, 2022 – Oct 30, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 grpc: Update to 1.50.x release

License-update: Include MPL-2.0 [1]

Add missing BSD 3-clause and MPL-2.0 to license field

Switch to git submodules since its using locked versions of some components like opencensus-proto

[1] https://github.com/grpc/grpc/commit/05fcd826f477ef1a024a2defa5e4b3d78f5e6eb4

---
 .../grpc/{grpc_1.45.2.bb => grpc_1.50.0.bb}            | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-devtools/grpc/{grpc_1.45.2.bb => grpc_1.50.0.bb} (90%)
meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb +5 -5
similarity index 90%
rename from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb
rename to meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb
index c2f952fc64..8efd9321ca 100644
@@ -3,8 +3,8 @@ Provides gRPC libraries for multiple languages written on top of shared C core l
 (C++, Node.js, Python, Ruby, Objective-C, PHP, C#)"
 HOMEPAGE = "https://github.com/grpc/grpc"
 SECTION = "libs"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=6e4cf218112648d22420a84281b68b88"
+LICENSE = "Apache-2.0 && BSD-3-Clause && MPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906"
 
 DEPENDS = "c-ares protobuf protobuf-native protobuf-c protobuf-c-native openssl libnsl2 abseil-cpp re2"
 DEPENDS:append:class-target = " googletest grpc-native "
@@ -20,9 +20,9 @@ RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler"
 # RDEPENDS:${PN}-dev += "${PN}-compiler"
 
 S = "${WORKDIR}/git"
-SRCREV_grpc = "b39ffcc425ea990a537f98ec6fe6a1dcb90470d7"
-BRANCH = "v1.45.x"
-SRC_URI = "git://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \
+SRCREV_grpc = "91091e3668144de9c6aa392f496bb7639f7025a7"
+BRANCH = "v1.50.x"
+SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \
            file://0001-Revert-Changed-GRPCPP_ABSEIL_SYNC-to-GPR_ABSEIL_SYNC.patch \
            file://0001-cmake-add-separate-export-for-plugin-targets.patch \
            file://0001-cmake-Link-with-libatomic-on-rv32-rv64.patch \
Signature · 1 line
2.38.0
#1 lore raw
Quoted 11 lines · Khem Raj

License-update: Include MPL-2.0 [1]

Add missing BSD 3-clause and MPL-2.0 to license field

Switch to git submodules since its using locked versions of some components like opencensus-proto

[1]https://github.com/grpc/grpc/commit/05fcd826f477ef1a024a2defa5e4b3d78f5e6eb4

---
  .../grpc/{grpc_1.45.2.bb => grpc_1.50.0.bb}            | 10 +++++-----

Is anyone else seeing:

error: #error "C++ versions less than C++14 are not supported."

i.e.

TOPDIR/tmp-glibc/hosttools/g++ -Dgpr_EXPORTS \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/include \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/third_party/address_sorting/include \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/ext/upb-generated \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/ext/upbdefs-generated \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/third_party/upb \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/third_party/xxhash \
-isystemTOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include \
-O2 -pipe -Wl,--no-as-needed -fPIC -std=c++11 \
-MD -MT \
CMakeFiles/gpr.dir/src/core/lib/gpr/murmur_hash.cc.o \
-MF \
CMakeFiles/gpr.dir/src/core/lib/gpr/murmur_hash.cc.o.d \
-o \
CMakeFiles/gpr.dir/src/core/lib/gpr/murmur_hash.cc.o \
-c \
TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/lib/gpr/murmur_hash.cc
In file included from TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include/absl/base/config.h:86, from TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include/absl/base/attributes.h:37, \
from \
TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/lib/gpr/murmur_hash.cc:25: \
TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include/absl/base/policy_checks.h:79:2: \
error: #error "C++ versions less than C++14 are not supported."
79 | #error "C++ versions less than C++14 are not supported." \
| ^~~~~

Happening for a variety of distros.

fedora: 34, 35, 36, ubuntu: 1804, 2004, opensuse153

../Randy

Quoted 43 lines
  1 file changed, 5 insertions(+), 5 deletions(-)

rename meta-oe/recipes-devtools/grpc/{grpc_1.45.2.bb => grpc_1.50.0.bb} (90%)

meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb +5 -6
similarity index 90%
rename from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb
rename to meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb
index c2f952fc64..8efd9321ca 100644
@@ -3,8 +3,8 @@ Provides gRPC libraries for multiple languages written on top of shared C core l
  (C++, Node.js, Python, Ruby, Objective-C, PHP, C#)"
  HOMEPAGE ="https://github.com/grpc/grpc"
  SECTION = "libs"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM ="file://LICENSE;md5=6e4cf218112648d22420a84281b68b88"
+LICENSE = "Apache-2.0 && BSD-3-Clause && MPL-2.0"
+LIC_FILES_CHKSUM ="file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906"
 
  DEPENDS = "c-ares protobuf protobuf-native protobuf-c protobuf-c-native openssl libnsl2 abseil-cpp re2"
  DEPENDS:append:class-target = " googletest grpc-native "
@@ -20,9 +20,9 @@ RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler"
  # RDEPENDS:${PN}-dev += "${PN}-compiler"
 
  S = "${WORKDIR}/git"
-SRCREV_grpc = "b39ffcc425ea990a537f98ec6fe6a1dcb90470d7"
-BRANCH = "v1.45.x"
-SRC_URI = "git://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \
+SRCREV_grpc = "91091e3668144de9c6aa392f496bb7639f7025a7"
+BRANCH = "v1.50.x"
+SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \
             file://0001-Revert-Changed-GRPCPP_ABSEIL_SYNC-to-GPR_ABSEIL_SYNC.patch  \
             file://0001-cmake-add-separate-export-for-plugin-targets.patch  \
             file://0001-cmake-Link-with-libatomic-on-rv32-rv64.patch  \
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#99241):https://lists.openembedded.org/g/openembedded-devel/message/99241 Mute This Topic:https://lists.openembedded.org/mt/94413640/3616765
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
# Randy MacLeod
# Wind River Linux
author
#2 lore raw
Quoted 53 lines · Randy MacLeod

On 2022-10-18 13:31, Khem Raj wrote:

License-update: Include MPL-2.0 [1]

Add missing BSD 3-clause and MPL-2.0 to license field

Switch to git submodules since its using locked versions of some components like opencensus-proto

[1] https://github.com/grpc/grpc/commit/05fcd826f477ef1a024a2defa5e4b3d78f5e6eb4

---
 .../grpc/{grpc_1.45.2.bb => grpc_1.50.0.bb}            | 10 +++++-----

Is anyone else seeing:

error: #error "C++ versions less than C++14 are not supported."

i.e.

TOPDIR/tmp-glibc/hosttools/g++ -Dgpr_EXPORTS \

(quoted diff) +0 -10
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/include \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/third_party/address_sorting/include \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/ext/upb-generated \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/ext/upbdefs-generated \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/third_party/upb \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/third_party/xxhash \
-isystemTOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include \
-O2 -pipe -Wl,--no-as-needed -fPIC -std=c++11 \
-MD -MT \

CMakeFiles/gpr.dir/src/core/lib/gpr/murmur_hash.cc.o \
-MF \
CMakeFiles/gpr.dir/src/core/lib/gpr/murmur_hash.cc.o.d \
-o \
CMakeFiles/gpr.dir/src/core/lib/gpr/murmur_hash.cc.o \
-c \
TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/lib/gpr/murmur_hash.cc
In file included from TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include/absl/base/config.h:86, from TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include/absl/base/attributes.h:37, \
from \
TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/lib/gpr/murmur_hash.cc:25: \
TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include/absl/base/policy_checks.h:79:2: \
error: #error "C++ versions less than C++14 are not supported."
79 | #error "C++ versions less than C++14 are not supported." \
| ^~~~~

Quoted 3 lines

Happening for a variety of distros.

fedora: 34, 35, 36, ubuntu: 1804, 2004, opensuse153

you seem to be still building 1.45.2 and the upgrade to 1.50x fixed exactly this.

Quoted 52 lines

../Randy

 1 file changed, 5 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-devtools/grpc/{grpc_1.45.2.bb => grpc_1.50.0.bb} (90%)
meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb +5 -6
similarity index 90%
rename from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb
rename to meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb
index c2f952fc64..8efd9321ca 100644
@@ -3,8 +3,8 @@ Provides gRPC libraries for multiple languages written on top of shared C core l
 (C++, Node.js, Python, Ruby, Objective-C, PHP, C#)"
 HOMEPAGE = "https://github.com/grpc/grpc"
 SECTION = "libs"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=6e4cf218112648d22420a84281b68b88"
+LICENSE = "Apache-2.0 && BSD-3-Clause && MPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906"
 
 DEPENDS = "c-ares protobuf protobuf-native protobuf-c protobuf-c-native openssl libnsl2 abseil-cpp re2"
 DEPENDS:append:class-target = " googletest grpc-native "
@@ -20,9 +20,9 @@ RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler"
 # RDEPENDS:${PN}-dev += "${PN}-compiler"
 
 S = "${WORKDIR}/git"
-SRCREV_grpc = "b39ffcc425ea990a537f98ec6fe6a1dcb90470d7"
-BRANCH = "v1.45.x"
-SRC_URI = "git://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \
+SRCREV_grpc = "91091e3668144de9c6aa392f496bb7639f7025a7"
+BRANCH = "v1.50.x"
+SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \
            file://0001-Revert-Changed-GRPCPP_ABSEIL_SYNC-to-GPR_ABSEIL_SYNC.patch \
            file://0001-cmake-add-separate-export-for-plugin-targets.patch \
            file://0001-cmake-Link-with-libatomic-on-rv32-rv64.patch \
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#99241): https://lists.openembedded.org/g/openembedded-devel/message/99241
Mute This Topic: https://lists.openembedded.org/mt/94413640/3616765
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
# Randy MacLeod
# Wind River Linux

#3 lore raw
Quoted 55 lines · Khem Raj
Quoted 53 lines · Randy MacLeod

On 2022-10-18 13:31, Khem Raj wrote:

License-update: Include MPL-2.0 [1]

Add missing BSD 3-clause and MPL-2.0 to license field

Switch to git submodules since its using locked versions of some components like opencensus-proto

[1] https://github.com/grpc/grpc/commit/05fcd826f477ef1a024a2defa5e4b3d78f5e6eb4

---
  .../grpc/{grpc_1.45.2.bb => grpc_1.50.0.bb}            | 10 +++++-----

Is anyone else seeing:

error: #error "C++ versions less than C++14 are not supported."

i.e.

TOPDIR/tmp-glibc/hosttools/g++ -Dgpr_EXPORTS \

(quoted diff) +0 -10
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/include \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/third_party/address_sorting/include \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/ext/upb-generated \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/ext/upbdefs-generated \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/third_party/upb \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/third_party/xxhash \
-isystemTOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include \
-O2 -pipe -Wl,--no-as-needed -fPIC -std=c++11 \
-MD -MT \

CMakeFiles/gpr.dir/src/core/lib/gpr/murmur_hash.cc.o \
-MF \
CMakeFiles/gpr.dir/src/core/lib/gpr/murmur_hash.cc.o.d \
-o \
CMakeFiles/gpr.dir/src/core/lib/gpr/murmur_hash.cc.o \
-c \
TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/lib/gpr/murmur_hash.cc
In file included from TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include/absl/base/config.h:86, from TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include/absl/base/attributes.h:37, \
from \
TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/lib/gpr/murmur_hash.cc:25: \
TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include/absl/base/policy_checks.h:79:2: \
error: #error "C++ versions less than C++14 are not supported."
79 | #error "C++ versions less than C++14 are not supported." \
| ^~~~~

Quoted 6 lines
Quoted 3 lines

Happening for a variety of distros.

fedora: 34, 35, 36, ubuntu: 1804, 2004, opensuse153

you seem to be still building 1.45.2 and the upgrade to 1.50x fixed exactly this.

Huh, look at that.

Thanks Khem.
../Randy

Quoted 53 lines
Quoted 53 lines

../Randy

  1 file changed, 5 insertions(+), 5 deletions(-)

rename meta-oe/recipes-devtools/grpc/{grpc_1.45.2.bb => grpc_1.50.0.bb} (90%)

meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb +5 -6
similarity index 90%
rename from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb
rename to meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb
index c2f952fc64..8efd9321ca 100644
@@ -3,8 +3,8 @@ Provides gRPC libraries for multiple languages written on top of shared C core l
  (C++, Node.js, Python, Ruby, Objective-C, PHP, C#)"
  HOMEPAGE = "https://github.com/grpc/grpc"
  SECTION = "libs"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=6e4cf218112648d22420a84281b68b88"
+LICENSE = "Apache-2.0 && BSD-3-Clause && MPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906"
 
  DEPENDS = "c-ares protobuf protobuf-native protobuf-c protobuf-c-native openssl libnsl2 abseil-cpp re2"
  DEPENDS:append:class-target = " googletest grpc-native "
@@ -20,9 +20,9 @@ RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler"
  # RDEPENDS:${PN}-dev += "${PN}-compiler"
 
  S = "${WORKDIR}/git"
-SRCREV_grpc = "b39ffcc425ea990a537f98ec6fe6a1dcb90470d7"
-BRANCH = "v1.45.x"
-SRC_URI = "git://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \
+SRCREV_grpc = "91091e3668144de9c6aa392f496bb7639f7025a7"
+BRANCH = "v1.50.x"
+SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \
             file://0001-Revert-Changed-GRPCPP_ABSEIL_SYNC-to-GPR_ABSEIL_SYNC.patch \
             file://0001-cmake-add-separate-export-for-plugin-targets.patch \
             file://0001-cmake-Link-with-libatomic-on-rv32-rv64.patch \
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#99241): https://lists.openembedded.org/g/openembedded-devel/message/99241
Mute This Topic: https://lists.openembedded.org/mt/94413640/3616765
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
# Randy MacLeod
# Wind River Linux

Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#4 lore raw

I can confirm that grpc upgrade fixed compatibility with abseil-cpp upgrade from:
https://git.openembedded.org/meta-openembedded/commit/?id=3ab22400d180529d2ad9d18a77c1d2863c3d838e

FWIW: We had around 5 more failing recipes in internal layers caused by this abseil-cpp upgrade, explicitly setting std to c++14 worked for all of them, e.g. in pulseaudio:
https://github.com/shr-project/meta-webosose/commit/b04f44b2bcf3bb2a1dd2387ae454df388e8dd819

Cheers,

Quoted 169 lines · Randy MacLeod
Quoted 5 lines · Khem Raj
Quoted 3 lines · Randy MacLeod

On 2022-10-18 13:31, Khem Raj wrote:

Quoted 8 lines
Quoted 8 lines

License-update: Include MPL-2.0 [1]

Add missing BSD 3-clause and MPL-2.0 to license field

Switch to git submodules since its using locked versions of some components like opencensus-proto

[1]

https://github.com/grpc/grpc/commit/05fcd826f477ef1a024a2defa5e4b3d78f5e6eb4

Quoted 3 lines
Quoted 3 lines
---
  .../grpc/{grpc_1.45.2.bb => grpc_1.50.0.bb}            | 10

+++++-----

Quoted 7 lines
Quoted 7 lines

Is anyone else seeing:

error: #error "C++ versions less than C++14 are not supported."

Quoted 6 lines

Review

Quoted 6 lines

i.e.

TOPDIR/tmp-glibc/hosttools/g++ -Dgpr_EXPORTS \

(quoted diff) +0 -2
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/include \
-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git \

-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/third_party/address_sorting/include \

Quoted 1 line
Quoted 1 line

-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/ext/upb-generated \

Quoted 1 line
Quoted 1 line

-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/ext/upbdefs-generated \

Quoted 1 line
Quoted 1 line

-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/third_party/upb \

Quoted 1 line
Quoted 1 line

-ITOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/third_party/xxhash \

Quoted 1 line
Quoted 1 line

-isystemTOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include \

Quoted 9 lines
Quoted 9 lines
(quoted diff) +0 -2
-O2 -pipe -Wl,--no-as-needed -fPIC -std=c++11 \
-MD -MT \

CMakeFiles/gpr.dir/src/core/lib/gpr/murmur_hash.cc.o \
-MF \
CMakeFiles/gpr.dir/src/core/lib/gpr/murmur_hash.cc.o.d \
-o \
CMakeFiles/gpr.dir/src/core/lib/gpr/murmur_hash.cc.o \
-c \

TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/lib/gpr/murmur_hash.cc

Quoted 2 lines
Quoted 2 lines

In file included from

TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include/absl/base/config.h:86,

Quoted 2 lines
Quoted 2 lines

from

TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include/absl/base/attributes.h:37, \

Quoted 2 lines
Quoted 2 lines

from \

TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/git/src/core/lib/gpr/murmur_hash.cc:25:
\

Quoted 1 line
Quoted 1 line

TOPDIR/tmp-glibc/work/x86_64-linux/grpc-native/1.45.2-r0/recipe-sysroot-native/usr/include/absl/base/policy_checks.h:79:2:
\

Quoted 11 lines
Quoted 8 lines

error: #error "C++ versions less than C++14 are not supported." 79 | #error "C++ versions less than C++14 are not supported." \
| ^~~~~

Happening for a variety of distros.

fedora: 34, 35, 36, ubuntu: 1804, 2004, opensuse153

you seem to be still building 1.45.2 and the upgrade to 1.50x fixed exactly this.

Huh, look at that.

Thanks Khem.
../Randy

Quoted 7 lines
Quoted 7 lines

../Randy

  1 file changed, 5 insertions(+), 5 deletions(-)

rename meta-oe/recipes-devtools/grpc/{grpc_1.45.2.bb =>

grpc_1.50.0.bb} (90%)

Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb

Quoted 7 lines

meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb Provides gRPC libraries for multiple languages written

Quoted 7 lines

similarity index 90%
rename from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb rename to meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb index c2f952fc64..8efd9321ca 100644

meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb +0 -0
@@ -3,8 +3,8 @@ Provides gRPC libraries for multiple languages written

on top of shared C core l

Quoted 5 lines

meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb Provides gRPC libraries for multiple languages written on top of shared C core l

Quoted 5 lines
meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb +0 -2
  (C++, Node.js, Python, Ruby, Objective-C, PHP, C#)"
  HOMEPAGE = "https://github.com/grpc/grpc"
  SECTION = "libs"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM =

"file://LICENSE;md5=6e4cf218112648d22420a84281b68b88"

Quoted 2 lines

meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb Provides gRPC libraries for multiple languages written · line 7

Quoted 2 lines
meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb +2 -0
+LICENSE = "Apache-2.0 && BSD-3-Clause && MPL-2.0"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906"

Quoted 2 lines

meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb Provides gRPC libraries for multiple languages written · line 8

Quoted 2 lines
meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb +0 -0
  DEPENDS = "c-ares protobuf protobuf-native protobuf-c

protobuf-c-native openssl libnsl2 abseil-cpp re2"

Quoted 2 lines

meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb RDEPENDS:${PN}-dev:append:class-native = "

Quoted 2 lines
meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb +0 -0
  DEPENDS:append:class-target = " googletest grpc-native "
@@ -20,9 +20,9 @@ RDEPENDS:${PN}-dev:append:class-native = "

${PN}-compiler"

Quoted 6 lines

meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler"

Quoted 6 lines
meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb +0 -3
  # RDEPENDS:${PN}-dev += "${PN}-compiler"
 
  S = "${WORKDIR}/git"
-SRCREV_grpc = "b39ffcc425ea990a537f98ec6fe6a1dcb90470d7"
-BRANCH = "v1.45.x"
-SRC_URI = "git://

github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH}
<http://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=$%7BBRANCH%7D>
\

Quoted 3 lines

meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler"

Quoted 3 lines
meta-oe/recipes-devtools/grpc/grpc_1.50.0.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.45.2.bb +3 -0
+SRCREV_grpc = "91091e3668144de9c6aa392f496bb7639f7025a7"
+BRANCH = "v1.50.x"
+SRC_URI = "gitsm://

github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH}
<http://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=$%7BBRANCH%7D>
\

Quoted 1 line
Quoted 1 line

file://0001-Revert-Changed-GRPCPP_ABSEIL_SYNC-to-GPR_ABSEIL_SYNC.patch \

Quoted 1 line
Quoted 1 line

file://0001-cmake-add-separate-export-for-plugin-targets.patch \

Quoted 9 lines
Quoted 9 lines
             file://0001-cmake-Link-with-libatomic-on-rv32-rv64.patch \

--
# Randy MacLeod
# Wind River Linux

--
# Randy MacLeod
# Wind River Linux

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#99347):
https://lists.openembedded.org/g/openembedded-devel/message/99347
Mute This Topic: https://lists.openembedded.org/mt/94413640/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-