[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/xfaces_3.3-30.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
[...]
| ^~~~~~~
Tiled.c: In function ‘Layout’:
Tiled.c:329:1: warning: old-style function definition [-Wold-style-definition]
329 | Layout(tw)
| ^~~~~~
Tiled.c: In function ‘SetValues’:
Tiled.c:401:1: warning: old-style function definition [-Wold-style-definition]
401 | SetValues(gcurrent, grequest, gnew, args, num_args)
| ^~~~~~~~~
Tiled.c: In function ‘AcceptFocus’:
Tiled.c:445:1: warning: old-style function definition [-Wold-style-definition]
445 | AcceptFocus(w, time)
| ^~~~~~~~~~~
Tiled.c: In function ‘GeometryHandler’:
Tiled.c:457:1: warning: old-style function definition [-Wold-style-definition]
457 | GeometryHandler(w, request, result)
| ^~~~~~~~~~~~~~~
Tiled.c: In function ‘ChangeManaged’:
Tiled.c:490:1: warning: old-style function definition [-Wold-style-definition]
490 | ChangeManaged(widget)
| ^~~~~~~~~~~~~
Tiled.c: In function ‘InsertChild’:
Tiled.c:520:1: warning: old-style function definition [-Wold-style-definition]
520 | InsertChild(new)
| ^~~~~~~~~~~
Tiled.c: In function ‘DeleteChild’:
Tiled.c:533:1: warning: old-style function definition [-Wold-style-definition]
533 | DeleteChild(old)
| ^~~~~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xfaces-3.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSOUND -DUSE_BUCKETS -DXPM -DSHAPE -DXFACE -DPOP -DLOOKUP_HOSTNAME -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cmd_check.o cmd_check.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:28,
from faces.h:69,
from cmd_check.c:43:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
faces.h:537:13: error: conflicting types for ‘regerror’; have ‘void(char *)’
537 | extern void regerror P_((String s));
| ^~~~~~~~
In file included from faces.h:100:
regexp.h:21:13: note: previous declaration of ‘regerror’ with type ‘void(void)’
21 | extern void regerror();
| ^~~~~~~~
faces.h:553:16: error: conflicting types for ‘regcomp’; have ‘regexp *(char *)’
553 | extern regexp* regcomp P_((char* exp));
| ^~~~~~~
regexp.h:18:16: note: previous declaration of ‘regcomp’ with type ‘regexp *(void)’
18 | extern regexp *regcomp();
| ^~~~~~~
faces.h:554:12: error: conflicting types for ‘regexec’; have ‘int(regexp *, char *)’
554 | extern int regexec P_((regexp *prog, char *string));
| ^~~~~~~
regexp.h:19:12: note: previous declaration of ‘regexec’ with type ‘int(void)’
19 | extern int regexec();
| ^~~~~~~
faces.h:558:13: error: conflicting types for ‘regsub’; have ‘void(regexp *, char *, char *)’
558 | extern void regsub P_((regexp *prog, char *source, char *dest));
| ^~~~~~
regexp.h:20:13: note: previous declaration of ‘regsub’ with type ‘void(void)’
20 | extern void regsub();
| ^~~~~~
cmd_check.c: In function ‘CmdReadLine’:
cmd_check.c:51:1: warning: old-style function definition [-Wold-style-definition]
51 | CmdReadLine(cmd)
| ^~~~~~~~~~~
make[1]: *** [<builtin>: cmd_check.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/xfaces-3.3'
make: *** [debian/rules:50: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2