d702ac5844
Fix the following build failure raised since the addition of the package
in commit ea45b95c0e
:
/home/autobuild/autobuild/instance-12/output-1/build/python-grpcio-1.60.0/setup.py:40: 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 "/home/autobuild/autobuild/instance-12/output-1/build/python-grpcio-1.60.0/setup.py", line 289, in <module>
if check_linker_need_libatomic():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/autobuild/autobuild/instance-12/output-1/build/python-grpcio-1.60.0/setup.py", line 223, in check_linker_need_libatomic
cpp_test = subprocess.Popen(
^^^^^^^^^^^^^^^^^
File "/home/autobuild/autobuild/instance-12/output-1/host/sparc64-buildroot-linux-gnu/sysroot/usr/lib/python3.11/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/autobuild/autobuild/instance-12/output-1/host/sparc64-buildroot-linux-gnu/sysroot/usr/lib/python3.11/subprocess.py", line 1950, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'no'
Fixes:
- http://autobuild.buildroot.org/results/58ac25b4e426712269c5fc144121c955b714c760
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
13 lines
389 B
Plaintext
13 lines
389 B
Plaintext
config BR2_PACKAGE_PYTHON_GRPCIO_REFLECTION
|
|
bool "python-grpcio-reflection"
|
|
depends on BR2_INSTALL_LIBSTDCPP # python-grpcio
|
|
select BR2_PACKAGE_PYTHON_GRPCIO # runtime
|
|
select BR2_PACKAGE_PYTHON_PROTOBUF # runtime
|
|
help
|
|
Standard Protobuf Reflection Service for gRPC.
|
|
|
|
https://grpc.io
|
|
|
|
comment "python-grpcio-reflection needs a toolchain w/ C++"
|
|
depends on !BR2_INSTALL_LIBSTDCPP
|