[Buildroot] [PATCH 1/1] package/python-cffi: needs threads

Fabrice Fontaine fontaine.fabrice at gmail.com
Sat Apr 3 13:16:36 UTC 2021


I'm setting this patch as "Rejected" as this build failure is due to
commit b5dede7d1a03ab2b8caa0a8e79b09c8df6c62fe4 which wrongly select
python3 if python is not selected resulting in python being selected
even without threads support

Le sam. 3 avr. 2021 à 14:55, Fabrice Fontaine
<fontaine.fabrice at gmail.com> a écrit :
>
> libffi needs threads since commit
> 77cf5b5a71aa54039f4dbc509a1c7cb40aa04934 (more than 6 years ago)
>
> Strangely enough this is the first time there is a build failure on the
> autobuilders
>
> Fixes:
>  - http://autobuild.buildroot.org/results/acdbf7c58ec8ae648f8048bc75650dcdcdca6285
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  package/python-cffi/Config.in | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/package/python-cffi/Config.in b/package/python-cffi/Config.in
> index bc9f6a296d..3f332c0504 100644
> --- a/package/python-cffi/Config.in
> +++ b/package/python-cffi/Config.in
> @@ -1,5 +1,6 @@
>  config BR2_PACKAGE_PYTHON_CFFI
>         bool "python-cffi"
> +       depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
>         select BR2_PACKAGE_LIBFFI
>         select BR2_PACKAGE_PYTHON_PYCPARSER # runtime
>         help
> @@ -8,3 +9,6 @@ config BR2_PACKAGE_PYTHON_CFFI
>           and reliable way of calling C code from Python.
>
>           https://pypi.python.org/pypi/cffi
> +
> +comment "python-cffi needs a toolchain w/ threads"
> +       depends on !BR2_TOOLCHAIN_HAS_THREADS
> --
> 2.30.2
>
Best Regards

Fabrice


More information about the buildroot mailing list