[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/xtermset_0.5.2-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
[...]
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for assert.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
dh_auto_build
make -j8
make[1]: Entering directory '/build/reproducible-path/xtermset-0.5.2'
make all-recursive
make[2]: Entering directory '/build/reproducible-path/xtermset-0.5.2'
Making all in m4
make[3]: Entering directory '/build/reproducible-path/xtermset-0.5.2/m4'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/reproducible-path/xtermset-0.5.2/m4'
Making all in doc
make[3]: Entering directory '/build/reproducible-path/xtermset-0.5.2/doc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/reproducible-path/xtermset-0.5.2/doc'
Making all in src
make[3]: Entering directory '/build/reproducible-path/xtermset-0.5.2/src'
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xtermset-0.5.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wunused -Wall -g -D_GNU_SOURCE -DTERMSDIR='"/usr/share/xtermset"' -c -o xtermset.o xtermset.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xtermset-0.5.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wunused -Wall -g -D_GNU_SOURCE -DTERMSDIR='"/usr/share/xtermset"' -c -o arguments.o arguments.c
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xtermset-0.5.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wunused -Wall -g -D_GNU_SOURCE -DTERMSDIR='"/usr/share/xtermset"' -c -o term.o term.c
term.c: In function ‘term_loadall’:
term.c:116:15: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
116 | good_term *n;
| ^
xtermset.c: In function ‘main’:
xtermset.c:68:23: error: too many arguments to function ‘nextopt’; expected 0, have 2
68 | switch (style=nextopt(argv[i], &code)) {
| ^~~~~~~ ~~~~~~~
In file included from xtermset.c:32:
xtermset.h:139:5: note: declared here
139 | int nextopt();
| ^~~~~~~
xtermset.c:162:24: error: too many arguments to function ‘set_geom’; expected 0, have 1
162 | set_geom(argptr->param);
| ^~~~~~~~ ~~~~~~~~~~~~~
xtermset.h:140:6: note: declared here
140 | void set_geom();
| ^~~~~~~~
xtermset.c: At top level:
xtermset.c:215:5: error: conflicting types for ‘nextopt’; have ‘int(char *, int *)’
215 | int nextopt(char *arg, int *code_return)
| ^~~~~~~
xtermset.h:139:5: note: previous declaration of ‘nextopt’ with type ‘int(void)’
139 | int nextopt();
| ^~~~~~~
xtermset.c:242:6: error: conflicting types for ‘set_geom’; have ‘void(char *)’
242 | void set_geom(char *geometry)
| ^~~~~~~~
xtermset.h:140:6: note: previous declaration of ‘set_geom’ with type ‘void(void)’
140 | void set_geom();
| ^~~~~~~~
make[3]: *** [Makefile:399: xtermset.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/xtermset-0.5.2/src'
make[2]: *** [Makefile:370: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/xtermset-0.5.2'
make[1]: *** [Makefile:311: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/xtermset-0.5.2'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:24: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2