Package: src:xcolorsel Version: 1.1a-23 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/xcolorsel_1.1a-23_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 [...] make[2]: Entering directory '/build/reproducible-path/xcolorsel-1.1a' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/build/reproducible-path/xcolorsel-1.1a' make includes make[2]: Entering directory '/build/reproducible-path/xcolorsel-1.1a' make[2]: Nothing to be done for 'includes'. make[2]: Leaving directory '/build/reproducible-path/xcolorsel-1.1a' make depend make[2]: Entering directory '/build/reproducible-path/xcolorsel-1.1a' ./app2head Xcolorsel-color.ad > appdef-c.h ./app2head Xcolorsel.ad > appdef.h 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 -DHELPFILE=\"/usr/lib/X11/xcolorsel/Xcolorsel.help\" -- RgbText.c RgbSink.c RgbSrc.c xcolorsel.c make[2]: Leaving directory '/build/reproducible-path/xcolorsel-1.1a' make[1]: Leaving directory '/build/reproducible-path/xcolorsel-1.1a' debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/xcolorsel-1.1a' /usr/bin/make XAWLIB=-lXaw3d CDEBUGFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xcolorsel-1.1a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall' LOCAL_LDFLAGS='-Wl,-z,relro -Wl,-z,now' make[2]: Entering directory '/build/reproducible-path/xcolorsel-1.1a' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xcolorsel-1.1a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -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 -DHELPFILE=\"/usr/lib/X11/xcolorsel/Xcolorsel.help\" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o RgbText.o RgbText.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from RgbText.c:77: /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" | ^~~~~~~ RgbText.c: In function ‘printfile’: RgbText.c:549:7: warning: unused variable ‘fd’ [-Wunused-variable] 549 | FILE *fd; | ^~ RgbText.c:545:21: warning: unused variable ‘ptn’ [-Wunused-variable] 545 | register char *ptr,*ptn; | ^~~ RgbText.c: In function ‘query_geometry’: RgbText.c:883:16: warning: unused variable ‘requested’ [-Wunused-variable] 883 | XtGeometryMask requested; | ^~~~~~~~~ RgbText.c: In function ‘grab_color’: RgbText.c:1135:8: warning: unused variable ‘mycolor’ [-Wunused-variable] 1135 | XColor mycolor; | ^~~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xcolorsel-1.1a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -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 -DHELPFILE=\"/usr/lib/X11/xcolorsel/Xcolorsel.help\" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o RgbSink.o RgbSink.c In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from /usr/include/X11/Intrinsic.h:53, from /usr/include/X11/IntrinsicP.h:51, from RgbSink.c:82: /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" | ^~~~~~~ RgbSink.c: In function ‘mydisp’: RgbSink.c:197:2: error: too many arguments to function ‘((AsciiSinkClassRec *)rgbSinkClassRec.object_class.superclass)->text_sink_class.DisplayText’; expected 0, have 6 197 | (*((AsciiSinkClassRec *)(rgbSinkClassRec.object_class.superclass))->text_sink_class.DisplayText) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | (w, x, y, pos1, pos2, highlight); | ~ In file included from /usr/include/X11/Xaw3d/AsciiSinkP.h:68, from RgbSinkP.h:88, from RgbSink.c:85: /usr/include/X11/Xaw3d/TextSinkP.h:79:10: note: declared here 79 | void (*DisplayText)(); | ^~~~~~~~~~~ RgbSink.c:191:5: warning: unused variable ‘tile’ [-Wunused-variable] 191 | int tile,linum; | ^~~~ make[2]: *** [<builtin>: RgbSink.o] Error 1 make[2]: Leaving directory '/build/reproducible-path/xcolorsel-1.1a' make[1]: *** [debian/rules:15: override_dh_auto_build] Error 2 make[1]: Leaving directory '/build/reproducible-path/xcolorsel-1.1a' make: *** [debian/rules:9: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2