Hi,

Thank you for reporting: I just fixed the issue by adding a check in
configure.ac and defining -fallow-invalid-boz if present. I checked with
both gfortran-10 and gfortran-7 and tests are passing.

I had to add autoconf-archive in Buld-Depends to have
the AX_CHECK_COMPILE_FLAG macro

My tests are passing
<https://travis-ci.org/github/ldallolio/NASTRAN-95/builds/711691970> with
this revision
<https://github.com/ldallolio/NASTRAN-95/commit/6d2c175f5b53ebaec4ba2b5186f7926ef9d0ed47>
.

Honestly, I do not remember well the procedure to push these changes into
the Debian build system, could you please point me in the right direction?

Thank you very much in advance, all the best

Luca

Il giorno ven 24 lug 2020 alle ore 18:09 Andreas Beckmann <a...@debian.org>
ha scritto:

> Source: nastran
> Version: 0.1.95-1
> Severity: serious
> Tags: ftbfs sid bullseye
> Justification: fails to build from source
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-10
>
> Hi,
>
> nastran started to FTBFS when GCC 10 was made the default compiler:
>
> f77  -g -w -fno-range-check -fno-automatic -fcray-pointer -std=legacy -c
> -o bufchk.o bufchk.f
> bufchk.f:16:28:
>
>    16 |      1                 '1'X    ,  '2'X     , '3'X    , '4'X  ,
> '8'X   /
>       |                            1
> Error: BOZ constant at (1) uses nonstandard postfix syntax [see
> '-fno-allow-invalid-boz']
> bufchk.f:18:32:
>
>    18 |      1                 'F1111'X,  'F2222'X , 'FAAAA'X, 'FBBBB'X /
>       |                                1
> Error: BOZ constant at (1) uses nonstandard postfix syntax [see
> '-fno-allow-invalid-boz']
> bufchk.f:20:32:
>
>    20 |      1                 'F5555'X,  'F7777'X , 'F8888'X, 'F9999'X /
>       |                                1
> Error: BOZ constant at (1) uses nonstandard postfix syntax [see
> '-fno-allow-invalid-boz']
> make[2]: *** [Makefile:390: bufchk.o] Error 1
>
> More information about the corresponding GCC changes can be found here:
> https://gcc.gnu.org/gcc-10/porting_to.html
>
>
> Andreas
>

Reply via email to