Source: azure-uamqp-python Version: 1.4.1-1 Severity: important Tags: bookworm sid User: pkg-openssl-de...@lists.alioth.debian.org Usertags: ftbfs-3.0
Hi, Your package is failing to build using OpenSSL 3.0 with errors like: /<<PKGBUILDDIR>>/src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/x509_openssl.c: In function load_certificate_chain: /<<PKGBUILDDIR>>/src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/x509_openssl.c:81:28: error: invalid use of incomplete typedef SSL_CTX {aka struct ssl_ctx_st} 81 | if (ssl_ctx->extra_certs != NULL) | ^~ In file included from /usr/include/openssl/ssl.h:31, from /<<PKGBUILDDIR>>/src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/inc/azure_c_shared_utility/x509_openssl.h:7, from /<<PKGBUILDDIR>>/src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/x509_openssl.c:4: /<<PKGBUILDDIR>>/src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/x509_openssl.c:83:45: error: invalid use of incomplete typedef SSL_CTX {aka struct ssl_ctx_st} 83 | sk_X509_pop_free(ssl_ctx->extra_certs, X509_free); | ^~ /<<PKGBUILDDIR>>/src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/x509_openssl.c:84:28: error: invalid use of incomplete typedef SSL_CTX {aka struct ssl_ctx_st} 84 | ssl_ctx->extra_certs = NULL; | ^~ /<<PKGBUILDDIR>>/src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/x509_openssl.c: In function load_key_RSA: /<<PKGBUILDDIR>>/src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/x509_openssl.c:140:5: error: EVP_PKEY_get1_RSA is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 140 | RSA* privatekey = EVP_PKEY_get1_RSA(evp_key); | ^~~ At least some of those errors are caused by using deprecated function in combination with -Werror. I'm not sure why you get the other errors, since that's not changed between 1.1 and 3.0. For more information see: https://www.openssl.org/docs/man3.0/man7/migration_guide.html Kurt