[MacPorts] #69630: Fixing gildas on PowerPC: Error: Symbol 'fmt_r4' at (1) has no IMPLICIT type; did you mean 'fmt_by'?

MacPorts noreply at macports.org
Sun Mar 31 01:05:45 UTC 2024


#69630: Fixing gildas on PowerPC: Error: Symbol 'fmt_r4' at (1) has no IMPLICIT
type; did you mean 'fmt_by'?
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.9.1
 Keywords:  powerpc       |       Port:  gildas
--------------------------+--------------------
 Once initial configure script is fixed to recognize the arch, build goes
 well, until bumps into a bug in the Fortran code here:

 {{{
 :info:build Update image_def.pub.interfaces
 :info:build /usr/bin/cpp-4.2  -P -traditional -C -DDARWIN="darwin"
 -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes"
 -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP
 -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE
 -I/opt/local/include  ginc-interfaces-public.f90 > built/powerpc-macosx-
 gfortran/ginc-interfaces-public.f90
 :info:build /opt/local/bin/gfortran-mp-13 -c   -fimplicit-none -Os   -I./
 -I./built/powerpc-macosx-gfortran
 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_gildas/gildas/work
 /gildas-src-mar24a/integ/powerpc-macosx-gfortran/include  -J./built
 /powerpc-macosx-gfortran -pipe -fno-backslash -fno-range-check -fno-
 second-underscore -fPIC -fopenmp -O built/powerpc-macosx-gfortran/ginc-
 interfaces-public.f90 -o built/powerpc-macosx-gfortran/ginc-interfaces-
 public.o
 :info:build /usr/bin/cpp-4.2  -P -traditional -C -DDARWIN="darwin"
 -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes"
 -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP
 -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE
 -I/opt/local/include  gildas_def.f90 > built/powerpc-macosx-
 gfortran/gildas_def.f90
 :info:build /opt/local/bin/gfortran-mp-13 -c   -fimplicit-none -Os   -I./
 -I./built/powerpc-macosx-gfortran
 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_gildas/gildas/work
 /gildas-src-mar24a/integ/powerpc-macosx-gfortran/include  -J./built
 /powerpc-macosx-gfortran -pipe -fno-backslash -fno-range-check -fno-
 second-underscore -fPIC -fopenmp -O built/powerpc-macosx-
 gfortran/gildas_def.f90 -o built/powerpc-macosx-gfortran/gildas_def.o
 :info:build /usr/bin/cpp-4.2  -P -traditional -C -DDARWIN="darwin"
 -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes"
 -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP
 -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE
 -I/opt/local/include  gbl_format.f90 > built/powerpc-macosx-
 gfortran/gbl_format.f90
 :info:build /opt/local/bin/gfortran-mp-13 -c   -fimplicit-none -Os   -I./
 -I./built/powerpc-macosx-gfortran
 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_gildas/gildas/work
 /gildas-src-mar24a/integ/powerpc-macosx-gfortran/include  -J./built
 /powerpc-macosx-gfortran -pipe -fno-backslash -fno-range-check -fno-
 second-underscore -fPIC -fopenmp -O built/powerpc-macosx-
 gfortran/gbl_format.f90 -o built/powerpc-macosx-gfortran/gbl_format.o
 :info:build /usr/bin/cpp-4.2  -P -traditional -C -DDARWIN="darwin"
 -DGFORTRAN="gfortran" -DGFORTRAN_VERSION="1320" -DCFITSIO="yes"
 -DATM2009="atm2009" -DPNG="yes" -DGAG_USE_GTK -DGAG_USE_OPENMP
 -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE
 -I/opt/local/include  image_def.f90 > built/powerpc-macosx-
 gfortran/image_def.f90
 :info:build /opt/local/bin/gfortran-mp-13 -c   -fimplicit-none -Os   -I./
 -I./built/powerpc-macosx-gfortran
 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_gildas/gildas/work
 /gildas-src-mar24a/integ/powerpc-macosx-gfortran/include  -J./built
 /powerpc-macosx-gfortran -pipe -fno-backslash -fno-range-check -fno-
 second-underscore -fPIC -fopenmp -O built/powerpc-macosx-
 gfortran/image_def.f90 -o built/powerpc-macosx-gfortran/image_def.o
 :info:build built/powerpc-macosx-gfortran/image_def.f90:283:40:
 :info:build   283 |      integer(kind=4) :: form    = fmt_r4   !  4  Data
 format (FMT_xx)
 :info:build       |                                        1
 :info:build Error: Symbol 'fmt_r4' at (1) has no IMPLICIT type; did you
 mean 'fmt_by'?
 :info:build built/powerpc-macosx-gfortran/image_def.f90:398:40:
 :info:build   398 |      integer(kind=4) :: form    = fmt_r4   !  4  Data
 format (FMT_xx)
 :info:build       |                                        1
 :info:build Error: Symbol 'fmt_r4' at (1) has no IMPLICIT type; did you
 mean 'fmt_by'?
 :info:build built/powerpc-macosx-gfortran/image_def.f90:608:7:
 :info:build   608 |   use gio_headers
 :info:build       |       1
 :info:build Fatal Error: Cannot open module file 'gio_headers.mod' for
 reading at (1): No such file or directory
 :info:build compilation terminated.
 }}}

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


More information about the macports-tickets mailing list