Package: src:netkit-telnet-ssl Version: 0.17.41+really0.17-5 Severity: important Tags: sid forky User: debian-...@lists.debian.org Usertags: ftbfs-gcc-15
[This bug is NOT targeted to the upcoming trixie release] Please keep this issue open in the bug tracker for the package it was filed for. If a fix in another package is required, please file a bug for the other package (or clone), and add a block in this package. Please keep the issue open until the package can be built in a follow-up test rebuild. The package fails to build in a test rebuild on at least amd64 with gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The severity of this report will be raised before the forky release. The full build log can be found at: http://qa-logs.debian.net/2025/02/16/amd64exp/netkit-telnet-ssl_0.17.41+really0.17-5_unstable_gccexp.log.gz The last lines of the build log are at the end of this report. To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS. Other Common build failures are new warnings resulting in build failures with -Werror turned on, or new/dropped symbols in Debian symbols files. For other C/C++ related build failures see the porting guide at http://gcc.gnu.org/gcc-15/porting_to.html [...] /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:338:64: error: passing argument 3 of ‘SSL_set_verify’ from incompatible pointer type [-Wincompatible-pointer-types] 338 | SSL_set_verify(ssl_con,ssl_verify_flag,server_verify_callback); | ^~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void) In file included from /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:75: /usr/include/openssl/ssl.h:1664:53: note: expected ‘SSL_verify_cb’ {aka ‘int (*)(int, struct x509_store_ctx_st *)’} but argument is of type ‘int (*)(void)’ 1664 | void SSL_set_verify(SSL *s, int mode, SSL_verify_cb callback); | ~~~~~~~~~~~~~~^~~~~~~~ /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:137:5: note: ‘server_verify_callback’ declared here 137 | int server_verify_callback(); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:343:15: note: ‘SSL_verify_cb’ declared here 343 | typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx); | ^~~~~~~~~~~~~ /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c: In function ‘auth_ssl_reply’: /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:410:6: warning: old-style function definition [-Wold-style-definition] 410 | void auth_ssl_reply(ap, data, cnt) | ^~~~~~~~~~~~~~ /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:438:49: error: passing argument 3 of ‘SSL_set_verify’ from incompatible pointer type [-Wincompatible-pointer-types] 438 | client_verify_callback); | ^~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void) /usr/include/openssl/ssl.h:1664:53: note: expected ‘SSL_verify_cb’ {aka ‘int (*)(int, struct x509_store_ctx_st *)’} but argument is of type ‘int (*)(void)’ 1664 | void SSL_set_verify(SSL *s, int mode, SSL_verify_cb callback); | ~~~~~~~~~~~~~~^~~~~~~~ /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:138:5: note: ‘client_verify_callback’ declared here 138 | int client_verify_callback(); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:343:15: note: ‘SSL_verify_cb’ declared here 343 | typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx); | ^~~~~~~~~~~~~ /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c: In function ‘auth_ssl_status’: /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:484:5: warning: old-style function definition [-Wold-style-definition] 484 | int auth_ssl_status(ap, name, level) | ^~~~~~~~~~~~~~~ /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c: In function ‘auth_ssl_printsub’: /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:566:6: warning: old-style function definition [-Wold-style-definition] 566 | void auth_ssl_printsub(data, cnt, buf, buflen) | ^~~~~~~~~~~~~~~~~ /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c: In function ‘server_verify_callback’: /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:617:1: warning: old-style function definition [-Wold-style-definition] 617 | server_verify_callback(ok, ctx) | ^~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:626:1: error: number of arguments doesn’t match prototype 626 | { | ^ /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:137:5: error: prototype declaration 137 | int server_verify_callback(); | ^~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c: In function ‘client_verify_callback’: /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:766:1: warning: old-style function definition [-Wold-style-definition] 766 | client_verify_callback(ok, ctx) | ^~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:775:1: error: number of arguments doesn’t match prototype 775 | { | ^ /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:138:5: error: prototype declaration 138 | int client_verify_callback(); | ^~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [libtelnet/CMakeFiles/libtelnet.dir/build.make:110: libtelnet/CMakeFiles/libtelnet.dir/ssl.c.o] Error 1 make[3]: Leaving directory '/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:274: libtelnet/CMakeFiles/libtelnet.dir/all] Error 2 make[2]: Leaving directory '/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/obj-x86_64-linux-gnu' make[1]: *** [Makefile:139: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/obj-x86_64-linux-gnu' dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2 make: *** [debian/rules:9: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2