Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1005717: : FTBFS with OpenSSL 3.0

48 views
Skip to first unread message

Sebastian Andrzej Siewior

unread,
Feb 13, 2022, 3:40:03 PM2/13/22
to

Source: nzbget
Version: 21.0+dfsg-2
Severity: important
Tags: bookworm sid
User: pkg-open...@lists.alioth.debian.org
Usertags: ftbfs-3.0

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

| daemon/connect/TlsSocket.cpp: In static member function ‘static void TlsSocket::Final()’:
| daemon/connect/TlsSocket.cpp:192:9: error: ‘FIPS_mode_set’ was not declared in this scope
| 192 | FIPS_mode_set(0);
| | ^~~~~~~~~~~~~
| daemon/connect/TlsSocket.cpp: In member function ‘bool TlsSocket::Start()’:
| daemon/connect/TlsSocket.cpp:392:56: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declara tions]
| 392 | EC_KEY* ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
| | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
| In file included from /usr/include/openssl/x509.h:33,
| from /usr/include/openssl/ssl.h:31,
| from ./daemon/main/nzbget.h:257,
| from daemon/connect/TlsSocket.cpp:21:
| /usr/include/openssl/ec.h:996:31: note: declared here
| 996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
| | ^~~~~~~~~~~~~~~~~~~~~~~~
| daemon/connect/TlsSocket.cpp:402:36: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 402 | EC_KEY_free(ecdh);
| | ~~~~~~~~~~~^~~~~~
| In file included from /usr/include/openssl/x509.h:33,
| from /usr/include/openssl/ssl.h:31,
| from ./daemon/main/nzbget.h:257,
| from daemon/connect/TlsSocket.cpp:21:
| /usr/include/openssl/ec.h:1001:28: note: declared here
| 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| | ^~~~~~~~~~~
| daemon/connect/TlsSocket.cpp:406:28: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 406 | EC_KEY_free(ecdh);
| | ~~~~~~~~~~~^~~~~~
| In file included from /usr/include/openssl/x509.h:33,
| from /usr/include/openssl/ssl.h:31,
| from ./daemon/main/nzbget.h:257,
| from daemon/connect/TlsSocket.cpp:21:
| /usr/include/openssl/ec.h:1001:28: note: declared here
| 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| | ^~~~~~~~~~~
| daemon/connect/Connection.cpp: In function ‘hostent* android_read_hostent(FILE*, hostent*, char*, size_t)’:
| daemon/connect/Connection.cpp:1196:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribut e ‘warn_unused_result’ [-Wunused-result]
| 1196 | fread(&size, 1, sizeof(size), proxy);
| | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| make[2]: *** [Makefile:1774: daemon/connect/TlsSocket.o] Error 1

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

Sebastian
0 new messages