Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1019225

Bug#966199: nastran: FTBFS with GCC 10: Error: BOZ constant at (1) uses nonstandard postfix syntax

From "Luca Dall'Olio" <luca.dallolio@gmail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#966199: nastran: FTBFS with GCC 10: Error: BOZ constant at (1) uses nonstandard postfix syntax
Date 2020-07-25 12:00 +0200
Message-ID <Awp8e-2vv-7@gated-at.bofh.it> (permalink)
References <Aw8qJ-Zp-15@gated-at.bofh.it> <Aw8qJ-Zp-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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 <anbe@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-gcc@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
>

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#966199: nastran: FTBFS with GCC 10: Error: BOZ constant at (1) uses nonstandard postfix syntax "Luca Dall'Olio" <luca.dallolio@gmail.com> - 2020-07-25 12:00 +0200

csiph-web