Message ID | 20180302020443.29914-1-raj.khem@gmail.com |
---|---|
State | Accepted |
Commit | 49ecf6f65dddecaec57790de8610dc89666e31e6 |
Headers | show |
Series | [oe,meta-python] python3-cryptography: Add -pthread to link flags | expand |
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 > -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
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 \ "
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(+) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel