Package: src:tkgate Version: 2.1+repack-7 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/tkgate_2.1+repack-7_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 [...] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DUSE_INTERP_RESULT -DTKGATE_HOMEDIR=\"/usr/share/tkgate\" -I../.. -I../../src/common -I/usr/include/tcl8.6 -I/usr/include/tcl8.6 -I/nonexistent -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tkgate-2.1+repack=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated-declarations -c -o generic.o generic.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DUSE_INTERP_RESULT -DTKGATE_HOMEDIR=\"/usr/share/tkgate\" -I../.. -I../../src/common -I/usr/include/tcl8.6 -I/usr/include/tcl8.6 -I/nonexistent -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tkgate-2.1+repack=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated-declarations -c -o ground.o ground.c gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DUSE_INTERP_RESULT -DTKGATE_HOMEDIR=\"/usr/share/tkgate\" -I../.. -I../../src/common -I/usr/include/tcl8.6 -I/usr/include/tcl8.6 -I/nonexistent -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tkgate-2.1+repack=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated-declarations -c -o hdl.o hdl.c In file included from generic.c:35: tkgate.h:61:9: warning: ‘USE_INTERP_RESULT’ redefined 61 | #define USE_INTERP_RESULT | ^~~~~~~~~~~~~~~~~ <command-line>: note: this is the location of the previous definition gates.c: In function ‘gate_new’: gates.c:125:22: error: too many arguments to function ‘GGateInfo_codeLookup’; expected 0, have 1 125 | GGateInfo *ginfo = GGateInfo_codeLookup(type); | ^~~~~~~~~~~~~~~~~~~~ ~~~~ In file included from tkgate.h:81: elements.h:336:12: note: declared here 336 | GGateInfo *GGateInfo_codeLookup(); | ^~~~~~~~~~~~~~~~~~~~ gates.c: At top level: gates.c:941:12: error: conflicting types for ‘GGateInfo_codeLookup’; have ‘GGateInfo *(int)’ {aka ‘struct gateinfo *(int)’} 941 | GGateInfo *GGateInfo_codeLookup(int T) | ^~~~~~~~~~~~~~~~~~~~ elements.h:336:12: note: previous declaration of ‘GGateInfo_codeLookup’ with type ‘GGateInfo *(void)’ {aka ‘struct gateinfo *(void)’} 336 | GGateInfo *GGateInfo_codeLookup(); | ^~~~~~~~~~~~~~~~~~~~ make[5]: *** [Makefile:682: gates.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ground.c:20: tkgate.h:61:9: warning: ‘USE_INTERP_RESULT’ redefined 61 | #define USE_INTERP_RESULT | ^~~~~~~~~~~~~~~~~ <command-line>: note: this is the location of the previous definition In file included from hdl.c:23: tkgate.h:61:9: warning: ‘USE_INTERP_RESULT’ redefined 61 | #define USE_INTERP_RESULT | ^~~~~~~~~~~~~~~~~ <command-line>: note: this is the location of the previous definition edit.c: In function ‘logError’: edit.c:1543:50: warning: ‘%s’ directive writing up to 1023 bytes into a region of size between 1000 and 1001 [-Wformat-overflow=] 1543 | sprintf(buf,"<%s> %s [%s] (%d-%s-%02d %d:%02d) %s (%s, line %d)" | ^~ ...... 1547 | ,msgBuf,fileName,lineNum); | ~~~~~~ In file included from /usr/include/stdio.h:970, from edit.c:24: In function ‘sprintf’, inlined from ‘logError’ at edit.c:1543:3: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 35 or more bytes (assuming 1059) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[5]: Leaving directory '/build/reproducible-path/tkgate-2.1+repack/src/tkgate' make[4]: *** [Makefile:467: all] Error 2 make[4]: Leaving directory '/build/reproducible-path/tkgate-2.1+repack/src/tkgate' make[3]: *** [Makefile:398: all-recursive] Error 1 make[3]: Leaving directory '/build/reproducible-path/tkgate-2.1+repack/src' make[2]: *** [Makefile:666: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/tkgate-2.1+repack' make[1]: *** [Makefile:471: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/tkgate-2.1+repack' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -- debian-science-maintainers mailing list debian-science-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers