Package: src:sortmail Version: 1:2.4-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/sortmail_2.4-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 [...] 228 | MD5Update(&ctx, pw, strlen(pw)) ; | ^~~~~~~~~ ~~~~ md5.h:36:6: note: declared here 36 | void MD5Update PROTO_LIST ((MD5_CTX *, unsigned char *, unsigned int)); | ^~~~~~~~~ pop3.c:229:11: error: too many arguments to function ‘MD5Final’; expected 0, have 2 229 | MD5Final(digest, &ctx) ; | ^~~~~~~~ ~~~~~~ md5.h:37:6: note: declared here 37 | void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); | ^~~~~~~~ sortmail.c: In function ‘processImapMessages’: sortmail.c:767:25: warning: variable ‘msg’ set but not used [-Wunused-but-set-variable] 767 | MailMessage msg ; | ^~~ expr.c:1366:1: warning: ‘ipMatch’ defined but not used [-Wunused-function] 1366 | ipMatch(PatExpr *pat, MailMessage *msg) | ^~~~~~~ expr.c:1240:1: warning: ‘patMatch’ defined but not used [-Wunused-function] 1240 | patMatch(PatExpr *pat, MailMessage *msg) | ^~~~~~~~ expr.c:1214:1: warning: ‘ipHandler’ defined but not used [-Wunused-function] 1214 | ipHandler(ExprOp op, Expression *expr, MailMessage *msg) | ^~~~~~~~~ expr.c:1191:1: warning: ‘patHandler’ defined but not used [-Wunused-function] 1191 | patHandler(ExprOp op, Expression *expr, MailMessage *msg) | ^~~~~~~~~~ expr.c:1178:1: warning: ‘varHandler’ defined but not used [-Wunused-function] 1178 | varHandler(ExprOp op, Expression *expr, MailMessage *msg) | ^~~~~~~~~~ expr.c:1165:1: warning: ‘constHandler’ defined but not used [-Wunused-function] 1165 | constHandler(ExprOp op, Expression *expr, MailMessage *msg) | ^~~~~~~~~~~~ expr.c:1149:1: warning: ‘notHandler’ defined but not used [-Wunused-function] 1149 | notHandler(ExprOp op, Expression *expr, MailMessage *msg) | ^~~~~~~~~~ expr.c:1097:1: warning: ‘binHandler’ defined but not used [-Wunused-function] 1097 | binHandler(ExprOp op, Expression *expr, MailMessage *m) | ^~~~~~~~~~ expr.c:1072:1: warning: ‘parenHandler’ defined but not used [-Wunused-function] 1072 | parenHandler(ExprOp op, Expression *expr, MailMessage *msg) | ^~~~~~~~~~~~ expr.c:3:19: warning: ‘rcsid’ defined but not used [-Wunused-const-variable=] 3 | static const char rcsid[] = "$Id: expr.c,v 1.4 2003/12/22 06:03:14 efalk Exp $" ; | ^~~~~ expr.c:2:19: warning: ‘sccsid’ defined but not used [-Wunused-const-variable=] 2 | static const char sccsid[] = "@(#)expr.c 1.4 02/03/11 falk" ; | ^~~~~~ sortmail.c: In function ‘processMessage’: sortmail.c:974:17: warning: variable ‘rval’ set but not used [-Wunused-but-set-variable] 974 | int rval ; | ^~~~ make[1]: *** [<builtin>: expr.o] Error 1 pop3.c: At top level: pop3.c:2:19: warning: ‘rcsid’ defined but not used [-Wunused-const-variable=] 2 | static const char rcsid[] = | ^~~~~ make[1]: *** [<builtin>: pop3.o] Error 1 sortmail.c: At top level: sortmail.c:3:19: warning: ‘rcsid’ defined but not used [-Wunused-const-variable=] 3 | static const char rcsid[] = "$Id: sortmail.c,v 1.12 2003/12/22 06:03:14 efalk Exp $" ; | ^~~~~ sortmail.c:2:19: warning: ‘sccsid’ defined but not used [-Wunused-const-variable=] 2 | static const char sccsid[] = "@(#)sortmail.c 2.8 02/03/11 falk" ; | ^~~~~~ make[1]: *** [<builtin>: sortmail.o] Error 1 make[1]: Leaving directory '/build/reproducible-path/sortmail-2.4' dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2