Bug#1075693: xzoom: ftbfs with GCC-14
Package: src:xzoom
Version: 0.3-27
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/xzoom_0.3-27_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
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-14/porting_to.html
[...]
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package xzoom
dpkg-buildpackage: info: source version 0.3-27
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Jelmer Vernooij <jelmer@debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
xmkmf -a
imake -DUseInstalled -I/usr/lib/X11/config
make Makefiles
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Nothing to be done for 'Makefiles'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make includes
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Nothing to be done for 'includes'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make depend
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gccmakedep -- -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 -DFRAME -DXSHM -- xzoom.c
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_configure
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build
make -j8 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -g -O2 -fno-strict-aliasing -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 -DFRAME -DXSHM -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xzoom.o xzoom.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from xzoom.c:33:
/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
xzoom.c: In function ‘main’:
xzoom.c:620:33: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations]
620 | switch(XKeycodeToKeysym(dpy, event.xkey.keycode, 0)) {
| ^~~~~~
In file included from xzoom.c:39:
/usr/include/X11/Xlib.h:1687:15: note: declared here
1687 | extern KeySym XKeycodeToKeysym(
| ^~~~~~~~~~~~~~~~
xzoom.c:629:33: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations]
629 | switch(XKeycodeToKeysym(dpy, event.xkey.keycode, 0)) {
| ^~~~~~
/usr/include/X11/Xlib.h:1687:15: note: declared here
1687 | extern KeySym XKeycodeToKeysym(
| ^~~~~~~~~~~~~~~~
xzoom.c:756:41: error: implicit declaration of function ‘alarm’ [-Wimplicit-function-declaration]
756 | alarm(2);
| ^~~~~
xzoom.c:888:25: error: implicit declaration of function ‘usleep’ [-Wimplicit-function-declaration]
888 | usleep(delay);
| ^~~~~~
make[1]: *** [<builtin>: xzoom.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: