Comments (4)
Can you try with https://patchwork.yoctoproject.org/project/oe/patch/[email protected]/ applied ?
from meta-openembedded.
I attempted to apply this commit, which I believe contains the same fix as the one you provided in the link. But I don't think it really works.
Here is the compile error log
| FAILED: gens/src/proto/grpc/channelz/channelz.grpc.pb.cc gens/src/proto/grpc/channelz/channelz.grpc.pb.h gens/src/proto/grpc/channelz/channelz_mock.grpc.pb.h gens/src/proto/grpc/channelz/channelz.pb.cc gens/src/proto/grpc/channelz/channelz.pb.h /build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-grpc/1.50.1-r0/build/gens/src/proto/grpc/channelz/channelz.grpc.pb.cc /build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-grpc/1.50.1-r0/build/gens/src/proto/grpc/channelz/channelz.grpc.pb.h /build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-grpc/1.50.1-r0/build/gens/src/proto/grpc/channelz/channelz_mock.grpc.pb.h /build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-grpc/1.50.1-r0/build/gens/src/proto/grpc/channelz/channelz.pb.cc /build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-grpc/1.50.1-r0/build/gens/src/proto/grpc/channelz/channelz.pb.h
| cd /build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-grpc/1.50.1-r0/build/protos && /build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-grpc/1.50.1-r0/recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/protoc --grpc_out=generate_mock_code=true:/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-grpc/1.50.1-r0/build/gens --cpp_out=/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-grpc/1.50.1-r0/build/gens --plugin=protoc-gen-grpc=/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-grpc/1.50.1-r0/recipe-sysroot-native/usr/bin/grpc_cpp_plugin -I . -I /build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-grpc/1.50.1-r0/recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/include src/proto/grpc/channelz/channelz.proto
| /bin/sh: 1: /build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-grpc/1.50.1-r0/recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/protoc: not found
from meta-openembedded.
- FYI. I also tried to upgrade the
protobuf
to latest version4.23.4
, but it seems like it requires latest version ofgrpc
.
| In file included from /build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-protobuf/4.23.4-r0/git/src/google/protobuf/extension_set.cc:55:
| /build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-protobuf/4.23.4-r0/git/src/google/protobuf/port_def.inc:210:35: error: static assertion failed: Protobuf only supports Abseil version 20230125.3 and newer.
| 210 | (ABSL_LTS_RELEASE_VERSION > (x) || \
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| 211 | (ABSL_LTS_RELEASE_VERSION == (x) && ABSL_LTS_RELEASE_PATCH_LEVEL >= (y)))
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-protobuf/4.23.4-r0/git/src/google/protobuf/port_def.inc:219:15: note: in expansion of macro 'PROTOBUF_ABSL_MIN'
| 219 | static_assert(PROTOBUF_ABSL_MIN(20230125, 3),
| | ^~~~~~~~~~~~~~~~~
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
- After upgrading both
protobuf
andgrpc
, the build still failed, indicating that it requiresc++14 or newer
. I have no idea what causing this issue. But I guess I need to check out master branchmeta-clang
instead ofmickledore
?
from meta-openembedded.
Main branch have patch 54885a5
For Mickledore you can write grpc_1.50.1.bbappend
:
# https://github.com/openembedded/meta-openembedded/commit/54885a5af2da26d7c84f8aff6fc845c2681b2890
EXTRA_OECMAKE = " \
-DgRPC_CARES_PROVIDER=package \
-DgRPC_ZLIB_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/protoc \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_INSTALL=ON \
-DCMAKE_CROSSCOMPILING=ON \
-DgRPC_INSTALL_LIBDIR=${baselib} \
-DgRPC_INSTALL_CMAKEDIR=${baselib}/cmake/${BPN} \
"
from meta-openembedded.
Related Issues (20)
- python twisted 23.10 HOT 6
- Testcases are missing under kernel-selftest.bb HOT 6
- ModuleNotFoundError: No module named 'backports'
- nginx use /run for temporary files
- which branch to use for yocto scarthgap (5.0 LTS) ? HOT 1
- VLC with master branch compilation HOT 2
- python3-protobuf not ussing cpp backend.
- Question: `python3-twisted` on Kirkstone is missing two runtime dependencies HOT 3
- libidn: build errors
- packagekit HOT 1
- hdf5 missing cpp library
- checklayer issue with master: Nothing RPROVIDES 'python3-unittest-automake-output'
- Broken php-fpm systemd service in kirkstone, mickledore and nanbield HOT 5
- scarthgap: abseil-cpp and re2 drag -dev packages to rootfs HOT 1
- scarthgap: auditd recipe broken when systemd is enabled HOT 2
- On the LIRC package, the default config file does not include its .conf.d directory
- samba: LIC_FILES_CHKSUM points to an invalid file
- Configuration errors for libblockdev HOT 2
- abseil-cpp issue with _append in library name HOT 4
- [meta-oe][scarthgap] openbox crashes on alt+tab with fullscreen app probably caused by newer glib-2.0 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meta-openembedded.