python-cryptography: Add -pthread to link flags
PATCH 1/1 python-cryptography: Add -pthread to link flags
From: Chris Garren <[email protected]>
This builds openssl which needs pthread_atfork(), but it's not linked which results in runtime errors.
--- meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb +2 -0
@@ -1,6 +1,8 @@ inherit pypi setuptools require python-cryptography.inc +LDSHARED += "-pthread" + SRC_URI += " \ file://run-ptest \ "
Signature · 1 line
2.7.4
Quoted 9 lines · On Fri, Apr 5, 2019 at 11:00 AM <[email protected]> wrote:
From: Chris Garren <[email protected]>
This builds openssl which needs
pthread_atfork(), but it's not linked which results in runtime errors.Signed-off-by Chris Garren <[email protected]>--- 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
Quoted 23 lines
1 file changed, 2 insertions(+)meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb +2
-1@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-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.
Quoted 41 lines · Khem Raj
Quoted 9 lines · On Fri, Apr 5, 2019 at 11:00 AM <[email protected]> wrote:
From: Chris Garren <[email protected]>
This builds openssl which needs
pthread_atfork(), but it's not linked which results in runtime errors.Signed-off-by Chris Garren <[email protected]>--- 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.incReview
Quoted 3 lines
1 file changed, 2 insertions(+)(quoted diff) +0
-0python-cryptography_2.1.4.bb b/meta-python/recipes-devtools/python/ python-cryptography_2.1.4.bb
Quoted 20 lines
index 9c2f884..ce7b5ab 100644
meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb +2
-1@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel