All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH] python3-cryptography: Add -pthread to link flags
@ 2018-03-02  2:04 Khem Raj
  2018-03-02  3:23 ` Tim Orling
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2018-03-02  2:04 UTC (permalink / raw)
  To: openembedded-devel

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@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-python][PATCH] python3-cryptography: Add -pthread to link flags
  2018-03-02  2:04 [meta-python][PATCH] python3-cryptography: Add -pthread to link flags Khem Raj
@ 2018-03-02  3:23 ` Tim Orling
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Orling @ 2018-03-02  3:23 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-devel

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@gmail.com>

On Thu, Mar 1, 2018 at 6:05 PM Khem Raj <raj.khem@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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-02  3:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-02  2:04 [meta-python][PATCH] python3-cryptography: Add -pthread to link flags Khem Raj
2018-03-02  3:23 ` Tim Orling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.