Package: src:netkit-ftp-ssl Version: 0.17.34+really0.17-2 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-ftp-ssl_0.17.34+really0.17-2_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-ftp-ssl-0.17.34+really0.17/ftp/ftp.c: In function ‘dataconn’: /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/ftp.c:1700:66: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 1700 | sprintf(errbuf,"ftp: SSL_connect DATA error %d - %s\n", | ~^ | | | int | %ld /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/ftp.c: In function ‘ssl_init’: /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/ftp.c:2193:29: warning: ‘ERR_func_error_string’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2193 | const char *e = ERR_func_error_string(ERR_peek_error()); | ^~~~~ In file included from /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/sslapp.h:35, from /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/ftp_var.h:187, from /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/ftp.c:77: /usr/include/openssl/err.h:459:35: note: declared here 459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); | ^~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/ftp.c:2229:37: warning: ‘ERR_func_error_string’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2229 | ERR_func_error_string(ERR_peek_error()), | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/err.h:459:35: note: declared here 459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); | ^~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/ftp.c:2236:25: warning: ‘SSL_use_RSAPrivateKey_file’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2236 | if (!SSL_use_RSAPrivateKey_file(ssl_con, my_ssl_key_file, | ^~ In file included from /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/sslapp.h:34: /usr/include/openssl/ssl.h:1696:12: note: declared here 1696 | __owur int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/ftp.c:2244:41: warning: ‘ERR_func_error_string’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2244 | ERR_func_error_string(ERR_peek_error()), | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/err.h:459:35: note: declared here 459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); | ^~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/cmds.c:1113:11: error: ‘bool’ cannot be used here 1113 | onoff(int bool) | ^~~~ /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/cmds.c:1113:11: note: ‘bool’ is a keyword with ‘-std=c23’ onwards /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/cmds.c: In function ‘onoff’: /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/cmds.c:1115:21: error: expected ‘)’ before ‘?’ token 1115 | return (bool ? "on" : "off"); | ~ ^~ | ) /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/cmds.c:1115:37: error: expected expression before ‘;’ token 1115 | return (bool ? "on" : "off"); | ^ /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/cmds.c: In function ‘settick’: /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/cmds.c:1300:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 1300 | printf(" (%d bytes/tick increment)", 10 * hashstep); | ~^ ~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/cmds.c: In function ‘user’: /build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/ftp/cmds.c:1701:25: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1701 | fgets(theacct, sizeof(theacct), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [ftp/CMakeFiles/ftp-ssl.dir/build.make:82: ftp/CMakeFiles/ftp-ssl.dir/cmds.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:109: ftp/CMakeFiles/ftp-ssl.dir/all] Error 2 make[2]: Leaving directory '/build/reproducible-path/netkit-ftp-ssl-0.17.34+really0.17/obj-x86_64-linux-gnu' make[1]: *** [Makefile:139: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/netkit-ftp-ssl-0.17.34+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:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2