[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/dhex_0.69-4_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
[...]
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
dh_auto_build
make -j8 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/build/reproducible-path/dhex-0.69'
gcc buffers.c -c -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dhex-0.69=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -Wall
gcc configfile.c -c -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dhex-0.69=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -Wall
gcc correlation.c -c -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dhex-0.69=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -Wall
gcc gpl.c -c -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dhex-0.69=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -Wall
gcc hexcalc.c -c -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dhex-0.69=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -Wall
gcc input.c -c -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dhex-0.69=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -Wall
gcc machine_type.c -c -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dhex-0.69=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -Wall
gcc main.c -c -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dhex-0.69=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -Wall
hexcalc.c: In function ‘hexcalc’:
hexcalc.c:85:95: warning: format ‘%i’ expects argument of type ‘int’, but argument 5 has type ‘tUInt64’ {aka ‘long long unsigned int’} [-Wformat=]
85 | if (x || !j) mvwprintw(output->win,offsy+18-i,offsx+76-j,"%i",(x&1));
| ~^ ~~~~~
| | |
| int tUInt64 {aka long long unsigned int}
| %lli
hexcalc.c:99:85: warning: format ‘%i’ expects argument of type ‘int’, but argument 5 has type ‘tUInt64’ {aka ‘long long unsigned int’} [-Wformat=]
99 | if (x || !j) mvwprintw(output->win,offsy+19,offsx+76-j,"%i",(x&1));
| ~^ ~~~~~
| | |
| int tUInt64 {aka long long unsigned int}
| %lli
correlation.c: In function ‘find_longestmatch’:
correlation.c:30:60: warning: format ‘%lli’ expects argument of type ‘long long int’, but argument 5 has type ‘int’ [-Wformat=]
30 | if (smallwin) mvwprintw(smallwin,4,1,"%18lli",0);
| ~~~~~^ ~
| | |
| | int
| long long int
| %18i
correlation.c: In function ‘find_bestmatch’:
correlation.c:118:60: warning: format ‘%lli’ expects argument of type ‘long long int’, but argument 5 has type ‘int’ [-Wformat=]
118 | if (smallwin) mvwprintw(smallwin,4,1,"%18lli",0);
| ~~~~~^ ~
| | |
| | int
| long long int
| %18i
main.c: In function ‘main’:
main.c:412:9: error: too many arguments to function ‘initcolors’; expected 0, have 1
412 | initcolors(output);
| ^~~~~~~~~~ ~~~~~~
In file included from menu.h:6,
from main.c:9:
output.h:10:6: note: declared here
10 | void initcolors();
| ^~~~~~~~~~
gcc markers.c -c -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/dhex-0.69=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -Wall
make[1]: *** [Makefile:38: main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
markers.c: In function ‘gotomask’:
markers.c:172:72: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘int’ [-Wformat=]
172 | mvwprintw(output->win,offsy+5+i,offsx+42,"%16llx",abs(markers->cursorpos[i]-actcursorpos));
| ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | int
| long long unsigned int
| %16x
make[1]: Leaving directory '/build/reproducible-path/dhex-0.69'
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