mctc-lib 0.4.1 fails to compile on Fedora rawhide, using GCC 15.0.1. The error is
gfortran -Itest/tester.p -Itest -I../test -Ilibmctc-lib.so.0.4.1.p -I/usr/lib64/gfortran/modules -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -ffree-line-length-none -fbacktrace -
O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_AS
SERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Jtest/tester.p -o test/tester.p/main.f90.o -c ../test/main.f90
f951: Warning: -D_FORTIFY_SOURCE not defined
f951: Warning: -D_GLIBCXX_ASSERTIONS not defined
../test/main.f90:96:30:
96 | call run_selected(testsuites(is)%collect, test_name, error_unit, stat)
| 1
Error: Interface mismatch in dummy procedure ‘collect’ at (1): ALLOCATABLE mismatch in argument '_formal_0'
../test/main.f90:102:31:
102 | call run_testsuite(testsuites(is)%collect, error_unit, stat)
| 1
Error: Interface mismatch in dummy procedure ‘collect’ at (1): ALLOCATABLE mismatch in argument '_formal_1'
../test/main.f90:114:28:
114 | call run_testsuite(testsuites(is)%collect, error_unit, stat)
| 1
Error: Interface mismatch in dummy procedure ‘collect’ at (1): ALLOCATABLE mismatch in argument '_formal_1'
ninja: build stopped: subcommand failed.
mctc-lib 0.4.1 fails to compile on Fedora rawhide, using GCC 15.0.1. The error is
root.log
build.log