Opened 8 months ago
Last modified 8 months ago
#69630 new defect
Fixing gildas on PowerPC: Error: Symbol 'fmt_r4' at (1) has no IMPLICIT type; did you mean 'fmt_by'?
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.1 |
Keywords: | powerpc | Cc: | bardeau |
Port: | gildas |
Description
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.
Change History (2)
comment:1 follow-up: 2 Changed 8 months ago by bardeau
comment:2 Changed 8 months ago by barracuda156
Replying to bardeau:
Hi,
GILDAS is not reported to compile under older/legacy operating system: https://ports.macports.org/port/gildas/details/. As far as I remember, it has been like this for years. Is this your first attempt to install GILDAS under PowerPC, or was it working for you up to a recent date?
I can’t say whether it will work in result, but Fortran must work: what we see here is apparently a bug and should be fixable. This does not exclude a possibility that something else still gonna fail, of course.
Note: See
TracTickets for help on using
tickets.
Hi,
GILDAS is not reported to compile under older/legacy operating system: https://ports.macports.org/port/gildas/details/. As far as I remember, it has been like this for years. Is this your first attempt to install GILDAS under PowerPC, or was it working for you up to a recent date?