[MacPorts] #60954: ESMF does not build with gcc10 (in gcc10 and gfortran variants)

MacPorts noreply at macports.org
Tue Aug 4 09:23:12 UTC 2020


#60954: ESMF does not build with gcc10 (in gcc10 and gfortran variants)
-------------------------+--------------------
 Reporter:  platipodium  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  esmf
-------------------------+--------------------
 gcc10 is pickier with types and fails to build ESMF resulting in type
 mismatches

 {{{
 v:info:build /opt/local/bin/mpif90-mpich-mp -c -Os -O   -m64
 -mcmodel=small -ffree-line-length-none
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_esmf/esmf/work
 /esmf-8_0_1/build_config/Darwin.gfortran.default
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_esmf/esmf/work
 /esmf-8_0_1/src/Infrastructure
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_esmf/esmf/work
 /esmf-8_0_1/src/Superstructure
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_esmf/esmf/work
 /esmf-8_0_1/mod/modO/Darwin.gfortran.64.mpich2.default
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_esmf/esmf/work
 /esmf-8_0_1/src/include -I/opt/local/include -I/opt/local/include
 -DESMF_NO_INTEGER_1_BYTE -DESMF_NO_INTEGER_2_BYTE -DESMF_LAPACK=1
 -DESMF_MOAB=1 -DESMF_NO_ACC_SOFTWARE_STACK=1 -DESMF_NETCDF=1
 -DESMF_XERCES=1 -DESMF_YAMLCPP=1 -DESMF_YAML=1 -DESMF_PIO=1 -DESMF_MPIIO
 -DESMF_NO_PTHREADS -DESMF_NO_OPENMP -DESMF_NO_OPENACC -DESMF_BOPT_O
 -DESMF_TESTCOMPTUNNEL -DSx86_64_small=1 -DESMF_OS_Darwin=1
 -DESMF_COMM=mpich2
 -DESMF_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_esmf/esmf/work
 /esmf-8_0_1 -DESMF_NO_MPI3
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_esmf/esmf/work
 /esmf-8_0_1/src/Infrastructure/Util/src/ESMF_FortranWordsize.F90 -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_esmf/esmf/work
 /esmf-
 8_0_1/obj/objO/Darwin.gfortran.64.mpich2.default/ESMF_FortranWordsize.o
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_esmf/esmf/work
 /esmf-8_0_1/src/Infrastructure/Util/src/ESMF_FortranWordsize.F90:361:50:
 :info:build   361 |  call ESMF_PointerDifference(C_SIZEOF (c_ptrvar),
 varTK(1), varTK(2), wsize)
 :info:build       |                                                  1
 :info:build ......
 :info:build   406 |  call ESMF_PointerDifference(C_SIZEOF (c_ptrvar),
 varTK(1), varTK(2), wsize)
 :info:build       |                                                  2
 :info:build Error: Type mismatch between actual argument at (1) and actual
 argument at (2) (REAL(4)/REAL(8)).

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60954>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list