Package: src:x11-xkb-utils Version: 7.7+8 Severity: important Tags: sid trixie User: debian-...@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/x11-xkb-utils_7.7+8_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 [...] ../xkbutils/xkbvleds.c:273:25: warning: declaration of ‘bit’ shadows a previous local [-Wshadow] 273 | register int i, bit; | ^~~ ../xkbutils/xkbvleds.c:206:14: note: shadowed declaration is here 206 | unsigned bit; | ^~~ ../xkbutils/xkbwatch.c:49:6: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | {"-off", "*on.on", XrmoptionNoArg, "FALSE"}, | ^~~~~~ ../xkbutils/xkbwatch.c:49:14: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | {"-off", "*on.on", XrmoptionNoArg, "FALSE"}, | ^~~~~~~~ ../xkbutils/xkbwatch.c:49:40: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 49 | {"-off", "*on.on", XrmoptionNoArg, "FALSE"}, | ^~~~~~~ ../xkbutils/xkbwatch.c:50:6: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | {"-on", "*on.on", XrmoptionNoArg, "TRUE"} | ^~~~~ ../xkbutils/xkbwatch.c:50:13: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | {"-on", "*on.on", XrmoptionNoArg, "TRUE"} | ^~~~~~~~ ../xkbutils/xkbwatch.c:50:39: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | {"-on", "*on.on", XrmoptionNoArg, "TRUE"} | ^~~~~~ ../xkbutils/xkbwatch.c: In function ‘main’: ../xkbutils/xkbwatch.c:76:9: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | "*Box*background: grey50", | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../xkbutils/xkbwatch.c:77:9: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | "*Box*borderWidth: 0", | ^~~~~~~~~~~~~~~~~~~~~ ../xkbutils/xkbwatch.c:78:9: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | "*Box*vSpace: 1", | ^~~~~~~~~~~~~~~~ ../xkbutils/xkbwatch.c:92:34: error: passing argument 7 of ‘XtOpenApplication’ from incompatible pointer type [-Wincompatible-pointer-types] 92 | fallback_resources, | ^~~~~~~~~~~~~~~~~~ | | | char ** In file included from ../xkbutils/xkbwatch.c:31: /usr/include/X11/Intrinsic.h:1459:5: note: expected ‘const char **’ but argument is of type ‘char **’ 1459 | String* /* fallback_resources */, | ^~~~~~~ ../xkbutils/LED.c:47:41: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 47 | offset(led.foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ ../xkbutils/LED.c:51:40: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | offset(led.top_color), XtRString, "black"}, | ^~~~~~~ ../xkbutils/LED.c:53:43: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | offset(led.bottom_color), XtRString, "white"}, | ^~~~~~~ ../xkbutils/LED.c:55:39: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | offset(led.on_color), XtRString, "green"}, | ^~~~~~~ ../xkbutils/LED.c:57:40: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | offset(led.off_color), XtRString, "#005000"}, | ^~~~~~~~~ make[4]: *** [Makefile:620: xkbwatch-xkbwatch.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/<<PKGBUILDDIR>>/xkbutils-build' make[3]: *** [Makefile:664: all-recursive] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/xkbutils-build' make[2]: *** [Makefile:418: all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/xkbutils-build' dh_auto_build: error: cd xkbutils-build && make -j8 returned exit code 2 make[1]: *** [debian/rules:44: stampdir/build-xkbutils] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:21: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2