Package: python3-grpc-tools
Version: 1.14.1-7+b3
Severity: serious
User: debian-ri...@lists.debian.org
Usertag: riscv64

I've spotted this in opensnitch's build log, and reproduced it locally:

% sudo apt install python3-grpc-tools python3-pkg-resources
..
% python3 -m grpc_tools.protoc -I. --python_out=foo --grpc_python_out=foo 
ui.proto
/usr/lib/python3/dist-packages/grpc_tools/protoc.py:17: DeprecationWarning: 
pkg_resources is deprecated as an API. See 
https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/lib/python3/dist-packages/grpc_tools/protoc.py", line 20, in 
<module>
    from grpc_tools import _protoc_compiler
ImportError: 
/usr/lib/python3/dist-packages/grpc_tools/_protoc_compiler.cpython-313-riscv64-linux-gnu.so:
 undefined symbol: _ZN6google8protobuf8internal22Release_CompareAndSwapEPVlll


The same command works on arm64, so this seems like some riscv64 problem.

Chris


ii  python3-grpc-tools 1.14.1-7+b3   riscv64      Protobuf code generator for 
gRPC (Python 3)
ii  python3-grpcio     1.51.1-6      riscv64      GRPC system (Python 3)
ii  python3-protobuf   3.21.12-10+b6 riscv64      Python 3 bindings for 
protocol buffers

Reply via email to