Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails on Void Linux #4222

Closed
Vintodrimmer opened this issue May 10, 2018 · 2 comments
Closed

Installation fails on Void Linux #4222

Vintodrimmer opened this issue May 10, 2018 · 2 comments

Comments

@Vintodrimmer
Copy link

Good day,

I'm running:

  • Python 3.6.5
  • pip 9.0.3 (problem persists with v10.0.1)
  • setuptools 39.1.0
  • cffi 1.11.5
  • gcc 7.3.0
  • LibreSSL 2.7.2

I'm trying to install cryptography using pip install --user cryptography but get this log with following errors:

    Running setup.py install for cryptography: finished with status 'error'
    gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fPIC -I/usr/include/python3.6m -c build/temp.linux-x86_64-3.6/_openssl.c -o build/temp.linux-x86_64-3.6/build/temp.linux-x86_64-3.6/_openssl.o -Wconversion -Wno-error=sign-conversion
    build/temp.linux-x86_64-3.6/_openssl.c:2334:6: error: conflicting types for 'X509_get0_signature'
    build/temp.linux-x86_64-3.6/_openssl.c:2472:7: error: 'X509_VERIFY_PARAM_set1_host' redeclared as different kind of symbol
    build/temp.linux-x86_64-3.6/_openssl.c:2474:7: error: 'X509_VERIFY_PARAM_set1_email' redeclared as different kind of symbol
    build/temp.linux-x86_64-3.6/_openssl.c:2476:7: error: 'X509_VERIFY_PARAM_set1_ip' redeclared as different kind of symbol
    build/temp.linux-x86_64-3.6/_openssl.c:2478:7: error: 'X509_VERIFY_PARAM_set1_ip_asc' redeclared as different
kind of symbol
    build/temp.linux-x86_64-3.6/_openssl.c:2479:8: error: 'X509_VERIFY_PARAM_set_hostflags' redeclared as different kind of symbol
    build/temp.linux-x86_64-3.6/_openssl.c:2518:7: error: conflicting types for 'X509_OBJECT_get0_X509'
    error: command 'gcc' failed with exit status 1

What may be the problem?

@reaperhulk
Copy link
Member

libressl 2.7.x changed symbols and cryptography needs to be updated to support it. The work is being tracked in #4210 and #4211

@Vintodrimmer
Copy link
Author

Thanks!

Will be waiting for the patch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants