Source: validns
Version: 0.8+git20160720-3.1
Severity: important
Tags: bookworm sid
User: pkg-openssl-de...@lists.alioth.debian.org
Usertags: ftbfs-3.0

Your package is failing to build using OpenSSL 3.0 with the
following error:

| cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -Werror -pthread -fno-strict-aliasing -O2 -g -c 
-o dnskey.o dnskey.c -I/usr/local/include -I/opt/local/include 
-I/usr/local/ssl/include
| dnskey.c: In function ‘dnskey_build_pkey’:
| dnskey.c:159:17: error: ‘RSA_new’ is deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]
|   159 |                 rsa = RSA_new();
|       |                 ^~~
| In file included from dnskey.c:15:
| /usr/include/openssl/rsa.h:201:28: note: declared here
|   201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
|       |                            ^~~~~~~
| dnskey.c:186:17: error: ‘RSA_set0_key’ is deprecated: Since OpenSSL 3.0 
[-Werror=deprecated-declarations]
|   186 |                 RSA_set0_key(rsa, n, e, NULL);
|       |                 ^~~~~~~~~~~~
| In file included from dnskey.c:15:
| /usr/include/openssl/rsa.h:207:27: note: declared here
|   207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, 
BIGNUM *d);
|       |                           ^~~~~~~~~~~~
| dnskey.c:192:17: error: ‘EVP_PKEY_set1_RSA’ is deprecated: Since OpenSSL 
3.0 [-Werror=deprecated-declarations]
|   192 |                 if (!EVP_PKEY_set1_RSA(pkey, rsa))
|       |                 ^~
| In file included from dnskey.c:14:
| /usr/include/openssl/evp.h:1344:5: note: declared here
|  1344 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key);
|       |     ^~~~~~~~~~~~~~~~~
| cc1: all warnings being treated as errors
| make[1]: *** [Makefile:143: dnskey.o] Error 1

For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html

Sebastian

Reply via email to