Package: src:splint
Version: 1:3.1.2+dfsg-5
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/splint_3.1.2+dfsg-5_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

[...]
checking for diff... diff
checking for cat... cat
checking for rm... rm
checking for mv... mv
checking for cp... cp
checking for sed... sed
checking whether we need _ALL_SOURCE to expose mode_t... no
checking whether to include support for LCL files... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating imports/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating doc/Makefile
config.status: creating bin/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make[1]: Leaving directory '/build/reproducible-path/splint-3.1.2+dfsg'
   dh_auto_build -O--no-parallel -Nsplint-data -Nsplint-doc-html
        make -j1
make[1]: Entering directory '/build/reproducible-path/splint-3.1.2+dfsg'
make  all-recursive
make[2]: Entering directory '/build/reproducible-path/splint-3.1.2+dfsg'
Making all in src
make[3]: Entering directory '/build/reproducible-path/splint-3.1.2+dfsg/src'
grep "FLG_" flags.def > Headers/flag_codes.gen
make
make[4]: Entering directory '/build/reproducible-path/splint-3.1.2+dfsg/src'
depmode=none /bin/bash ../config/depcomp gcc -DHAVE_CONFIG_H -I. -I..  
-IHeaders -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/splint-3.1.2+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c cgrammar.c
depmode=none /bin/bash ../config/depcomp gcc -DHAVE_CONFIG_H -I. -I..  
-IHeaders -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/splint-3.1.2+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c cscanner.c
depmode=none /bin/bash ../config/depcomp gcc -DHAVE_CONFIG_H -I. -I..  
-IHeaders -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/splint-3.1.2+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c mtscanner.c
depmode=none /bin/bash ../config/depcomp gcc -DHAVE_CONFIG_H -I. -I..  
-IHeaders -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/splint-3.1.2+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c mtgrammar.c
mtgrammar.tab.c: In function ‘yy_symbol_value_print’:
mtgrammar.y:52:37: error: too many arguments to function ‘yyprint’; expected 0, 
have 3
   52 | # define YYPRINT(file, type, value) yyprint (file, type, value)
      |                                     ^~~~~~~
mtgrammar.tab.c:936:5: note: in expansion of macro ‘YYPRINT’
mtgrammar.y:49:13: note: declared here
   49 | static void yyprint (/*FILE *p_file, int p_type, YYSTYPE p_value */);
      |             ^~~~~~~
mtgrammar.tab.c: In function ‘mtparse’:
mtgrammar.c:121:17: error: too many arguments to function ‘mtlex’; expected 0, 
have 1
  121 | #define yylex   mtlex
      |                 ^~~~~
mtgrammar.tab.c:886:16: note: in expansion of macro ‘yylex’
mtgrammar.tab.c:1530:16: note: in expansion of macro ‘YYLEX’
mtgrammar.y:48:12: note: declared here
   48 | extern int mtlex () ;
      |            ^~~~~
mtgrammar.y: At top level:
mtgrammar.y:427:13: error: conflicting types for ‘yyprint’; have ‘void(FILE *, 
int,  YYSTYPE)’
  427 | static void yyprint (FILE *file, int type, YYSTYPE value)
      |             ^~~~~~~
mtgrammar.y:49:13: note: previous declaration of ‘yyprint’ with type 
‘void(void)’
   49 | static void yyprint (/*FILE *p_file, int p_type, YYSTYPE p_value */);
      |             ^~~~~~~
mtgrammar.y:49:13: warning: ‘yyprint’ used but never defined
make[4]: *** [Makefile:1742: mtgrammar.o] Error 1
make[4]: Leaving directory '/build/reproducible-path/splint-3.1.2+dfsg/src'
make[3]: *** [Makefile:1684: Headers/flag_codes.gen] Error 2
make[3]: Leaving directory '/build/reproducible-path/splint-3.1.2+dfsg/src'
make[2]: *** [Makefile:401: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/splint-3.1.2+dfsg'
make[1]: *** [Makefile:342: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/splint-3.1.2+dfsg'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:23: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to