Source: dnsdist Version: 1.7.0-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: | g++ -std=c++17 -DHAVE_CONFIG_H -I. -I. -I. -pthread -I/usr/include/luajit-2.1 -I/usr/include/editline -I./ext/yahttp -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -DNETSNMP_USE_INLINE -I./ext/protozero/include -DSYSCONFDIR=\"/etc/dnsdist\" -DBOOST_CONTAINER_USE_STD_EXCEPTIONS -pthread -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -g -O3 -Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DPACKAGEVERSION='"1.7.0-1.Debian"' -c -o credentials.o credentials.cc | credentials.cc: In function ‘std::string hashPasswordInternal(const string&, const string&, uint64_t, uint64_t, uint64_t)’: | credentials.cc:109:46: error: invalid conversion from ‘const void*’ to ‘const char*’ [-fpermissive] | 109 | if (EVP_PKEY_CTX_set1_pbe_pass(pctx.get(), reinterpret_cast<const void*>(password.data()), password.size()) <= 0) { | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | const void* | In file included from credentials.cc:33: | /usr/include/openssl/kdf.h:119:63: note: initializing argument 2 of ‘int EVP_PKEY_CTX_set1_pbe_pass(EVP_PKEY_CTX*, const char*, int)’ | 119 | int EVP_PKEY_CTX_set1_pbe_pass(EVP_PKEY_CTX *ctx, const char *pass, | | ~~~~~~~~~~~~^~~~ | make[4]: *** [Makefile:1469: credentials.o] Error 1 | make[4]: Leaving directory '/<<PKGBUILDDIR>>' | make[3]: *** [Makefile:1591: all-recursive] Error 1 For more information see: https://www.openssl.org/docs/man3.0/man7/migration_guide.html Sebastian