Buildbot failure in Python on whole buildset
The Buildbot has detected a new failure on builder AMD64 RHEL7 LTO 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#builders/507/builds/94
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: cstratak-RHEL7-x86_64
Build Reason: <unknown> Blamelist: Pablo Galindo Pablogsal@gmail.com, Victor Stinner vstinner@python.org
BUILD FAILED: failed test (failure) uploading test-results.xml (failure)
Summary of the results of the build (if available):
==
Captured traceback
remote: Enumerating objects: 1
remote: Enumerating objects: 24, done.
remote: Counting objects: 4% (1/24)
remote: Counting objects: 8% (2/24)
remote: Counting objects: 12% (3/24)
remote: Counting objects: 16% (4/24)
remote: Counting objects: 20% (5/24)
remote: Counting objects: 25% (6/24)
remote: Counting objects: 29% (7/24)
remote: Counting objects: 33% (8/24)
remote: Counting objects: 37% (9/24)
remote: Counting objects: 41% (10/24)
remote: Counting objects: 45% (11/24)
remote: Counting objects: 50% (12/24)
remote: Counting objects: 54% (13/24)
remote: Counting objects: 58% (14/24)
remote: Counting objects: 62% (15/24)
remote: Counting objects: 66% (16/24)
remote: Counting objects: 70% (17/24)
remote: Counting objects: 75% (18/24)
remote: Counting objects: 79% (19/24)
remote: Counting objects: 83% (20/24)
remote: Counting objects: 87% (21/24)
remote: Counting objects: 91% (22/24)
remote: Counting objects: 95% (23/24)
remote: Counting objects: 100% (24/24)
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 6% (1/15)
remote: Compressing objects: 13% (2/15)
remote: Compressing objects: 20% (3/15)
remote: Compressing objects: 26% (4/15)
remote: Compressing objects: 33% (5/15)
remote: Compressing objects: 40% (6/15)
remote: Compressing objects: 46% (7/15)
remote: Compressing objects: 53% (8/15)
remote: Compressing objects: 60% (9/15)
remote: Compressing objects: 66% (10/15)
remote: Compressing objects: 73% (11/15)
remote: Compressing objects: 80% (12/15)
remote: Compressing objects: 86% (13/15)
remote: Compressing objects: 93% (14/15)
remote: Compressing objects: 100% (15/15)
remote: Compressing objects: 100% (15/15), done.
remote: Total 24 (delta 11), reused 13 (delta 9), pack-reused 0
From https://github.com/python/cpython
- branch master -> FETCH_HEAD Note: checking out 'e374a40afa09be728b01653a06c9febfad9c9c50'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at e374a40... bpo-43901: Fix refleaks in test_module (GH-25754) Switched to and reset branch 'master'
Python/ceval.c: In function ‘PyEval_EvalCodeEx’: Python/ceval.c:5157:19: warning: ‘newargs’ may be used uninitialized in this function [-Wmaybe-uninitialized] PyMem_Free(newargs); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘py_digest_name’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:158:10: error: ‘NID_sha3_224’ undeclared (first use in this function) case NID_sha3_224: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:158:10: note: each undeclared identifier is reported only once for each function it appears in /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:161:10: error: ‘NID_sha3_256’ undeclared (first use in this function) case NID_sha3_256: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:164:10: error: ‘NID_sha3_384’ undeclared (first use in this function) case NID_sha3_384: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:167:10: error: ‘NID_sha3_512’ undeclared (first use in this function) case NID_sha3_512: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:172:10: error: ‘NID_shake128’ undeclared (first use in this function) case NID_shake128: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:175:10: error: ‘NID_shake256’ undeclared (first use in this function) case NID_shake256: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:180:10: error: ‘NID_blake2s256’ undeclared (first use in this function) case NID_blake2s256: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:183:10: error: ‘NID_blake2b512’ undeclared (first use in this function) case NID_blake2b512: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘py_digest_by_name’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:222:13: error: implicit declaration of function ‘EVP_sha3_224’ [-Werror=implicit-function-declaration] digest = EVP_sha3_224(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:222:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_224(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:225:13: error: implicit declaration of function ‘EVP_sha3_256’ [-Werror=implicit-function-declaration] digest = EVP_sha3_256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:225:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:228:13: error: implicit declaration of function ‘EVP_sha3_384’ [-Werror=implicit-function-declaration] digest = EVP_sha3_384(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:228:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_384(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:231:13: error: implicit declaration of function ‘EVP_sha3_512’ [-Werror=implicit-function-declaration] digest = EVP_sha3_512(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:231:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_512(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:236:13: error: implicit declaration of function ‘EVP_shake128’ [-Werror=implicit-function-declaration] digest = EVP_shake128(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:236:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_shake128(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:239:13: error: implicit declaration of function ‘EVP_shake256’ [-Werror=implicit-function-declaration] digest = EVP_shake256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:239:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_shake256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:244:13: error: implicit declaration of function ‘EVP_blake2s256’ [-Werror=implicit-function-declaration] digest = EVP_blake2s256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:244:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_blake2s256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:247:13: error: implicit declaration of function ‘EVP_blake2b512’ [-Werror=implicit-function-declaration] digest = EVP_blake2b512(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:247:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_blake2b512(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘newEVPobject’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:312:5: error: implicit declaration of function ‘EVP_MD_CTX_new’ [-Werror=implicit-function-declaration] retval->ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:312:17: warning: assignment makes pointer from integer without a cast [enabled by default] retval->ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVP_dealloc’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:350:5: error: implicit declaration of function ‘EVP_MD_CTX_free’ [-Werror=implicit-function-declaration] EVP_MD_CTX_free(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVP_digest_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:404:14: warning: assignment makes pointer from integer without a cast [enabled by default] temp_ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVP_hexdigest_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:438:14: warning: assignment makes pointer from integer without a cast [enabled by default] temp_ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVPXOF_digest_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:616:14: warning: assignment makes pointer from integer without a cast [enabled by default] temp_ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:628:5: error: implicit declaration of function ‘EVP_DigestFinalXOF’ [-Werror=implicit-function-declaration] if (!EVP_DigestFinalXOF(temp_ctx, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVPXOF_hexdigest_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:663:14: warning: assignment makes pointer from integer without a cast [enabled by default] temp_ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVPnew’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:761:33: error: ‘EVP_MD_FLAG_XOF’ undeclared (first use in this function) if ((EVP_MD_flags(digest) & EVP_MD_FLAG_XOF) == EVP_MD_FLAG_XOF) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_224_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1009:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_sha3_224(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_256_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1028:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_sha3_256(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_384_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1047:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_sha3_384(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_512_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1066:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_sha3_512(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_128_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1087:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_shake128(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_256_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1106:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_shake256(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_scrypt_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1298:5: error: implicit declaration of function ‘EVP_PBE_scrypt’ [-Werror=implicit-function-declaration] retval = EVP_PBE_scrypt(NULL, 0, NULL, 0, n, r, p, maxmem, NULL, 0); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_new_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1428:5: error: implicit declaration of function ‘HMAC_CTX_new’ [-Werror=implicit-function-declaration] ctx = HMAC_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1428:9: warning: assignment makes pointer from integer without a cast [enabled by default] ctx = HMAC_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1461:5: error: implicit declaration of function ‘HMAC_CTX_free’ [-Werror=implicit-function-declaration] if (ctx) HMAC_CTX_free(ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hmac_digest_size’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1480:5: error: implicit declaration of function ‘HMAC_CTX_get_md’ [-Werror=implicit-function-declaration] unsigned int digest_size = EVP_MD_size(HMAC_CTX_get_md(self->ctx)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1480:5: warning: passing argument 1 of ‘EVP_MD_size’ makes pointer from integer without a cast [enabled by default] In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:28:0: /usr/include/openssl/evp.h:523:5: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ int EVP_MD_size(const EVP_MD *md); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_HMAC_copy_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1527:21: warning: initialization makes pointer from integer without a cast [enabled by default] HMAC_CTX *ctx = HMAC_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hmac_repr’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1562:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default] PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ py_digest_name(const EVP_MD *md) ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hmac_digest’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1593:26: warning: initialization makes pointer from integer without a cast [enabled by default] HMAC_CTX *temp_ctx = HMAC_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_block_size’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1670:24: warning: initialization makes pointer from integer without a cast [enabled by default] const EVP_MD *md = HMAC_CTX_get_md(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_name’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1680:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default] PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ py_digest_name(const EVP_MD *md) ^ cc1: some warnings being treated as errors In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:378:0: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl/debughelpers.c: In function ‘_PySSLContext_set_keylog_filename’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl/debughelpers.c:180:5: error: implicit declaration of function ‘SSL_CTX_set_keylog_callback’ [-Werror=implicit-function-declaration] SSL_CTX_set_keylog_callback(self->ctx, NULL); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl_configure_hostname’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:754:13: error: implicit declaration of function ‘ASN1_STRING_get0_data’ [-Werror=implicit-function-declaration] if (!X509_VERIFY_PARAM_set1_ip(param, ASN1_STRING_get0_data(ip), ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:755:44: warning: passing argument 2 of ‘X509_VERIFY_PARAM_set1_ip’ makes pointer from integer without a cast [enabled by default] ASN1_STRING_length(ip))) { ^ In file included from /usr/include/openssl/x509.h:581:0, from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.h:6, from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:31: /usr/include/openssl/x509_vfy.h:604:5: note: expected ‘const unsigned char *’ but argument is of type ‘int’ int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘newPySSLSocket’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:819:9: error: implicit declaration of function ‘BIO_up_ref’ [-Werror=implicit-function-declaration] BIO_up_ref(inbio->bio); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_create_tuple_for_X509_NAME’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1072:13: error: implicit declaration of function ‘X509_NAME_ENTRY_set’ [-Werror=implicit-function-declaration] if (rdn_level != X509_NAME_ENTRY_set(entry)) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_get_peer_alt_names’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1237:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_get0_data(as), ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_decode_certificate’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1597:5: error: implicit declaration of function ‘X509_get0_notBefore’ [-Werror=implicit-function-declaration] notBefore = X509_get0_notBefore(certificate); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1597:15: warning: assignment makes pointer from integer without a cast [enabled by default] notBefore = X509_get0_notBefore(certificate); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1614:5: error: implicit declaration of function ‘X509_get0_notAfter’ [-Werror=implicit-function-declaration] notAfter = X509_get0_notAfter(certificate); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1614:14: warning: assignment makes pointer from integer without a cast [enabled by default] notAfter = X509_get0_notAfter(certificate); ^ In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1710:0: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl/cert.c: In function ‘newCertificate’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl/cert.c:30:9: error: implicit declaration of function ‘X509_up_ref’ [-Werror=implicit-function-declaration] X509_up_ref(cert); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_get_verified_chain_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1814:29: warning: initialization makes pointer from integer without a cast [enabled by default] STACK_OF(X509) *chain = SSL_get0_verified_chain(self->ssl); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘cipher_to_dict’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1932:5: error: implicit declaration of function ‘SSL_CIPHER_is_aead’ [-Werror=implicit-function-declaration] aead = SSL_CIPHER_is_aead(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1933:5: error: implicit declaration of function ‘SSL_CIPHER_get_cipher_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_cipher_nid(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1935:5: error: implicit declaration of function ‘SSL_CIPHER_get_digest_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_digest_nid(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1937:5: error: implicit declaration of function ‘SSL_CIPHER_get_kx_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_kx_nid(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1939:5: error: implicit declaration of function ‘SSL_CIPHER_get_auth_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_auth_nid(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_compression_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2064:5: error: implicit declaration of function ‘COMP_get_type’ [-Werror=implicit-function-declaration] if (comp_method == NULL || COMP_get_type(comp_method) == NID_undef) ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_write_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2318:9: error: implicit declaration of function ‘SSL_write_ex’ [-Werror=implicit-function-declaration] retval = SSL_write_ex(self->ssl, b->buf, (int)b->len, &count); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_read_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2470:9: error: implicit declaration of function ‘SSL_read_ex’ [-Werror=implicit-function-declaration] retval = SSL_read_ex(self->ssl, mem, len, &count); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2996:9: error: implicit declaration of function ‘TLS_method’ [-Werror=implicit-function-declaration] method = TLS_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2996:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2999:9: error: implicit declaration of function ‘TLS_client_method’ [-Werror=implicit-function-declaration] method = TLS_client_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2999:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_client_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3002:9: error: implicit declaration of function ‘TLS_server_method’ [-Werror=implicit-function-declaration] method = TLS_server_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3002:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_server_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘set_min_max_proto_version’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3429:9: error: implicit declaration of function ‘SSL_CTX_set_min_proto_version’ [-Werror=implicit-function-declaration] result = SSL_CTX_set_min_proto_version(self->ctx, v); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3443:9: error: implicit declaration of function ‘SSL_CTX_set_max_proto_version’ [-Werror=implicit-function-declaration] result = SSL_CTX_set_max_proto_version(self->ctx, v); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘get_minimum_version’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3456:37: error: ‘SSL_CTRL_GET_MIN_PROTO_VERSION’ undeclared (first use in this function) int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MIN_PROTO_VERSION, 0, NULL); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3456:37: note: each undeclared identifier is reported only once for each function it appears in /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘get_maximum_version’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3472:37: error: ‘SSL_CTRL_GET_MAX_PROTO_VERSION’ undeclared (first use in this function) int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MAX_PROTO_VERSION, 0, NULL); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘get_security_level’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3521:5: error: implicit declaration of function ‘SSL_CTX_get_security_level’ [-Werror=implicit-function-declaration] return PyLong_FromLong(SSL_CTX_get_security_level(self->ctx)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_load_cert_chain_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3762:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb’ [-Werror=implicit-function-declaration] pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3762:39: warning: initialization makes pointer from integer without a cast [enabled by default] pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3763:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb_userdata’ [-Werror=implicit-function-declaration] void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3763:34: warning: initialization makes pointer from integer without a cast [enabled by default] void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_add_ca_certs’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3896:37: warning: passing argument 3 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default] ); ^ In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:59:0: /usr/include/openssl/pem.h:451:1: note: expected ‘int (*)(char *, int, int, void *)’ but argument is of type ‘int’ DECLARE_PEM_rw(X509, X509) ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3896:37: warning: passing argument 4 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default] ); ^ In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:59:0: /usr/include/openssl/pem.h:451:1: note: expected ‘void *’ but argument is of type ‘int’ DECLARE_PEM_rw(X509, X509) ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_cert_store_stats_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4456:5: error: implicit declaration of function ‘X509_STORE_get0_objects’ [-Werror=implicit-function-declaration] objs = X509_STORE_get0_objects(store); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4456:10: warning: assignment makes pointer from integer without a cast [enabled by default] objs = X509_STORE_get0_objects(store); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4459:9: error: implicit declaration of function ‘X509_OBJECT_get_type’ [-Werror=implicit-function-declaration] switch (X509_OBJECT_get_type(obj)) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4462:17: error: implicit declaration of function ‘X509_OBJECT_get0_X509’ [-Werror=implicit-function-declaration] if (X509_check_ca(X509_OBJECT_get0_X509(obj))) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4462:17: warning: passing argument 1 of ‘X509_check_ca’ makes pointer from integer without a cast [enabled by default] In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:58:0: /usr/include/openssl/x509v3.h:697:5: note: expected ‘struct X509 *’ but argument is of type ‘int’ int X509_check_ca(X509 *x); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_get_ca_certs_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4507:10: warning: assignment makes pointer from integer without a cast [enabled by default] objs = X509_STORE_get0_objects(store); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4518:14: warning: assignment makes pointer from integer without a cast [enabled by default] cert = X509_OBJECT_get0_X509(obj); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘PySSLSession_get_ticket_lifetime_hint’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4935:5: error: implicit declaration of function ‘SSL_SESSION_get_ticket_lifetime_hint’ [-Werror=implicit-function-declaration] unsigned long hint = SSL_SESSION_get_ticket_lifetime_hint(self->session); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘PySSLSession_get_has_ticket’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4957:5: error: implicit declaration of function ‘SSL_SESSION_has_ticket’ [-Werror=implicit-function-declaration] if (SSL_SESSION_has_ticket(self->session)) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘sslmodule_init_versioninfo’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:6010:5: error: implicit declaration of function ‘OpenSSL_version_num’ [-Werror=implicit-function-declaration] libver = OpenSSL_version_num(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:6020:5: error: implicit declaration of function ‘OpenSSL_version’ [-Werror=implicit-function-declaration] r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:6020:46: error: ‘OPENSSL_VERSION’ undeclared (first use in this function) r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION)); ^ cc1: some warnings being treated as errors /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/socketmodule.c: In function ‘sock_connect’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/socketmodule.c:3209:18: warning: ‘addrlen’ may be used uninitialized in this function [-Wmaybe-uninitialized] res = connect(s->sock_fd, addr, addrlen); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/socketmodule.c:3274:9: note: ‘addrlen’ was declared here int addrlen; ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/socketmodule.c: In function ‘sock_bind’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/socketmodule.c:3116:15: warning: ‘addrlen’ may be used uninitialized in this function [-Wmaybe-uninitialized] res = bind(s->sock_fd, SAS2SA(&addrbuf), addrlen); ^ *** WARNING: renaming "_curses" since importing it failed: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/lib.linux-x86_64-3.10/_curses.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyStructSequence_InitType *** WARNING: renaming "_curses_panel" since importing it failed: No module named '_curses'
In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:378:0: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl/debughelpers.c: In function ‘_PySSLContext_set_keylog_filename’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl/debughelpers.c:180:5: error: implicit declaration of function ‘SSL_CTX_set_keylog_callback’ [-Werror=implicit-function-declaration] SSL_CTX_set_keylog_callback(self->ctx, NULL); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl_configure_hostname’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:754:13: error: implicit declaration of function ‘ASN1_STRING_get0_data’ [-Werror=implicit-function-declaration] if (!X509_VERIFY_PARAM_set1_ip(param, ASN1_STRING_get0_data(ip), ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:755:44: warning: passing argument 2 of ‘X509_VERIFY_PARAM_set1_ip’ makes pointer from integer without a cast [enabled by default] ASN1_STRING_length(ip))) { ^ In file included from /usr/include/openssl/x509.h:581:0, from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.h:6, from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:31: /usr/include/openssl/x509_vfy.h:604:5: note: expected ‘const unsigned char *’ but argument is of type ‘int’ int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘newPySSLSocket’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:819:9: error: implicit declaration of function ‘BIO_up_ref’ [-Werror=implicit-function-declaration] BIO_up_ref(inbio->bio); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_create_tuple_for_X509_NAME’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1072:13: error: implicit declaration of function ‘X509_NAME_ENTRY_set’ [-Werror=implicit-function-declaration] if (rdn_level != X509_NAME_ENTRY_set(entry)) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_get_peer_alt_names’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1237:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_get0_data(as), ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_decode_certificate’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1597:5: error: implicit declaration of function ‘X509_get0_notBefore’ [-Werror=implicit-function-declaration] notBefore = X509_get0_notBefore(certificate); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1597:15: warning: assignment makes pointer from integer without a cast [enabled by default] notBefore = X509_get0_notBefore(certificate); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1614:5: error: implicit declaration of function ‘X509_get0_notAfter’ [-Werror=implicit-function-declaration] notAfter = X509_get0_notAfter(certificate); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1614:14: warning: assignment makes pointer from integer without a cast [enabled by default] notAfter = X509_get0_notAfter(certificate); ^ In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1710:0: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl/cert.c: In function ‘newCertificate’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl/cert.c:30:9: error: implicit declaration of function ‘X509_up_ref’ [-Werror=implicit-function-declaration] X509_up_ref(cert); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_get_verified_chain_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1814:29: warning: initialization makes pointer from integer without a cast [enabled by default] STACK_OF(X509) *chain = SSL_get0_verified_chain(self->ssl); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘cipher_to_dict’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1932:5: error: implicit declaration of function ‘SSL_CIPHER_is_aead’ [-Werror=implicit-function-declaration] aead = SSL_CIPHER_is_aead(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1933:5: error: implicit declaration of function ‘SSL_CIPHER_get_cipher_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_cipher_nid(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1935:5: error: implicit declaration of function ‘SSL_CIPHER_get_digest_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_digest_nid(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1937:5: error: implicit declaration of function ‘SSL_CIPHER_get_kx_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_kx_nid(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1939:5: error: implicit declaration of function ‘SSL_CIPHER_get_auth_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_auth_nid(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_compression_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2064:5: error: implicit declaration of function ‘COMP_get_type’ [-Werror=implicit-function-declaration] if (comp_method == NULL || COMP_get_type(comp_method) == NID_undef) ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_write_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2318:9: error: implicit declaration of function ‘SSL_write_ex’ [-Werror=implicit-function-declaration] retval = SSL_write_ex(self->ssl, b->buf, (int)b->len, &count); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_read_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2470:9: error: implicit declaration of function ‘SSL_read_ex’ [-Werror=implicit-function-declaration] retval = SSL_read_ex(self->ssl, mem, len, &count); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2996:9: error: implicit declaration of function ‘TLS_method’ [-Werror=implicit-function-declaration] method = TLS_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2996:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2999:9: error: implicit declaration of function ‘TLS_client_method’ [-Werror=implicit-function-declaration] method = TLS_client_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2999:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_client_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3002:9: error: implicit declaration of function ‘TLS_server_method’ [-Werror=implicit-function-declaration] method = TLS_server_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3002:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_server_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘set_min_max_proto_version’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3429:9: error: implicit declaration of function ‘SSL_CTX_set_min_proto_version’ [-Werror=implicit-function-declaration] result = SSL_CTX_set_min_proto_version(self->ctx, v); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3443:9: error: implicit declaration of function ‘SSL_CTX_set_max_proto_version’ [-Werror=implicit-function-declaration] result = SSL_CTX_set_max_proto_version(self->ctx, v); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘get_minimum_version’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3456:37: error: ‘SSL_CTRL_GET_MIN_PROTO_VERSION’ undeclared (first use in this function) int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MIN_PROTO_VERSION, 0, NULL); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3456:37: note: each undeclared identifier is reported only once for each function it appears in /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘get_maximum_version’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3472:37: error: ‘SSL_CTRL_GET_MAX_PROTO_VERSION’ undeclared (first use in this function) int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MAX_PROTO_VERSION, 0, NULL); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘get_security_level’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3521:5: error: implicit declaration of function ‘SSL_CTX_get_security_level’ [-Werror=implicit-function-declaration] return PyLong_FromLong(SSL_CTX_get_security_level(self->ctx)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_load_cert_chain_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3762:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb’ [-Werror=implicit-function-declaration] pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3762:39: warning: initialization makes pointer from integer without a cast [enabled by default] pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3763:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb_userdata’ [-Werror=implicit-function-declaration] void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3763:34: warning: initialization makes pointer from integer without a cast [enabled by default] void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_add_ca_certs’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3896:37: warning: passing argument 3 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default] ); ^ In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:59:0: /usr/include/openssl/pem.h:451:1: note: expected ‘int (*)(char *, int, int, void *)’ but argument is of type ‘int’ DECLARE_PEM_rw(X509, X509) ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3896:37: warning: passing argument 4 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default] ); ^ In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:59:0: /usr/include/openssl/pem.h:451:1: note: expected ‘void *’ but argument is of type ‘int’ DECLARE_PEM_rw(X509, X509) ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_cert_store_stats_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4456:5: error: implicit declaration of function ‘X509_STORE_get0_objects’ [-Werror=implicit-function-declaration] objs = X509_STORE_get0_objects(store); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4456:10: warning: assignment makes pointer from integer without a cast [enabled by default] objs = X509_STORE_get0_objects(store); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4459:9: error: implicit declaration of function ‘X509_OBJECT_get_type’ [-Werror=implicit-function-declaration] switch (X509_OBJECT_get_type(obj)) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4462:17: error: implicit declaration of function ‘X509_OBJECT_get0_X509’ [-Werror=implicit-function-declaration] if (X509_check_ca(X509_OBJECT_get0_X509(obj))) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4462:17: warning: passing argument 1 of ‘X509_check_ca’ makes pointer from integer without a cast [enabled by default] In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:58:0: /usr/include/openssl/x509v3.h:697:5: note: expected ‘struct X509 *’ but argument is of type ‘int’ int X509_check_ca(X509 *x); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_get_ca_certs_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4507:10: warning: assignment makes pointer from integer without a cast [enabled by default] objs = X509_STORE_get0_objects(store); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4518:14: warning: assignment makes pointer from integer without a cast [enabled by default] cert = X509_OBJECT_get0_X509(obj); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘PySSLSession_get_ticket_lifetime_hint’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4935:5: error: implicit declaration of function ‘SSL_SESSION_get_ticket_lifetime_hint’ [-Werror=implicit-function-declaration] unsigned long hint = SSL_SESSION_get_ticket_lifetime_hint(self->session); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘PySSLSession_get_has_ticket’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4957:5: error: implicit declaration of function ‘SSL_SESSION_has_ticket’ [-Werror=implicit-function-declaration] if (SSL_SESSION_has_ticket(self->session)) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘sslmodule_init_versioninfo’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:6010:5: error: implicit declaration of function ‘OpenSSL_version_num’ [-Werror=implicit-function-declaration] libver = OpenSSL_version_num(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:6020:5: error: implicit declaration of function ‘OpenSSL_version’ [-Werror=implicit-function-declaration] r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:6020:46: error: ‘OPENSSL_VERSION’ undeclared (first use in this function) r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION)); ^ cc1: some warnings being treated as errors /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘py_digest_name’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:158:10: error: ‘NID_sha3_224’ undeclared (first use in this function) case NID_sha3_224: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:158:10: note: each undeclared identifier is reported only once for each function it appears in /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:161:10: error: ‘NID_sha3_256’ undeclared (first use in this function) case NID_sha3_256: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:164:10: error: ‘NID_sha3_384’ undeclared (first use in this function) case NID_sha3_384: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:167:10: error: ‘NID_sha3_512’ undeclared (first use in this function) case NID_sha3_512: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:172:10: error: ‘NID_shake128’ undeclared (first use in this function) case NID_shake128: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:175:10: error: ‘NID_shake256’ undeclared (first use in this function) case NID_shake256: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:180:10: error: ‘NID_blake2s256’ undeclared (first use in this function) case NID_blake2s256: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:183:10: error: ‘NID_blake2b512’ undeclared (first use in this function) case NID_blake2b512: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘py_digest_by_name’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:222:13: error: implicit declaration of function ‘EVP_sha3_224’ [-Werror=implicit-function-declaration] digest = EVP_sha3_224(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:222:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_224(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:225:13: error: implicit declaration of function ‘EVP_sha3_256’ [-Werror=implicit-function-declaration] digest = EVP_sha3_256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:225:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:228:13: error: implicit declaration of function ‘EVP_sha3_384’ [-Werror=implicit-function-declaration] digest = EVP_sha3_384(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:228:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_384(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:231:13: error: implicit declaration of function ‘EVP_sha3_512’ [-Werror=implicit-function-declaration] digest = EVP_sha3_512(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:231:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_512(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:236:13: error: implicit declaration of function ‘EVP_shake128’ [-Werror=implicit-function-declaration] digest = EVP_shake128(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:236:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_shake128(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:239:13: error: implicit declaration of function ‘EVP_shake256’ [-Werror=implicit-function-declaration] digest = EVP_shake256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:239:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_shake256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:244:13: error: implicit declaration of function ‘EVP_blake2s256’ [-Werror=implicit-function-declaration] digest = EVP_blake2s256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:244:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_blake2s256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:247:13: error: implicit declaration of function ‘EVP_blake2b512’ [-Werror=implicit-function-declaration] digest = EVP_blake2b512(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:247:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_blake2b512(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘newEVPobject’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:312:5: error: implicit declaration of function ‘EVP_MD_CTX_new’ [-Werror=implicit-function-declaration] retval->ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:312:17: warning: assignment makes pointer from integer without a cast [enabled by default] retval->ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVP_dealloc’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:350:5: error: implicit declaration of function ‘EVP_MD_CTX_free’ [-Werror=implicit-function-declaration] EVP_MD_CTX_free(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVP_digest_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:404:14: warning: assignment makes pointer from integer without a cast [enabled by default] temp_ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVP_hexdigest_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:438:14: warning: assignment makes pointer from integer without a cast [enabled by default] temp_ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVPXOF_digest_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:616:14: warning: assignment makes pointer from integer without a cast [enabled by default] temp_ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:628:5: error: implicit declaration of function ‘EVP_DigestFinalXOF’ [-Werror=implicit-function-declaration] if (!EVP_DigestFinalXOF(temp_ctx, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVPXOF_hexdigest_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:663:14: warning: assignment makes pointer from integer without a cast [enabled by default] temp_ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVPnew’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:761:33: error: ‘EVP_MD_FLAG_XOF’ undeclared (first use in this function) if ((EVP_MD_flags(digest) & EVP_MD_FLAG_XOF) == EVP_MD_FLAG_XOF) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_224_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1009:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_sha3_224(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_256_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1028:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_sha3_256(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_384_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1047:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_sha3_384(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_512_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1066:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_sha3_512(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_128_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1087:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_shake128(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_256_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1106:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_shake256(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_scrypt_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1298:5: error: implicit declaration of function ‘EVP_PBE_scrypt’ [-Werror=implicit-function-declaration] retval = EVP_PBE_scrypt(NULL, 0, NULL, 0, n, r, p, maxmem, NULL, 0); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_new_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1428:5: error: implicit declaration of function ‘HMAC_CTX_new’ [-Werror=implicit-function-declaration] ctx = HMAC_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1428:9: warning: assignment makes pointer from integer without a cast [enabled by default] ctx = HMAC_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1461:5: error: implicit declaration of function ‘HMAC_CTX_free’ [-Werror=implicit-function-declaration] if (ctx) HMAC_CTX_free(ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hmac_digest_size’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1480:5: error: implicit declaration of function ‘HMAC_CTX_get_md’ [-Werror=implicit-function-declaration] unsigned int digest_size = EVP_MD_size(HMAC_CTX_get_md(self->ctx)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1480:5: warning: passing argument 1 of ‘EVP_MD_size’ makes pointer from integer without a cast [enabled by default] In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:28:0: /usr/include/openssl/evp.h:523:5: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ int EVP_MD_size(const EVP_MD *md); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_HMAC_copy_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1527:21: warning: initialization makes pointer from integer without a cast [enabled by default] HMAC_CTX *ctx = HMAC_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hmac_repr’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1562:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default] PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ py_digest_name(const EVP_MD *md) ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hmac_digest’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1593:26: warning: initialization makes pointer from integer without a cast [enabled by default] HMAC_CTX *temp_ctx = HMAC_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_block_size’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1670:24: warning: initialization makes pointer from integer without a cast [enabled by default] const EVP_MD *md = HMAC_CTX_get_md(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_name’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1680:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default] PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ py_digest_name(const EVP_MD *md) ^ cc1: some warnings being treated as errors *** WARNING: renaming "_curses" since importing it failed: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/lib.linux-x86_64-3.10/_curses.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyStructSequence_InitType *** WARNING: renaming "_curses_panel" since importing it failed: No module named '_curses'
/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘py_digest_name’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:158:10: error: ‘NID_sha3_224’ undeclared (first use in this function) case NID_sha3_224: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:158:10: note: each undeclared identifier is reported only once for each function it appears in /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:161:10: error: ‘NID_sha3_256’ undeclared (first use in this function) case NID_sha3_256: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:164:10: error: ‘NID_sha3_384’ undeclared (first use in this function) case NID_sha3_384: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:167:10: error: ‘NID_sha3_512’ undeclared (first use in this function) case NID_sha3_512: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:172:10: error: ‘NID_shake128’ undeclared (first use in this function) case NID_shake128: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:175:10: error: ‘NID_shake256’ undeclared (first use in this function) case NID_shake256: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:180:10: error: ‘NID_blake2s256’ undeclared (first use in this function) case NID_blake2s256: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:183:10: error: ‘NID_blake2b512’ undeclared (first use in this function) case NID_blake2b512: ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘py_digest_by_name’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:222:13: error: implicit declaration of function ‘EVP_sha3_224’ [-Werror=implicit-function-declaration] digest = EVP_sha3_224(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:222:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_224(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:225:13: error: implicit declaration of function ‘EVP_sha3_256’ [-Werror=implicit-function-declaration] digest = EVP_sha3_256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:225:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:228:13: error: implicit declaration of function ‘EVP_sha3_384’ [-Werror=implicit-function-declaration] digest = EVP_sha3_384(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:228:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_384(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:231:13: error: implicit declaration of function ‘EVP_sha3_512’ [-Werror=implicit-function-declaration] digest = EVP_sha3_512(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:231:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_512(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:236:13: error: implicit declaration of function ‘EVP_shake128’ [-Werror=implicit-function-declaration] digest = EVP_shake128(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:236:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_shake128(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:239:13: error: implicit declaration of function ‘EVP_shake256’ [-Werror=implicit-function-declaration] digest = EVP_shake256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:239:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_shake256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:244:13: error: implicit declaration of function ‘EVP_blake2s256’ [-Werror=implicit-function-declaration] digest = EVP_blake2s256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:244:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_blake2s256(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:247:13: error: implicit declaration of function ‘EVP_blake2b512’ [-Werror=implicit-function-declaration] digest = EVP_blake2b512(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:247:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_blake2b512(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘newEVPobject’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:312:5: error: implicit declaration of function ‘EVP_MD_CTX_new’ [-Werror=implicit-function-declaration] retval->ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:312:17: warning: assignment makes pointer from integer without a cast [enabled by default] retval->ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVP_dealloc’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:350:5: error: implicit declaration of function ‘EVP_MD_CTX_free’ [-Werror=implicit-function-declaration] EVP_MD_CTX_free(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVP_digest_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:404:14: warning: assignment makes pointer from integer without a cast [enabled by default] temp_ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVP_hexdigest_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:438:14: warning: assignment makes pointer from integer without a cast [enabled by default] temp_ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVPXOF_digest_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:616:14: warning: assignment makes pointer from integer without a cast [enabled by default] temp_ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:628:5: error: implicit declaration of function ‘EVP_DigestFinalXOF’ [-Werror=implicit-function-declaration] if (!EVP_DigestFinalXOF(temp_ctx, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVPXOF_hexdigest_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:663:14: warning: assignment makes pointer from integer without a cast [enabled by default] temp_ctx = EVP_MD_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘EVPnew’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:761:33: error: ‘EVP_MD_FLAG_XOF’ undeclared (first use in this function) if ((EVP_MD_flags(digest) & EVP_MD_FLAG_XOF) == EVP_MD_FLAG_XOF) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_224_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1009:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_sha3_224(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_256_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1028:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_sha3_256(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_384_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1047:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_sha3_384(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_512_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1066:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_sha3_512(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_128_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1087:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_shake128(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_256_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1106:5: warning: passing argument 3 of ‘EVP_fast_new’ makes pointer from integer without a cast [enabled by default] return EVP_fast_new(module, data_obj, EVP_shake256(), usedforsecurity); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:852:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ EVP_fast_new(PyObject *module, PyObject *data_obj, const EVP_MD *digest, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_scrypt_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1298:5: error: implicit declaration of function ‘EVP_PBE_scrypt’ [-Werror=implicit-function-declaration] retval = EVP_PBE_scrypt(NULL, 0, NULL, 0, n, r, p, maxmem, NULL, 0); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_new_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1428:5: error: implicit declaration of function ‘HMAC_CTX_new’ [-Werror=implicit-function-declaration] ctx = HMAC_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1428:9: warning: assignment makes pointer from integer without a cast [enabled by default] ctx = HMAC_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1461:5: error: implicit declaration of function ‘HMAC_CTX_free’ [-Werror=implicit-function-declaration] if (ctx) HMAC_CTX_free(ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hmac_digest_size’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1480:5: error: implicit declaration of function ‘HMAC_CTX_get_md’ [-Werror=implicit-function-declaration] unsigned int digest_size = EVP_MD_size(HMAC_CTX_get_md(self->ctx)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1480:5: warning: passing argument 1 of ‘EVP_MD_size’ makes pointer from integer without a cast [enabled by default] In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:28:0: /usr/include/openssl/evp.h:523:5: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ int EVP_MD_size(const EVP_MD *md); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_HMAC_copy_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1527:21: warning: initialization makes pointer from integer without a cast [enabled by default] HMAC_CTX *ctx = HMAC_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hmac_repr’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1562:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default] PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ py_digest_name(const EVP_MD *md) ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hmac_digest’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1593:26: warning: initialization makes pointer from integer without a cast [enabled by default] HMAC_CTX *temp_ctx = HMAC_CTX_new(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_block_size’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1670:24: warning: initialization makes pointer from integer without a cast [enabled by default] const EVP_MD *md = HMAC_CTX_get_md(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_name’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:1680:5: warning: passing argument 1 of ‘py_digest_name’ makes pointer from integer without a cast [enabled by default] PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_hashopenssl.c:122:1: note: expected ‘const struct EVP_MD *’ but argument is of type ‘int’ py_digest_name(const EVP_MD *md) ^ cc1: some warnings being treated as errors In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:378:0: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl/debughelpers.c: In function ‘_PySSLContext_set_keylog_filename’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl/debughelpers.c:180:5: error: implicit declaration of function ‘SSL_CTX_set_keylog_callback’ [-Werror=implicit-function-declaration] SSL_CTX_set_keylog_callback(self->ctx, NULL); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl_configure_hostname’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:754:13: error: implicit declaration of function ‘ASN1_STRING_get0_data’ [-Werror=implicit-function-declaration] if (!X509_VERIFY_PARAM_set1_ip(param, ASN1_STRING_get0_data(ip), ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:755:44: warning: passing argument 2 of ‘X509_VERIFY_PARAM_set1_ip’ makes pointer from integer without a cast [enabled by default] ASN1_STRING_length(ip))) { ^ In file included from /usr/include/openssl/x509.h:581:0, from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.h:6, from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:31: /usr/include/openssl/x509_vfy.h:604:5: note: expected ‘const unsigned char *’ but argument is of type ‘int’ int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param, ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘newPySSLSocket’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:819:9: error: implicit declaration of function ‘BIO_up_ref’ [-Werror=implicit-function-declaration] BIO_up_ref(inbio->bio); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_create_tuple_for_X509_NAME’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1072:13: error: implicit declaration of function ‘X509_NAME_ENTRY_set’ [-Werror=implicit-function-declaration] if (rdn_level != X509_NAME_ENTRY_set(entry)) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_get_peer_alt_names’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1237:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_get0_data(as), ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_decode_certificate’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1597:5: error: implicit declaration of function ‘X509_get0_notBefore’ [-Werror=implicit-function-declaration] notBefore = X509_get0_notBefore(certificate); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1597:15: warning: assignment makes pointer from integer without a cast [enabled by default] notBefore = X509_get0_notBefore(certificate); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1614:5: error: implicit declaration of function ‘X509_get0_notAfter’ [-Werror=implicit-function-declaration] notAfter = X509_get0_notAfter(certificate); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1614:14: warning: assignment makes pointer from integer without a cast [enabled by default] notAfter = X509_get0_notAfter(certificate); ^ In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1710:0: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl/cert.c: In function ‘newCertificate’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl/cert.c:30:9: error: implicit declaration of function ‘X509_up_ref’ [-Werror=implicit-function-declaration] X509_up_ref(cert); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_get_verified_chain_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1814:29: warning: initialization makes pointer from integer without a cast [enabled by default] STACK_OF(X509) *chain = SSL_get0_verified_chain(self->ssl); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘cipher_to_dict’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1932:5: error: implicit declaration of function ‘SSL_CIPHER_is_aead’ [-Werror=implicit-function-declaration] aead = SSL_CIPHER_is_aead(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1933:5: error: implicit declaration of function ‘SSL_CIPHER_get_cipher_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_cipher_nid(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1935:5: error: implicit declaration of function ‘SSL_CIPHER_get_digest_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_digest_nid(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1937:5: error: implicit declaration of function ‘SSL_CIPHER_get_kx_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_kx_nid(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:1939:5: error: implicit declaration of function ‘SSL_CIPHER_get_auth_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_auth_nid(cipher); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_compression_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2064:5: error: implicit declaration of function ‘COMP_get_type’ [-Werror=implicit-function-declaration] if (comp_method == NULL || COMP_get_type(comp_method) == NID_undef) ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_write_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2318:9: error: implicit declaration of function ‘SSL_write_ex’ [-Werror=implicit-function-declaration] retval = SSL_write_ex(self->ssl, b->buf, (int)b->len, &count); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_read_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2470:9: error: implicit declaration of function ‘SSL_read_ex’ [-Werror=implicit-function-declaration] retval = SSL_read_ex(self->ssl, mem, len, &count); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2996:9: error: implicit declaration of function ‘TLS_method’ [-Werror=implicit-function-declaration] method = TLS_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2996:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2999:9: error: implicit declaration of function ‘TLS_client_method’ [-Werror=implicit-function-declaration] method = TLS_client_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:2999:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_client_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3002:9: error: implicit declaration of function ‘TLS_server_method’ [-Werror=implicit-function-declaration] method = TLS_server_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3002:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_server_method(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘set_min_max_proto_version’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3429:9: error: implicit declaration of function ‘SSL_CTX_set_min_proto_version’ [-Werror=implicit-function-declaration] result = SSL_CTX_set_min_proto_version(self->ctx, v); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3443:9: error: implicit declaration of function ‘SSL_CTX_set_max_proto_version’ [-Werror=implicit-function-declaration] result = SSL_CTX_set_max_proto_version(self->ctx, v); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘get_minimum_version’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3456:37: error: ‘SSL_CTRL_GET_MIN_PROTO_VERSION’ undeclared (first use in this function) int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MIN_PROTO_VERSION, 0, NULL); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3456:37: note: each undeclared identifier is reported only once for each function it appears in /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘get_maximum_version’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3472:37: error: ‘SSL_CTRL_GET_MAX_PROTO_VERSION’ undeclared (first use in this function) int v = SSL_CTX_ctrl(self->ctx, SSL_CTRL_GET_MAX_PROTO_VERSION, 0, NULL); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘get_security_level’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3521:5: error: implicit declaration of function ‘SSL_CTX_get_security_level’ [-Werror=implicit-function-declaration] return PyLong_FromLong(SSL_CTX_get_security_level(self->ctx)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_load_cert_chain_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3762:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb’ [-Werror=implicit-function-declaration] pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3762:39: warning: initialization makes pointer from integer without a cast [enabled by default] pem_password_cb *orig_passwd_cb = SSL_CTX_get_default_passwd_cb(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3763:5: error: implicit declaration of function ‘SSL_CTX_get_default_passwd_cb_userdata’ [-Werror=implicit-function-declaration] void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3763:34: warning: initialization makes pointer from integer without a cast [enabled by default] void *orig_passwd_userdata = SSL_CTX_get_default_passwd_cb_userdata(self->ctx); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_add_ca_certs’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3896:37: warning: passing argument 3 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default] ); ^ In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:59:0: /usr/include/openssl/pem.h:451:1: note: expected ‘int (*)(char *, int, int, void *)’ but argument is of type ‘int’ DECLARE_PEM_rw(X509, X509) ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:3896:37: warning: passing argument 4 of ‘PEM_read_bio_X509’ makes pointer from integer without a cast [enabled by default] ); ^ In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:59:0: /usr/include/openssl/pem.h:451:1: note: expected ‘void *’ but argument is of type ‘int’ DECLARE_PEM_rw(X509, X509) ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_cert_store_stats_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4456:5: error: implicit declaration of function ‘X509_STORE_get0_objects’ [-Werror=implicit-function-declaration] objs = X509_STORE_get0_objects(store); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4456:10: warning: assignment makes pointer from integer without a cast [enabled by default] objs = X509_STORE_get0_objects(store); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4459:9: error: implicit declaration of function ‘X509_OBJECT_get_type’ [-Werror=implicit-function-declaration] switch (X509_OBJECT_get_type(obj)) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4462:17: error: implicit declaration of function ‘X509_OBJECT_get0_X509’ [-Werror=implicit-function-declaration] if (X509_check_ca(X509_OBJECT_get0_X509(obj))) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4462:17: warning: passing argument 1 of ‘X509_check_ca’ makes pointer from integer without a cast [enabled by default] In file included from /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:58:0: /usr/include/openssl/x509v3.h:697:5: note: expected ‘struct X509 *’ but argument is of type ‘int’ int X509_check_ca(X509 *x); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_get_ca_certs_impl’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4507:10: warning: assignment makes pointer from integer without a cast [enabled by default] objs = X509_STORE_get0_objects(store); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4518:14: warning: assignment makes pointer from integer without a cast [enabled by default] cert = X509_OBJECT_get0_X509(obj); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘PySSLSession_get_ticket_lifetime_hint’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4935:5: error: implicit declaration of function ‘SSL_SESSION_get_ticket_lifetime_hint’ [-Werror=implicit-function-declaration] unsigned long hint = SSL_SESSION_get_ticket_lifetime_hint(self->session); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘PySSLSession_get_has_ticket’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:4957:5: error: implicit declaration of function ‘SSL_SESSION_has_ticket’ [-Werror=implicit-function-declaration] if (SSL_SESSION_has_ticket(self->session)) { ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c: In function ‘sslmodule_init_versioninfo’: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:6010:5: error: implicit declaration of function ‘OpenSSL_version_num’ [-Werror=implicit-function-declaration] libver = OpenSSL_version_num(); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:6020:5: error: implicit declaration of function ‘OpenSSL_version’ [-Werror=implicit-function-declaration] r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION)); ^ /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Modules/_ssl.c:6020:46: error: ‘OPENSSL_VERSION’ undeclared (first use in this function) r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION)); ^ cc1: some warnings being treated as errors *** WARNING: renaming "_curses" since importing it failed: /home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/build/lib.linux-x86_64-3.10/_curses.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyStructSequence_InitType *** WARNING: renaming "_curses_panel" since importing it failed: No module named '_curses' test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp' test_ssl skipped -- No module named '_ssl' test_curses skipped -- No module named '_curses' test_badargs (__main__.GeneralTest) ... ok test_bound_methods (__main__.GeneralTest) ... ok test_clear (__main__.GeneralTest) ... ok test_exit (__main__.GeneralTest) ... ok test_order (__main__.GeneralTest) ... ok test_raise (__main__.GeneralTest) ... ok test_raise_unnormalized (__main__.GeneralTest) ... ok test_stress (__main__.GeneralTest) ... ok test_unregister (__main__.GeneralTest) ... ok
Ran 9 tests in 0.003s
OK test_tix skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...] test_tk skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...] test_smtpnet skipped -- No module named '_ssl' test_msilib skipped -- No module named '_msi' test_ioctl skipped -- Unable to open /dev/tty test_devpoll skipped -- test works only on Solaris OS family test_flock (__main__.FNTLEINTRTest) ... ok test_lockf (__main__.FNTLEINTRTest) ... ok test_read (__main__.OSEINTRTest) ... ok test_wait (__main__.OSEINTRTest) ... ok test_wait3 (__main__.OSEINTRTest) ... ok test_wait4 (__main__.OSEINTRTest) ... ok test_waitpid (__main__.OSEINTRTest) ... ok test_write (__main__.OSEINTRTest) ... ok test_devpoll (__main__.SelectEINTRTest) ... skipped 'need select.devpoll' test_epoll (__main__.SelectEINTRTest) ... ok test_kqueue (__main__.SelectEINTRTest) ... skipped 'need select.kqueue' test_poll (__main__.SelectEINTRTest) ... ok test_select (__main__.SelectEINTRTest) ... ok test_sigtimedwait (__main__.SignalEINTRTest) ... ok test_sigwaitinfo (__main__.SignalEINTRTest) ... ok test_accept (__main__.SocketEINTRTest) ... ok test_open (__main__.SocketEINTRTest) ... ok test_os_open (__main__.SocketEINTRTest) ... ok test_recv (__main__.SocketEINTRTest) ... ok test_recvmsg (__main__.SocketEINTRTest) ... ok test_send (__main__.SocketEINTRTest) ... ok test_sendall (__main__.SocketEINTRTest) ... ok test_sendmsg (__main__.SocketEINTRTest) ... ok test_sleep (__main__.TimeEINTRTest) ... ok
Ran 24 tests in 8.422s
OK (skipped=2)
test_kqueue skipped -- test works only on BSD
test_gdb skipped -- Couldn't find gdb on the path
test_startfile skipped -- object
Cannot open file '/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/test-results.xml' for upload
Test report
Failed tests:
- test_asyncio
Sincerely, -The Buildbot
participants (1)
-
buildbot@python.org