mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-26 01:28:27 +00:00
python3-grpcio: revert unbundling abseil-cpp
This reverts commit 990b03b616.
>>> import grpc
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import grpc
File "/usr/lib/python3.13/site-packages/grpc/__init__.py", line 22, in <module>
from grpc import _compression
File "/usr/lib/python3.13/site-packages/grpc/_compression.py", line 20, in <module>
from grpc._cython import cygrpc
ImportError: /usr/lib/python3.13/site-packages/grpc/_cython/cygrpc.cpython-313-x86_64-linux-gnu.so: undefined symbol: _ZN4absl12lts_2024072212log_internal17kUnsignedCharNullE
Even installing whole abseil-ccp does not solve this.
ldd on this library does not include libraries containing this symbol.
Some work in linking upstram would be needed.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -8,9 +8,11 @@ LIC_FILES_CHKSUM = " \
|
||||
file://third_party/xxhash/xxhash.h;beginline=1;endline=34;md5=d41d564db2353fc80a713956d85b1690 \
|
||||
"
|
||||
|
||||
DEPENDS += "abseil-cpp c-ares openssl python3-protobuf re2 zlib"
|
||||
DEPENDS += "c-ares openssl python3-protobuf re2 zlib"
|
||||
|
||||
SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch"
|
||||
SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \
|
||||
file://abseil-ppc-fixes.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "8d1584a68d5922330025881e63a6c1b54cc8117291d382e4fa69339b6d914c56"
|
||||
|
||||
RDEPENDS:${PN} = "python3-protobuf"
|
||||
@@ -20,7 +22,8 @@ inherit pypi
|
||||
|
||||
CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
|
||||
|
||||
export GRPC_PYTHON_BUILD_SYSTEM_ABSL = "1"
|
||||
# unbundling abseil-cpp needs work on dynamic linker issue
|
||||
#export GRPC_PYTHON_BUILD_SYSTEM_ABSL = "1"
|
||||
export GRPC_PYTHON_BUILD_SYSTEM_CARES = "1"
|
||||
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL = "1"
|
||||
export GRPC_PYTHON_BUILD_SYSTEM_RE2 = "1"
|
||||
|
||||
Reference in New Issue
Block a user