[oe] [meta-python][PATCH] python3-cryptography: Add -pthread to link flags

Tim Orling ticotimo at gmail.com
Fri Mar 2 03:23:37 UTC 2018


Thank you for the catch.

This is why we need to have 100% package run time coverage. Call to arms
for everyone in the community. If you are reading this, this means you.

Acked-by: Tim Orling <ticotimo at gmail.com>

On Thu, Mar 1, 2018 at 6:05 PM Khem Raj <raj.khem at gmail.com> wrote:

> It builds openssl module which needs pthread_atfork()
> but we do not link it with libpthread, which results
> in runtime loading errors
>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  meta-python/recipes-devtools/python/python3-cryptography_2.1.4.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta-python/recipes-devtools/python/
> python3-cryptography_2.1.4.bb b/meta-python/recipes-devtools/python/
> python3-cryptography_2.1.4.bb
> index f64e51d3f..195923343 100644
> --- a/meta-python/recipes-devtools/python/python3-cryptography_2.1.4.bb
> +++ b/meta-python/recipes-devtools/python/python3-cryptography_2.1.4.bb
> @@ -1,6 +1,8 @@
>  inherit pypi setuptools3
>  require python-cryptography.inc
>
> +LDSHARED += "-pthread"
> +
>  SRC_URI += " \
>      file://run-ptest \
>  "
> --
> 2.16.2
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list