Source: pdns-recursor
Version: 4.6.0-1
Severity: important
Tags: bookworm sid
User: [email protected]
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/usr/include/luajit-2.1 -I./ext/yahttp
-pthread -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64
-DNETSNMP_USE_INLINE -O3 -Wall -pthread -DSYSCONFDIR=\"/etc/powerdns\"
-I./ext/json11 -I./ext/protozero/include -I./ext/yahttp
-DBOOST_CONTAINER_USE_STD_EXCEPTIONS -I/usr/include/luajit-2.1 -Wdate-time
-D_FORTIFY_SOURCE=2 -DSYSCONFDIR=\"/etc/powerdns\"
-DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/pdns-recursor\"
-DLOCALSTATEDIR=\"/var/run\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
--param ssp-buffer-size=4 -fstack-protector -Wall -Wextra -Wshadow
-Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -g -O2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPACKAGEVERSION='"4.6.0-1.Debian"' -c -o base64.o
base64.cc
| g++ -std=c++17 -DHAVE_CONFIG_H -I. -I/usr/include/luajit-2.1 -I./ext/yahttp
-pthread -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64
-DNETSNMP_USE_INLINE -O3 -Wall -pthread -DSYSCONFDIR=\"/etc/powerdns\"
-I./ext/json11 -I./ext/protozero/include -I./ext/yahttp
-DBOOST_CONTAINER_USE_STD_EXCEPTIONS -I/usr/include/luajit-2.1 -Wdate-time
-D_FORTIFY_SOURCE=2 -DSYSCONFDIR=\"/etc/powerdns\"
-DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/pdns-recursor\"
-DLOCALSTATEDIR=\"/var/run\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
--param ssp-buffer-size=4 -fstack-protector -Wall -Wextra -Wshadow
-Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -g -O2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -DPACKAGEVERSION='"4.6.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[3]: *** [Makefile:1645: credentials.o] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>'
| make[2]: *** [Makefile:1764: all-recursive] Error 1
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| make[1]: *** [Makefile:1314: all] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j1 returned exit code 2
For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html
Sebastian