Package: src:xdm Version: 1:1.1.11-3.1 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/xdm_1.1.11-3.1_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 [...] 173 | { "-connectionType","*connectionType", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~~~~~ ../../chooser/chooser.c:173:25: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 173 | { "-connectionType","*connectionType", XrmoptionSepArg, NULL }, | ^~~~~~~~~~~~~~~~~ ../../chooser/chooser.c: In function ‘RebuildTable’: ../../chooser/chooser.c:314:26: error: passing argument 2 of ‘XawListChange’ from incompatible pointer type [-Wincompatible-pointer-types] 314 | XawListChange (list, newTable, size, 0, TRUE); | ^~~~~~~~ | | | char ** In file included from ../../chooser/chooser.c:59: /usr/include/X11/Xaw/List.h:170:27: note: expected ‘const char **’ but argument is of type ‘char **’ 170 | _Xconst char **list, | ^ ../../chooser/chooser.c: In function ‘AddHostname’: ../../chooser/chooser.c:321:79: warning: declaration of ‘willing’ shadows a global declaration [-Wshadow] 321 | AddHostname (ARRAY8Ptr hostname, ARRAY8Ptr status, struct sockaddr *addr, int willing) | ~~~~^~~~~~~ In file included from ../../chooser/chooser.c:63: ../../include/dm.h:330:18: note: shadowed declaration is here 330 | extern char *willing; | ^~~~~~~ ../../chooser/chooser.c:421:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 421 | new->fullname = "Unknown"; | ^ ../../chooser/chooser.c: In function ‘Choose’: ../../chooser/chooser.c:887:25: warning: declaration of ‘buffer’ shadows a global declaration [-Wshadow] 887 | XdmcpBuffer buffer; | ^~~~~~ ../../chooser/chooser.c:207:25: note: shadowed declaration is here 207 | static XdmcpBuffer buffer; | ^~~~~~ ../../chooser/chooser.c: At top level: ../../chooser/chooser.c:1257:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1257 | { "Accept", DoAccept }, | ^~~~~~~~ ../../chooser/chooser.c:1258:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1258 | { "Cancel", DoCancel }, | ^~~~~~~~ ../../chooser/chooser.c:1259:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1259 | { "CheckWilling", DoCheckWilling }, | ^~~~~~~~~~~~~~ ../../chooser/chooser.c:1260:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1260 | { "Ping", DoPing }, | ^~~~~~ ../../chooser/chooser.c:1261:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1261 | { "KeySwitch", Switch_Key }, | ^~~~~~~~~~~ ../../chooser/chooser.c:1262:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1262 | { "BtnSwitch", Switch_Btn }, | ^~~~~~~~~~~ ../../chooser/chooser.c:1263:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1263 | { "Store", Storeold }, | ^~~~~~~ ../../chooser/chooser.c:1264:7: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1264 | { "Setold", Setold }, | ^~~~~~~~ ../../chooser/chooser.c: In function ‘Choose’: ../../chooser/chooser.c:983:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 983 | write (fd, (char *)buffer.data, buffer.pointer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:490: chooser.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/chooser' make[2]: *** [Makefile:568: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/build' make[1]: *** [Makefile:479: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>/build' make: *** [debian/rules:76: stampdir/build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2