[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/sucrack_1.2.3-7_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
[...]
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
sucrack configuration
---------------------
sucrack version : 1.2.3
target system : LINUX
sucrack link flags : -lpthread
sucrack compile flags : -DSTATIC_BUFFER -DLINUX -DSUCRACK_TITLE="\"sucrack 1.2.3 (LINUX)\""
dh_auto_build
make -j8
make[1]: Entering directory '/build/reproducible-path/sucrack-1.2.3'
make all-recursive
make[2]: Entering directory '/build/reproducible-path/sucrack-1.2.3'
Making all in src
make[3]: Entering directory '/build/reproducible-path/sucrack-1.2.3/src'
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -D_GNU_SOURCE -DSTATIC_BUFFER -DLINUX -DSUCRACK_TITLE="\"sucrack 1.2.3 (LINUX)\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sucrack-1.2.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSTATISTICS -c -o sucrack-sucrack.o `test -f 'sucrack.c' || echo './'`sucrack.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -D_GNU_SOURCE -DSTATIC_BUFFER -DLINUX -DSUCRACK_TITLE="\"sucrack 1.2.3 (LINUX)\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sucrack-1.2.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSTATISTICS -c -o sucrack-worker.o `test -f 'worker.c' || echo './'`worker.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -D_GNU_SOURCE -DSTATIC_BUFFER -DLINUX -DSUCRACK_TITLE="\"sucrack 1.2.3 (LINUX)\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sucrack-1.2.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSTATISTICS -c -o sucrack-dictionary.o `test -f 'dictionary.c' || echo './'`dictionary.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -D_GNU_SOURCE -DSTATIC_BUFFER -DLINUX -DSUCRACK_TITLE="\"sucrack 1.2.3 (LINUX)\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sucrack-1.2.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSTATISTICS -c -o sucrack-pty.o `test -f 'pty.c' || echo './'`pty.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -D_GNU_SOURCE -DSTATIC_BUFFER -DLINUX -DSUCRACK_TITLE="\"sucrack 1.2.3 (LINUX)\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sucrack-1.2.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSTATISTICS -c -o sucrack-su.o `test -f 'su.c' || echo './'`su.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -D_GNU_SOURCE -DSTATIC_BUFFER -DLINUX -DSUCRACK_TITLE="\"sucrack 1.2.3 (LINUX)\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sucrack-1.2.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSTATISTICS -c -o sucrack-rewriter.o `test -f 'rewriter.c' || echo './'`rewriter.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -D_GNU_SOURCE -DSTATIC_BUFFER -DLINUX -DSUCRACK_TITLE="\"sucrack 1.2.3 (LINUX)\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sucrack-1.2.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSTATISTICS -c -o sucrack-util.o `test -f 'util.c' || echo './'`util.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O2 -D_GNU_SOURCE -DSTATIC_BUFFER -DLINUX -DSUCRACK_TITLE="\"sucrack 1.2.3 (LINUX)\"" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sucrack-1.2.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSTATISTICS -c -o sucrack-stat.o `test -f 'stat.c' || echo './'`stat.c
util.c:40:1: error: conflicting types for ‘prepare_tty’; have ‘void(int)’
40 | prepare_tty(int just_copy)
| ^~~~~~~~~~~
In file included from util.c:34:
util.h:57:9: note: previous declaration of ‘prepare_tty’ with type ‘void(void)’
57 | void prepare_tty();
| ^~~~~~~~~~~
make[3]: *** [Makefile:498: sucrack-util.o] Error 1
make[3]: *** Waiting for unfinished jobs....
worker.c: In function ‘worker_run’:
worker.c:152:9: warning: variable ‘rs’ set but not used [-Wunused-but-set-variable]
152 | int rs;
| ^~
sucrack.c: In function ‘main’:
sucrack.c:274:5: error: too many arguments to function ‘prepare_tty’; expected 0, have 1
274 | prepare_tty(!read_from_stdin);
| ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~
In file included from sucrack.c:40:
util.h:57:9: note: declared here
57 | void prepare_tty();
| ^~~~~~~~~~~
stat.c: In function ‘stat_display’:
stat.c:92:24: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
92 | printf("\33[0;%iH\33[1m%s\33[0m\n\n\n", (ws.ws_col / 2) - ((strlen(SUCRACK_TITLE) + 7)/ 2), SUCRACK_TITLE);
| ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| int size_t {aka long unsigned int}
| %li
In file included from sucrack.c:41:
rules.h: At top level:
rules.h:59:20: warning: ‘rules_map’ defined but not used [-Wunused-variable]
59 | static rules_map_t rules_map[] = {
| ^~~~~~~~~
make[3]: *** [Makefile:414: sucrack-sucrack.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/sucrack-1.2.3/src'
make[2]: *** [Makefile:451: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/sucrack-1.2.3'
make[1]: *** [Makefile:349: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/sucrack-1.2.3'
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