Package: src:xmotd Version: 1.17.3b-12 Severity: important Tags: sid forky User: debian-...@lists.debian.org Usertags: ftbfs-gcc-15
[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/xmotd_1.17.3b-12_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 [...] dh: error: Unknown sequence /usr/share/topgit/tg2quilt.mk (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep) dh binary dh_update_autotools_config debian/rules override_dh_autoreconf make[1]: Entering directory '/build/reproducible-path/xmotd-1.17.3b' dh /usr/share/topgit/tg2quilt.mk dh: error: Unknown sequence /usr/share/topgit/tg2quilt.mk (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep) dh_autoreconf xmkmf -- -a mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/lib/X11/config make Makefiles make[2]: Entering directory '/build/reproducible-path/xmotd-1.17.3b' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/build/reproducible-path/xmotd-1.17.3b' make includes make[2]: Entering directory '/build/reproducible-path/xmotd-1.17.3b' make[2]: Nothing to be done for 'includes'. make[2]: Leaving directory '/build/reproducible-path/xmotd-1.17.3b' make depend make[2]: Entering directory '/build/reproducible-path/xmotd-1.17.3b' 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 -DHAVE_XPM -- main.c xmotd.c changed.c textmode.c usage.c browser.c logo.c atom.c make[2]: Leaving directory '/build/reproducible-path/xmotd-1.17.3b' make[1]: Leaving directory '/build/reproducible-path/xmotd-1.17.3b' dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/xmotd-1.17.3b' dh /usr/share/topgit/tg2quilt.mk dh: error: Unknown sequence /usr/share/topgit/tg2quilt.mk (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep) /usr/bin/make CDEBUGFLAGS="-g -Wall" CCOPTIONS="$(dpkg-buildflags --get CFLAGS)" LOCAL_LDFLAGS="$(dpkg-buildflags --get LDFLAGS)" make[2]: Entering directory '/build/reproducible-path/xmotd-1.17.3b' gcc -g -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xmotd-1.17.3b=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -DHAVE_XPM -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from main.c:46: /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" | ^~~~~~~ main.c: In function ‘numFilesToDisplay’: main.c:415:38: error: too many arguments to function ‘motdChanged’; expected 0, have 2 415 | if(motdChanged(name, timeStamp) || app_res.always) | ^~~~~~~~~~~ ~~~~ main.c:107:15: note: declared here 107 | extern time_t motdChanged(); | ^~~~~~~~~~~ main.c:434:12: error: too many arguments to function ‘motdChanged’; expected 0, have 2 434 | if(motdChanged(argv[i], timeStamp) || app_res.always) | ^~~~~~~~~~~ ~~~~~~~ main.c:107:15: note: declared here 107 | extern time_t motdChanged(); | ^~~~~~~~~~~ main.c: In function ‘createWidgets’: main.c:495:30: warning: variable ‘hline’ set but not used [-Wunused-but-set-variable] 495 | Widget form, logo, mlabel, hline; | ^~~~~ main.c: In function ‘main’: main.c:695:1: warning: old-style function definition [-Wold-style-definition] 695 | main(argc, argv) | ^~~~ main.c:726:19: error: too many arguments to function ‘runInTextMode’; expected 0, have 2 726 | runInTextMode(argc, argv); /* ...and exit... */ | ^~~~~~~~~~~~~ ~~~~ main.c:725:31: note: declared here 725 | extern void runInTextMode(); | ^~~~~~~~~~~~~ make[2]: *** [<builtin>: main.o] Error 1 make[2]: Leaving directory '/build/reproducible-path/xmotd-1.17.3b' make[1]: *** [debian/rules:16: override_dh_auto_build] Error 2 make[1]: Leaving directory '/build/reproducible-path/xmotd-1.17.3b' make: *** [debian/rules:10: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2