Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/grads.spec'], chrootPath='/var/lib/mock/f37-build-675573-75987/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/grads.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/grads-2.0.2-41.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/grads.spec'], chrootPath='/var/lib/mock/f37-build-675573-75987/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/grads.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vZZ4kn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf grads-2.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grads-2.0.2-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd grads-2.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (grads-use-system-libshp_libsx.patch):' Patch #0 (grads-use-system-libshp_libsx.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .sys --fuzz=0 patching file configure.ac patching file src/Makefile.am Patch #1 (grads-libpng.patch): + echo 'Patch #1 (grads-libpng.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .png --fuzz=0 patching file m4/grib2.m4 Patch #2 (grads-format-security.patch): + echo 'Patch #2 (grads-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .fmt --fuzz=0 patching file src/gagx.c Patch #3 (grads-udunits2.patch): + echo 'Patch #3 (grads-udunits2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .udunits2 --fuzz=0 patching file m4/udunits.m4 Patch #4 (grads-implicit.patch): + echo 'Patch #4 (grads-implicit.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .implicit --fuzz=0 patching file src/gxcntr.c patching file src/gxeps.c patching file src/gxwmap.c + sed -i -e 's/LIB(grib2c/LIB(g2c_v1.6.3/' -e s/-lgrib2c/-lg2c_v1.6.3/ m4/grib2.m4 + sed -i -e s@/usr/local/lib/grads@/usr/share/grads@ src/gxsubs.c + autoreconf -f -i configure.ac:23: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:23: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:481: AM_CONFIG_HEADER is expanded from... configure.ac:23: the top level configure.ac:37: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:37: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:37: the top level configure.ac:39: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:39: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:39: the top level configure.ac:41: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:41: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:41: the top level configure.ac:43: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:43: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:43: the top level configure.ac:45: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:45: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:45: the top level configure.ac:47: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:47: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:47: the top level configure.ac:49: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:49: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:49: the top level configure.ac:51: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:51: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:51: the top level configure.ac:165: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:165: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:165: the top level src/Makefile.am:37: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iroU2b + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd grads-2.0.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-11-13 10:33:46.201175102 -0500 +++ ./configure 2022-11-13 10:33:52.751266792 -0500 @@ -1830,7 +1830,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./etc/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./etc/config.sub ++ basename ./etc/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./etc/config.sub '/usr/lib/rpm/redhat/config.sub' -> './etc/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./etc/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./etc/config.guess ++ basename ./etc/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./etc/config.guess '/usr/lib/rpm/redhat/config.guess' -> './etc/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-dyn-supplibs --without-gui --with-geotiff --with-sdf --with-shp --with-netcdf-include=/usr/include --with-netcdf-libdir=/usr/lib64 LDFLAGS=-L/usr/lib64/hdf/ 'CPPFLAGS=-I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API' configure: WARNING: unrecognized options: --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no Checking for programs ------------------ checking for gawk... (cached) gawk checking for riscv64-redhat-linux-gnu-xlc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether the compiler supports GNU C++... no checking whether g++ accepts -g... no checking for g++ option to enable C++11 features... unsupported checking for g++ option to enable C++98 features... unsupported checking whether ln -s works... yes Setting host specific options ------------------------- checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu Host machine: riscv64-redhat-linux-gnu Checking system libraries, headers, and compiler features ----------------------------------------- checking for cos in -lm... yes checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for malloc.h... yes checking for sys/file.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for strtod... yes checking for off_t... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no Checking for optional feature support ------------------------------------ checking for supplibs directory... not found checking whether to use dynamic linking... yes (Warning: binaries may not be suitable for distribution) - GUI disabled Checking in system locations for libraries to support command line editing ... checking for a readline compatible library... -lreadline checking for readline.h... no checking for readline/readline.h... yes checking whether readline supports history... yes checking for history.h... no checking for readline/history.h... yes + Command line editing enabled Checking in system locations for libraries to support geotiff ... checking for main in -ltiff... yes checking for main in -lgeotiff... yes configure: searching geotiff includes in /usr/include checking for geotiffio.h with compiler... no checking for geotiffio.h with preprocessor... no configure: searching geotiff includes in /usr/include/libgeotiff checking for geotiffio.h with compiler... yes checking for geotiffio.h with preprocessor... yes + geotiff enabled Checking in system locations for libraries to support shapefiles ... checking for shapefil.h... yes checking for main in -lshp... yes + shapefile enabled Checking in system locations for libraries to support printim ... checking for GD... checking for gdlib-config... no checking for gd.h... yes checking for compress in -lz... yes checking for main in -lpng... yes checking for gdImageCreate in -lgd... yes checking for gdCompareInt... no + printim enabled Checking in system locations for grib2 libraries ... checking for grib2.h... yes checking for main in -lg2c_v1.6.3... yes checking for main in -lpng... (cached) yes checking for main in -lz... yes checking for main in -ljasper... yes + grib2 enabled Checking in system locations for libraries to support hdf4 ... checking for udunits.h... yes checking for utInit in -ludunits2... yes checking for SZ_BufftoBuffCompress in -lsz... yes checking for deflate in -lz... yes checking for jpeg_start_compress in -ljpeg... yes checking for Hopen in -ldf... yes checking for SDstart in -lmfhdf... yes checking for mfhdf.h with compiler... yes checking for mfhdf.h with preprocessor... yes checking for sd_ncopen... yes checking for hdf4_netcdf.h... yes checking for netcdf.h with compiler... yes checking for netcdf.h with preprocessor... yes + hdf4 enabled Checking in system locations for libraries to support hdf5 ... checking for main in -lsz... yes checking for compress in -lz... yes checking for main in -ljpeg... yes checking for H5Fopen in -lhdf5... yes checking for hdf5.h with compiler... yes + hdf5 enabled checking for udunits.h... (cached) yes checking for utInit in -ludunits2... (cached) yes checking for ncopen in -lnetcdf... yes checking for netcdf.h with compiler... yes checking for netcdf.h with preprocessor... yes + netcdf-4 enabled - OPeNDAP for station data disabled +=========================================================================+ GrADS 2.0.2 : Built Sun Nov 13 10:34:34 EST 2022 for riscv64-redhat-linux-gnu +=========================================================================+ +-------------------------------+ | | | GrADS will be built with: | | | | - GUI disabled | | + readline enabled | | + geotiff enabled | | + shapefile enabled | | + printim enabled | | + grib2 enabled | | + hdf4 enabled | | + hdf5 enabled | | + netcdf-4 enabled | | + OPeNDAP enabled | | for grids only | | | +-------------------------------+ configure: creating src/VERSION configure: creating src/buildinfo.h checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking Run 'make && make install' to build GrADS. Executables will be installed to bin/ in current dir, unless prefix was specified. + /usr/bin/make -O -j4 V=1 VERBOSE=1 Making all in src /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gxchpl.o gxchpl.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o grads.o grads.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gxsubs.o gxsubs.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gxstrm.o gxstrm.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gxcntr.o gxcntr.c gxcntr.c: In function 'gxpclin': gxcntr.c:789:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 789 | gaint i,rc; | ^~ gxcntr.c: In function 'gxshplin': gxcntr.c:846:33: warning: variable 'nFields' set but not used [-Wunused-but-set-variable] 846 | gaint shpid,*pstart=NULL,nParts,nFields; | ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gxwmap.o gxwmap.c gxwmap.c: In function 'gxdmap': gxwmap.c:105:16: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 105 | i = gagby (hdr,0,1); | ^~~ | | | char * In file included from gxwmap.c:27: grads.h:1199:14: note: expected 'unsigned char *' but argument is of type 'char *' 1199 | gaint gagby (unsigned char *, gaint, gaint); | ^~~~~~~~~~~~~~~ gxwmap.c:111:19: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 111 | st1 = gagby(hdr,1,1); | ^~~ | | | char * grads.h:1199:14: note: expected 'unsigned char *' but argument is of type 'char *' 1199 | gaint gagby (unsigned char *, gaint, gaint); | ^~~~~~~~~~~~~~~ gxwmap.c:112:19: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 112 | st2 = gagby(hdr,2,1); | ^~~ | | | char * grads.h:1199:14: note: expected 'unsigned char *' but argument is of type 'char *' 1199 | gaint gagby (unsigned char *, gaint, gaint); | ^~~~~~~~~~~~~~~ gxwmap.c:115:20: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 115 | spos = gagby(rec,0,4); | ^~~ | | | char * grads.h:1199:14: note: expected 'unsigned char *' but argument is of type 'char *' 1199 | gaint gagby (unsigned char *, gaint, gaint); | ^~~~~~~~~~~~~~~ gxwmap.c:116:20: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 116 | ilon = gagby(rec,4,3); | ^~~ | | | char * grads.h:1199:14: note: expected 'unsigned char *' but argument is of type 'char *' 1199 | gaint gagby (unsigned char *, gaint, gaint); | ^~~~~~~~~~~~~~~ gxwmap.c:118:20: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 118 | ilon = gagby(rec,7,3); | ^~~ | | | char * grads.h:1199:14: note: expected 'unsigned char *' but argument is of type 'char *' 1199 | gaint gagby (unsigned char *, gaint, gaint); | ^~~~~~~~~~~~~~~ gxwmap.c:120:20: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 120 | ilat = gagby(rec,10,3); | ^~~ | | | char * grads.h:1199:14: note: expected 'unsigned char *' but argument is of type 'char *' 1199 | gaint gagby (unsigned char *, gaint, gaint); | ^~~~~~~~~~~~~~~ gxwmap.c:122:20: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 122 | ilat = gagby(rec,13,3); | ^~~ | | | char * grads.h:1199:14: note: expected 'unsigned char *' but argument is of type 'char *' 1199 | gaint gagby (unsigned char *, gaint, gaint); | ^~~~~~~~~~~~~~~ gxwmap.c:161:18: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 161 | type = gagby(hdr,1,1); | ^~~ | | | char * grads.h:1199:14: note: expected 'unsigned char *' but argument is of type 'char *' 1199 | gaint gagby (unsigned char *, gaint, gaint); | ^~~~~~~~~~~~~~~ gxwmap.c:162:17: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 162 | num = gagby(hdr,2,1); | ^~~ | | | char * grads.h:1199:14: note: expected 'unsigned char *' but argument is of type 'char *' 1199 | gaint gagby (unsigned char *, gaint, gaint); | ^~~~~~~~~~~~~~~ gxwmap.c:181:20: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 181 | ilon = gagby(rec,i*6,3); | ^~~ | | | char * grads.h:1199:14: note: expected 'unsigned char *' but argument is of type 'char *' 1199 | gaint gagby (unsigned char *, gaint, gaint); | ^~~~~~~~~~~~~~~ gxwmap.c:182:20: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 182 | ilat = gagby(rec,i*6+3,3); | ^~~ | | | char * grads.h:1199:14: note: expected 'unsigned char *' but argument is of type 'char *' 1199 | gaint gagby (unsigned char *, gaint, gaint); | ^~~~~~~~~~~~~~~ gxwmap.c:185:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 185 | if (lat[i]ltmax) ltmax=lat[i]; | ^~ gxwmap.c:185:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 185 | if (lat[i]ltmax) ltmax=lat[i]; | ^~ gxwmap.c:186:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 186 | if (lon[i]lnmax) lnmax=lon[i]; | ^~ gxwmap.c:186:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 186 | if (lon[i]lnmax) lnmax=lon[i]; | ^~ gxwmap.c: In function 'gxmollp': gxwmap.c:739:27: warning: variable 'radlon' set but not used [-Wunused-but-set-variable] 739 | gadouble diff, radlat, radlon; | ^~~~~~ gxwmap.c: In function 'gxlamc': gxwmap.c:897:28: warning: variable 'lonave' set but not used [-Wunused-but-set-variable] 897 | gadouble xave,yave, w1, lonave, xmin, xmax, ymin, ymax, x1, x2, y1, y2, xd, yd; | ^~~~~~ gxwmap.c:896:57: warning: variable 'dy' set but not used [-Wunused-but-set-variable] 896 | gadouble lonmn, lonmx, latmn, latmx, dlat, dlon, dx, dy; | ^~ gxwmap.c:896:53: warning: variable 'dx' set but not used [-Wunused-but-set-variable] 896 | gadouble lonmn, lonmx, latmn, latmx, dlat, dlon, dx, dy; | ^~ gxwmap.c:896:47: warning: variable 'dlon' set but not used [-Wunused-but-set-variable] 896 | gadouble lonmn, lonmx, latmn, latmx, dlat, dlon, dx, dy; | ^~~~ gxwmap.c:896:41: warning: variable 'dlat' set but not used [-Wunused-but-set-variable] 896 | gadouble lonmn, lonmx, latmn, latmx, dlat, dlon, dx, dy; | ^~~~ gxwmap.c: In function 'gxdmap': gxwmap.c:114:12: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | else fread(rec,1,16,mfile); | ^~~~~~~~~~~~~~~~~~~~~ gxwmap.c:168:10: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 168 | else fread(rec,1,num*6,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~ gxwmap.c: In function 'gxwseek': gxwmap.c:1300:1: warning: control reaches end of non-void function [-Wreturn-type] 1300 | } | ^ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gxmeta.o gxmeta.c In file included from gxmeta.c:685: gxeps.c: In function 'gxeps': gxeps.c:447:16: warning: variable 'fflag' set but not used [-Wunused-but-set-variable] 447 | int cnt,flag,fflag,ib; | ^~~~~ gxeps.c: In function 'drawline': gxeps.c:1214:22: warning: variable 'j' set but not used [-Wunused-but-set-variable] 1214 | register int i,im,j,colum; | ^ gxeps.c: In function 'fillline': gxeps.c:1376:10: warning: variable 'j' set but not used [-Wunused-but-set-variable] 1376 | int j,colum; | ^ gxeps.c: In function 'initepsf': gxeps.c:986:11: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 986 | fgets(buf,130,stdin); | ^~~~~~~~~~~~~~~~~~~~ gxeps.c: In function 'init_newpage': gxeps.c:1195:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1195 | fgets(buf,130,stdin); | ^~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gxshad.o gxshad.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' gxshad.c: In function 'undcol': gxshad.c:1202:26: warning: variable 'p4' set but not used [-Wunused-but-set-variable] 1202 | gadouble *p1, *p2, *p3, *p4; | ^~ make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gaexpr.o gaexpr.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gautil.o gautil.c gautil.c: In function 'nxrdln': gautil.c:85:12: warning: variable 'ch2' set but not used [-Wunused-but-set-variable] 85 | char *ch, *ch2; | ^~~ gautil.c: In function 'adtprs': gautil.c:408:7: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 408 | char *pos; | ^~~ gautil.c: In function 'rdtprs': gautil.c:530:7: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 530 | char *pos; | ^~~ gautil.c: In function 'getwrd': gautil.c:1080:7: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 1080 | char *ch; | ^~ gautil.c: In function 'gafndt': gautil.c:1566:11: warning: variable 'stim' set but not used [-Wunused-but-set-variable] 1566 | struct dt stim; | ^~~~ gautil.c: In function 'dimprs': gautil.c:914:14: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized] 914 | *d = v + pfi->dimoff[*dim]; /* straight override of fixed dimension value */ | ~~^~~~~~~~~~~~~~~~~~~ gautil.c:815:17: note: 'v' was declared here 815 | gadouble *cvals,v; | ^ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gxshad2.o gxshad2.c gxshad2.c: In function 's2shpwrt': gxshad2.c:1526:33: warning: variable 'nFields' set but not used [-Wunused-but-set-variable] 1526 | gaint shpid,*pstart=NULL,nParts,nFields; | ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gamach.o gamach.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o bufrstn.o bufrstn.c bufrstn.c: In function 'getbufr': bufrstn.c:110:48: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 237 [-Wformat-truncation=] 110 | snprintf(pout,255,"Parsing BUFR file %s\n",stn->pfi->name); | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/malloc.h:25, from bufrstn.c:12: In function 'snprintf', inlined from 'getbufr' at bufrstn.c:110:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 20 and 4115 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gscrpt.o gscrpt.c gscrpt.c: In function 'gsassn': gscrpt.c:1146:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1146 | fgets(res,512,stdin); | ^~~~~~~~~~~~~~~~~~~~ gscrpt.c: In function 'gsfmath': gscrpt.c:3186:8: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized] 3186 | if (v<=0.0 && (mathflg == 1 || mathflg == 2) ) { | ~^~~~~ gscrpt.c:3128:10: note: 'v' declared here 3128 | gadouble v,v2; | ^ gscrpt.c:3186:8: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized] 3186 | if (v<=0.0 && (mathflg == 1 || mathflg == 2) ) { | ~^~~~~ gscrpt.c:3128:10: note: 'v' declared here 3128 | gadouble v,v2; | ^ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gabufr.o gabufr.c gabufr.c: In function 'gabufr_countmsgs': gabufr.c:780:16: warning: variable 'current' set but not used [-Wunused-but-set-variable] 780 | gabufr_msg * current, * next; | ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gafunc.o gafunc.c gafunc.c: In function 'fflterp': gafunc.c:1219:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1219 | if (alo < -90.0) alo = -90.0; if (alo > 90.0) alo = 90.0; | ^~ gafunc.c:1219:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1219 | if (alo < -90.0) alo = -90.0; if (alo > 90.0) alo = 90.0; | ^~ gafunc.c:1220:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1220 | if (ahi < -90.0) ahi = -90.0; if (ahi > 90.0) ahi = 90.0; | ^~ gafunc.c:1220:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1220 | if (ahi < -90.0) ahi = -90.0; if (ahi > 90.0) ahi = 90.0; | ^~ gafunc.c:1240:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1240 | if (alo < -90.0) alo = -90.0; if (alo > 90.0) alo = 90.0; | ^~ gafunc.c:1240:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1240 | if (alo < -90.0) alo = -90.0; if (alo > 90.0) alo = 90.0; | ^~ gafunc.c:1241:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1241 | if (ahi < -90.0) ahi = -90.0; if (ahi > 90.0) ahi = 90.0; | ^~ gafunc.c:1241:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1241 | if (ahi < -90.0) ahi = -90.0; if (ahi > 90.0) ahi = 90.0; | ^~ gafunc.c:1291:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1291 | if (alo < -90.0) alo = -90.0; if (alo > 90.0) alo = 90.0; | ^~ gafunc.c:1291:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1291 | if (alo < -90.0) alo = -90.0; if (alo > 90.0) alo = 90.0; | ^~ gafunc.c:1292:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1292 | if (ahi < -90.0) ahi = -90.0; if (ahi > 90.0) ahi = 90.0; | ^~ gafunc.c:1292:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1292 | if (ahi < -90.0) ahi = -90.0; if (ahi > 90.0) ahi = 90.0; | ^~ gafunc.c:1306:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1306 | if (alo < -90.0) alo = -90.0; if (alo > 90.0) alo = 90.0; | ^~ gafunc.c:1306:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1306 | if (alo < -90.0) alo = -90.0; if (alo > 90.0) alo = 90.0; | ^~ gafunc.c:1307:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1307 | if (ahi < -90.0) ahi = -90.0; if (ahi > 90.0) ahi = 90.0; | ^~ gafunc.c:1307:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1307 | if (ahi < -90.0) ahi = -90.0; if (ahi > 90.0) ahi = 90.0; | ^~ gafunc.c:1321:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1321 | if (alo < -90.0) alo = -90.0; if (alo > 90.0) alo = 90.0; | ^~ gafunc.c:1321:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1321 | if (alo < -90.0) alo = -90.0; if (alo > 90.0) alo = 90.0; | ^~ gafunc.c:1322:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1322 | if (ahi < -90.0) ahi = -90.0; if (ahi > 90.0) ahi = 90.0; | ^~ gafunc.c:1322:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1322 | if (ahi < -90.0) ahi = -90.0; if (ahi > 90.0) ahi = 90.0; | ^~ gafunc.c: In function 'scorr': gafunc.c:2002:59: warning: variable 'covu' set but not used [-Wunused-but-set-variable] 2002 | char *ch,*gr1u,*gr2u,*grid3u,*gr3u,s1u,s2u,mn1u,mn2u,resu,covu; | ^~~~ gafunc.c:2002:40: warning: variable 's2u' set but not used [-Wunused-but-set-variable] 2002 | char *ch,*gr1u,*gr2u,*grid3u,*gr3u,s1u,s2u,mn1u,mn2u,resu,covu; | ^~~ gafunc.c:2002:36: warning: variable 's1u' set but not used [-Wunused-but-set-variable] 2002 | char *ch,*gr1u,*gr2u,*grid3u,*gr3u,s1u,s2u,mn1u,mn2u,resu,covu; | ^~~ gafunc.c: In function 'doaave': gafunc.c:2241:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2241 | if (alo < -90.0) alo = -90.0; if (ahi < -90.0) ahi = -90.0; | ^~ gafunc.c:2241:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2241 | if (alo < -90.0) alo = -90.0; if (ahi < -90.0) ahi = -90.0; | ^~ gafunc.c:2242:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2242 | if (alo > 90.0) alo = 90.0; if (ahi > 90.0) ahi = 90.0; | ^~ gafunc.c:2242:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2242 | if (alo > 90.0) alo = 90.0; if (ahi > 90.0) ahi = 90.0; | ^~ gafunc.c:2217:32: warning: variable 'abs' set but not used [-Wunused-but-set-variable] 2217 | gadouble d2r,sum,w1,w2=0,y1,x1,abs,alo,ahi,alen,wt; | ^~~ gafunc.c: In function 'tmaskf': gafunc.c:2355:61: warning: variable 'covu' set but not used [-Wunused-but-set-variable] 2355 | char *ch,*fnam, uu, *gru, *mn1u, *mn2u, *cntu, *s1u, *s2u, *covu, resu=0; | ^~~~ gafunc.c: In function 'ave': gafunc.c:2723:41: warning: variable 'ilin' set but not used [-Wunused-but-set-variable] 2723 | gaint i, rc, siz, dim, d, d1, d2, dim2, ilin, incr, bndflg; | ^~~~ gafunc.c: In function 'ffgint': gafunc.c:3276:41: warning: variable 'ilin' set but not used [-Wunused-but-set-variable] 3276 | gaint i, rc, siz, dim, d, d1, d2, dim2, ilin, bndflg, wflag=0; | ^~~~ gafunc.c: In function 'ffg2s': gafunc.c:4592:12: warning: variable 'jconv' set but not used [-Wunused-but-set-variable] 4592 | gadouble (*jconv) (gadouble *, gadouble); | ^~~~~ gafunc.c: In function 'ffg2s2': gafunc.c:4764:29: warning: variable 'grid' set but not used [-Wunused-but-set-variable] 4764 | gadouble *ivars, lon, lat, *grid, lev=0, val=0; | ^~~~ gafunc.c: In function 'ffoacr': gafunc.c:5306:12: warning: variable 'jconv' set but not used [-Wunused-but-set-variable] 5306 | gadouble (*jconv) (gadouble *, gadouble); | ^~~~~ gafunc.c: In function 'ffoabn': gafunc.c:5601:20: warning: variable 'icnt' set but not used [-Wunused-but-set-variable] 5601 | gaint rc,i,j,siz,icnt,cntflg; | ^~~~ gafunc.c:5597:14: warning: variable 'jconv' set but not used [-Wunused-but-set-variable] 5597 | gadouble (*jconv) (gadouble *, gadouble); | ^~~~~ gafunc.c: In function 'ffgrarea': gafunc.c:6235:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6235 | if (alo < -90.0) alo = -90.0; if (ahi < -90.0) ahi = -90.0; | ^~ gafunc.c:6235:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6235 | if (alo < -90.0) alo = -90.0; if (ahi < -90.0) ahimake[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' = -90.0; | ^~ gafunc.c:6236:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 6236 | if (alo > 90.0) alo = 90.0; if (ahi > 90.0) ahi = 90.0; | ^~ gafunc.c:6236:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6236 | if (alo > 90.0) alo = 90.0; if (ahi > 90.0) ahi = 90.0; | ^~ make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gabufrtbl.o gabufrtbl.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gxdxwd.o gxdxwd.c gxdxwd.c: In function 'Window_Dump': gxdxwd.c:82:14: warning: variable 'buffer_size' set but not used [-Wunused-but-set-variable] 82 | unsigned buffer_size; | ^~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o galloc.o galloc.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gagx.o gagx.c gagx.c: In function 'gaoutgds': gagx.c:231:21: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 231 | gaint i, numvars, retval, levelstart, numreps; | ^~~~~~ gagx.c: In function 'gasmdl': gagx.c:1350:7: warning: variable 'num' set but not used [-Wunused-but-set-variable] 1350 | gaint num,icld,i,col,ivis,itop,ibot,ii,hemflg; | ^~~ gagx.c: In function 'gagtif': gagx.c:4293:2: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 4293 | uint32 imagewidth,imagelength,rowsperstrip; | ^~~~~~ gagx.c:4293:2: warning: 'uint32' is deprecated [-Wdeprecated-declarations] gagx.c:4293:2: warning: 'uint32' is deprecated [-Wdeprecated-declarations] gagx.c:4294:2: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 4294 | uint16 *colormap=NULL,*cm; | ^~~~~~ gagx.c:4294:2: warning: 'uint16' is deprecated [-Wdeprecated-declarations] gagx.c:4295:2: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 4295 | uint16 bitspersample,samplesperpixel,compression; | ^~~~~~ gagx.c:4295:2: warning: 'uint16' is deprecated [-Wdeprecated-declarations] gagx.c:4295:2: warning: 'uint16' is deprecated [-Wdeprecated-declarations] gagx.c:4296:2: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 4296 | uint16 photometric,resolutionunit,sampleformat; | ^~~~~~ gagx.c:4296:2: warning: 'uint16' is deprecated [-Wdeprecated-declarations] gagx.c:4296:2: warning: 'uint16' is deprecated [-Wdeprecated-declarations] gagx.c:4393:2: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 4393 | imagewidth = (uint32)isize; /* #cols, #longitudes */ | ^~~~~~~~~~ gagx.c:4394:2: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 4394 | imagelength = (uint32)jsize; /* #rows, #latitudes */ | ^~~~~~~~~~~ gagx.c:4526:4: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 4526 | colormap = (uint16*)_TIFFmalloc(3 * 256 * sizeof (uint16)); | ^~~~~~~~ gagx.c:4526:4: warning: 'uint16' is deprecated [-Wdeprecated-declarations] gagx.c:4539:6: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 4539 | *(cm+0*256+j) = (uint16)r; | ^ gagx.c:4540:6: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 4540 | *(cm+1*256+j) = (uint16)g; | ^ gagx.c:4541:6: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 4541 | *(cm+2*256+j) = (uint16)b; | ^ gagx.c: In function 'gascat': gagx.c:3403:13: warning: 'cint1' may be used uninitialized [-Wmaybe-uninitialized] 3403 | pcm->rint = cint1; | ~~~~~~~~~~^~~~~~~ gagx.c:3251:34: note: 'cint1' declared here 3251 | gadouble cmin1,cmax1,cmin2,cmax2,cint1,cint2; | ^~~~~ gagx.c:3407:13: warning: 'cint2' may be used uninitialized [-Wmaybe-uninitialized] 3407 | pcm->rint = cint2; | ~~~~~~~~~~^~~~~~~ gagx.c:3251:40: note: 'cint2' declared here 3251 | gadouble cmin1,cmax1,cmin2,cmax2,cint1,cint2; | ^~~~~ gagx.c:3398:27: warning: 'cmask' may be used uninitialized [-Wmaybe-uninitialized] 3398 | if (flag) { c++; cmask++; } | ~~~~~^~ gagx.c:3253:25: note: 'cmask' was declared here 3253 | char *r1mask, *r2mask, *cmask; | ^~~~~ gagx.c:3398:18: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 3398 | if (flag) { c++; cmask++; } | ~^~ gagx.c:3250:21: note: 'c' was declared here 3250 | gadouble *r1, *r2, *c, x, y; | ^ gagx.c:3365:11: warning: 'pgrc' may be used uninitialized [-Wmaybe-uninitialized] 3365 | cmask = pgrc->umask; | ~~~~~~^~~~~~~~~~~~~ gagx.c:3249:30: note: 'pgrc' was declared here 3249 | struct gagrid *pgr1, *pgr2, *pgrc; | ^~~~ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gacfg.o gacfg.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gxX.o gxX.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' gxX.c: In function 'gxevrb': gxX.c:1506:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1506 | if (i1ihi) i2 = ihi; | ^~ gxX.c:1506:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1506 | if (i1ihi) i2 = ihi; | ^~ gxX.c:1507:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1507 | if (j1jhi) j2 = jhi; | ^~ gxX.c:1507:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1507 | if (j1jhi) j2 = jhi; | ^~ gxX.c:1522:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1522 | if (i1ihi) i1 = ihi; | ^~ gxX.c:1522:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1522 | if (i1ihi) i1 = ihi; | ^~ gxX.c:1523:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1523 | if (j1jhi) j1 = jhi; | ^~ gxX.c:1523:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1523 | if (j1jhi) j1 = jhi; | ^~ make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gaio.o gaio.c gaio.c: In function 'gairow': gaio.c:1575:56: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'g2int' {aka 'int'} [-Wformat=] 1575 | snprintf(pout,255,"gairow debug: seek,ifld = %jd %ld\n",seek, ifld); | ~~^ ~~~~ | | | | long int g2int {aka int} | %d gaio.c: In function 'g2read': gaio.c:1867:76: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'g2int' {aka 'int'} [-Wformat=] 1867 | snprintf(pout,255,"GRIB2 I/O Error: Predefined bitmap applies (ibmap=%ld) \n",gfld->ibmap); | ~~^ ~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gaio.c: In function 'gahrow': gaio.c:3022:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 3022 | gaint rc,i,yy,zz; | ^~ gaio.c: In function 'h5setup': gaio.c:3383:16: warning: variable 'dsid' set but not used [-Wunused-but-set-variable] 3383 | hid_t vid=0, dsid, plid, tid; | ^~~~ gaio.c: In function 'h5pattrs': gaio.c:4633:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4633 | if (!err) len = H5Aget_name(aid,0,NULL); if (len<0) err=1; | ^~ gaio.c:4633:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4633 | if (!err) len = H5Aget_name(aid,0,NULL); if (len<0) err=1; | ^~ gaio.c:4635:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4635 | if (!err) aname = (char*)galloc(sz,"aname"); if (aname==NULL) err=1; | ^~ gaio.c:4635:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4635 | if (!err) aname = (char*)galloc(sz,"aname"); if (aname==NULL) err=1; | ^~ gaio.c:4636:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4636 | if (!err) rc = H5Aget_name(aid,len+1,aname); if (rc<0) err=1; | ^~ gaio.c:4636:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4636 | if (!err) rc = H5Aget_name(aid,len+1,aname); if (rc<0) err=1; | ^~ gaio.c:4638:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4638 | if (!err) aspace = H5Aget_space(aid); if (aspace<0) err=1; | ^~ gaio.c:4638:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4638 | if (!err) aspace = H5Aget_space(aid); if (aspace<0) err=1; | ^~ gaio.c:4639:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4639 | if (!err) rank = H5Sget_simple_extent_ndims(aspace); if (rank<0) err=1; | ^~ gaio.c:4639:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4639 | if (!err) rank = H5Sget_simple_extent_ndims(aspace); if (rank<0) err=1; | ^~ gaio.c:4641:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4641 | if (!err) atype = H5Aget_type(aid); if (atype<0) err=1; | ^~ gaio.c:4641:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4641 | if (!err) atype = H5Aget_type(aid); if (atype<0) err=1; | ^~ gaio.c:4642:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4642 | if (!err) aclass = H5Tget_class(atype); if (aclass<0) err=1; | ^~ gaio.c:4642:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4642 | if (!err) aclass = H5Tget_class(atype); if (aclass<0) err=1; | ^~ gaio.c:4643:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4643 | if (!err) asize = H5Tget_size(atype); if (asize<0) err=1; | ^~ gaio.c:4643:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4643 | if (!err) asize = H5Tget_size(atype); if (asize<0) err=1; | ^~ gaio.c:4590:9: warning: variable 'h5id' set but not used [-Wunused-but-set-variable] 4590 | hid_t h5id,vid,dsid,aid,atype=-1,aspace=-1; | ^~~~ gaio.c: In function 'garead': gaio.c:755:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 236 [-Wformat-truncation=] 755 | snprintf(pout,255," Data file name = %s \n",pfi->name); | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/malloc.h:25, from gaio.c:12: In function 'snprintf', inlined from 'garead' at gaio.c:755:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'garead': gaio.c:648:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 236 [-Wformat-truncation=] 648 | snprintf(pout,255," Data file name = %s \n",pfi->name); | ^~ In function 'snprintf', inlined from 'garead' at gaio.c:648:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'gasstn': gaio.c:1182:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 236 [-Wformat-truncation=] 1182 | snprintf(pout,255," Data file name = %s \n",pfi->name); | ^~ In function 'snprintf', inlined from 'gasstn' at gaio.c:1182:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'garstn': gaio.c:1202:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 236 [-Wformat-truncation=] 1202 | snprintf(pout,255," Data file nammake[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' e = %s \n",pfi->name); | ^~ In function 'snprintf', inlined from 'garstn' at gaio.c:1202:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'gancsetup': gaio.c:2389:44: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 239 [-Wformat-truncation=] 2389 | snprintf(pout,255,"Error: Variable %s not in netcdf file\n",pvr->longnm); | ^~ In function 'snprintf', inlined from 'gancsetup' at gaio.c:2389:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 37 and 293 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'gancsetup' at gaio.c:2466:3: /usr/include/bits/stdio2.h:54:10: warning: 'cachesz' may be used uninitialized [-Wmaybe-uninitialized] 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'gancsetup': gaio.c:2364:30: note: 'cachesz' was declared here 2364 | size_t *chsize,nelems,size,cachesz; | ^~~~~~~ gaio.c: In function 'gahrow': gaio.c:3069:57: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 228 [-Wformat-truncation=] 3069 | snprintf(pout,255,"Error: SDselect failed for %s \n",pvr->longnm); | ^~ In function 'snprintf', inlined from 'gahrow' at gaio.c:3069:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 30 and 286 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'gahrow': gaio.c:3105:57: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 228 [-Wformat-truncation=] 3105 | snprintf(pout,255,"Error: SDselect failed for %s \n",pvr->longnm); | ^~ In function 'snprintf', inlined from 'gahrow' at gaio.c:3105:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 30 and 286 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'gahrow': gaio.c:3052:44: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 239 [-Wformat-truncation=] 3052 | snprintf(pout,255,"Error: Variable %s not in HDF-SDS file\n",pvr->longnm); | ^~ In function 'snprintf', inlined from 'gahrow' at gaio.c:3052:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 38 and 294 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'gahrow': gaio.c:3138:53: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 228 [-Wformat-truncation=] 3138 | snprintf(pout,255,"Error: SDselect failed for %s \n",pvr->longnm); | ^~ In function 'snprintf', inlined from 'gahrow' at gaio.c:3138:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 30 and 286 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'hdfpattrs': gaio.c:4398:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 247 [-Wformat-truncation=] 4398 | snprintf(pout,255,"%s String %s ",abbrv,attr_name); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'hdfpattrs' at gaio.c:4398:6: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 10 or more bytes (assuming 265) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'gaopnc': gaio.c:5002:61: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 220 [-Wformat-truncation=] 5002 | snprintf(pout,255,"Error: nc_open failed to open file %s\n",filename); | ^~ In function 'snprintf', inlined from 'gaopnc' at gaio.c:5002:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 37 and 4132 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'gaophdf': gaio.c:5032:77: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 204 [-Wformat-truncation=] 5032 | snprintf(pout,255,"gaophdf error: SDstart failed to open hdf-sds file %s\n",filename); | ^~ In function 'snprintf', inlined from 'gaophdf' at gaio.c:5032:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 53 and 4148 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'gaoph5': gaio.c:5075:58: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 223 [-Wformat-truncation=] 5075 | snprintf(pout,255,"Error: Unable to open HDF5 file %s \n",filename); | ^~ In function 'snprintf', inlined from 'gaoph5' at gaio.c:5075:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 35 and 4130 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'garrow': gaio.c:500:46: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 239 [-Wformat-truncation=] 500 | snprintf(pout,255,"Error: Variable %s not in HDF5 file\n",vname); | ^~ In function 'snprintf', inlined from 'garrow' at gaio.c:500:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 35 and 291 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'gaggrd': gaio.c:260:44: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 239 [-Wformat-truncation=] 260 | snprintf(pout,255,"Error: Variable %s not in HDF5 file\n",vname); | ^~ In function 'snprintf', inlined from 'gaggrd' at gaio.c:260:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 35 and 291 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'gagstn': gaio.c:1018:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 236 [-Wformat-truncation=] 1018 | snprintf(pout,255," Data file name = %s \n",pfi->name); | ^~ In function 'snprintf', inlined from 'gagstn' at gaio.c:1018:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaio.c: In function 'gagstn': gaio.c:961:53: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 236 [-Wformat-truncation=] 961 | snprintf(pout,255," Data file name = %s \n",pfi->name); | ^~ In function 'snprintf', inlined from 'gagstn' at gaio.c:961:15: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gatxt.o gatxt.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gribmap.o gribmap.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gaddes.o gaddes.c gaddes.c: In function 'gaddes': gaddes.c:67:9: warning: variable 'varname' set but not used [-Wunused-but-set-variable] 67 | char *varname,*attrname,*attrtype; | ^~~~~~~ gaddes.c:60:9: warning: variable 'acumstride' set but not used [-Wunused-but-set-variable] 60 | gaint acumstride=0, npairs, idum, reclen; | ^~~~~~~~~~ gaddes.c:58:19: warning: variable 'acumvz' set but not used [-Wunused-but-set-variable] 58 | off_t levs,acum,acumvz,recacm; | ^~~~~~ gaddes.c:52:18: warning: variable 'attrib' set but not used [-Wunused-but-set-variable] 52 | struct gaattr *attrib; | ^~~~~~ gaddes.c: In function 'll2lc': gaddes.c:3422:44: warning: variable 'omega4' set but not used [-Wunused-but-set-variable] 3422 | gadouble pi, pi2, pi4, d2r, r2d, radius, omega4; | ^~~~~~ gaddes.c:3422:31: warning: variable 'r2d' set but not used [-Wunused-but-set-variable] 3422 | gadouble pi, pi2, pi4, d2r, r2d, radius, omega4; | ^~~ gaddes.c:3422:21: warning: variable 'pi4' set but not used [-Wunused-but-set-variable] 3422 | gadouble pi, pi2, pi4, d2r, r2d, radius, omega4; | ^~~ gaddes.c:3422:16: warning: variable 'pi2' set but not used [-Wunused-but-set-variable] 3422 | gadouble pi, pi2, pi4, d2r, r2d, radius, omega4; | ^~~ gaddes.c: In function 'll2eg': gaddes.c:3528:29: warning: variable 'dphi' set but not used [-Wunused-but-set-variable] 3528 | gadouble tlm0d,tph0d,dlam,dphi; | ^~~~ gaddes.c:3528:24: warning: variable 'dlam' set but not used [-Wunused-but-set-variable] 3528 | gadouble tlm0d,tph0d,dlam,dphi; | ^~~~ gaddes.c:3527:21: warning: variable 'earthr' set but not used [-Wunused-but-set-variable] 3527 | gadouble d2r,r2d, earthr; | ^~~~~~ gaddes.c:3527:16: warning: variable 'r2d' set but not used [-Wunused-but-set-variable] 3527 | gadouble d2r,r2d, earthr; | ^~~ gaddes.c: In function 'gaddes': gaddes.c:1071:11: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1071 | fgets(rec,512,descr); | ^~~~~~~~~~~~~~~~~~~~ gaddes.c:1809:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1809 | fread(rec,1,16,mfile); /* minimum map file is 16 bytes */ | ^~~~~~~~~~~~~~~~~~~~~ gaddes.c:1815:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1815 | fread(urec,sizeof(unsigned char),4,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaddes.c:1819:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1819 | fread(urec,sizeof(unsigned char),4,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaddes.c:1827:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1827 | fread(urec,sizeof(unsigned char),4,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaddes.c:1833:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1833 | fread(urec,sizeof(unsigned char),4,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaddes.c:1842:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1842 | fread (&mcnt,sizeof(gaint),1,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaddes.c:1843:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1843 | fread (&maxlv,sizeof(gaint),1,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaddes.c:1852:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1852 | fread (pfi->tstrt,sizeof(gaint),mcnt,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaddes.c:1853:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1853 | fread (pfi->tcnt,sizeof(gaint),mcnt,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaddes.c:1931:65: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 224 [-Wformat-truncation=] 1931 | snprintf(pout,255,"Warning: VECTORPAIRS variables %s,%s were not found \n",var1,var2); | ^~ ~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/malloc.h:25, from gaddes.c:11: In function 'snprintf', inlined from 'gaddes' at gaddes.c:1931:8: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 50 and 560 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaddes.c: In function 'gaddes': gaddes.c:1004:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 223 [-Wformat-truncation=] 1004 | snprintf(pout,255,"Warning: Invalid EDEF syntax in %s -- Changing size of E axis from %d to 1 \n", | ^~ gaddes.c:1004:27: note: directive argument in the range [-2147483648, 0] 1004 | snprintf(pout,255,"Warning: Invalid EDEF syntax in %s -- Changing size of E axis from %d to 1 \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'gaddes' at gaddes.c:1004:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaddes.c: In function 'gaddes': gaddes.c:962:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 223 [-Wformat-truncation=] 962 | snprintf(pout,255,"Warning: Invalid TDEF syntax in %s -- Changing size of T axis from %d to 1 \n", | ^~ gaddes.c:962:27: note: directive argument in the range [-2147483648, 0] 962 | snprintf(pout,255,"Warning: Invalid TDEF syntax in %s -- Changing size of T axis from %d to 1 \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'gaddes' at gaddes.c:962:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaddes.c: In function 'gaddes': gaddes.c:939:60:make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 223 [-Wformat-truncation=] 939 | snprintf(pout,255,"Warning: Invalid ZDEF syntax in %s -- Changing size of Z axis from %d to 1 \n", | ^~ gaddes.c:939:27: note: directive argument in the range [-2147483648, 0] 939 | snprintf(pout,255,"Warning: Invalid ZDEF syntax in %s -- Changing size of Z axis from %d to 1 \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'gaddes' at gaddes.c:939:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaddes.c: In function 'gaddes': gaddes.c:862:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 223 [-Wformat-truncation=] 862 | snprintf(pout,255,"Warning: Invalid YDEF syntax in %s -- Changing size of Y axis from %d to 1 \n", | ^~ gaddes.c:862:27: note: directive argument in the range [-2147483648, 0] 862 | snprintf(pout,255,"Warning: Invalid YDEF syntax in %s -- Changing size of Y axis from %d to 1 \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'gaddes' at gaddes.c:862:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaddes.c: In function 'gaddes': gaddes.c:833:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 223 [-Wformat-truncation=] 833 | snprintf(pout,255,"Warning: Invalid XDEF syntax in %s -- Changing size of X axis from %d to 1 \n", | ^~ gaddes.c:833:27: note: directive argument in the range [-2147483648, 0] 833 | snprintf(pout,255,"Warning: Invalid XDEF syntax in %s -- Changing size of X axis from %d to 1 \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'gaddes' at gaddes.c:833:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gaddes.c: In function 'gaddes': gaddes.c:812:59: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 227 [-Wformat-truncation=] 812 | snprintf(pout,255, " Error opening pdef file: %s\n",pdefnm); | ^~ ~~~~~~ In function 'snprintf', inlined from 'gaddes' at gaddes.c:812:11: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 30 and 285 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gagmap.o gagmap.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' gagmap.c: In function 'gribmap': gagmap.c:77:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 77 | gaint ret,ierr,flag,rcgr,record; | ^~~ gagmap.c: In function 'g2time_check': gagmap.c:1595:45: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'g2int' {aka 'int'} [-Wformat=] 1595 | printf("Product Definition Template %ld not handled \n",gfld->ipdtnum); | ~~^ ~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c: In function 'g2var_match': gagmap.c:1634:41: warning: unused variable 'match' [-Wunused-variable] 1634 | gaint rc1,rc2,rc3,rc4,rc5,rc6,lev_idx,match; | ^~~~~ gagmap.c:1632:27: warning: unused variable 'ul' [-Wunused-variable] 1632 | gadouble lev1,lev2,z,ll,ul; | ^~ gagmap.c:1632:24: warning: unused variable 'll' [-Wunused-variable] 1632 | gadouble lev1,lev2,z,ll,ul; | ^~ gagmap.c: In function 'g2prnt': gagmap.c:1895:16: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'g2int' {aka 'int'} [-Wformat=] 1895 | printf("%d.%ld: ",r,f); | ~~^ ~ | | | | | g2int {aka int} | long int | %d gagmap.c:1898:20: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'g2int' {aka 'int'} [-Wformat=] 1898 | printf("lev1=%ld ",gfld->ipdtmpl[lev_idx]); /* just print the level1 type */ | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1900:20: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'g2int' {aka 'int'} [-Wformat=] 1900 | printf("lev1=%ld,%g ",gfld->ipdtmpl[lev_idx],scaled2dbl(gfld->ipdtmpl[lev_idx+1],gfld->ipdtmpl[lev_idx+2])); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1904:22: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'g2int' {aka 'int'} [-Wformat=] 1904 | printf("lev1=%ld ",gfld->ipdtmpl[lev_idx+3]); /* just print the level2 type */ | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1906:22: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'g2int' {aka 'int'} [-Wformat=] 1906 | printf("lev2=%ld,%g ",gfld->ipdtmpl[lev_idx+3],scaled2dbl(gfld->ipdtmpl[lev_idx+4],gfld->ipdtmpl[lev_idx+5])); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1915:19: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'g2int' {aka 'int'} [-Wformat=] 1915 | printf ("a%ld,%g,%g ",gfld->ipdtmpl[17],ll,ul); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1918:19: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'g2int' {aka 'int'} [-Wformat=] 1918 | printf ("a%ld,%g ",gfld->ipdtmpl[17],ll); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1921:19: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'g2int' {aka 'int'} [-Wformat=] 1921 | printf ("a%ld,%g ",gfld->ipdtmpl[17],ul); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1956:19: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'g2int' {aka 'int'} [-Wformat=] 1956 | printf("var=%ld,%ld,%ld ",gfld->discipline,gfld->ipdtmpl[0],gfld->ipdtmpl[1]); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1956:23: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'g2int' {aka 'int'} [-Wformat=] 1956 | printf("var=%ld,%ld,%ld ",gfld->discipline,gfld->ipdtmpl[0],gfld->ipdtmpl[1]); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1956:27: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'g2int' {aka 'int'} [-Wformat=] 1956 | printf("var=%ld,%ld,%ld ",gfld->discipline,gfld->ipdtmpl[0],gfld->ipdtmpl[1]); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1959:21: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'g2int' {aka 'int'} [-Wformat=] 1959 | printf("var=%ld,%ld,%ld,%d ",gfld->discipline,gfld->ipdtmpl[0], gfld->ipdtmpl[1],sp); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1959:25: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'g2int' {aka 'int'} [-Wformat=] 1959 | printf("var=%ld,%ld,%ld,%d ",gfld->discipline,gfld->ipdtmpl[0], gfld->ipdtmpl[1],sp); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1959:29: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'g2int' {aka 'int'} [-Wformat=] 1959 | printf("var=%ld,%ld,%ld,%d ",gfld->discipline,gfld->ipdtmpl[0], gfld->ipdtmpl[1],sp); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1961:21: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'g2int' {aka 'int'} [-Wformat=] 1961 | printf("var=%ld,%ld,%ld,%d,%d ",gfld->discipline,gfld->ipdtmpl[0], gfld->ipdtmpl[1],sp,sp2); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1961:25: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'g2int' {aka 'int'} [-Wformat=] 1961 | printf("var=%ld,%ld,%ld,%d,%d ",gfld->discipline,gfld->ipdtmpl[0], gfld->ipdtmpl[1],sp,sp2); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c:1961:29: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'g2int' {aka 'int'} [-Wformat=] 1961 | printf("var=%ld,%ld,%ld,%d,%d ",gfld->discipline,gfld->ipdtmpl[0], gfld->ipdtmpl[1],sp,sp2); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long int g2int {aka int} | %d gagmap.c: In function 'gaseekgb': gagmap.c:2004:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 2004 | g2int ret; | ^~~ make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gasdf.o gasdf.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' gasdf.c: In function 'read_metadata': gasdf.c:2208:18: warning: the comparison will always evaluate as 'false' for the address of 'name' will never be NULL [-Waddress] 2208 | if ((pfi->name == NULL) || (strlen (pfi->name) == 0)) return Failure; | ^~ In file included from gasdf.c:32: grads.h:348:8: note: 'name' declared here 348 | char name[4096]; /* File name or URL */ | ^~~~ gasdf.c: In function 'decode_standard_time': gasdf.c:2106:27: warning: 'int_len' may be used uninitialized [-Wmaybe-uninitialized] 2106 | sscanf (&str1[int_len - 2], "%g", sec); | ~~~~~~~~^~~ gasdf.c:2085:15: note: 'int_len' was declared here 2085 | gaint i,slen,int_len; | ^~~~~~~ gasdf.c: In function 'read_metadata': gasdf.c:2401:5: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 2401 | strncpy(pvar->longnm,name,len+1); | ^ gasdf.c:2400:11: note: length computed here 2400 | len = strlen(name); | ^~~~~~~~~~~~ gasdf.c: In function 'gasdfopen': gasdf.c:86:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 86 | strncpy(pfi->name,pathname,len); | ^ gasdf.c:85:7: note: length computed here 85 | len=strlen(pathname); | ^~~~~~~~~~~~~~~~ gasdf.c:87:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 87 | strncpy(pfi->dnam,pathname,len); | ^ gasdf.c:85:7: note: length computed here 85 | len=strlen(pathname); | ^~~~~~~~~~~~~~~~ gasdf.c:113:31: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 246 [-Wformat-truncation=] 113 | snprintf(pout,255,"SDF file %s is open as file %i\n",pfi->name,pcm->fnum); | ^~ gasdf.c:113:21: note: directive argument in the range [-2147483647, 2147483647] 113 | snprintf(pout,255,"SDF file %s is open as file %i\n",pfi->name,pcm->fnum); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from gasdf.c:28: In function 'snprintf', inlined from 'gasdfopen' at gasdf.c:113:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 29 and 4134 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gasdf.c: In function 'gaxdfopen': gasdf.c:165:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 165 | strncpy(pfi->dnam,pathname,len); | ^ gasdf.c:164:9: note: length computed here 164 | len = strlen(pathname); | ^~~~~~~~~~~~~~~~ gasdf.c:230:34: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 246 [-Wformat-truncation=] 230 | snprintf(pout,255, "SDF file %s is open as file %i\n", pfi->name, pcm->fnum); | ^~ In function 'snprintf', inlined from 'gaxdfopen' at gasdf.c:230:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 29 and 4134 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gasdf.c: In function 'gaxdfopen': gasdf.c:209:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 235 [-Wformat-truncation=] 209 | snprintf(pout,255, "SDF Descriptor file %s was not successfully opened & parsed.\n", pfi->dnam) ; | ^~ In function 'snprintf', inlined from 'gaxdfopen' at gasdf.c:209:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 60 and 4155 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTNDALN -o gautil.sa.o -c ./gautil.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' ./gautil.c: In function 'nxrdln': ./gautil.c:85:12: warning: variable 'ch2' set but not used [-Wunused-but-set-variable] 85 | char *ch, *ch2; | ^~~ ./gautil.c: In function 'adtprs': ./gautil.c:408:7: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 408 | char *pos; | ^~~ ./gautil.c: In function 'rdtprs': ./gautil.c:530:7: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 530 | char *pos; | ^~~ ./gautil.c: In function 'getwrd': ./gautil.c:1080:7: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 1080 | char *ch; | ^~ ./gautil.c: In function 'gafndt': ./gautil.c:1566:11: warning: variable 'stim' set but not used [-Wunused-but-set-variable] 1566 | struct dt stim; | ^~~~ ./gautil.c: In function 'dimprs': ./gautil.c:914:14: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized] 914 | *d = v + pfi->dimoff[*dim]; /* straight override of fixed dimension value */ | ~~^~~~~~~~~~~~~~~~~~~ ./gautil.c:815:17: note: 'v' was declared here 815 | gadouble *cvals,v; | ^ make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gxeps.o gxeps.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' gxeps.c: In function 'drawline': gxeps.c:1214:22: warning: variable 'j' set but not used [-Wunused-but-set-variable] 1214 | register int i,im,j,colum; | ^ gxeps.c: In function 'fillline': gxeps.c:1376:10: warning: variable 'j' set but not used [-Wunused-but-set-variable] 1376 | int j,colum; | ^ gxeps.c: In function 'main': gxeps.c:519:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 519 | fread (&cmd , sizeof(short), 1, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:524:7: note: in expansion of macro 'RDSTREAM' 524 | RDSTREAM(opts,2) | ^~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:556:7: note: in expansion of macro 'RDSTREAM' 556 | RDSTREAM(opts,2) | ^~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:577:7: note: in expansion of macro 'RDSTREAM' 577 | RDSTREAM(opts,2) | ^~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:594:7: note: in expansion of macro 'RDSTREAM' 594 | RDSTREAM(opts,1) | ^~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:605:7: note: in expansion of macro 'RDSTREAM' 605 | RDSTREAM(opts,1) | ^~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:623:7: note: in expansion of macro 'RDSTREAM' 623 | RDSTREAM(opts,4) | ^~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:657:7: note: in expansion of macro 'RDSTREAM' 657 | RDSTREAM(opts,2); | ^~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:680:7: note: in expansion of macro 'RDSTREAM' 680 | RDSTREAM(&cmd,1) | ^~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:701:7: note: in expansion of macro 'RDSTREAM' 701 | RDSTREAM(opts,4); | ^~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:727:9: note: in expansion of macro 'RDSTREAM' 727 | RDSTREAM(opts,1) | ^~~~~~~~ gxeps.c:732:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 732 | fread (pnts2, sizeof(struct point), i, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:755:7: note: in expansion of macro 'RDSTREAM' 755 | RDSTREAM(opts,4) | ^~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:794:7: note: in expansion of macro 'RDSTREAM' 794 | RDSTREAM(opts,8) | ^~~~~~~~ gxeps.c:804:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 804 | fread(string,sizeof(short),(opts[0])/sizeof(short)+2,infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:849:9: note: in expansion of macro 'RDSTREAM' 849 | RDSTREAM(opts,1) | ^~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:864:9: note: in expansion of macro 'RDSTREAM' 864 | RDSTREAM(opts,5) | ^~~~~~~~ gxeps.c:367:28: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | #define RDSTREAM(var,num) fread (var , sizeof(short), num, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxeps.c:885:7: note: in expansion of macro 'RDSTREAM' 885 | RDSTREAM(opts,1) | ^~~~~~~~ gxeps.c: In function 'initepsf': gxeps.c:986:11: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 986 | fgets(buf,130,stdin); | ^~~~~~~~~~~~~~~~~~~~ gxeps.c: In function 'init_newpage': gxeps.c:1195:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1195 | fgets(buf,130,stdin); | ^~~~~~~~~~~~~~~~~~~~ gxeps.c: In function 'openfiles': gxeps.c:1619:6: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1619 | fgets(*fin,150,stdin); | ^~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gxps.o gxps.c gxps.c: In function 'main': gxps.c:64:14: warning: variable 'lwide' set but not used [-Wunused-but-set-variable] 64 | int lcolor=0,lwide,sflag=0,fflag=0,fcnt,ccnt,filflg=0,scnt=0,a4flag,bdflag; | ^~~~~ gxps.c:165:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 165 | fread (opts , sizeof(short), 1, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxps.c:182:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 182 | fread ((char *)opts, sizeof(short), 2, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxps.c:222:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | fread ((char *)opts, sizeof(short), 1, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxps.c:246:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 246 | fread ((char *)opts, sizeof(short), 2, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxps.c:258:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 258 | fread ((char *)opts, sizeof(short), 4, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxps.c:288:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 288 | fread ((char *)opts, sizeof(short), 4, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxps.c:333:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 333 | fread ((char *)opts, sizeof(short), 1, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxps.c:366:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 366 | fread ((char *)opts, sizeof(short), 2, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxps.c:383:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 383 | fread (opts, sizeof(short), 2, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxps.c:416:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 416 | fread ((char *)opts, sizeof(short), 1, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o stnmap.o stnmap.c stnmap.c: In function 'skstn': stnmap.c:394:55: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] 394 | printf (" Error occurred when seeking to byte %lld \n",fpos); | ~~~^ ~~~~ | | | | | off_t {aka long int} | long long int | %ld stnmap.c: In function 'rdstn': stnmap.c:408:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 408 | printf (" Error reading %i bytes at location %lld \n", siz, fpos); | ~~~^ ~~~~ | | | | | off_t {aka long int} | long long int | %ld stnmap.c: In function 'main': stnmap.c:340:5: warning: 'strncpy' output truncated before terminating nul copying 16 bytes from a string of the same length [-Wstringop-truncation] 340 | strncpy(rec,"GrADS_stnmapV002",16); | ^ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gribscan.o gribscan.c gribscan.c: In function 'main': gribscan.c:385:41: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] 385 | if (verb) printf("the header is %lld bytes long\n",fpos); | ~~~^ ~~~~ | | | | long long int off_t {aka long int} | %ld gribscan.c: In function 'gribhdr': gribscan.c:998:36: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 998 | printf(",BDS,%d,%10g,%d,%lld,%d",ghdr->bnum,ghdr->ref,npts,cposis,ghdr->len); | ~~~^ ~~~~~~ | | | | long long int off_t {aka long int} | %ld gribscan.c:1000:44: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 1000 | printf(" BDS % 3d %10g % 10d % 10lld % 10d",ghdr->bnum,ghdr->ref,npts,cposis,ghdr->len); | ~~~~~~^ ~~~~~~ | | | | long long int off_t {aka long int} | % 10ld gribscan.c:1003:33: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 1003 | printf(", B ,%2d,%g,%d,%lld,%d",ghdr->bnum,ghdr->ref,npts,cposis,ghdr->len); | ~~~^ ~~~~~~ | | | | long long int off_t {aka long int} | %ld gribscan.c:1109:9: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 1109 | strncpy((char*)gd.es,"7777",4); | ^ gribscan.c:1198:9: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 1198 | strncpy((char*)gd.es,"7777",4); | ^ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o bufrscan.o bufrscan.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gxtran.o gxtran.c gxtran.c: In function 'main': gxtran.c:48:27: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 48 | int cont,xyc,lcolor,fflag,fcnt; | ^~~~ gxtran.c:123:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | fread ((char *)opts, sizeof(short), 2, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxtran.c:146:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | fread ((char *)opts, sizeof(short), 1, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxtran.c:171:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 171 | fread ((char *)opts, sizeof(short), 2, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxtran.c:181:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 181 | fread ((char *)opts, sizeof(short), 4, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxtran.c:191:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | fread ((char *)opts, sizeof(short), 4, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxtran.c:203:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 203 | fread ((char *)opts, sizeof(short), 1, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxtran.c:221:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 221 | fread ((char *)opts, sizeof(short), 2, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxtran.c:235:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 235 | fread ((char *)opts, sizeof(short), 2, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gxtran.c:247:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 247 | fread ((char *)opts, sizeof(short), 1, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTNDALN -o gxmeta.sa.o -c ./gxmeta.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DSTNDALN -o gaddes.sa.o -c ./gaddes.c ./gaddes.c: In function 'gaddes': ./gaddes.c:67:9: warning: variable 'varname' set but not used [-Wunused-but-set-variable] 67 | char *varname,*attrname,*attrtype; | ^~~~~~~ ./gaddes.c:60:9: warning: variable 'acumstride' set but not used [-Wunused-but-set-variable] 60 | gaint acumstride=0, npairs, idum, reclen; | ^~~~~~~~~~ ./gaddes.c:58:19: warning: variable 'acumvz' set but not used [-Wunused-but-set-variable] 58 | off_t levs,acum,acumvz,recacm; | ^~~~~~ ./gaddes.c:52:18: warning: variable 'attrib' set but not used [-Wunused-but-set-variable] 52 | struct gaattr *attrib; | ^~~~~~ ./gaddes.c: In function 'll2lc': ./gaddes.c:3422:44: warning: variable 'omega4' set but not used [-Wunused-but-set-variable] 3422 | gadouble pi, pi2, pi4, d2r, r2d, radius, omega4; | ^~~~~~ ./gaddes.c:3422:31: warning: variable 'r2d' set but not used [-Wunused-but-set-variable] 3422 | gadouble pi, pi2, pi4, d2r, r2d, radius, omega4; | ^~~ ./gaddes.c:3422:21: warning: variable 'pi4' set but not used [-Wunused-but-set-variable] 3422 | gadouble pi, pi2, pi4, d2r, r2d, radius, omega4; | ^~~ ./gaddes.c:3422:16: warning: variable 'pi2' set but not used [-Wunused-but-set-variable] 3422 | gadouble pi, pi2, pi4, d2r, r2d, radius, omega4; | ^~~ ./gaddes.c: In function 'll2eg': ./gaddes.c:3528:29: warning: variable 'dphi' set but not used [-Wunused-but-set-variable] 3528 | gadouble tlm0d,tph0d,dlam,dphi; | ^~~~ ./gaddes.c:3528:24: warning: variable 'dlam' set but not used [-Wunused-but-set-variable] 3528 | gadouble tlm0d,tph0d,dlam,dphi; | ^~~~ ./gaddes.c:3527:21: warning: variable 'earthr' set but not used [-Wunused-but-set-variable] 3527 | gadouble d2r,r2d, earthr; | ^~~~~~ ./gaddes.c:3527:16: warning: variable 'r2d' set but not used [-Wunused-but-set-variable] 3527 | gadouble d2r,r2d, earthr; | ^~~ ./gaddes.c: In function 'gaddes': ./gaddes.c:1071:11: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1071 | fgets(rec,512,descr); | ^~~~~~~~~~~~~~~~~~~~ ./gaddes.c:1809:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1809 | fread(rec,1,16,mfile); /* minimum map file is 16 bytes */ | ^~~~~~~~~~~~~~~~~~~~~ ./gaddes.c:1815:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1815 | fread(urec,sizeof(unsigned char),4,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gaddes.c:1819:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1819 | fread(urec,sizeof(unsigned char),4,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gaddes.c:1827:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1827 | fread(urec,sizeof(unsigned char),4,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gaddes.c:1833:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1833 | fread(urec,sizeof(unsigned char),4,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gaddes.c:1842:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1842 | fread (&mcnt,sizeof(gaint),1,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gaddes.c:1843:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1843 | fread (&maxlv,sizeof(gaint),1,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gaddes.c:1852:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1852 | fread (pfi->tstrt,sizeof(gaint),mcnt,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gaddes.c:1853:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1853 | fread (pfi->tcnt,sizeof(gaint),mcnt,mfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gaddes.c:1931:65: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 224 [-Wformat-truncation=] 1931 | snprintf(pout,255,"Warning: VECTORPAIRS variables %s,%s were not found \n",var1,var2); | ^~ ~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/malloc.h:25, from ./gaddes.c:11: In function 'snprintf', inlined from 'gaddes' at ./gaddes.c:1931:8: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 50 and 560 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./gaddes.c: In function 'gaddes': ./gaddes.c:1004:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 223 [-Wformat-truncation=] 1004 | snprintf(pout,255,"Warning: Invalid EDEF syntax in %s -- Changing size of E axis from %d to 1 \n", | ^~ ./gaddes.c:1004:27: note: directive argument in the range [-2147483648, 0] 1004 | snprintf(pout,255,"Warning: Invalid EDEF syntax in %s -- Changing size of E axis from %d to 1 \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'gaddes' at ./gaddes.c:1004:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./gaddes.c: In function 'gaddes': ./gaddes.c:962:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 223 [-Wformat-truncation=] 962 | snprintf(pout,255,"Warning: Invalid TDEF syntax in %s -- Changing size of T axis from %d to 1 \n", | ^~ ./gaddes.c:962:27: note: directive argument in the range [-2147483648, 0] 962 | snprintf(pout,255,"Warning: Invalid TDEF syntax in %s -- Changing size of T axis from %d to 1 \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'gaddes' at ./gaddes.c:962:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' ~~~~~~~~~~~~~~~~~ ./gaddes.c: In function 'gaddes': ./gaddes.c:939:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 223 [-Wformat-truncation=] 939 | snprintf(pout,255,"Warning: Invalid ZDEF syntax in %s -- Changing size of Z axis from %d to 1 \n", | ^~ ./gaddes.c:939:27: note: directive argument in the range [-2147483648, 0] 939 | snprintf(pout,255,"Warning: Invalid ZDEF syntax in %s -- Changing size of Z axis from %d to 1 \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'gaddes' at ./gaddes.c:939:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./gaddes.c: In function 'gaddes': ./gaddes.c:862:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 223 [-Wformat-truncation=] 862 | snprintf(pout,255,"Warning: Invalid YDEF syntax in %s -- Changing size of Y axis from %d to 1 \n", | ^~ ./gaddes.c:862:27: note: directive argument in the range [-2147483648, 0] 862 | snprintf(pout,255,"Warning: Invalid YDEF syntax in %s -- Changing size of Y axis from %d to 1 \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'gaddes' at ./gaddes.c:862:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./gaddes.c: In function 'gaddes': ./gaddes.c:833:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 223 [-Wformat-truncation=] 833 | snprintf(pout,255,"Warning: Invalid XDEF syntax in %s -- Changing size of X axis from %d to 1 \n", | ^~ ./gaddes.c:833:27: note: directive argument in the range [-2147483648, 0] 833 | snprintf(pout,255,"Warning: Invalid XDEF syntax in %s -- Changing size of X axis from %d to 1 \n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'gaddes' at ./gaddes.c:833:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./gaddes.c: In function 'gaddes': ./gaddes.c:812:59: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 227 [-Wformat-truncation=] 812 | snprintf(pout,255, " Error opening pdef file: %s\n",pdefnm); | ^~ ~~~~~~ In function 'snprintf', inlined from 'gaddes' at ./gaddes.c:812:11: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 30 and 285 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o grib2scan.o grib2scan.c grib2scan.c: In function 'sect4': grib2scan.c:400:24: warning: variable 'var4' set but not used [-Wunused-but-set-variable] 400 | gaint var1,var2,var3,var4,var5,numtr,pos1,pos2; | ^~~~ grib2scan.c:400:9: warning: variable 'var1' set but not used [-Wunused-but-set-variable] 400 | gaint var1,var2,var3,var4,var5,numtr,pos1,pos2; | ^~~~ grib2scan.c:397:36: warning: unused variable 'llval2' [-Wunused-variable] 397 | gaint ptyp,llsf,llval,ulsf,ulval,llval2,i; | ^~~~~~ grib2scan.c:395:23: warning: unused variable 'begt' [-Wunused-variable] 395 | struct dt reft,fcst,begt,endt; | ^~~~ grib2scan.c: In function 'sect5': grib2scan.c:717:19: warning: variable 'otype' set but not used [-Wunused-but-set-variable] 717 | gaint e,d,nbits,otype; | ^~~~~ grib2scan.c:717:13: warning: variable 'nbits' set but not used [-Wunused-but-set-variable] 717 | gaint e,d,nbits,otype; | ^~~~~ grib2scan.c:717:11: warning: variable 'd' set but not used [-Wunused-but-set-variable] 717 | gaint e,d,nbits,otype; | ^ grib2scan.c:717:9: warning: variable 'e' set but not used [-Wunused-but-set-variable] 717 | gaint e,d,nbits,otype; | ^ grib2scan.c:716:11: warning: variable 'r' set but not used [-Wunused-but-set-variable] 716 | gafloat r; | ^ make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o wgrib.o wgrib.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' wgrib.c: In function 'main': wgrib.c:1059:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1059 | else if (gds && GDS_Harmonic(gds)) | ^~ wgrib.c:1063:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1063 | if (gds && GDS_Harmonic_type(gds) == 1) | ^~ wgrib.c: In function 'EC_ext': wgrib.c:10838:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 10838 | else | ^~~~ wgrib.c:10839:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 10839 | strcpy(string, "Perturbed forecasts"); break; | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64/hdf/ -L/usr/lib64 -o gxps gxps.o -L..//lib -lm -lreadline make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64/hdf/ -L/usr/lib64 -o gxeps gxeps.o -L..//lib -lm -lreadline make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -DH5_USE_110_API -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gauser.o gauser.c gauser.c: In function 'gaqury': gauser.c:3016:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3016 | for (i=0;invardims;i++) printf("%-4d ",pvar->vardimids[i]); printf("\n"); | ^~~ gauser.c:3016:76: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3016 | for (i=0;invardims;i++) printf("%-4d ",pvar->vardimids[i]); printf("\n"); | ^~~~~~ gauser.c:2621:6: warning: unused variable 'dimname' [-Wunused-variable] 2621 | char dimname[256]; | ^~~~~~~ gauser.c: In function 'gadspl': gauser.c:4350:13: warning: variable 'rcode' set but not used [-Wunused-but-set-variable] 4350 | gaint llen, rcode, labsv; | ^~~~~ gauser.c: In function 'gahistory': gauser.c:7284:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 7284 | if(com) | ^~ gauser.c:7287:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 7287 | if(read_history(com)) { | ^~ gauser.c: In function 'gacmd': gauser.c:132:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | system(com+1); | ^~~~~~~~~~~~~ gauser.c: In function 'prntgaattr': gauser.c:7193:68: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 210 and 220 [-Wformat-truncation=] 7193 | snprintf(pout,255,"Descriptor Attributes for File %i : %s \n",fnum,pfi->title); | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/malloc.h:25, from gauser.c:11: In function 'snprintf', inlined from 'prntgaattr' at gauser.c:7193:6: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 38 and 559 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'prntgaattr': gauser.c:7204:35: warning: '%s' directive output may be truncated writing up to 128 bytes into a region of size between 126 and 254 [-Wformat-truncation=] 7204 | snprintf(pout,255,"%s %s %s ",attr->varname,attr->type,attr->name); | ^~ In function 'snprintf', inlined from 'prntgaattr' at gauser.c:7204:6: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 4 and 388 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'prntgaattr': gauser.c:7199:35: warning: '%s' directive output may be truncated writing up to 128 bytes into a region of size between 126 and 254 [-Wformat-truncation=] 7199 | snprintf(pout,255,"%s %s %s %s\n", | ^~ In function 'snprintf', inlined from 'prntgaattr' at gauser.c:7199:6: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 5 or more bytes (assuming 389) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'sdfwatt': gauser.c:7455:73: warning: '%s' directive output may be truncated writing up to 128 bytes into a region of size between 88 and 216 [-Wformat-truncation=] 7455 | snprintf(pout,255,"sdfwatt error from nc_put_att_double (%s %s): \n ", | ^~ In function 'snprintf', inlined from 'sdfwatt' at gauser.c:7455:6: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 45 and 301 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'sdfwatt': gauser.c:7445:72: warning: '%s' directive output may be truncated writing up to 128 bytes into a region of size between 89 and 217 [-Wformat-truncation=] 7445 | snprintf(pout,255,"sdfwatt error from nc_put_att_float (%s %s): \n ", | ^~ In function 'snprintf', inlined from 'sdfwatt' at gauser.c:7445:6: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 44 and 300 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'sdfwatt': gauser.c:7435:71: warning: '%s' directive output may be truncated writing up to 128 bytes into a region of size between 90 and 218 [-Wformat-truncation=] 7435 | snprintf(pout,255,"sdfwatt error from nc_put_att_long (%s %s): \n ", | ^~ In function 'snprintf', inlined from 'sdfwatt' at gauser.c:7435:6: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 43 and 299 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'sdfwatt': gauser.c:7425:72: warning: '%s' directive output may be truncated writing up to 128 bytes into a region of size between 89 and 217 [-Wformat-truncation=] 7425 | snprintf(pout,255,"sdfwatt error from nc_put_att_short (%s %s): \n ", | ^~ In function 'snprintf', inlined from 'sdfwatt' at gauser.c:7425:6: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 44 and 300 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' ); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'sdfwatt': gauser.c:7415:71: warning: '%s' directive output may be truncated writing up to 128 bytes into a region of size between 90 and 218 [-Wformat-truncation=] 7415 | snprintf(pout,255,"sdfwatt error from nc_put_att_text (%s %s): \n ", | ^~ In function 'snprintf', inlined from 'sdfwatt' at gauser.c:7415:6: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 43 and 299 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaqury': gauser.c:4011:65: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 207 and 217 [-Wformat-truncation=] 4011 | snprintf(pout,255,"No Descriptor Attributes for File %i : %s \n\n",fnum,pfi->title); | ^~ In function 'snprintf', inlined from 'gaqury' at gauser.c:4011:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 42 and 563 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaqury': gauser.c:4204:61: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 211 and 221 [-Wformat-truncation=] 4204 | snprintf(pout,255,"No Native Attributes for File %i : %s \n",fnum,pfi->title); | ^~ In function 'snprintf', inlined from 'gaqury' at gauser.c:4204:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 37 and 558 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaqury': gauser.c:3946:38: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 237 and 246 [-Wformat-truncation=] 3946 | snprintf(pout,255,"File %i : %s\n",j,pfi->title); | ^~ In function 'snprintf', inlined from 'gaqury' at gauser.c:3946:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 11 and 531 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaqury': gauser.c:3948:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 241 [-Wformat-truncation=] 3948 | snprintf(pout,255," Descriptor: %s\n",pfi->dnam); | ^~ In function 'snprintf', inlined from 'gaqury' at gauser.c:3948:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaqury': gauser.c:3950:38: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 245 [-Wformat-truncation=] 3950 | snprintf(pout,255," Binary: %s\n",pfi->name); | ^~ In function 'snprintf', inlined from 'gaqury' at gauser.c:3950:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 12 and 4107 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaqury': gauser.c:3751:34: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 236 and 246 [-Wformat-truncation=] 3751 | snprintf(pout,255,"File %i : %s\n",fnum,pfi->title); | ^~ In function 'snprintf', inlined from 'gaqury' at gauser.c:3751:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 11 and 532 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaqury': gauser.c:3753:38: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 241 [-Wformat-truncation=] 3753 | snprintf(pout,255," Descriptor: %s\n",pfi->dnam); | ^~ In function 'snprintf', inlined from 'gaqury' at gauser.c:3753:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaqury': gauser.c:3755:34: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 245 [-Wformat-truncation=] 3755 | snprintf(pout,255," Binary: %s\n",pfi->name); | ^~ In function 'snprintf', inlined from 'gaqury' at gauser.c:3755:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 12 and 4107 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaqury': gauser.c:3583:29: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 250 [-Wformat-truncation=] 3583 | snprintf(pout,255,"dset %s\n",pfi->name); | ^~ In function 'snprintf', inlined from 'gaqury' at gauser.c:3583:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 7 and 4102 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaqury': gauser.c:3585:30: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 249 [-Wformat-truncation=] 3585 | snprintf(pout,255,"title %s\n",pfi->title); | ^~ In function 'snprintf', inlined from 'gaqury' at gauser.c:3585:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 8 and 519 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaqury': gauser.c:3243:35: warning: '%s' directive output may be truncated writing up to 128 bytes into a region of size between 124 and 252 [-Wformat-truncation=] 3243 | snprintf(pout,255," %s %s %s ",attr->varname,attr->type,attr->name); | ^~ In function 'snprintf', inlined from 'gaqury' at gauser.c:3243:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 6 and 390 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaqury': gauser.c:3238:35: warning: '%s' directive output may be truncated writing up to 128 bytes into a region of size between 124 and 252 [-Wformat-truncation=] 3238 | snprintf(pout,255," %s %s %s %s\n", | ^~ In function 'snprintf', inlined from 'gaqury' at gauser.c:3238:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 7 or more bytes (assuming 391) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaset': gauser.c:6797:25: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=] 6797 | snprintf(pat,5,"%s","solid"); | ^ In function 'snprintf', inlined from 'gaset' at gauser.c:6797:7: /usr/include/bits/stdio2.h:54:10: note: 'snprintf' output 6 bytes into a destination of size 5 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaset': gauser.c:6385:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 234 [-Wformat-truncation=] 6385 | snprintf(pout,255,"Default file set to: %s \n",pfi->name); | ^~ In function 'snprintf', inlined from 'gaset' at gauser.c:6385:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 24 and 4119 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaset': gauser.c:6356:77: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 197 and 207 [-Wformat-truncation=] 6356 | snprintf(pout,255,"Output undef value copied from default file %d : %s \n",id,pfi->dnam); | ^~ In function 'snprintf', inlined from 'gaset' at gauser.c:6356:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 51 and 4156 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaset': gauser.c:6337:71: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 205 and 215 [-Wformat-truncation=] 6337 | snprintf(pout,255,"Output undef value copied from file %d : %s \n",id,pfi->dnam); | ^~ In function 'snprintf', inlined from 'gaset' at gauser.c:6337:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 43 and 4148 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaopen': gauser.c:6984:32: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 245 [-Wformat-truncation=] 6984 | snprintf(pout,255,"Data file %s is open as file %i\n",pfi->name,pcm->fnum); | ^~ gauser.c:6984:21: note: directive argument in the range [-2147483647, 2147483647] 6984 | snprintf(pout,255,"Data file %s is open as file %i\n",pfi->name,pcm->fnum); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'gaopen' at gauser.c:6984:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 30 and 4135 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gauser.c: In function 'gaopen': gauser.c:7021:59: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 222 [-Wformat-truncation=] 7021 | snprintf(pout,255,"WARNING: The use of PDEF FILE in %s \n",pfi->dnam); | ^~ In function 'snprintf', inlined from 'gaopen' at gauser.c:7021:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 36 and 4131 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64/hdf/ -L/usr/lib64 -o gribscan gribscan.o gamach.o galloc.o gautil.sa.o gatxt.o -L..//lib -lm -lreadline make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64/hdf/ -L/usr/lib64 -o wgrib wgrib.o -L..//lib -lm -lreadline make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64/hdf/ -L/usr/lib64 -o bufrscan bufrscan.o gabufr.o gabufrtbl.o gamach.o -L..//lib -lm -lreadline make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64/hdf/ -L/usr/lib64 -o gribmap gribmap.o gagmap.o gamach.o galloc.o gaddes.sa.o gautil.sa.o gatxt.o -L..//lib -lg2c_v1.6.3 -ljasper -lpng -lz -lm -lreadline make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64/hdf/ -L/usr/lib64 -o grib2scan grib2scan.o gamach.o galloc.o gautil.sa.o gatxt.o -L..//lib -lg2c_v1.6.3 -ljasper -lpng -lz -lm -lreadline make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64/hdf/ -L/usr/lib64 -o stnmap stnmap.o gamach.o galloc.o gaddes.sa.o gautil.sa.o gatxt.o -L..//lib -lm -lreadline make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64/hdf/ -L/usr/lib64 -o gxtran gxtran.o gxsubs.o gxchpl.o gxX.o gxdxwd.o galloc.o gxmeta.sa.o -L..//lib -lgd -lpng -lz -lX11 -lm -lreadline make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64/hdf/ -L/usr/lib64 -o grads grads.o gxsubs.o gxmeta.o gxchpl.o gxcntr.o gxstrm.o gxwmap.o gxshad.o gxshad2.o gaexpr.o gafunc.o gautil.o gagx.o gscrpt.o gamach.o bufrstn.o gabufr.o gabufrtbl.o gxX.o gxdxwd.o galloc.o gaddes.o gaio.o gacfg.o gauser.o gasdf.o gatxt.o -L..//lib -lX11 -lgd -lpng -lz -lg2c_v1.6.3 -ljasper -lpng -lz -lmfhdf -ldf -ljpeg -lz -lsz -ludunits2 -lhdf5 -ljpeg -lz -lsz -lnetcdf -ludunits2 -lgeotiff -ltiff -lshp -lm -lreadline make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[1]: Nothing to be done for 'all-am'. + rm -rf __dist_docs + mkdir __dist_docs + cp -a doc __dist_docs/html + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Xq2NKk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd grads-2.0.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/bin' /usr/bin/install -p grads gribmap gxeps gxps stnmap wgrib gribscan bufrscan gxtran grib2scan '/builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[1]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/grads-2.0.2' make[2]: Entering directory '/builddir/build/BUILD/grads-2.0.2' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2' make[1]: Leaving directory '/builddir/build/BUILD/grads-2.0.2' + /usr/bin/install -d -m755 /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/share/grads + /usr/bin/install -p -m644 data/font0.dat data/font1.dat data/font2.dat data/font3.dat data/font5.dat data/udunits.dat data/hires data/lowres data/mres /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/share/grads + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.0.2-41.fc37 --unique-debug-suffix -2.0.2-41.fc37.riscv64 --unique-debug-src-base grads-2.0.2-41.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/grads-2.0.2 extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/bin/bufrscan extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/bin/grib2scan extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/bin/grads extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/bin/gribmap extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/bin/gribscan extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/bin/gxeps extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/bin/gxps extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/bin/gxtran extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/bin/stnmap extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/bin/wgrib original debug info size: 13268kB, size after compression: 12904kB /usr/bin/sepdebugcrcfix: Updated 10 CRC32s, 0 CRC32s did match. 5207 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: grads-2.0.2-41.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EuBvjR + umask 022 + cd /builddir/build/BUILD + cd grads-2.0.2 + DOCDIR=/builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/share/doc/grads + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/share/doc/grads + cp -pr __dist_docs/html /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/share/doc/grads + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qXYyJd + umask 022 + cd /builddir/build/BUILD + cd grads-2.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/share/licenses/grads + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/share/licenses/grads + cp -pr COPYRIGHT /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64/usr/share/licenses/grads + RPM_EC=0 ++ jobs -p + exit 0 Provides: grads = 2.0.2-41.fc37 grads(riscv-64) = 2.0.2-41.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libdf.so.0()(64bit) libgd.so.3()(64bit) libgeotiff.so.5()(64bit) libhdf5.so.200()(64bit) libjasper.so.6()(64bit) libjpeg.so.62()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libmfhdf.so.0()(64bit) libnetcdf.so.19()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libreadline.so.8()(64bit) libshp.so.2()(64bit) libsz.so.2()(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) libudunits2.so.0()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: grads-debugsource-2.0.2-41.fc37.riscv64 Provides: grads-debugsource = 2.0.2-41.fc37 grads-debugsource(riscv-64) = 2.0.2-41.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: grads-debuginfo-2.0.2-41.fc37.riscv64 Provides: debuginfo(build-id) = 047719b176a07b4e4698d5683c6c4a53e7263597 debuginfo(build-id) = 169ce97efaea6360182fff9cf08f73001709d9d0 debuginfo(build-id) = 2e227c2461dc94180bedef5fff9228b88937f1c0 debuginfo(build-id) = 5314e02f8fbde1d665937eda213e11edfa470cee debuginfo(build-id) = 74570af37ab5d9b60009a6c08ceec6a961083c7b debuginfo(build-id) = 96340859592a7cd62b28574ad9f96a06f502e772 debuginfo(build-id) = a0e65c6be5f9a01bea163c5350358e4f339eef64 debuginfo(build-id) = d516ec5d0f5967d25aefe27d516a13da5a122d3d debuginfo(build-id) = d6073c062e2edc3d9645b8e6b59d434f66450e6e debuginfo(build-id) = f41bb3478948ecfe153d0b3b52a944fd2c731542 grads-debuginfo = 2.0.2-41.fc37 grads-debuginfo(riscv-64) = 2.0.2-41.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: grads-debugsource(riscv-64) = 2.0.2-41.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64 Wrote: /builddir/build/RPMS/grads-debugsource-2.0.2-41.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/grads-debuginfo-2.0.2-41.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/grads-2.0.2-41.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.murZvJ + umask 022 + cd /builddir/build/BUILD + cd grads-2.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/grads-2.0.2-41.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.AWmVdN + umask 022 + cd /builddir/build/BUILD + rm -rf grads-2.0.2 grads-2.0.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0