Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#60561 closed defect (fixed)

netcdf-fortran @4.5.2_2: build fails with fortran type mismatch errors

Reported by: pgf Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: netcdf-fortran

Description

netcdf-fortran @4.5.2_2 build fails with fortran errors:

:info:build netcdf4_func.f90:730:75:
:info:build   730 |     nf90_inq_var_fill_FourByteReal = nf_inq_var_fill(ncid, varid, no_fill, fill)
:info:build       |                                                                           1
:info:build ......
:info:build   740 |     nf90_inq_var_fill_EightByteReal = nf_inq_var_fill(ncid, varid, no_fill, fill)
:info:build       |                                                                            2
:info:build Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/REAL(8)).

Attachments (1)

main.log (130.1 KB) - added by pgf 4 years ago.
Buold log

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by pgf

Attachment: main.log added

Buold log

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Cc: tenomoto removed
Owner: set to tenomoto
Port: netcdf-fortran added; netccdf-fortran removed
Status: newassigned

comment:2 Changed 4 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:3 Changed 4 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In f3a9a5e13bea7ece7386fb5d46db700ac2f97ca8/macports-ports (master):

netcdf-fortran: allow build with GCC 10

Fixes #60561

comment:4 Changed 4 years ago by pgf

It works thanks!
Ports depending on this one need this fix too. I just fixed and built the esmf port in the same way.

Note: See TracTickets for help on using tickets.