kumquat-buildroot/package/python-grpcio/Config.in

22 lines
665 B
Plaintext
Raw Normal View History

config BR2_PACKAGE_PYTHON_GRPCIO_ARCH_SUPPORTS
bool
# see third_party/boringssl-with-bazel/src/include/openssl/target.h
default y if BR2_aarch64 || BR2_aarch64_be
default y if BR2_arm || BR2_armeb
default y if BR2_i386 || BR2_x86_64
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
default y if BR2_riscv
config BR2_PACKAGE_PYTHON_GRPCIO
bool "python-grpcio"
depends on BR2_PACKAGE_PYTHON_GRPCIO_ARCH_SUPPORTS
package/python-grpcio: needs C++ Fix the following build failure raised since the addition of the package in commit ea45b95c0e54866134c63e88e60489a012b3d134: /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>
2024-01-06 12:36:27 +01:00
depends on BR2_INSTALL_LIBSTDCPP
help
HTTP/2-based RPC framework.
https://grpc.io
package/python-grpcio: needs C++ Fix the following build failure raised since the addition of the package in commit ea45b95c0e54866134c63e88e60489a012b3d134: /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>
2024-01-06 12:36:27 +01:00
comment "python-grpcio needs a toolchain w/ C++"
depends on BR2_PACKAGE_PYTHON_GRPCIO_ARCH_SUPPORTS
package/python-grpcio: needs C++ Fix the following build failure raised since the addition of the package in commit ea45b95c0e54866134c63e88e60489a012b3d134: /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>
2024-01-06 12:36:27 +01:00
depends on !BR2_INSTALL_LIBSTDCPP