[MacPorts] #72424: esmf: Error: Type mismatch in argument 'n' at (1); passed INTEGER(4) to INTEGER(8)

MacPorts noreply at macports.org
Tue Apr 29 22:14:51 UTC 2025


#72424: esmf: Error: Type mismatch in argument 'n' at (1); passed INTEGER(4) to
INTEGER(8)
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.5
Resolution:                |   Keywords:
      Port:  esmf          |
---------------------------+--------------------

Comment (by barracuda156):

 Replying to [comment:4 Dave-Allured]:
 > Upstream PR:  https://github.com/esmf-org/esmf/pull/394

 Do I need some header? Or a build from scratch? Just patching that file
 and resuming the build failed on:
 {{{
 /opt/local/var/macports/build/_opt_local_ppcports_science_esmf/esmf/work/esmf-8.8.1/src/Infrastructure/Util/src/ESMF_FortranWordsize.F90:92:14:

    92 |       integer(C_SIZE_T) :: n
       |              1
 Error: Parameter 'c_size_t' at (1) has not been declared or is a variable,
 which does not reduce to a constant expression
 /opt/local/var/macports/build/_opt_local_ppcports_science_esmf/esmf/work/esmf-8.8.1/src/Infrastructure/Util/src/ESMF_FortranWordsize.F90:478:7:

   478 |   use ESMF_FortranWordsizeMod
       |       1
 Fatal Error: Cannot open module file 'esmf_fortranwordsizemod.mod' for
 reading at (1): No such file or directory
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/72424#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list