Package: src:creduce
Version: 2.11.0~20240909-2
Severity: important
Tags: sid forky
User: debian-gcc@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/creduce_2.11.0~20240909-2_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

[...]
libtool: link: gcc -g -O2 -Werror=implicit-function-declaration 
"-ffile-prefix-map=/build/reproducible-path/creduce-2.11.0~20240909=." 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wl,-z -Wl,relro -o strlex 
strlex-strlex.o strlex-driver.o 
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/creduce-2.11.0~20240909=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -Wl,-z,relro -o clex clex-clex.o 
clex-driver.o  
libtool: link: gcc -g -O2 -Werror=implicit-function-declaration 
"-ffile-prefix-map=/build/reproducible-path/creduce-2.11.0~20240909=." 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wl,-z -Wl,relro -o clex clex-clex.o 
clex-driver.o 
make[4]: Leaving directory 
'/build/reproducible-path/creduce-2.11.0~20240909/build/clex'
Making all in creduce
make[4]: Entering directory 
'/build/reproducible-path/creduce-2.11.0~20240909/build/creduce'
rm -f creduce creduce.tmp
rm -f creduce_config.pm creduce_config.pm.tmp
for pm in creduce_regexes.pm creduce_utils.pm pass_balanced.pm pass_blank.pm 
pass_clang.pm pass_clang_binsrch.pm pass_clex.pm pass_comments.pm pass_ifs.pm 
pass_include_includes.pm pass_includes.pm pass_indent.pm pass_ints.pm 
pass_line_markers.pm pass_lines.pm pass_peep.pm pass_special.pm pass_ternary.pm 
pass_unifdef.pm; do \
  test -e "$pm" || ln -s "../../creduce/$pm" "$pm"; \
done
srcdir=''; \
  test -f ./creduce.in || srcdir=../../creduce/; \
  sed -e 's|@perl[@]|/usr/bin/perl|g' -e 's|@PERL[@]|/usr/bin/perl|g' -e 
's|@perllibdir[@]|/usr/share/creduce/perl|g' -e 's|@prefix[@]|/usr|g' 
${srcdir}creduce.in > creduce.tmp
srcdir=''; \
  test -f ./creduce_config.pm.in || srcdir=../../creduce/; \
  sed -e 's|@bindir[@]|/usr/bin|g' -e 's|@libexecdir[@]|/usr/libexec|g' -e 
's|@PACKAGE_BUGREPORT[@]|creduce-b...@flux.utah.edu|g' -e 
's|@PACKAGE_NAME[@]|creduce|g' -e 's|@PACKAGE_STRING[@]|creduce 2.11.0|g' -e 
's|@PACKAGE_URL[@]|http://embed.cs.utah.edu/creduce/|g' -e 
's|@PACKAGE_VERSION[@]|2.11.0|g' -e 's|@VERSION[@]|2.11.0|g' -e 
's|@GIT_HASH[@]|unknown|g' -e 
's|@CLANG_FORMAT[@]|/usr/lib/llvm-19/bin/clang-format|g' 
${srcdir}creduce_config.pm.in > creduce_config.pm.tmp
chmod +x creduce.tmp
mv creduce.tmp creduce
mv creduce_config.pm.tmp creduce_config.pm
make[4]: Leaving directory 
'/build/reproducible-path/creduce-2.11.0~20240909/build/creduce'
Making all in delta
make[4]: Entering directory 
'/build/reproducible-path/creduce-2.11.0~20240909/build/delta'
/bin/bash ../../autoconf/ylwrap ../../delta/topformflat.l lex.yy.c 
topformflat.c -- flex  
gcc -DHAVE_CONFIG_H -I. -I../../delta -I..   -Wdate-time -D_FORTIFY_SOURCE=2  
-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/creduce-2.11.0~20240909=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o topformflat-topformflat.o `test 
-f 'topformflat.c' || echo '../../delta/'`topformflat.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/creduce-2.11.0~20240909=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -Wl,-z,relro -o topformflat 
topformflat-topformflat.o  
libtool: link: gcc -g -O2 -Werror=implicit-function-declaration 
"-ffile-prefix-map=/build/reproducible-path/creduce-2.11.0~20240909=." 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wl,-z -Wl,relro -o topformflat 
topformflat-topformflat.o 
make[4]: Leaving directory 
'/build/reproducible-path/creduce-2.11.0~20240909/build/delta'
Making all in scripts
make[4]: Entering directory 
'/build/reproducible-path/creduce-2.11.0~20240909/build/scripts'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory 
'/build/reproducible-path/creduce-2.11.0~20240909/build/scripts'
Making all in tests
make[4]: Entering directory 
'/build/reproducible-path/creduce-2.11.0~20240909/build/tests'
for f in run_tests test0.bat test0.sh test1.sh test2.sh test3.sh test4.sh 
test5.sh test6.sh test7.sh file1.c file2.c file3.c; do \
  test -e "$f" || ln -s "../../tests/$f" "$f"; \
done
make[4]: Leaving directory 
'/build/reproducible-path/creduce-2.11.0~20240909/build/tests'
Making all in unifdef
make[4]: Entering directory 
'/build/reproducible-path/creduce-2.11.0~20240909/build/unifdef'
gcc -DHAVE_CONFIG_H -I. -I../../unifdef -I..   -Wdate-time -D_FORTIFY_SOURCE=2  
-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/creduce-2.11.0~20240909=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o unifdef-unifdef.o `test -f 
'unifdef.c' || echo '../../unifdef/'`unifdef.c
../../unifdef/unifdef.c:204:1: warning: useless type name in empty declaration
  204 | static bool             constexpr;              /* constant #if 
expression */
      | ^~~~~~
../../unifdef/unifdef.c:204:1: error: ‘constexpr’ in empty declaration
../../unifdef/unifdef.c: In function ‘eval_unary’:
../../unifdef/unifdef.c:1081:27: error: expected identifier or ‘(’ before ‘=’ 
token
 1081 |                 constexpr = false;
      |                           ^
../../unifdef/unifdef.c:1098:27: error: expected identifier or ‘(’ before ‘=’ 
token
 1098 |                 constexpr = false;
      |                           ^
../../unifdef/unifdef.c: In function ‘ifeval’:
../../unifdef/unifdef.c:1165:19: error: expected identifier or ‘(’ before ‘=’ 
token
 1165 |         constexpr = killconsts ? false : true;
      |                   ^
../../unifdef/unifdef.c:1168:27: error: expected specifier-qualifier-list 
before ‘?’ token
 1168 |         return (constexpr ? LT_IF : ret == LT_ERROR ? LT_IF : ret);
      |                           ^
make[4]: *** [Makefile:457: unifdef-unifdef.o] Error 1
make[4]: Leaving directory 
'/build/reproducible-path/creduce-2.11.0~20240909/build/unifdef'
make[3]: *** [Makefile:455: all-recursive] Error 1
make[3]: Leaving directory 
'/build/reproducible-path/creduce-2.11.0~20240909/build'
make[2]: *** [Makefile:387: all] Error 2
make[2]: Leaving directory 
'/build/reproducible-path/creduce-2.11.0~20240909/build'
dh_auto_build: error: cd build && make -j8 returned exit code 2
make[1]: *** [debian/rules:29: override_dh_auto_build] Error 255
make[1]: Leaving directory '/build/reproducible-path/creduce-2.11.0~20240909'
make: *** [debian/rules:23: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to