[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/makedepf90_3.0.1-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
[...]
find_dep.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
lexer.l:145: warning, rule cannot be matched
mv y.tab.c find_dep.c
mv y.tab.h find_dep.h
gcc -MM *.c > .depend
gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/makedepf90-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"3.0.1\" errormesg.c
gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/makedepf90-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"3.0.1\" list.c
gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/makedepf90-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"3.0.1\" macro.c
gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/makedepf90-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"3.0.1\" main.c
gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/makedepf90-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"3.0.1\" modfile_name.c
gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/makedepf90-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"3.0.1\" utils.c
gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/makedepf90-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"3.0.1\" xmalloc.c
gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/makedepf90-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"3.0.1\" find_dep.c
In file included from modfile_name.c:24:
global.h:55:15: error: cannot use keyword ‘false’ as enumeration constant
55 | typedef enum {false = 0, true = 1} bool;
| ^~~~~
global.h:55:15: note: ‘false’ is a keyword with ‘-std=c23’ onwards
global.h:55:36: error: expected ‘;’, identifier or ‘(’ before ‘bool’
55 | typedef enum {false = 0, true = 1} bool;
| ^~~~
global.h:55:36: warning: useless type name in empty declaration
In file included from macro.c:25:
global.h:55:15: error: cannot use keyword ‘false’ as enumeration constant
55 | typedef enum {false = 0, true = 1} bool;
| ^~~~~
global.h:55:15: note: ‘false’ is a keyword with ‘-std=c23’ onwards
global.h:55:36: error: expected ‘;’, identifier or ‘(’ before ‘bool’
55 | typedef enum {false = 0, true = 1} bool;
| ^~~~
global.h:55:36: warning: useless type name in empty declaration
make[1]: *** [Makefile:71: modfile_name.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from utils.c:28:
global.h:55:15: error: cannot use keyword ‘false’ as enumeration constant
55 | typedef enum {false = 0, true = 1} bool;
| ^~~~~
global.h:55:15: note: ‘false’ is a keyword with ‘-std=c23’ onwards
global.h:55:36: error: expected ‘;’, identifier or ‘(’ before ‘bool’
55 | typedef enum {false = 0, true = 1} bool;
| ^~~~
global.h:55:36: warning: useless type name in empty declaration
make[1]: *** [Makefile:71: macro.o] Error 1
make[1]: *** [Makefile:71: utils.o] Error 1
In file included from finddep.h:23,
from find_dep.y:31:
global.h:55:15: error: cannot use keyword ‘false’ as enumeration constant
55 | typedef enum {false = 0, true = 1} bool;
| ^~~~~
global.h:55:15: note: ‘false’ is a keyword with ‘-std=c23’ onwards
global.h:55:36: error: expected ‘;’, identifier or ‘(’ before ‘bool’
55 | typedef enum {false = 0, true = 1} bool;
| ^~~~
global.h:55:36: warning: useless type name in empty declaration
In file included from finddep.h:23,
from main.c:31:
global.h:55:15: error: cannot use keyword ‘false’ as enumeration constant
55 | typedef enum {false = 0, true = 1} bool;
| ^~~~~
global.h:55:15: note: ‘false’ is a keyword with ‘-std=c23’ onwards
global.h:55:36: error: expected ‘;’, identifier or ‘(’ before ‘bool’
55 | typedef enum {false = 0, true = 1} bool;
| ^~~~
global.h:55:36: warning: useless type name in empty declaration
make[1]: *** [Makefile:71: main.o] Error 1
make[1]: *** [Makefile:71: find_dep.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/makedepf90-3.0.1'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2