Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save squeaky-pl/4175169b95bb3c66062bd231e5eeea0f to your computer and use it in GitHub Desktop.
Save squeaky-pl/4175169b95bb3c66062bd231e5eeea0f to your computer and use it in GitHub Desktop.
*** failed to build the CFFI modules ['_ssl_build.py']
PyPy can still be used as long as you don't need the corresponding
modules. If you do need them, please install the missing headers and
libraries (see error messages just above) and then re-run the command:
/src/pypy/pypy3-c /src/pypy/pypy/tool/build_cffi_imports.py
[1269ca] translation-task}
[translation:info] usession directory: /src/usession-release-pypy3.5-v5.8.0-0
stdout:
stderr:
_pypy_openssl.c:663:23: error: conflicting types for 'ASN1_TIME_to_generalizedtime'
ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from _pypy_openssl.c:470:0:
/opt/prefix/include/openssl/asn1.h:628:23: note: previous declaration of 'ASN1_TIME_to_generalizedtime' was here
ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_ASN1_STRING_data':
_pypy_openssl.c:13851:3: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations]
return ASN1_STRING_data(x0);
^~~~~~
_pypy_openssl.c:644:16: note: declared here
unsigned char *ASN1_STRING_data(ASN1_STRING *);
^~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_BIO_f_buffer':
_pypy_openssl.c:15250:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return BIO_f_buffer();
^~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_BIO_f_null':
_pypy_openssl.c:15274:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return BIO_f_null();
^~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_BIO_s_fd':
_pypy_openssl.c:16703:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return BIO_s_fd();
^~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_BIO_s_file':
_pypy_openssl.c:16727:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return BIO_s_file();
^~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_BIO_s_mem':
_pypy_openssl.c:16751:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return BIO_s_mem();
^~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_BIO_s_null':
_pypy_openssl.c:16775:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return BIO_s_null();
^~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_BIO_s_socket':
_pypy_openssl.c:16799:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return BIO_s_socket();
^~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_DTLSv1_client_method':
_pypy_openssl.c:23425:3: warning: 'DTLSv1_client_method' is deprecated [-Wdeprecated-declarations]
return DTLSv1_client_method();
^~~~~~
In file included from /opt/prefix/include/openssl/ct.h:13:0,
from /opt/prefix/include/openssl/ssl.h:61,
from _pypy_openssl.c:554:
/opt/prefix/include/openssl/ssl.h:1632:45: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_client_method(void)) /* DTLSv1.0 */
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/ssl.h:1632:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_client_method(void)) /* DTLSv1.0 */
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_DTLSv1_method':
_pypy_openssl.c:23449:3: warning: 'DTLSv1_method' is deprecated [-Wdeprecated-declarations]
return DTLSv1_method();
^~~~~~
In file included from /opt/prefix/include/openssl/ct.h:13:0,
from /opt/prefix/include/openssl/ssl.h:61,
from _pypy_openssl.c:554:
/opt/prefix/include/openssl/ssl.h:1630:45: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_method(void)) /* DTLSv1.0 */
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/ssl.h:1630:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_method(void)) /* DTLSv1.0 */
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_DTLSv1_server_method':
_pypy_openssl.c:23473:3: warning: 'DTLSv1_server_method' is deprecated [-Wdeprecated-declarations]
return DTLSv1_server_method();
^~~~~~
In file included from /opt/prefix/include/openssl/ct.h:13:0,
from /opt/prefix/include/openssl/ssl.h:61,
from _pypy_openssl.c:554:
/opt/prefix/include/openssl/ssl.h:1631:45: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_server_method(void)) /* DTLSv1.0 */
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/ssl.h:1631:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_server_method(void)) /* DTLSv1.0 */
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_OPENSSL_config':
_pypy_openssl.c:40410:3: warning: 'OPENSSL_config' is deprecated [-Wdeprecated-declarations]
OPENSSL_config(x0);
^~~~~~~~~~~~~~
_pypy_openssl.c:776:6: note: declared here
void OPENSSL_config(const char *);
^~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_TLSv1_1_client_method':
_pypy_openssl.c:53680:3: warning: 'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations]
return TLSv1_1_client_method();
^~~~~~
In file included from /opt/prefix/include/openssl/ct.h:13:0,
from /opt/prefix/include/openssl/ssl.h:61,
from _pypy_openssl.c:554:
/opt/prefix/include/openssl/ssl.h:1620:45: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) /* TLSv1.1 */
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/ssl.h:1620:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) /* TLSv1.1 */
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_TLSv1_1_method':
_pypy_openssl.c:53704:3: warning: 'TLSv1_1_method' is deprecated [-Wdeprecated-declarations]
return TLSv1_1_method();
^~~~~~
In file included from /opt/prefix/include/openssl/ct.h:13:0,
from /opt/prefix/include/openssl/ssl.h:61,
from _pypy_openssl.c:554:
/opt/prefix/include/openssl/ssl.h:1618:45: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/ssl.h:1618:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_TLSv1_1_server_method':
_pypy_openssl.c:53728:3: warning: 'TLSv1_1_server_method' is deprecated [-Wdeprecated-declarations]
return TLSv1_1_server_method();
^~~~~~
In file included from /opt/prefix/include/openssl/ct.h:13:0,
from /opt/prefix/include/openssl/ssl.h:61,
from _pypy_openssl.c:554:
/opt/prefix/include/openssl/ssl.h:1619:45: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_server_method(void)) /* TLSv1.1 */
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/ssl.h:1619:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_server_method(void)) /* TLSv1.1 */
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_TLSv1_2_client_method':
_pypy_openssl.c:53752:3: warning: 'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations]
return TLSv1_2_client_method();
^~~~~~
In file included from /opt/prefix/include/openssl/ct.h:13:0,
from /opt/prefix/include/openssl/ssl.h:61,
from _pypy_openssl.c:554:
/opt/prefix/include/openssl/ssl.h:1626:45: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) /* TLSv1.2 */
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/ssl.h:1626:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) /* TLSv1.2 */
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_TLSv1_2_method':
_pypy_openssl.c:53776:3: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations]
return TLSv1_2_method();
^~~~~~
In file included from /opt/prefix/include/openssl/ct.h:13:0,
from /opt/prefix/include/openssl/ssl.h:61,
from _pypy_openssl.c:554:
/opt/prefix/include/openssl/ssl.h:1624:45: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/ssl.h:1624:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_TLSv1_2_server_method':
_pypy_openssl.c:53800:3: warning: 'TLSv1_2_server_method' is deprecated [-Wdeprecated-declarations]
return TLSv1_2_server_method();
^~~~~~
In file included from /opt/prefix/include/openssl/ct.h:13:0,
from /opt/prefix/include/openssl/ssl.h:61,
from _pypy_openssl.c:554:
/opt/prefix/include/openssl/ssl.h:1625:45: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void)) /* TLSv1.2 */
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/ssl.h:1625:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void)) /* TLSv1.2 */
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_TLSv1_client_method':
_pypy_openssl.c:53824:3: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations]
return TLSv1_client_method();
^~~~~~
In file included from /opt/prefix/include/openssl/ct.h:13:0,
from /opt/prefix/include/openssl/ssl.h:61,
from _pypy_openssl.c:554:
/opt/prefix/include/openssl/ssl.h:1614:45: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/ssl.h:1614:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_TLSv1_method':
_pypy_openssl.c:53848:3: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations]
return TLSv1_method();
^~~~~~
In file included from /opt/prefix/include/openssl/ct.h:13:0,
from /opt/prefix/include/openssl/ssl.h:61,
from _pypy_openssl.c:554:
/opt/prefix/include/openssl/ssl.h:1612:45: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/ssl.h:1612:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_TLSv1_server_method':
_pypy_openssl.c:53872:3: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations]
return TLSv1_server_method();
^~~~~~
In file included from /opt/prefix/include/openssl/ct.h:13:0,
from /opt/prefix/include/openssl/ssl.h:61,
from _pypy_openssl.c:554:
/opt/prefix/include/openssl/ssl.h:1613:45: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/ssl.h:1613:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_X509_CRL_get_lastUpdate':
_pypy_openssl.c:54917:3: warning: 'X509_CRL_get_lastUpdate' is deprecated [-Wdeprecated-declarations]
return X509_CRL_get_lastUpdate(x0);
^~~~~~
In file included from /opt/prefix/include/openssl/x509_vfy.h:20:0,
from /opt/prefix/include/openssl/x509.h:309,
from /opt/prefix/include/openssl/cms.h:16,
from _pypy_openssl.c:485:
/opt/prefix/include/openssl/x509.h:708:31: note: declared here
DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl))
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/x509.h:708:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl))
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_X509_CRL_get_nextUpdate':
_pypy_openssl.c:54953:3: warning: 'X509_CRL_get_nextUpdate' is deprecated [-Wdeprecated-declarations]
return X509_CRL_get_nextUpdate(x0);
^~~~~~
In file included from /opt/prefix/include/openssl/x509_vfy.h:20:0,
from /opt/prefix/include/openssl/x509.h:309,
from /opt/prefix/include/openssl/cms.h:16,
from _pypy_openssl.c:485:
/opt/prefix/include/openssl/x509.h:709:31: note: declared here
DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl))
^
/opt/prefix/include/openssl/opensslconf.h:99:35: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/opt/prefix/include/openssl/x509.h:709:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl))
^~~~~~~~~~~~~~~~~~
_pypy_openssl.c: In function '_cffi_d_X509_get0_signature':
_pypy_openssl.c:60629:23: warning: passing argument 1 of 'X509_get0_signature' from incompatible pointer type [-Wincompatible-pointer-types]
X509_get0_signature(x0, x1, x2);
^~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment