Mock Version: 2.11 Mock Version: 2.11 Mock Version: 2.11 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/grads.spec'], chrootPath='/var/lib/mock/f35-build-28640370-3872839/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1626912000 Wrote: /builddir/build/SRPMS/grads-2.0.2-36.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/grads.spec'], chrootPath='/var/lib/mock/f35-build-28640370-3872839/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1626912000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IpBANY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf grads-2.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/grads-2.0.2-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd grads-2.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (grads-use-system-libshp_libsx.patch): + echo '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 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.FjuXLP + umask 022 + cd /builddir/build/BUILD + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 ' + 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 2021-07-22 08:58:32.839935149 +0000 +++ ./configure 2021-07-22 08:58:34.087041780 +0000 @@ -1803,7 +1803,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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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' 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 thread-safe 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 x86_64-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking whether ln -s works... yes Setting host specific options ------------------------- checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu Host machine: x86_64-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 grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/file.h usability... yes checking sys/file.h presence... 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 readline.h usability... no checking readline.h presence... no checking for readline.h... no checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking whether readline supports history... yes checking history.h usability... no checking history.h presence... no checking for history.h... no checking readline/history.h usability... yes checking readline/history.h presence... yes 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 shapefil.h usability... yes checking shapefil.h presence... yes 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 gd.h usability... yes checking gd.h presence... yes 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 grib2.h usability... yes checking grib2.h presence... yes 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 udunits.h usability... yes checking udunits.h presence... yes 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 hdf4_netcdf.h usability... yes checking hdf4_netcdf.h presence... 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 Thu Jul 22 08:58:42 UTC 2021 for x86_64-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 Run 'make && make install' to build GrADS. Executables will be installed to bin/ in current dir, unless prefix was specified. configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j6 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gxcntr.o gxcntr.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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]: 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gxwmap.o gxwmap.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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 * 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:112:19: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 112 | st2 = gagby(hdr,2,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:115:20: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 115 | spos = gagby(rec,0,4); | ^~~ | | | 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:116:20: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 116 | ilon = gagby(rec,4,3); | ^~~ | | | 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:118:20: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 118 | ilon = gagby(rec,7,3); | ^~~ | | | 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:120:20: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 120 | ilat = gagby(rec,10,3); | ^~~ | | | 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:122:20: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 122 | ilat = gagby(rec,13,3); | ^~~ | | | 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:161:18: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 161 | type = gagby(hdr,1,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:162:17: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 162 | num = gagby(hdr,2,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:181:20: warning: pointer targets in passing argument 1 of 'gagby' differ in signedness [-Wpointer-sign] 181 | ilon = gagby(rec,i*6,3); | ^~~ | | | 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: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 * 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: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]: 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gxmeta.o gxmeta.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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]: 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gxshad2.o gxshad2.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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]: 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o bufrstn.o bufrstn.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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:888, from /usr/include/malloc.h:24, from bufrstn.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 20 and 4115 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gautil.o 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 in this function [-Wmaybe-uninitialized] 914 | *d = v + pfi->dimoff[*dim]; /* straight override of fixed dimension value */ | ~~^~~~~~~~~~~~~~~~~~~ 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gabufr.o gabufr.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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]: 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gxdxwd.o gxdxwd.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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]: 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gscrpt.o gscrpt.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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]: 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gafunc.o gafunc.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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) ahi = -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gaio.o gaio.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 name = %s \n",pfi->name); | ^~ In file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 37 and 293 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 30 and 286 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 30 and 286 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 38 and 294 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 30 and 286 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output 10 or more bytes (assuming 265) into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 37 and 4132 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 53 and 4148 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 35 and 4130 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 35 and 291 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 35 and 291 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaio.c:12: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 22 and 4117 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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:888, from /usr/include/malloc.h:24, from gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 50 and 560 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 30 and 285 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 in this function [-Wmaybe-uninitialized] 3398 | if (flag) { c++; cmask++; } | ~~~~~^~ gagx.c:3398:18: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 3398 | if (flag) { c++; cmask++; } | ~^~ gagx.c:3365:11: warning: 'pgrc' may be used uninitialized in this function [-Wmaybe-uninitialized] 3365 | cmask = pgrc->umask; | ~~~~~~^~~~~~~~~~~~~ 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gagmap.o gagmap.c 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]: 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gasdf.o gasdf.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' gasdf.c: In function 'decode_standard_time': gasdf.c:2106:27: warning: 'int_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 2106 | sscanf (&str1[int_len - 2], "%g", sec); | ~~~~~~~~^~~ In file included from /usr/include/string.h:519, from gasdf.c:29: In function 'strncpy', inlined from 'read_metadata' at gasdf.c:2401:5: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gasdf.c: In function 'read_metadata': gasdf.c:2400:11: note: length computed here 2400 | len = strlen(name); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:519, from gasdf.c:29: In function 'strncpy', inlined from 'gasdfopen' at gasdf.c:86:3: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gasdf.c: In function 'gasdfopen': gasdf.c:85:7: note: length computed here 85 | len=strlen(pathname); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from gasdf.c:29: In function 'strncpy', inlined from 'gasdfopen' at gasdf.c:87:3: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gasdf.c: In function 'gasdfopen': 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:888, from gasdf.c:28: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 29 and 4134 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from gasdf.c:29: In function 'strncpy', inlined from 'gaxdfopen' at gasdf.c:165:3: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gasdf.c: In function 'gaxdfopen': 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 file included from /usr/include/stdio.h:888, from gasdf.c:28: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 29 and 4134 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from gasdf.c:28: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 60 and 4155 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o stnmap.o stnmap.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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 In file included from /usr/include/string.h:519, from stnmap.c:31: In function 'strncpy', inlined from 'main' at stnmap.c:340:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 16 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gxtran.o gxtran.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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]: 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 in this function [-Wmaybe-uninitialized] 914 | *d = v + pfi->dimoff[*dim]; /* straight override of fixed dimension value */ | ~~^~~~~~~~~~~~~~~~~~~ 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gribscan.o gribscan.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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 In file included from /usr/include/string.h:519, from gribscan.c:16: In function 'strncpy', inlined from 'gribhdr' at gribscan.c:1109:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'gribhdr' at gribscan.c:1198:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o grib2scan.o grib2scan.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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]: 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -DSTNDALN -o gaddes.sa.o -c ./gaddes.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' ./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:888, from /usr/include/malloc.h:24, from ./gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 50 and 560 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from ./gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from ./gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from ./gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from ./gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from ./gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 74 and 4179 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from ./gaddes.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 30 and 285 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -DHAVE_CONFIG_H -I. -I/usr/include/libgeotiff -I/usr/include/hdf -I/usr/include/libshp -I/usr/include/udunits2 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -c -o gauser.o gauser.c make[2]: Leaving directory '/builddir/build/BUILD/grads-2.0.2/src' 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:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 38 and 559 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 4 and 388 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output 5 or more bytes (assuming 389) into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 45 and 301 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 44 and 300 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 43 and 299 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 44 and 300 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 43 and 299 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 42 and 563 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 37 and 558 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 11 and 531 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 12 and 4107 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 11 and 532 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 16 and 4111 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 12 and 4107 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 7 and 4102 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 8 and 519 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 6 and 390 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output 7 or more bytes (assuming 391) into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: 'snprintf' output 6 bytes into a destination of size 5 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 24 and 4119 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 51 and 4156 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 43 and 4148 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 30 and 4135 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 file included from /usr/include/stdio.h:888, from /usr/include/malloc.h:24, from gauser.c:11: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 36 and 4131 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -rdynamic -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.C2O9cQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64 ++ dirname /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64 + cd grads-2.0.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64 '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-36.fc35.x86_64/usr/bin' /usr/bin/install -p grads gribmap gxeps gxps stnmap wgrib gribscan bufrscan gxtran grib2scan '/builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/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-36.fc35.x86_64/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-36.fc35.x86_64/usr/share/grads + /usr/bin/find-debuginfo -j6 --strict-build-id -m -i --build-id-seed 2.0.2-36.fc35 --unique-debug-suffix -2.0.2-36.fc35.x86_64 --unique-debug-src-base grads-2.0.2-36.fc35.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/grads-2.0.2 extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/bin/grib2scan extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/bin/gxeps extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/bin/gribscan extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/bin/grads extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/bin/bufrscan extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/bin/gribmap extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/bin/gxps extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/bin/gxtran extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/bin/stnmap extracting debug info from /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/bin/wgrib original debug info size: 4672kB, size after compression: 4308kB /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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: grads-2.0.2-36.fc35.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KuSZiR + umask 022 + cd /builddir/build/BUILD + cd grads-2.0.2 + DOCDIR=/builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/share/doc/grads + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/share/doc/grads + cp -pr __dist_docs/html /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/share/doc/grads + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BFOkDG + umask 022 + cd /builddir/build/BUILD + cd grads-2.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/share/licenses/grads + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/share/licenses/grads + cp -pr COPYRIGHT /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64/usr/share/licenses/grads + RPM_EC=0 ++ jobs -p + exit 0 Provides: grads = 2.0.2-36.fc35 grads(x86-64) = 2.0.2-36.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: glibc >= 2.33.9000-43.fc35 libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libdf.so.0()(64bit) libgd.so.3()(64bit) libgeotiff.so.5()(64bit) libhdf5.so.103()(64bit) libjasper.so.4()(64bit) libjpeg.so.62()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libmfhdf.so.0()(64bit) libnetcdf.so.15()(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-36.fc35.x86_64 Provides: grads-debugsource = 2.0.2-36.fc35 grads-debugsource(x86-64) = 2.0.2-36.fc35 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-36.fc35.x86_64 Provides: debuginfo(build-id) = 251f07ba8f155149953d92772f13b3287aa7d5c2 debuginfo(build-id) = 36ddaeb2d9a5252c8e99e4d390565bd841a014e9 debuginfo(build-id) = 3b069b74f54924f9baf72e7aa4fe03d7af0a9e79 debuginfo(build-id) = 4a43e7a788ab1938adb3f0aebf6eec5966db874e debuginfo(build-id) = 6fd265085b8525f9b8f367f82aa5a3995e29cc0d debuginfo(build-id) = 8ae012b750634dd34518654cfe86e833de5a823a debuginfo(build-id) = e4703442ae037d5da328f0ac381feadac6a81c3d debuginfo(build-id) = ee097bd8b019afe85a0fd20d5a4c315907a82864 debuginfo(build-id) = ee68f184d50b8d6b0457799f9c927926eeaa4de2 debuginfo(build-id) = f75838096e81d0acdc0eb7ff7e1bd31018deeee9 grads-debuginfo = 2.0.2-36.fc35 grads-debuginfo(x86-64) = 2.0.2-36.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: grads-debugsource(x86-64) = 2.0.2-36.fc35 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64 Wrote: /builddir/build/RPMS/grads-debugsource-2.0.2-36.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/grads-debuginfo-2.0.2-36.fc35.x86_64.rpm Wrote: /builddir/build/RPMS/grads-2.0.2-36.fc35.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rxxIDg + umask 022 + cd /builddir/build/BUILD + cd grads-2.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/grads-2.0.2-36.fc35.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0