Package: src:rlpr Version: 2.06-2 Severity: important Tags: sid forky User: [email protected] 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/rlpr_2.06-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 [...] error.c:46:6: warning: conflicting types for built-in function ‘exit’; expected ‘void(int)’ [-Wbuiltin-declaration-mismatch] 46 | void exit (); | ^~~~ error.c:30:1: note: ‘exit’ is declared in header ‘<stdlib.h>’ 29 | # include <stdarg.h> +++ |+#include <stdlib.h> 30 | # define VA_START(args, lastarg) va_start(args, lastarg) error.c:82:7: error: conflicting types for ‘strerror’; have ‘char *(void)’ 82 | char *strerror (); | ^~~~~~~~ In file included from error.c:25: /usr/include/string.h:419:14: note: previous declaration of ‘strerror’ with type ‘char *(int)’ 419 | extern char *strerror (int __errnum) __THROW; | ^~~~~~~~ error.c: In function ‘error’: error.c:143:30: error: too many arguments to function ‘strerror’; expected 0, have 1 143 | fprintf (stderr, ": %s", strerror (errnum)); | ^~~~~~~~ ~~~~~~ error.c:82:7: note: declared here 82 | char *strerror (); | ^~~~~~~~ error.c:147:5: error: too many arguments to function ‘exit’; expected 0, have 1 147 | exit (status); | ^~~~ ~~~~~~ error.c:46:6: note: declared here 46 | void exit (); | ^~~~ error.c: In function ‘error_at_line’: error.c:211:30: error: too many arguments to function ‘strerror’; expected 0, have 1 211 | fprintf (stderr, ": %s", strerror (errnum)); | ^~~~~~~~ ~~~~~~ error.c:82:7: note: declared here 82 | char *strerror (); | ^~~~~~~~ error.c:215:5: error: too many arguments to function ‘exit’; expected 0, have 1 215 | exit (status); | ^~~~ ~~~~~~ error.c:46:6: note: declared here 46 | void exit (); | ^~~~ In file included from xstrtol.c:57: xstrtol.c: In function ‘xstrtol’: xstrtol.h:10:21: warning: old-style function definition [-Wold-style-definition] 10 | # define __xstrtol xstrtol | ^~~~~~~ xstrtol.c:73:1: note: in expansion of macro ‘__xstrtol’ 73 | __xstrtol (s, ptr, base, val, valid_suffixes) | ^~~~~~~~~ xstrtol.h:11:20: error: too many arguments to function ‘strtol’; expected 0, have 3 11 | # define __strtol strtol | ^~~~~~ xstrtol.c:89:9: note: in expansion of macro ‘__strtol’ 89 | tmp = __strtol (s, p, base); | ^~~~~~~~ xstrtol.h:11:20: note: declared here 11 | # define __strtol strtol | ^~~~~~ xstrtol.c:68:21: note: in expansion of macro ‘__strtol’ 68 | __unsigned long int __strtol (); | ^~~~~~~~ make[3]: *** [Makefile:221: error.o] Error 1 make[3]: *** [Makefile:221: xstrtol.o] Error 1 make[3]: Leaving directory '/build/reproducible-path/rlpr-2.06/lib' make[2]: *** [Makefile:189: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/rlpr-2.06' make[1]: *** [Makefile:142: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/rlpr-2.06' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
