Package: src:ffe
Version: 0.3.9-1
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/ffe_0.3.9-1_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 pipe... yes
checking for tempnam... yes
checking for setenv... yes
checking for putenv... yes
checking for setmode... no
checking for strcasecmp... yes
checking for sigaction... yes
checking for parse_printf_format... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for getline... yes
checking for getopt_long... yes
checking for regcomp... yes
checking for strncasecmp... yes
checking for strcasestr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
   dh_auto_build
        make -j8
make[1]: Entering directory '/build/reproducible-path/ffe-0.3.9'
make  all-recursive
make[2]: Entering directory '/build/reproducible-path/ffe-0.3.9'
Making all in src
make[3]: Entering directory '/build/reproducible-path/ffe-0.3.9/src'
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ffe-0.3.9=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o 
ffe.o ffe.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ffe-0.3.9=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o 
xmalloc.o xmalloc.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ffe-0.3.9=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o 
parserc.o parserc.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ffe-0.3.9=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o 
execute.o execute.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ffe-0.3.9=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o 
endian.o endian.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ffe-0.3.9=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o 
level.o level.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/ffe-0.3.9=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o 
anonymize.o anonymize.c
ffe.c: In function ‘main’:
ffe.c:1134:9: error: too many arguments to function ‘open_input_file’; expected 
0, have 1
 1134 |         open_input_file(BINARY);  // guess binary first
      |         ^~~~~~~~~~~~~~~
In file included from ffe.c:27:
ffe.h:379:1: note: declared here
  379 | open_input_file();
      | ^~~~~~~~~~~~~~~
ffe.c:1147:13: error: too many arguments to function ‘open_input_file’; 
expected 0, have 1
 1147 |             open_input_file(s->type[0]);
      |             ^~~~~~~~~~~~~~~ ~~~~~~~~~~
ffe.h:379:1: note: declared here
  379 | open_input_file();
      | ^~~~~~~~~~~~~~~
make[3]: *** [Makefile:389: ffe.o] Error 1
make[3]: *** Waiting for unfinished jobs....
execute.c:279:1: error: conflicting types for ‘open_input_file’; have 
‘void(int)’
  279 | open_input_file(int stype)
      | ^~~~~~~~~~~~~~~
In file included from execute.c:25:
ffe.h:379:1: note: previous declaration of ‘open_input_file’ with type 
‘void(void)’
  379 | open_input_file();
      | ^~~~~~~~~~~~~~~
make[3]: *** [Makefile:389: execute.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/ffe-0.3.9/src'
make[2]: *** [Makefile:381: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/ffe-0.3.9'
make[1]: *** [Makefile:322: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/ffe-0.3.9'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to