[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/safecat_1.13+git20170317.185e8bf-1_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
[...]
cc -Isafecat.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wno-misleading-indentation -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/safecat-1.13+git20170317.185e8bf=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ safecat.p/byte_cr.c.o -MF safecat.p/byte_cr.c.o.d -o safecat.p/byte_cr.c.o -c ../byte_cr.c
../byte_cr.c: In function ‘byte_copyr’:
../byte_cr.c:3:6: warning: old-style function definition [-Wold-style-definition]
3 | void byte_copyr(to,n,from)
| ^~~~~~~~~~
../byte_cr.c:7:1: error: number of arguments doesn’t match prototype
7 | {
| ^
In file included from ../byte_cr.c:1:
../byte.h:7:13: error: prototype declaration
7 | extern void byte_copyr();
| ^~~~~~~~~~
[4/34] cc -Isafecat.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wno-misleading-indentation -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/safecat-1.13+git20170317.185e8bf=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ safecat.p/error.c.o -MF safecat.p/error.c.o.d -o safecat.p/error.c.o -c ../error.c
[5/34] cc -Isafecat.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wno-misleading-indentation -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/safecat-1.13+git20170317.185e8bf=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ safecat.p/fmt_uint64.c.o -MF safecat.p/fmt_uint64.c.o.d -o safecat.p/fmt_uint64.c.o -c ../fmt_uint64.c
FAILED: safecat.p/fmt_uint64.c.o
cc -Isafecat.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wno-misleading-indentation -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/safecat-1.13+git20170317.185e8bf=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ safecat.p/fmt_uint64.c.o -MF safecat.p/fmt_uint64.c.o.d -o safecat.p/fmt_uint64.c.o -c ../fmt_uint64.c
../fmt_uint64.c: In function ‘fmt_uint64’:
../fmt_uint64.c:4:14: warning: old-style function definition [-Wold-style-definition]
4 | unsigned int fmt_uint64(s,u) register char *s; register uint64_t u;
| ^~~~~~~~~~
../fmt_uint64.c:5:1: error: number of arguments doesn’t match prototype
5 | {
| ^
In file included from ../fmt_uint64.c:1:
../fmt.h:7:21: error: prototype declaration
7 | extern unsigned int fmt_uint64();
| ^~~~~~~~~~
[6/34] cc -Isafecat.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wno-misleading-indentation -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/safecat-1.13+git20170317.185e8bf=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ safecat.p/alloc.c.o -MF safecat.p/alloc.c.o.d -o safecat.p/alloc.c.o -c ../alloc.c
FAILED: safecat.p/alloc.c.o
cc -Isafecat.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wno-misleading-indentation -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/safecat-1.13+git20170317.185e8bf=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ safecat.p/alloc.c.o -MF safecat.p/alloc.c.o.d -o safecat.p/alloc.c.o -c ../alloc.c
../alloc.c: In function ‘alloc’:
../alloc.c:13:26: warning: old-style function definition [-Wold-style-definition]
13 | /*@null@*//*@out@*/char *alloc(n)
| ^~~~~
../alloc.c:15:1: error: number of arguments doesn’t match prototype
15 | {
| ^
In file included from ../alloc.c:1:
../alloc.h:4:33: error: prototype declaration
4 | extern /*@null@*//*@out@*/char *alloc();
| ^~~~~
../alloc.c: In function ‘alloc_free’:
../alloc.c:24:6: warning: old-style function definition [-Wold-style-definition]
24 | void alloc_free(x)
| ^~~~~~~~~~
../alloc.c:26:1: error: number of arguments doesn’t match prototype
26 | {
| ^
../alloc.h:5:13: error: prototype declaration
5 | extern void alloc_free();
| ^~~~~~~~~~
[7/34] cc -Isafecat.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wno-misleading-indentation -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/safecat-1.13+git20170317.185e8bf=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ safecat.p/hostname.c.o -MF safecat.p/hostname.c.o.d -o safecat.p/hostname.c.o -c ../hostname.c
FAILED: safecat.p/hostname.c.o
cc -Isafecat.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wno-misleading-indentation -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/safecat-1.13+git20170317.185e8bf=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ safecat.p/hostname.c.o -MF safecat.p/hostname.c.o.d -o safecat.p/hostname.c.o -c ../hostname.c
In file included from ../hostname.c:3:
../hostname.c: In function ‘get_hostname’:
../strerr.h:65:1: error: too many arguments to function ‘strerr_die’; expected 0, have 8
65 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys)
| ^~~~~~~~~~ ~~~
../hostname.c:11:3: note: in expansion of macro ‘strerr_die1sys’
11 | strerr_die1sys(111, "safecat: fatal: can't determine hostname: ");
| ^~~~~~~~~~~~~~
../strerr.h:18:13: note: declared here
18 | extern void strerr_die();
| ^~~~~~~~~~
[8/34] cc -Isafecat.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wno-misleading-indentation -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/safecat-1.13+git20170317.185e8bf=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ safecat.p/error_str.c.o -MF safecat.p/error_str.c.o.d -o safecat.p/error_str.c.o -c ../error_str.c
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2