py27-cryptography fails to build with libressl 2.5.3

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

py27-cryptography fails to build with libressl 2.5.3

Kastus Shchuka-2
Upgrade of libressl from 2.4.5 to 2.5.3 triggered rebuild of py27-cryptography
which failed with the following errors:

:info:build build/temp.macosx-10.10-x86_64-2.7/_openssl.c:3484:19: error: expected identifier or '('
:info:build static const long X509_V_ERR_HOSTNAME_MISMATCH = 0;
:info:build                   ^
:info:build /opt/local/include/openssl/x509_vfy.h:357:41: note: expanded from macro 'X509_V_ERR_HOSTNAME_MISMATCH'
:info:build #define         X509_V_ERR_HOSTNAME_MISMATCH                    62
:info:build                                                                 ^
:info:build build/temp.macosx-10.10-x86_64-2.7/_openssl.c:3485:19: error: expected identifier or '('
:info:build static const long X509_V_ERR_EMAIL_MISMATCH = 0;
:info:build                   ^
:info:build /opt/local/include/openssl/x509_vfy.h:358:38: note: expanded from macro 'X509_V_ERR_EMAIL_MISMATCH'
:info:build #define         X509_V_ERR_EMAIL_MISMATCH                       63
:info:build                                                                 ^
:info:build build/temp.macosx-10.10-x86_64-2.7/_openssl.c:3486:19: error: expected identifier or '('
:info:build static const long X509_V_ERR_IP_ADDRESS_MISMATCH = 0;
:info:build                   ^
:info:build /opt/local/include/openssl/x509_vfy.h:359:43: note: expanded from macro 'X509_V_ERR_IP_ADDRESS_MISMATCH'
:info:build #define         X509_V_ERR_IP_ADDRESS_MISMATCH                  64
:info:build                                                                 ^
:info:build 3 errors generated.

It looks like libressl added definition of three macros to /opt/local/include/openssl/x509_vfy.h
and now they conflict with constants generated in _openssl.c.

I filed ticket #53964 in trac, I copied maintainer. Do I need to copy anybody
else in the ticket?

Thanks,

Kastus
Loading...