Bug#1075694: xxkb: ftbfs with GCC-14
Package: src:xxkb
Version: 1.11.1-2
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/xxkb_1.11.1-2_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
[...]
270 | &tmp_geom.width, &tmp_geom.height,
| ^~~~~~~~~~~~~~~
| |
| unsigned int *
In file included from resource.c:23:
/usr/include/X11/Xutil.h:821:5: note: expected ‘int *’ but argument is of type ‘unsigned int *’
821 | int* /* width_return */,
| ^~~~
resource.c:270:58: warning: pointer targets in passing argument 10 of ‘XWMGeometry’ differ in signedness [-Wpointer-sign]
270 | &tmp_geom.width, &tmp_geom.height,
| ^~~~~~~~~~~~~~~~
| |
| unsigned int *
/usr/include/X11/Xutil.h:822:5: note: expected ‘int *’ but argument is of type ‘unsigned int *’
822 | int* /* height_return */,
| ^~~~
resource.c: In function ‘GetConfig’:
resource.c:625:22: error: assignment to ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
625 | stat = NULL;
| ^
make[1]: *** [<builtin>: resource.o] Error 1
make[1]: *** Waiting for unfinished jobs....
xxkb.c: In function ‘main’:
xxkb.c:313:70: warning: pointer targets in passing argument 6 of ‘XQueryTree’ differ in signedness [-Wpointer-sign]
313 | XQueryTree(dpy, root_win, &rwin, &parent, &children, &num);
| ^~~~
| |
| int *
In file included from xxkb.c:13:
/usr/include/X11/Xlib.h:3037:5: note: expected ‘unsigned int *’ but argument is of type ‘int *’
3037 | unsigned int* /* nchildren_return */
| ^~~~~~~~~~~~~
xxkb.c:450:127: warning: pointer targets in passing argument 9 of ‘XQueryPointer’ differ in signedness [-Wpointer-sign]
450 | XQueryPointer(dpy, temp_win, &root, &child, &root_x, &root_y, &add_x, &add_y, &mask);
| ^~~~~
| |
| int *
/usr/include/X11/Xlib.h:3006:5: note: expected ‘unsigned int *’ but argument is of type ‘int *’
3006 | unsigned int* /* mask_return */
| ^~~~~~~~~~~~~
xxkb.c:670:94: warning: pointer targets in passing argument 6 of ‘XQueryTree’ differ in signedness [-Wpointer-sign]
670 | XQueryTree(dpy, temp_win, &rwin, &parent, &children, &num);
| ^~~~
| |
| int *
/usr/include/X11/Xlib.h:3037:5: note: expected ‘unsigned int *’ but argument is of type ‘int *’
3037 | unsigned int* /* nchildren_return */
| ^~~~~~~~~~~~~
xxkb.c: In function ‘GetGrandParent’:
xxkb.c:954:68: warning: pointer targets in passing argument 6 of ‘XQueryTree’ differ in signedness [-Wpointer-sign]
954 | if (!XQueryTree(dpy, w, &rwin, &parent, &children, &num)) {
| ^~~~
| |
| int *
/usr/include/X11/Xlib.h:3037:5: note: expected ‘unsigned int *’ but argument is of type ‘int *’
3037 | unsigned int* /* nchildren_return */
| ^~~~~~~~~~~~~
xxkb.c: In function ‘GetAppWindow’:
xxkb.c:974:62: warning: pointer targets in passing argument 6 of ‘XQueryTree’ differ in signedness [-Wpointer-sign]
974 | if (!XQueryTree(dpy, win, &rwin, &parent, &children, &num)) {
| ^~~~
| |
| int *
/usr/include/X11/Xlib.h:3037:5: note: expected ‘unsigned int *’ but argument is of type ‘int *’
3037 | unsigned int* /* nchildren_return */
| ^~~~~~~~~~~~~
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:7: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Reply to: