Package: src:tcpspy Version: 1.7d-16 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/tcpspy_1.7d-16_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 [...] dpkg-buildpackage: info: source changed by Joao Eriberto Mota Filho <eribe...@debian.org> dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --no-parallel dh_auto_clean -O--no-parallel make -j1 clean make[1]: Entering directory '/build/reproducible-path/tcpspy-1.7d' rm -f log.o rule_lexer.o rule_grammar.o rule_lexer.c \ rule_grammar.c rule_grammar.h rule.o tcpspy.o tcpspy \ tcpspy.ps tcpspy.pdf make[1]: Leaving directory '/build/reproducible-path/tcpspy-1.7d' dh_autoreconf_clean -O--no-parallel dh_clean -O--no-parallel debian/rules binary dh binary --no-parallel dh_update_autotools_config -O--no-parallel dh_autoreconf -O--no-parallel dh_auto_configure -O--no-parallel dh_auto_build -O--no-parallel make -j1 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/tcpspy-1.7d' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tcpspy-1.7d=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DFACILITY=LOG_LOCAL1 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -c -o log.o log.c bison -p rule -o rule_grammar.c -d rule_grammar.y flex -Prule -orule_lexer.c rule_lexer.l cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tcpspy-1.7d=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DFACILITY=LOG_LOCAL1 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rule_lexer.o rule_lexer.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tcpspy-1.7d=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DFACILITY=LOG_LOCAL1 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rule_grammar.o rule_grammar.c rule_grammar.c: In function ‘ruleparse’: rule_grammar.c:70:25: error: too many arguments to function ‘ruleerror’; expected 0, have 1 70 | #define yyerror ruleerror | ^~~~~~~~~ rule_grammar.c:1299:7: note: in expansion of macro ‘yyerror’ 1299 | yyerror (YY_("syntax error")); | ^~~~~~~ rule_grammar.c:70:25: note: declared here 70 | #define yyerror ruleerror | ^~~~~~~~~ rule_grammar.y:44:5: note: in expansion of macro ‘yyerror’ 44 | int yyerror (); | ^~~~~~~ rule_grammar.c:70:25: error: too many arguments to function ‘ruleerror’; expected 0, have 1 70 | #define yyerror ruleerror | ^~~~~~~~~ rule_grammar.c:1410:3: note: in expansion of macro ‘yyerror’ 1410 | yyerror (YY_("memory exhausted")); | ^~~~~~~ rule_grammar.c:70:25: note: declared here 70 | #define yyerror ruleerror | ^~~~~~~~~ rule_grammar.y:44:5: note: in expansion of macro ‘yyerror’ 44 | int yyerror (); | ^~~~~~~ rule_grammar.y: At top level: rule_grammar.c:70:25: error: conflicting types for ‘ruleerror’; have ‘int(char *)’ 70 | #define yyerror ruleerror | ^~~~~~~~~ rule_grammar.y:116:5: note: in expansion of macro ‘yyerror’ 116 | int yyerror (char *s) | ^~~~~~~ rule_grammar.c:70:25: note: previous declaration of ‘ruleerror’ with type ‘int(void)’ 70 | #define yyerror ruleerror | ^~~~~~~~~ rule_grammar.y:44:5: note: in expansion of macro ‘yyerror’ 44 | int yyerror (); | ^~~~~~~ make[1]: *** [<builtin>: rule_grammar.o] Error 1 make[1]: Leaving directory '/build/reproducible-path/tcpspy-1.7d' dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true" returned exit code 2 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2