Source: net-snmp
Version: 5.9.1+dfsg-1
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:
| transports/snmpTLSBaseDomain.c:59:22: error: static declaration of ‘ERR_get_error_all’ follows non-static declaration
| 59 | static unsigned long ERR_get_error_all(const char **file, int *line,
| | ^~~~~~~~~~~~~~~~~
| In file included from transports/snmpTLSBaseDomain.c:31:
| /usr/include/openssl/err.h:406:15: note: previous declaration of ‘ERR_get_error_all’ with type ‘long unsigned int(const char **, int *, const char **, const char **, int *)’
| 406 | unsigned long ERR_get_error_all(const char **file, int *line,
| | ^~~~~~~~~~~~~~~~~
| transports/snmpTLSBaseDomain.c: In function ‘ERR_get_error_all’:
| transports/snmpTLSBaseDomain.c:64:5: warning: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 64 | return ERR_get_error_line_data(file, line, data, flags);
| | ^~~~~~
| In file included from transports/snmpTLSBaseDomain.c:31:
| /usr/include/openssl/err.h:413:15: note: declared here
| 413 | unsigned long ERR_get_error_line_data(const char **file, int *line,
| | ^~~~~~~~~~~~~~~~~~~~~~~
| make[3]: *** [Makefile:101: transports/snmpTLSBaseDomain.lo] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/snmplib'
For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html
Sebastian