Bug#957665: Fortran issue in paw (Was: paw: ftbfs with GCC-10)
Andrius Merkys
merkys at debian.org
Thu Oct 15 13:34:15 BST 2020
Hi Andreas,
On 2020-10-15 15:26, Andreas Tille wrote:
> when trying to build paw with gcc / fortran 10 there are some FORTRAN
> errors:
>
>
> ...
> Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(4)/INTEGER(4)).
> /<<PKGBUILDDIR>>/src/pawlib/comis/code/cs1200.F:138:24:
>
> 76 | CALL CCOPYA(KOD(IPCP),KOD(IPCP+I),L)
> | 2
> ......
> 138 | CALL CCOPYA(CX,KOD(IPCP-1),KLCMLX)
> | 1
I had the same problem with libccp4. Upstream has recommended turning
off argument mismatch checks via FFLAGS, which I did in debian/rules [1]:
FFLAGS += -fallow-argument-mismatch
Of course this just silences the error, which should probably be fixed,
especially if argument mismatch is not intentional.
[1]
https://salsa.debian.org/science-team/libccp4/-/commit/985597f71ee539e7e3242d43a60b271865e7672e
Hope this helps,
Andrius
More information about the debian-science-maintainers
mailing list