bpo-37788: Fix reference leak when Thread is never joined by pitrou · Pull Request #26103 · python/cpython
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️
Hi! The buildbot PPC64 Fedora 3.10 has failed when building commit 71dca6e.
What do you need to do:
- Don't panic.
- Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
- Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/672/builds/42) and take a look at the build logs.
- Check if the failure is related to this commit (71dca6e) or if it is a false positive.
- If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.
You can take a look at the buildbot page here:
https://buildbot.python.org/all/#builders/672/builds/42
Failed tests:
- test_unparse
Summary of the results of the build (if available):
==
Click to see traceback logs
remote: Enumerating objects: 20, done.�[K remote: Counting objects: 5% (1/20)�[K remote: Counting objects: 10% (2/20)�[K remote: Counting objects: 15% (3/20)�[K remote: Counting objects: 20% (4/20)�[K remote: Counting objects: 25% (5/20)�[K remote: Counting objects: 30% (6/20)�[K remote: Counting objects: 35% (7/20)�[K remote: Counting objects: 40% (8/20)�[K remote: Counting objects: 45% (9/20)�[K remote: Counting objects: 50% (10/20)�[K remote: Counting objects: 55% (11/20)�[K remote: Counting objects: 60% (12/20)�[K remote: Counting objects: 65% (13/20)�[K remote: Counting objects: 70% (14/20)�[K remote: Counting objects: 75% (15/20)�[K remote: Counting objects: 80% (16/20)�[K remote: Counting objects: 85% (17/20)�[K remote: Counting objects: 90% (18/20)�[K remote: Counting objects: 95% (19/20)�[K remote: Counting objects: 100% (20/20)�[K remote: Counting objects: 100% (20/20), done.�[K remote: Compressing objects: 12% (1/8)�[K remote: Compressing objects: 25% (2/8)�[K remote: Compressing objects: 37% (3/8)�[K remote: Compressing objects: 50% (4/8)�[K remote: Compressing objects: 62% (5/8)�[K remote: Compressing objects: 75% (6/8)�[K remote: Compressing objects: 87% (7/8)�[K remote: Compressing objects: 100% (8/8)�[K remote: Compressing objects: 100% (8/8), done.�[K remote: Total 11 (delta 9), reused 4 (delta 3), pack-reused 0�[K From https://github.com/python/cpython * branch 3.10 -> FETCH_HEAD Note: checking out '71dca6ea73aaf215fafa094512e8c748248c16b0'. 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 71dca6e... [3.10] [bpo-37788](https://bugs.python.org/issue37788): Fix reference leak when Thread is never joined (GH-26103) (GH-26138) Switched to and reset branch '3.10' In file included from /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:390:0: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl/debughelpers.c: In function ‘_PySSLContext_set_keylog_filename’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl_configure_hostname’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:766: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:767: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.h:6, from /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘newPySSLSocket’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:831:9: error: implicit declaration of function ‘BIO_up_ref’ [-Werror=implicit-function-declaration] BIO_up_ref(inbio->bio); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_create_tuple_for_X509_NAME’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1084:13: error: implicit declaration of function ‘X509_NAME_ENTRY_set’ [-Werror=implicit-function-declaration] if (rdn_level != X509_NAME_ENTRY_set(entry)) { ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_get_peer_alt_names’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1249:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_get0_data(as), ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_decode_certificate’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1609:5: error: implicit declaration of function ‘X509_get0_notBefore’ [-Werror=implicit-function-declaration] notBefore = X509_get0_notBefore(certificate); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1609:15: warning: assignment makes pointer from integer without a cast [enabled by default] notBefore = X509_get0_notBefore(certificate); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1626:5: error: implicit declaration of function ‘X509_get0_notAfter’ [-Werror=implicit-function-declaration] notAfter = X509_get0_notAfter(certificate); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1626:14: warning: assignment makes pointer from integer without a cast [enabled by default] notAfter = X509_get0_notAfter(certificate); ^ In file included from /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1722:0: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl/cert.c: In function ‘newCertificate’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl/cert.c:30:9: error: implicit declaration of function ‘X509_up_ref’ [-Werror=implicit-function-declaration] X509_up_ref(cert); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_get_verified_chain_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1826:29: warning: initialization makes pointer from integer without a cast [enabled by default] STACK_OF(X509) *chain = SSL_get0_verified_chain(self->ssl); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘cipher_to_dict’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1944:5: error: implicit declaration of function ‘SSL_CIPHER_is_aead’ [-Werror=implicit-function-declaration] aead = SSL_CIPHER_is_aead(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1945:5: error: implicit declaration of function ‘SSL_CIPHER_get_cipher_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_cipher_nid(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1947:5: error: implicit declaration of function ‘SSL_CIPHER_get_digest_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_digest_nid(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1949:5: error: implicit declaration of function ‘SSL_CIPHER_get_kx_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_kx_nid(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1951:5: error: implicit declaration of function ‘SSL_CIPHER_get_auth_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_auth_nid(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_compression_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:2076: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_write_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:2330: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_read_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:2482:9: error: implicit declaration of function ‘SSL_read_ex’ [-Werror=implicit-function-declaration] retval = SSL_read_ex(self->ssl, mem, len, &count); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3008:9: error: implicit declaration of function ‘TLS_method’ [-Werror=implicit-function-declaration] method = TLS_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3008:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3011:9: error: implicit declaration of function ‘TLS_client_method’ [-Werror=implicit-function-declaration] method = TLS_client_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3011:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_client_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3014:9: error: implicit declaration of function ‘TLS_server_method’ [-Werror=implicit-function-declaration] method = TLS_server_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3014:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_server_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3117:9: error: implicit declaration of function ‘SSL_CTX_set_min_proto_version’ [-Werror=implicit-function-declaration] result = SSL_CTX_set_min_proto_version(ctx, PY_SSL_MIN_PROTOCOL); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘set_min_max_proto_version’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3476: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘get_minimum_version’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3489: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3489:37: note: each undeclared identifier is reported only once for each function it appears in /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘get_maximum_version’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3505: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘get_security_level’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3554: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_load_cert_chain_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3795: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3795: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3796: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3796: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_add_ca_certs’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3929: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3929: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_cert_store_stats_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4489:5: error: implicit declaration of function ‘X509_STORE_get0_objects’ [-Werror=implicit-function-declaration] objs = X509_STORE_get0_objects(store); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4489:10: warning: assignment makes pointer from integer without a cast [enabled by default] objs = X509_STORE_get0_objects(store); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4492:9: error: implicit declaration of function ‘X509_OBJECT_get_type’ [-Werror=implicit-function-declaration] switch (X509_OBJECT_get_type(obj)) { ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4495:17: error: implicit declaration of function ‘X509_OBJECT_get0_X509’ [-Werror=implicit-function-declaration] if (X509_check_ca(X509_OBJECT_get0_X509(obj))) { ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4495:17: warning: passing argument 1 of ‘X509_check_ca’ makes pointer from integer without a cast [enabled by default] In file included from /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_get_ca_certs_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4540:10: warning: assignment makes pointer from integer without a cast [enabled by default] objs = X509_STORE_get0_objects(store); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4551:14: warning: assignment makes pointer from integer without a cast [enabled by default] cert = X509_OBJECT_get0_X509(obj); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘PySSLSession_get_ticket_lifetime_hint’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4968: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘PySSLSession_get_has_ticket’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4990:5: error: implicit declaration of function ‘SSL_SESSION_has_ticket’ [-Werror=implicit-function-declaration] if (SSL_SESSION_has_ticket(self->session)) { ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘sslmodule_init_versioninfo’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:6043:5: error: implicit declaration of function ‘OpenSSL_version_num’ [-Werror=implicit-function-declaration] libver = OpenSSL_version_num(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:6053:5: error: implicit declaration of function ‘OpenSSL_version’ [-Werror=implicit-function-declaration] r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION)); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:6053: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘py_digest_name’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:158:10: error: ‘NID_sha3_224’ undeclared (first use in this function) case NID_sha3_224: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:158:10: note: each undeclared identifier is reported only once for each function it appears in /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:161:10: error: ‘NID_sha3_256’ undeclared (first use in this function) case NID_sha3_256: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:164:10: error: ‘NID_sha3_384’ undeclared (first use in this function) case NID_sha3_384: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:167:10: error: ‘NID_sha3_512’ undeclared (first use in this function) case NID_sha3_512: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:172:10: error: ‘NID_shake128’ undeclared (first use in this function) case NID_shake128: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:175:10: error: ‘NID_shake256’ undeclared (first use in this function) case NID_shake256: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:180:10: error: ‘NID_blake2s256’ undeclared (first use in this function) case NID_blake2s256: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:183:10: error: ‘NID_blake2b512’ undeclared (first use in this function) case NID_blake2b512: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘py_digest_by_name’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:222:13: error: implicit declaration of function ‘EVP_sha3_224’ [-Werror=implicit-function-declaration] digest = EVP_sha3_224(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:222:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_224(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:225:13: error: implicit declaration of function ‘EVP_sha3_256’ [-Werror=implicit-function-declaration] digest = EVP_sha3_256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:225:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:228:13: error: implicit declaration of function ‘EVP_sha3_384’ [-Werror=implicit-function-declaration] digest = EVP_sha3_384(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:228:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_384(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:231:13: error: implicit declaration of function ‘EVP_sha3_512’ [-Werror=implicit-function-declaration] digest = EVP_sha3_512(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:231:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_512(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:236:13: error: implicit declaration of function ‘EVP_shake128’ [-Werror=implicit-function-declaration] digest = EVP_shake128(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:236:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_shake128(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:239:13: error: implicit declaration of function ‘EVP_shake256’ [-Werror=implicit-function-declaration] digest = EVP_shake256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:239:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_shake256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:244:13: error: implicit declaration of function ‘EVP_blake2s256’ [-Werror=implicit-function-declaration] digest = EVP_blake2s256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:244:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_blake2s256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:247:13: error: implicit declaration of function ‘EVP_blake2b512’ [-Werror=implicit-function-declaration] digest = EVP_blake2b512(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:247:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_blake2b512(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘newEVPobject’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVP_dealloc’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVP_digest_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVP_hexdigest_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVPXOF_digest_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:628:5: error: implicit declaration of function ‘EVP_DigestFinalXOF’ [-Werror=implicit-function-declaration] if (!EVP_DigestFinalXOF(temp_ctx, ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVPXOF_hexdigest_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVPnew’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_224_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_256_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_384_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_512_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_128_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_256_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_scrypt_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_new_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:1428:5: error: implicit declaration of function ‘HMAC_CTX_new’ [-Werror=implicit-function-declaration] ctx = HMAC_CTX_new(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:1428:9: warning: assignment makes pointer from integer without a cast [enabled by default] ctx = HMAC_CTX_new(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hmac_digest_size’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_HMAC_copy_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hmac_repr’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hmac_digest’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_block_size’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_name’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:390:0: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl/debughelpers.c: In function ‘_PySSLContext_set_keylog_filename’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl_configure_hostname’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:766: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:767: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.h:6, from /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘newPySSLSocket’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:831:9: error: implicit declaration of function ‘BIO_up_ref’ [-Werror=implicit-function-declaration] BIO_up_ref(inbio->bio); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_create_tuple_for_X509_NAME’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1084:13: error: implicit declaration of function ‘X509_NAME_ENTRY_set’ [-Werror=implicit-function-declaration] if (rdn_level != X509_NAME_ENTRY_set(entry)) { ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_get_peer_alt_names’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1249:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_get0_data(as), ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_decode_certificate’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1609:5: error: implicit declaration of function ‘X509_get0_notBefore’ [-Werror=implicit-function-declaration] notBefore = X509_get0_notBefore(certificate); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1609:15: warning: assignment makes pointer from integer without a cast [enabled by default] notBefore = X509_get0_notBefore(certificate); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1626:5: error: implicit declaration of function ‘X509_get0_notAfter’ [-Werror=implicit-function-declaration] notAfter = X509_get0_notAfter(certificate); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1626:14: warning: assignment makes pointer from integer without a cast [enabled by default] notAfter = X509_get0_notAfter(certificate); ^ In file included from /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1722:0: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl/cert.c: In function ‘newCertificate’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl/cert.c:30:9: error: implicit declaration of function ‘X509_up_ref’ [-Werror=implicit-function-declaration] X509_up_ref(cert); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_get_verified_chain_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1826:29: warning: initialization makes pointer from integer without a cast [enabled by default] STACK_OF(X509) *chain = SSL_get0_verified_chain(self->ssl); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘cipher_to_dict’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1944:5: error: implicit declaration of function ‘SSL_CIPHER_is_aead’ [-Werror=implicit-function-declaration] aead = SSL_CIPHER_is_aead(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1945:5: error: implicit declaration of function ‘SSL_CIPHER_get_cipher_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_cipher_nid(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1947:5: error: implicit declaration of function ‘SSL_CIPHER_get_digest_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_digest_nid(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1949:5: error: implicit declaration of function ‘SSL_CIPHER_get_kx_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_kx_nid(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1951:5: error: implicit declaration of function ‘SSL_CIPHER_get_auth_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_auth_nid(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_compression_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:2076: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_write_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:2330: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_read_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:2482:9: error: implicit declaration of function ‘SSL_read_ex’ [-Werror=implicit-function-declaration] retval = SSL_read_ex(self->ssl, mem, len, &count); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3008:9: error: implicit declaration of function ‘TLS_method’ [-Werror=implicit-function-declaration] method = TLS_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3008:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3011:9: error: implicit declaration of function ‘TLS_client_method’ [-Werror=implicit-function-declaration] method = TLS_client_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3011:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_client_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3014:9: error: implicit declaration of function ‘TLS_server_method’ [-Werror=implicit-function-declaration] method = TLS_server_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3014:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_server_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3117:9: error: implicit declaration of function ‘SSL_CTX_set_min_proto_version’ [-Werror=implicit-function-declaration] result = SSL_CTX_set_min_proto_version(ctx, PY_SSL_MIN_PROTOCOL); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘set_min_max_proto_version’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3476: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘get_minimum_version’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3489: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3489:37: note: each undeclared identifier is reported only once for each function it appears in /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘get_maximum_version’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3505: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘get_security_level’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3554: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_load_cert_chain_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3795: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3795: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3796: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3796: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_add_ca_certs’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3929: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3929: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_cert_store_stats_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4489:5: error: implicit declaration of function ‘X509_STORE_get0_objects’ [-Werror=implicit-function-declaration] objs = X509_STORE_get0_objects(store); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4489:10: warning: assignment makes pointer from integer without a cast [enabled by default] objs = X509_STORE_get0_objects(store); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4492:9: error: implicit declaration of function ‘X509_OBJECT_get_type’ [-Werror=implicit-function-declaration] switch (X509_OBJECT_get_type(obj)) { ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4495:17: error: implicit declaration of function ‘X509_OBJECT_get0_X509’ [-Werror=implicit-function-declaration] if (X509_check_ca(X509_OBJECT_get0_X509(obj))) { ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4495:17: warning: passing argument 1 of ‘X509_check_ca’ makes pointer from integer without a cast [enabled by default] In file included from /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_get_ca_certs_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4540:10: warning: assignment makes pointer from integer without a cast [enabled by default] objs = X509_STORE_get0_objects(store); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4551:14: warning: assignment makes pointer from integer without a cast [enabled by default] cert = X509_OBJECT_get0_X509(obj); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘PySSLSession_get_ticket_lifetime_hint’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4968: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘PySSLSession_get_has_ticket’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4990:5: error: implicit declaration of function ‘SSL_SESSION_has_ticket’ [-Werror=implicit-function-declaration] if (SSL_SESSION_has_ticket(self->session)) { ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘sslmodule_init_versioninfo’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:6043:5: error: implicit declaration of function ‘OpenSSL_version_num’ [-Werror=implicit-function-declaration] libver = OpenSSL_version_num(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:6053:5: error: implicit declaration of function ‘OpenSSL_version’ [-Werror=implicit-function-declaration] r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION)); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:6053: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘py_digest_name’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:158:10: error: ‘NID_sha3_224’ undeclared (first use in this function) case NID_sha3_224: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:158:10: note: each undeclared identifier is reported only once for each function it appears in /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:161:10: error: ‘NID_sha3_256’ undeclared (first use in this function) case NID_sha3_256: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:164:10: error: ‘NID_sha3_384’ undeclared (first use in this function) case NID_sha3_384: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:167:10: error: ‘NID_sha3_512’ undeclared (first use in this function) case NID_sha3_512: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:172:10: error: ‘NID_shake128’ undeclared (first use in this function) case NID_shake128: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:175:10: error: ‘NID_shake256’ undeclared (first use in this function) case NID_shake256: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:180:10: error: ‘NID_blake2s256’ undeclared (first use in this function) case NID_blake2s256: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:183:10: error: ‘NID_blake2b512’ undeclared (first use in this function) case NID_blake2b512: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘py_digest_by_name’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:222:13: error: implicit declaration of function ‘EVP_sha3_224’ [-Werror=implicit-function-declaration] digest = EVP_sha3_224(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:222:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_224(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:225:13: error: implicit declaration of function ‘EVP_sha3_256’ [-Werror=implicit-function-declaration] digest = EVP_sha3_256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:225:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:228:13: error: implicit declaration of function ‘EVP_sha3_384’ [-Werror=implicit-function-declaration] digest = EVP_sha3_384(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:228:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_384(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:231:13: error: implicit declaration of function ‘EVP_sha3_512’ [-Werror=implicit-function-declaration] digest = EVP_sha3_512(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:231:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_512(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:236:13: error: implicit declaration of function ‘EVP_shake128’ [-Werror=implicit-function-declaration] digest = EVP_shake128(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:236:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_shake128(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:239:13: error: implicit declaration of function ‘EVP_shake256’ [-Werror=implicit-function-declaration] digest = EVP_shake256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:239:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_shake256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:244:13: error: implicit declaration of function ‘EVP_blake2s256’ [-Werror=implicit-function-declaration] digest = EVP_blake2s256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:244:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_blake2s256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:247:13: error: implicit declaration of function ‘EVP_blake2b512’ [-Werror=implicit-function-declaration] digest = EVP_blake2b512(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:247:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_blake2b512(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘newEVPobject’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVP_dealloc’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVP_digest_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVP_hexdigest_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVPXOF_digest_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:628:5: error: implicit declaration of function ‘EVP_DigestFinalXOF’ [-Werror=implicit-function-declaration] if (!EVP_DigestFinalXOF(temp_ctx, ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVPXOF_hexdigest_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVPnew’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_224_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_256_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_384_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_512_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_128_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_256_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_scrypt_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_new_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:1428:5: error: implicit declaration of function ‘HMAC_CTX_new’ [-Werror=implicit-function-declaration] ctx = HMAC_CTX_new(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:1428:9: warning: assignment makes pointer from integer without a cast [enabled by default] ctx = HMAC_CTX_new(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hmac_digest_size’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_HMAC_copy_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hmac_repr’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hmac_digest’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_block_size’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_name’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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 /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘py_digest_name’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:158:10: error: ‘NID_sha3_224’ undeclared (first use in this function) case NID_sha3_224: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:158:10: note: each undeclared identifier is reported only once for each function it appears in /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:161:10: error: ‘NID_sha3_256’ undeclared (first use in this function) case NID_sha3_256: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:164:10: error: ‘NID_sha3_384’ undeclared (first use in this function) case NID_sha3_384: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:167:10: error: ‘NID_sha3_512’ undeclared (first use in this function) case NID_sha3_512: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:172:10: error: ‘NID_shake128’ undeclared (first use in this function) case NID_shake128: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:175:10: error: ‘NID_shake256’ undeclared (first use in this function) case NID_shake256: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:180:10: error: ‘NID_blake2s256’ undeclared (first use in this function) case NID_blake2s256: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:183:10: error: ‘NID_blake2b512’ undeclared (first use in this function) case NID_blake2b512: ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘py_digest_by_name’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:222:13: error: implicit declaration of function ‘EVP_sha3_224’ [-Werror=implicit-function-declaration] digest = EVP_sha3_224(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:222:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_224(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:225:13: error: implicit declaration of function ‘EVP_sha3_256’ [-Werror=implicit-function-declaration] digest = EVP_sha3_256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:225:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:228:13: error: implicit declaration of function ‘EVP_sha3_384’ [-Werror=implicit-function-declaration] digest = EVP_sha3_384(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:228:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_384(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:231:13: error: implicit declaration of function ‘EVP_sha3_512’ [-Werror=implicit-function-declaration] digest = EVP_sha3_512(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:231:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_sha3_512(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:236:13: error: implicit declaration of function ‘EVP_shake128’ [-Werror=implicit-function-declaration] digest = EVP_shake128(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:236:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_shake128(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:239:13: error: implicit declaration of function ‘EVP_shake256’ [-Werror=implicit-function-declaration] digest = EVP_shake256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:239:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_shake256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:244:13: error: implicit declaration of function ‘EVP_blake2s256’ [-Werror=implicit-function-declaration] digest = EVP_blake2s256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:244:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_blake2s256(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:247:13: error: implicit declaration of function ‘EVP_blake2b512’ [-Werror=implicit-function-declaration] digest = EVP_blake2b512(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:247:20: warning: assignment makes pointer from integer without a cast [enabled by default] digest = EVP_blake2b512(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘newEVPobject’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVP_dealloc’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVP_digest_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVP_hexdigest_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVPXOF_digest_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:628:5: error: implicit declaration of function ‘EVP_DigestFinalXOF’ [-Werror=implicit-function-declaration] if (!EVP_DigestFinalXOF(temp_ctx, ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVPXOF_hexdigest_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘EVPnew’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_224_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_256_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_384_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_sha3_512_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_128_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_openssl_shake_256_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_scrypt_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_new_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:1428:5: error: implicit declaration of function ‘HMAC_CTX_new’ [-Werror=implicit-function-declaration] ctx = HMAC_CTX_new(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c:1428:9: warning: assignment makes pointer from integer without a cast [enabled by default] ctx = HMAC_CTX_new(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hmac_digest_size’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_HMAC_copy_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hmac_repr’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hmac_digest’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_block_size’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_hashopenssl.c: In function ‘_hashlib_hmac_get_name’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:390:0: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl/debughelpers.c: In function ‘_PySSLContext_set_keylog_filename’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl_configure_hostname’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:766: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:767: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.h:6, from /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘newPySSLSocket’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:831:9: error: implicit declaration of function ‘BIO_up_ref’ [-Werror=implicit-function-declaration] BIO_up_ref(inbio->bio); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_create_tuple_for_X509_NAME’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1084:13: error: implicit declaration of function ‘X509_NAME_ENTRY_set’ [-Werror=implicit-function-declaration] if (rdn_level != X509_NAME_ENTRY_set(entry)) { ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_get_peer_alt_names’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1249:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_get0_data(as), ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_decode_certificate’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1609:5: error: implicit declaration of function ‘X509_get0_notBefore’ [-Werror=implicit-function-declaration] notBefore = X509_get0_notBefore(certificate); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1609:15: warning: assignment makes pointer from integer without a cast [enabled by default] notBefore = X509_get0_notBefore(certificate); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1626:5: error: implicit declaration of function ‘X509_get0_notAfter’ [-Werror=implicit-function-declaration] notAfter = X509_get0_notAfter(certificate); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1626:14: warning: assignment makes pointer from integer without a cast [enabled by default] notAfter = X509_get0_notAfter(certificate); ^ In file included from /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1722:0: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl/cert.c: In function ‘newCertificate’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl/cert.c:30:9: error: implicit declaration of function ‘X509_up_ref’ [-Werror=implicit-function-declaration] X509_up_ref(cert); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_get_verified_chain_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1826:29: warning: initialization makes pointer from integer without a cast [enabled by default] STACK_OF(X509) *chain = SSL_get0_verified_chain(self->ssl); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘cipher_to_dict’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1944:5: error: implicit declaration of function ‘SSL_CIPHER_is_aead’ [-Werror=implicit-function-declaration] aead = SSL_CIPHER_is_aead(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1945:5: error: implicit declaration of function ‘SSL_CIPHER_get_cipher_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_cipher_nid(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1947:5: error: implicit declaration of function ‘SSL_CIPHER_get_digest_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_digest_nid(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1949:5: error: implicit declaration of function ‘SSL_CIPHER_get_kx_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_kx_nid(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:1951:5: error: implicit declaration of function ‘SSL_CIPHER_get_auth_nid’ [-Werror=implicit-function-declaration] nid = SSL_CIPHER_get_auth_nid(cipher); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_compression_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:2076: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_write_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:2330: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLSocket_read_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:2482:9: error: implicit declaration of function ‘SSL_read_ex’ [-Werror=implicit-function-declaration] retval = SSL_read_ex(self->ssl, mem, len, &count); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3008:9: error: implicit declaration of function ‘TLS_method’ [-Werror=implicit-function-declaration] method = TLS_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3008:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3011:9: error: implicit declaration of function ‘TLS_client_method’ [-Werror=implicit-function-declaration] method = TLS_client_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3011:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_client_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3014:9: error: implicit declaration of function ‘TLS_server_method’ [-Werror=implicit-function-declaration] method = TLS_server_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3014:16: warning: assignment makes pointer from integer without a cast [enabled by default] method = TLS_server_method(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3117:9: error: implicit declaration of function ‘SSL_CTX_set_min_proto_version’ [-Werror=implicit-function-declaration] result = SSL_CTX_set_min_proto_version(ctx, PY_SSL_MIN_PROTOCOL); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘set_min_max_proto_version’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3476: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘get_minimum_version’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3489: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3489:37: note: each undeclared identifier is reported only once for each function it appears in /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘get_maximum_version’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3505: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘get_security_level’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3554: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_load_cert_chain_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3795: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3795: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3796: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3796: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_add_ca_certs’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3929: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:3929: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_cert_store_stats_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4489:5: error: implicit declaration of function ‘X509_STORE_get0_objects’ [-Werror=implicit-function-declaration] objs = X509_STORE_get0_objects(store); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4489:10: warning: assignment makes pointer from integer without a cast [enabled by default] objs = X509_STORE_get0_objects(store); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4492:9: error: implicit declaration of function ‘X509_OBJECT_get_type’ [-Werror=implicit-function-declaration] switch (X509_OBJECT_get_type(obj)) { ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4495:17: error: implicit declaration of function ‘X509_OBJECT_get0_X509’ [-Werror=implicit-function-declaration] if (X509_check_ca(X509_OBJECT_get0_X509(obj))) { ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4495:17: warning: passing argument 1 of ‘X509_check_ca’ makes pointer from integer without a cast [enabled by default] In file included from /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘_ssl__SSLContext_get_ca_certs_impl’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4540:10: warning: assignment makes pointer from integer without a cast [enabled by default] objs = X509_STORE_get0_objects(store); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4551:14: warning: assignment makes pointer from integer without a cast [enabled by default] cert = X509_OBJECT_get0_X509(obj); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘PySSLSession_get_ticket_lifetime_hint’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4968: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/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘PySSLSession_get_has_ticket’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:4990:5: error: implicit declaration of function ‘SSL_SESSION_has_ticket’ [-Werror=implicit-function-declaration] if (SSL_SESSION_has_ticket(self->session)) { ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c: In function ‘sslmodule_init_versioninfo’: /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:6043:5: error: implicit declaration of function ‘OpenSSL_version_num’ [-Werror=implicit-function-declaration] libver = OpenSSL_version_num(); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:6053:5: error: implicit declaration of function ‘OpenSSL_version’ [-Werror=implicit-function-declaration] r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION)); ^ /home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Modules/_ssl.c:6053:46: error: ‘OPENSSL_VERSION’ undeclared (first use in this function) r = PyUnicode_FromString(OpenSSL_version(OPENSSL_VERSION)); ^ cc1: some warnings being treated as errors test_smtpnet skipped -- No module named '_ssl' test_ssl skipped -- No module named '_ssl' test_winreg skipped -- No module named 'winreg' test_startfile skipped -- object <module 'os' from '/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/os.py'> has no attribute 'startfile' test_winconsoleio skipped -- test only relevant on win32 test_ioctl skipped -- Unable to open /dev/tty test_ttk_guionly skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...] test_devpoll skipped -- test works only on Solaris OS family test_msilib skipped -- No module named '_msi' 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_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run test_kqueue skipped -- test works only on BSD 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 9.966s OK (skipped=2) 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.011s OK test_winsound skipped -- No module named 'winsound' test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp' Timeout (0:15:00)! Thread 0x00003fff783f5840 (most recent call first): File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 164 in _format File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 168 in <genexpr> File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 168 in _format File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 145 in _format File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 175 in dump File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_unparse.py", line 120 in assertASTEqual File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_unparse.py", line 127 in check_ast_roundtrip File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_unparse.py", line 564 in test_files File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/case.py", line 549 in _callTestMethod File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/case.py", line 592 in run File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/case.py", line 652 in __call__ File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/suite.py", line 122 in run File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/suite.py", line 84 in __call__ File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/suite.py", line 122 in run File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/suite.py", line 84 in __call__ File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/suite.py", line 122 in run File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/suite.py", line 84 in __call__ File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/runner.py", line 176 in run File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/support/__init__.py", line 959 in _run_suite File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/support/__init__.py", line 1082 in run_unittest File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/runtest.py", line 210 in _test_module File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/runtest.py", line 246 in _runtest_inner2 File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/runtest.py", line 282 in _runtest_inner File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/runtest.py", line 141 in _runtest File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/runtest.py", line 194 in runtest File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/runtest_mp.py", line 81 in run_tests_worker File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/main.py", line 661 in _main File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/main.py", line 641 in main File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/main.py", line 719 in main File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/regrtest.py", line 43 in _main File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/regrtest.py", line 47 in <module> File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/runpy.py", line 86 in _run_code File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/runpy.py", line 196 in _run_module_as_main Timeout (0:15:00)! Thread 0x00003fff90c25840 (most recent call first): File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 169 in _format Fatal Python error: _PyMem_DebugFree: Python memory allocator called without holding the GIL Python runtime state: initialized Thread 0x00003fff90c25840 (most recent call first): File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 163 in _format Fatal Python error: Aborted Thread 0x00003fff90c25840 (most recent call first): File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 164 in _format File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 168 in <genexpr> File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 168 in _format File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 145 in _format File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 168 in <genexpr> File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 168 in _format File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 145 in _format File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 168 in <genexpr> File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 168 in _format File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 145 in _format File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/ast.py", line 175 in dump File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_unparse.py", line 120 in assertASTEqual File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_unparse.py", line 127 in check_ast_roundtrip File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/test_unparse.py", line 564 in test_files File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/case.py", line 549 in _callTestMethod File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/case.py", line 592 in run File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/case.py", line 652 in __call__ File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/suite.py", line 122 in run File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/suite.py", line 84 in __call__ File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/suite.py", line 122 in run File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/suite.py", line 84 in __call__ File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/suite.py", line 122 in run File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/suite.py", line 84 in __call__ File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/unittest/runner.py", line 176 in run File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/support/__init__.py", line 959 in _run_suite File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/support/__init__.py", line 1082 in run_unittest File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/runtest.py", line 210 in _test_module File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/runtest.py", line 246 in _runtest_inner2 File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/runtest.py", line 282 in _runtest_inner File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/runtest.py", line 154 in _runtest File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/runtest.py", line 194 in runtest File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/main.py", line 321 in rerun_failed_tests File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/main.py", line 698 in _main File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/main.py", line 641 in main File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/libregrtest/main.py", line 719 in main File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/test/__main__.py", line 2 in <module> File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/runpy.py", line 86 in _run_code File "/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/Lib/runpy.py", line 196 in _run_module_as_main Extension modules: _testcapi (total: 1) make: *** [buildbottest] Aborted Cannot open file '/home/shager/cpython-buildarea/3.10.edelsohn-fedora-ppc64/build/test-results.xml' for upload