Recently, building the latest auto-07p (Version 0.9.1 from https://sourceforge.net/projects/auto-07p/files/auto07p/0.9/auto07p-0.9.1.tar.gz/download) fails with up to date gcc compiler.
The error message is:
gfortran -O3 -c plautlib.f -o plautlib.o plautlib.f:6777:48: CALL ARROWL(I,XC(I,2),YC(I,2),ALFA,DA,ANGLE,XC,YC,ICODE) 1 Error: Actual argument contains too few elements for dummy argument ‘angle’ (3/4) at (1) make[1]: *** [Makefile:14: plautlib.o] Error 1
gfortran version is: GNU Fortran (GCC) 8.2.1 20180831
With gcc 7 it still worked.
This bug has also been reported to Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897711.
Whereas I do not build on debian but use your sources directly and build on Arch/ Artix Linux using the recipe at https://aur.archlinux.org/packages/auto-07p/ (I maintain this AUR package, btw.).
As a temporary workaround,
-std=legacy
can be added to the compiler flags, e.g. in theFFLAGS
variable in the Makefile of plaut (07p/plaut/Makefile.in). This changes the error message into a warning, the same way as older version of gfortran behaved.I'm having the very same problem. I'm trying to install in Manjaro 18.0.2 and can't have a succesfull instalation. I have tried the solution of Carsten Bruns but the result is a corrupted instalation that does't work. Any news?
Using the old
g95
-compiler seems to be a workaround, but not a proper solution, though.I fixed it here:
https://github.com/auto-07p/auto-07p/commit/4d22983d627762fc2d6e763796668e6ea4f7a783
just replace ANGLE(3) with ANGLE(4) and it will compile.