Re: [yocto] Python cryptography failing due to undefined symbol: pthread_atfork

2017-12-29 Thread Alan Martinovic
Hey Tim, your hunch was right, it can be fixed with the .bbappend, thanks. Would like to submit it as a patch to python-cryptography.inc. Is there a policy on what should be the base commit for which the patch should be applied on? I can't test it with master, I saw there is a rocko-next, should

Re: [yocto] Python cryptography failing due to undefined symbol: pthread_atfork

2017-12-22 Thread Tim Orling
My hunch (not tested) is that the recipe needs -pthread added to LDSHARED: http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/distutils.bbclass#n82 So try a python3-cryptography_%.bbappend file with “export LDSHARED="${CCLD} -shared -pthread” in your own layer Or try adding that

Re: [yocto] Python cryptography failing due to undefined symbol: pthread_atfork

2017-12-22 Thread Alan Martinovic
I have confirmed that no `-pthread` flags are being set for building python-cryptography. Running the following: bitbake python-cryptography -c do_compile bitbake python-cryptography -c devshell grep pthread ../temp/run.do_compile gives no returns. Also there isn't a mention of it