* [meta-python][PATCH] python-cryptography: Add -pthread to link flags
@ 2019-04-05 18:00 chris.d.garren
2019-04-05 20:33 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: chris.d.garren @ 2019-04-05 18:00 UTC (permalink / raw)
To: openembedded-devel
From: Chris Garren <cdgarren@indesign-llc.com>
This builds openssl which needs pthread_atfork(),
but it's not linked which results in runtime errors.
Signed-off-by: Chris Garren <cdgarren@indesign-llc.com>
---
meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb b/meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb
index 9c2f884..ce7b5ab 100644
--- a/meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb
+++ b/meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb
@@ -1,6 +1,8 @@
inherit pypi setuptools
require python-cryptography.inc
+LDSHARED += "-pthread"
+
SRC_URI += " \
file://run-ptest \
"
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-python][PATCH] python-cryptography: Add -pthread to link flags
2019-04-05 18:00 [meta-python][PATCH] python-cryptography: Add -pthread to link flags chris.d.garren
@ 2019-04-05 20:33 ` Khem Raj
2019-04-08 13:15 ` Chris Garren
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2019-04-05 20:33 UTC (permalink / raw)
To: chris.d.garren; +Cc: openembeded-devel
On Fri, Apr 5, 2019 at 11:00 AM <chris.d.garren@gmail.com> wrote:
>
> From: Chris Garren <cdgarren@indesign-llc.com>
>
> This builds openssl which needs pthread_atfork(),
> but it's not linked which results in runtime errors.
>
> Signed-off-by: Chris Garren <cdgarren@indesign-llc.com>
> ---
> meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb | 2 ++
We are on 2.4.1 on master, so please rebase it, secondly do we need it
for python3
recipe as well if so then move the fix to python-cryptography.inc
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb b/meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb
> index 9c2f884..ce7b5ab 100644
> --- a/meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb
> +++ b/meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb
> @@ -1,6 +1,8 @@
> inherit pypi setuptools
> require python-cryptography.inc
>
> +LDSHARED += "-pthread"
> +
> SRC_URI += " \
> file://run-ptest \
> "
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-python][PATCH] python-cryptography: Add -pthread to link flags
2019-04-05 20:33 ` Khem Raj
@ 2019-04-08 13:15 ` Chris Garren
0 siblings, 0 replies; 3+ messages in thread
From: Chris Garren @ 2019-04-08 13:15 UTC (permalink / raw)
To: Khem Raj; +Cc: openembeded-devel
It looks like it was already added to the python3 recipe, so yes, it should
probably be in the .inc file. I will revise.
On Fri, Apr 5, 2019 at 4:34 PM Khem Raj <raj.khem@gmail.com> wrote:
> On Fri, Apr 5, 2019 at 11:00 AM <chris.d.garren@gmail.com> wrote:
> >
> > From: Chris Garren <cdgarren@indesign-llc.com>
> >
> > This builds openssl which needs pthread_atfork(),
> > but it's not linked which results in runtime errors.
> >
> > Signed-off-by: Chris Garren <cdgarren@indesign-llc.com>
> > ---
> > meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb | 2 ++
>
> We are on 2.4.1 on master, so please rebase it, secondly do we need it
> for python3
> recipe as well if so then move the fix to python-cryptography.inc
>
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/meta-python/recipes-devtools/python/
> python-cryptography_2.1.4.bb b/meta-python/recipes-devtools/python/
> python-cryptography_2.1.4.bb
> > index 9c2f884..ce7b5ab 100644
> > --- a/meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb
> > +++ b/meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb
> > @@ -1,6 +1,8 @@
> > inherit pypi setuptools
> > require python-cryptography.inc
> >
> > +LDSHARED += "-pthread"
> > +
> > SRC_URI += " \
> > file://run-ptest \
> > "
> > --
> > 2.7.4
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-04-08 13:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-05 18:00 [meta-python][PATCH] python-cryptography: Add -pthread to link flags chris.d.garren
2019-04-05 20:33 ` Khem Raj
2019-04-08 13:15 ` Chris Garren
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.