Hide Forgot
Description of problem: FTBS with gcc-gfortran x86_64 9.1.1-2.fc31.1 see https://koji.fedoraproject.org/koji/taskinfo?taskID=37052372 BUILDSTDERR: gfortran -ffree-line-length-none -I/usr/lib64/gfortran/modules -I/usr/include/FoX -O2 -g -pipe -Wall -Wef951: Warning: Nonexistent include directory './finclude' [-Wmissing-include-dirs] BUILDSTDERR: ../../src/genexpiqr.f90:40:0: BUILDSTDERR: 40 | Complex (8), Allocatable :: evecsv2 (:, :) BUILDSTDERR: | BUILDSTDERR: Warning: 'evecsv2.dim[1].stride' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: ../../src/genexpiqr.f90:40:0: Warning: 'evecsv2.offset' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: ../../src/genexpiqr.f90:39:0: BUILDSTDERR: 39 | Complex (8), Allocatable :: evecsv1 (:, :) BUILDSTDERR: | BUILDSTDERR: Warning: 'evecsv1.dim[1].stride' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: ../../src/genexpiqr.f90:39:0: Warning: 'evecsv1.offset' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: f951: Warning: Nonexistent include directory './finclude' [-Wmissing-include-dirs] BUILDSTDERR: f951: Warning: Nonexistent include directory './finclude' [-Wmissing-include-dirs] BUILDSTDERR: f951: Warning: Nonexistent include directory './finclude' [-Wmissing-include-dirs] BUILDSTDERR: f951: Warning: Nonexistent include directory './finclude' [-Wmissing-include-dirs] BUILDSTDERR: f951: Warning: Nonexistent include directory './finclude' [-Wmissing-include-dirs] BUILDSTDERR: ../../src/src_gw/mod_misc_gw.f90:5:2: BUILDSTDERR: 5 | #include "maxdefinitions.inc" BUILDSTDERR: | 1 BUILDSTDERR: Warning: Illegal preprocessor directive BUILDSTDERR: ../../src/src_gw/mod_misc_gw.f90:14:24: BUILDSTDERR: 14 | real(8) :: atposl(3,_MAXATOMS_,_MAXSPECIES_) BUILDSTDERR: | 1 BUILDSTDERR: Error: Bad array specification for an explicitly shaped array at (1) BUILDSTDERR: make[3]: *** [Makefile.mkmf:989: mod_misc_gw.o] Error 1 BUILDSTDERR: make[2]: *** [../Make.common:44: bin] Error 2 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
http://exciting-code.org/forum/t-12321713/exciting-13-fails-to-compile-on-fedora-32
This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component.
The issue looks relatively simple. The Fortran compiler is just saying that it won't allocate an array with unknown size: BUILDSTDERR: 14 | real(8) :: atposl(3,_MAXATOMS_,_MAXSPECIES_) BUILDSTDERR: | 1 BUILDSTDERR: Error: Bad array specification for an explicitly shaped array at (1) which means that the macros _MAXATOMS_ and _MAXSPECIES_ haven't been defined. ... which is not surprising given that the compiler is warning that there's a missing include directory, and that BUILDSTDERR: ../../src/src_gw/mod_misc_gw.f90:5:2: BUILDSTDERR: 5 | #include "maxdefinitions.inc" BUILDSTDERR: | 1 BUILDSTDERR: Warning: Illegal preprocessor directive it probably didn't even run the code through the preprocessor, since .f90 source files aren't preprocessed normally. (The files with capital .F90 are.) Fixing this might be as simple as adding '-cpp' to the build flags.
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.