#1006583 validns: FTBFS with OpenSSL 3.0

Package:
src:validns
Source:
validns
Submitter:
Sebastian Andrzej Siewior
Date:
2022-06-23 19:54:05 UTC
Severity:
serious
Tags:
#1006583#5
Date:
2022-02-27 22:54:18 UTC
From:
To:
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

#1006583#14
Date:
2022-06-23 19:50:16 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
validns, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1006583@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Andrzej Siewior <sebastian@breakpoint.cc> (supplier of updated validns package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 23 Jun 2022 18:48:15 +0200
Source: validns
Architecture: source
Version: 0.8+git20160720-3.2
Distribution: unstable
Urgency: medium
Maintainer: Casper Gielen <casper-alioth@gielen.name>
Changed-By: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Closes: 1006583
Changes:
 validns (0.8+git20160720-3.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Get it compiled against OpenSSL 3.0+ (Closes: #1006583).
Checksums-Sha1:
 ec9f5e37ecee9da7c6b4dba8430c80476eb49195 2036 validns_0.8+git20160720-3.2.dsc
 b60fcd9ba21128aad7afe9239a86c9f37c447a9b 9676 validns_0.8+git20160720-3.2.debian.tar.xz
Checksums-Sha256:
 8d8f539ed7d47345d762aba841b3097b6501332ff9d96a58354724114f70f60d 2036 validns_0.8+git20160720-3.2.dsc
 4813cdfc398ecab88d9cfeaa8ec049412053ad3735ee06c2a22c828ecaf88532 9676 validns_0.8+git20160720-3.2.debian.tar.xz
Files:
 b7dfd2f051169f2907de22d9ff79dc0b 2036 net optional validns_0.8+git20160720-3.2.dsc
 74593eb53ae4083cf52a3dd4f2ef0571 9676 net optional validns_0.8+git20160720-3.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEZCVGlf/wqkRmzBnme5boFiqM9dEFAmK0mjoACgkQe5boFiqM
9dEHJg//QLO35Qp1lqRZ8Nq8qxfvlWPc7DU6Kcgd4WK4yGkqFYFtt4jEpGfBZFgr
XGOa3E+B8xaA3GXtQ+lyG5HygZXTrpdWzbxOh+QmU5jFRubCxqNctzhxA0xqs0qN
R+qhOyFnBUEVtJsKRaDBFWZu9BB5Lgq3iljhTO4BsHHptxnOn7gOIe6CXHeYMQsi
so7g/cb9qloWW8PwhsdE09NBLeXvuULGbhC8AwwL8yLt2+2PPCPSgm9h1NvekHXd
fWELvi0P1eyvPQU/EUDt2uhQzxCX6cL5Ib6mHlCiVR4ONB042YeWWlE6UHcIhU7o
rxkgHcDCRgRGT9fOljFYKhc+ER527ae5C6yda2TxIpSxyI0fY+S6L0uhgiSAi1HC
owyiOH/4TK2+ReDb916oH/yN8DioebCi43EsXv8625KMhqXhBkOgqC1eqNDl3UV6
YuJQ+KK5jAW5tfyJ4E+KhiyRxJr09qdStHZUFkRrDy9CxxxV693OeDvwTtyQCrOV
4JGybhd4maahsfTMv3oBrt0HkV1F+uchDssoicHgDVN0Uj0GFZIk6un7VBxlaFXM
ESfDcIpuHhu8+t+2nXrFBxgaGE/C13HbD3XpKPrgcF6pQJgKsmg3ImwAKVgbjDo9
7sGkWIBwDmFwicRqRK3nSQv+sChKTGRvbWNH/SSHCVhGM7dX3YQ=
=XciO
-----END PGP SIGNATURE-----