=>> Building graphics/grads build started at Mon Apr 1 07:36:20 BST 2024 port directory: /usr/ports/graphics/grads package name: grads-1.9b4_18 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: glewis@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2167 Jul 29 2023 /usr/ports/graphics/grads/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 664a2fa1e5 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 10 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/10/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for grads-1.9b4_18: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples HDF=off: Build hdf-support (only hdf OR netcdf is supported) NETCDF=on: Build netcdf-support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- glewis@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --enable-dyn-supplibs --with-readline --with-printim --with-gui --with-x --with-nc --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SUPPLIBS="/usr/local" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/grads/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/grads/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/grads/work/.cache HOME=/wrkdirs/usr/ports/graphics/grads/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/graphics/grads/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/grads/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/grads/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/grads/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/grads/work/.cache HOME=/wrkdirs/usr/ports/graphics/grads/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/graphics/grads/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/grads/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PORTEXAMPLES="" NETCDF="" HDF="@comment " OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/grads" EXAMPLESDIR="share/examples/grads" DATADIR="share/grads" WWWDIR="www/grads" ETCDIR="etc/grads" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/grads DOCSDIR=/usr/local/share/doc/grads EXAMPLESDIR=/usr/local/share/examples/grads WWWDIR=/usr/local/www/grads ETCDIR=/usr/local/etc/grads --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> grads-1.9b4_18 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> grads-1.9b4_18 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of grads-1.9b4_18 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by grads-1.9b4_18 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by grads-1.9b4_18 for building => SHA256 Checksum OK for grads-src-1.9b4.tar.gz. => SHA256 Checksum OK for example.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by grads-1.9b4_18 for building ===> Extracting for grads-1.9b4_18 => SHA256 Checksum OK for grads-src-1.9b4.tar.gz. => SHA256 Checksum OK for example.tar.gz. /bin/mkdir -p "/wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/examples" cd "/wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/examples" && /usr/bin/tar -xzf "/portdistfiles/example.tar.gz" =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for grads-1.9b4_18 ===> Applying FreeBSD patches for grads-1.9b4_18 from /usr/ports/graphics/grads/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> grads-1.9b4_18 depends on file: /usr/local/lib/libudunits2.a - not found ===> Installing existing package /packages/All/udunits-2.2.28.pkg [pkg-builder.dan.net.uk] Installing udunits-2.2.28... [pkg-builder.dan.net.uk] `-- Installing expat-2.6.1... [pkg-builder.dan.net.uk] `-- Extracting expat-2.6.1: .......... done [pkg-builder.dan.net.uk] `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] Extracting udunits-2.2.28: .......... done ===> grads-1.9b4_18 depends on file: /usr/local/lib/libudunits2.a - found ===> Returning to build of grads-1.9b4_18 ===> grads-1.9b4_18 depends on file: /usr/local/lib/libsx.a - not found ===> Installing existing package /packages/All/libsx-1.1_4.pkg [pkg-builder.dan.net.uk] Installing libsx-1.1_4... [pkg-builder.dan.net.uk] `-- Installing Xaw3d-1.5E_8... [pkg-builder.dan.net.uk] | `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libICE-1.1.0_2,1... [pkg-builder.dan.net.uk] | `-- Extracting libICE-1.1.0_2,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libSM-1.2.3_1,1... [pkg-builder.dan.net.uk] | `-- Extracting libSM-1.2.3_1,1: ........ done [pkg-builder.dan.net.uk] | `-- Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] | | `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] | | `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libX11-1.8.7_1,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] | `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXmu-1.1.4,1... [pkg-builder.dan.net.uk] | | `-- Installing libXt-1.3.0,1... [pkg-builder.dan.net.uk] | | `-- Extracting libXt-1.3.0,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libXmu-1.1.4,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXpm-3.5.17_1... [pkg-builder.dan.net.uk] | `-- Extracting libXpm-3.5.17_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting Xaw3d-1.5E_8: .......... done [pkg-builder.dan.net.uk] `-- Installing libXaw-1.0.14_1,2... [pkg-builder.dan.net.uk] `-- Extracting libXaw-1.0.14_1,2: .......... done [pkg-builder.dan.net.uk] Extracting libsx-1.1_4: .......... done ===== Message from Xaw3d-1.5E_8: -- If you want Xaw3d to replace the default Athena Widget Set so most X applications will get a 3-D look, do this (as root): cd /usr/local/lib mv libXaw.so.8 libXaw2d.so.8 ln -s libXaw3d.so.8 libXaw.so.8 -- ===> NOTICE: The Xaw3d port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> grads-1.9b4_18 depends on file: /usr/local/lib/libsx.a - found ===> Returning to build of grads-1.9b4_18 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> grads-1.9b4_18 depends on shared library: libgd.so - not found ===> Installing existing package /packages/All/libgd-2.3.3_10,1.pkg [pkg-builder.dan.net.uk] Installing libgd-2.3.3_10,1... [pkg-builder.dan.net.uk] `-- Installing fontconfig-2.15.0_2,1... [pkg-builder.dan.net.uk] | `-- Installing freetype2-2.13.2... [pkg-builder.dan.net.uk] | `-- Extracting freetype2-2.13.2: .......... done [pkg-builder.dan.net.uk] `-- Extracting fontconfig-2.15.0_2,1: .......... done [pkg-builder.dan.net.uk] `-- Installing jpeg-turbo-3.0.2... [pkg-builder.dan.net.uk] `-- Extracting jpeg-turbo-3.0.2: .......... done [pkg-builder.dan.net.uk] `-- Installing libimagequant-4.3.0_1... [pkg-builder.dan.net.uk] `-- Extracting libimagequant-4.3.0_1: ...... done [pkg-builder.dan.net.uk] `-- Installing png-1.6.43... [pkg-builder.dan.net.uk] `-- Extracting png-1.6.43: .......... done [pkg-builder.dan.net.uk] `-- Installing tiff-4.4.0_3... [pkg-builder.dan.net.uk] | `-- Installing jbigkit-2.1_2... [pkg-builder.dan.net.uk] | `-- Extracting jbigkit-2.1_2: .......... done [pkg-builder.dan.net.uk] | `-- Installing libdeflate-1.19... [pkg-builder.dan.net.uk] | `-- Extracting libdeflate-1.19: .......... done [pkg-builder.dan.net.uk] | `-- Installing zstd-1.5.5_1... [pkg-builder.dan.net.uk] | | `-- Installing liblz4-1.9.4_1,1... [pkg-builder.dan.net.uk] | | `-- Extracting liblz4-1.9.4_1,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting zstd-1.5.5_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting tiff-4.4.0_3: .......... done [pkg-builder.dan.net.uk] `-- Installing webp-1.3.2_1... [pkg-builder.dan.net.uk] | `-- Installing freeglut-3.2.1... [pkg-builder.dan.net.uk] | | `-- Installing libGLU-9.0.2_2... [pkg-builder.dan.net.uk] | | `-- Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] | | `-- Extracting libglvnd-1.7.0: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libGLU-9.0.2_2: ..... done [pkg-builder.dan.net.uk] | | `-- Installing libXi-1.8_1,1... [pkg-builder.dan.net.uk] | | `-- Installing libXfixes-6.0.0_1... [pkg-builder.dan.net.uk] | | `-- Extracting libXfixes-6.0.0_1: ....... done [pkg-builder.dan.net.uk] | | `-- Extracting libXi-1.8_1,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXrandr-1.5.2_1... [pkg-builder.dan.net.uk] | | `-- Installing libXrender-0.9.10_2... [pkg-builder.dan.net.uk] | | `-- Extracting libXrender-0.9.10_2: ....... done [pkg-builder.dan.net.uk] | | `-- Extracting libXrandr-1.5.2_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXxf86vm-1.1.4_4... [pkg-builder.dan.net.uk] | | `-- Extracting libXxf86vm-1.1.4_4: .......... done [pkg-builder.dan.net.uk] | `-- Extracting freeglut-3.2.1: .......... done [pkg-builder.dan.net.uk] | `-- Installing giflib-5.2.1_1... [pkg-builder.dan.net.uk] | `-- Extracting giflib-5.2.1_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting webp-1.3.2_1: .......... done [pkg-builder.dan.net.uk] Extracting libgd-2.3.3_10,1: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== Message from freetype2-2.13.2: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===== Message from freeglut-3.2.1: -- Joystick support is untested and it is unknown if it works. Do not hesitate to contact x11@FreeBSD.org if this causes issues. ===> grads-1.9b4_18 depends on shared library: libgd.so - found (/usr/local/lib/libgd.so) ===> Returning to build of grads-1.9b4_18 ===> grads-1.9b4_18 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> grads-1.9b4_18 depends on shared library: libnetcdf.so - not found ===> Installing existing package /packages/All/netcdf-4.9.2_1.pkg [pkg-builder.dan.net.uk] Installing netcdf-4.9.2_1... [pkg-builder.dan.net.uk] `-- Installing curl-8.6.0... [pkg-builder.dan.net.uk] | `-- Installing brotli-1.1.0,1... [pkg-builder.dan.net.uk] | `-- Extracting brotli-1.1.0,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libidn2-2.3.7... [pkg-builder.dan.net.uk] | | `-- Installing libunistring-1.2... [pkg-builder.dan.net.uk] | | `-- Extracting libunistring-1.2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libidn2-2.3.7: .......... done [pkg-builder.dan.net.uk] | `-- Installing libnghttp2-1.60.0... [pkg-builder.dan.net.uk] | `-- Extracting libnghttp2-1.60.0: ....... done [pkg-builder.dan.net.uk] | `-- Installing librtmp-2.4.20190330_1... [pkg-builder.dan.net.uk] | | `-- Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] | | `-- Extracting openssl-3.0.13_1,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting librtmp-2.4.20190330_1: ......... done [pkg-builder.dan.net.uk] | `-- Installing libssh2-1.11.0_1,3... [pkg-builder.dan.net.uk] | `-- Extracting libssh2-1.11.0_1,3: .......... done [pkg-builder.dan.net.uk] `-- Extracting curl-8.6.0: .......... done [pkg-builder.dan.net.uk] `-- Installing hdf5-1.12.2_2,1... [pkg-builder.dan.net.uk] `-- Extracting hdf5-1.12.2_2,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libaec-1.1.2... [pkg-builder.dan.net.uk] `-- Extracting libaec-1.1.2: .......... done [pkg-builder.dan.net.uk] `-- Installing pkgconf-2.1.1,1... [pkg-builder.dan.net.uk] `-- Extracting pkgconf-2.1.1,1: .......... done [pkg-builder.dan.net.uk] Extracting netcdf-4.9.2_1: .......... done ===> grads-1.9b4_18 depends on shared library: libnetcdf.so - found (/usr/local/lib/libnetcdf.so) ===> Returning to build of grads-1.9b4_18 ===> grads-1.9b4_18 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for grads-1.9b4_18 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no Checking for programs ------------------ checking for gawk... (cached) /usr/bin/awk checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes Setting host specific options ------------------------- checking build system type... amd64-portbld-freebsd13.2 checking host system type... amd64-portbld-freebsd13.2 checking for supplibs directory... /usr/local Checking system libraries, headers, and compiler features ----------------------------------------- checking for cos in -lm... yes checking how to run the C preprocessor... cpp checking for X... libraries /usr/local/lib, headers /usr/local/include checking for gethostbyname... (cached) yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for sys/file.h... (cached) 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... (cached) yes checking for off_t... (cached) 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 _LARGE_FILES value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseeko... yes Checking for optional feature support ------------------------------------ checking whether to use dynamic linking... yes (Warning: binaries may not be suitable for distribution) Check GrADS command line editing support... checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no - Command line editing disabled Check GrADS GUI support... checking freq.h usability... yes checking freq.h presence... no configure: WARNING: freq.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: freq.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for freq.h... no - GUI disabled Check GrADS printim support... checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking for library containing tgetstr... -ltermcap checking for compress in -lz... yes checking for main in -lpng... yes checking for gdImageCreate in -lgd... yes + printim enabled checking if wi command has been enabled... no - wi disabled + LATS enabled Checking which GrADS binaries can be built ------------------------------------ checking udunits.h usability... yes checking udunits.h presence... yes checking for udunits.h... yes checking netcdf.h usability... yes checking netcdf.h presence... yes checking for netcdf.h... yes checking for utInit in -ludunits2... yes checking for main in -lnetcdf... yes + gradsnc (plain netCDF) build enabled checking for udunits.h... (cached) yes checking for netcdf.h... (cached) yes checking for compress in -lz... (cached) yes checking for utInit in -ludunits2... (cached) yes checking for main in -ljpeg... yes checking for main in -ldf... no - gradshdf (HDF-SDS/netCDF) build disabled checking for udunits.h... (cached) yes checking for netcdf.h... (cached) yes checking for compress in -lz... (cached) yes checking for utInit in -ludunits2... (cached) yes checking for main in -lrx... no - gradsdods (OPeNDAP/netCDF) build disabled +=========================================================================+ GrADS 1.9b4 : Built Mon Apr 1 06:36:42 UTC 2024 for amd64-portbld-freebsd13.2 +=========================================================================+ +----------------------------------+ | | | Configuration Summary | | | | - readline disabled | | + printim enabled | | - GUI disabled | | + LATS enabled | | - wi disabled (default) | | | | Build Summary | | | | + gradsc (classic) enabled | | + gradsnc (netCDF) enabled | | - gradshdf (HDF-SDS) disabled | | - gradsdods (OPeNDAP) disabled | | | | + Dynamic linking enabled | | | +----------------------------------+ configure: creating src/VERSION configure: creating src/buildinfo.h 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. /usr/bin/sed -i.bak -e "s:%%DATADIR%%:/usr/local/share/grads:" /wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/src/gx.h /usr/bin/sed -i.bak -e "s:ludunits:ludunits2:" /wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/src/Makefile =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for grads-1.9b4_18 Making all in src /usr/bin/make all-am cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'grads.c' || echo './'`grads.c grads.c:87:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (int argc, char *argv[]) { ^ grads.c:168:7: warning: implicit declaration of function 'gxdgeo' is invalid in C99 [-Wimplicit-function-declaration] gxdgeo(argv[i]); ^ grads.c:217:1: warning: implicit declaration of function 'gacfg' is invalid in C99 [-Wimplicit-function-declaration] gacfg(0); ^ grads.c:334:8: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(cmd,"quit"); /* on EOF, just quit */ ^ grads.c:334:8: note: include the header or explicitly provide a declaration for 'strcpy' grads.c:344:1: warning: implicit declaration of function 'gxend' is invalid in C99 [-Wimplicit-function-declaration] gxend(); ^ 5 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxsubs.c' || echo './'`gxsubs.c gxsubs.c:150:7: warning: implicit declaration of function 'gxddbl' is invalid in C99 [-Wimplicit-function-declaration] gxddbl (); ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxmeta.c' || echo './'`gxmeta.c gxmeta.c:339:5: warning: implicit declaration of function 'gxheps' is invalid in C99 [-Wimplicit-function-declaration] gxheps(cmd); ^ In file included from gxmeta.c:694: ./gxhpng.c:100:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(bgfile=fopen(bgImage,"rb")) { ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./gxhpng.c:100:14: note: place parentheses around the assignment to silence this warning if(bgfile=fopen(bgImage,"rb")) { ^ ( ) ./gxhpng.c:100:14: note: use '==' to turn this assignment into an equality comparison if(bgfile=fopen(bgImage,"rb")) { ^ == ./gxhpng.c:149:9: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(0,"Logic Error 4 in gxhpng. Notify Developer\n"); ^ ./gxhpng.c:155:9: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(0,"Logic Error 8 in gxhpng. Notify Developer\n"); ^ ./gxhpng.c:161:9: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(0,"Logic Error 12 in gxhpng. Notify Developer\n"); ^ ./gxhpng.c:225:11: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(0,"Memory allocation error: gxhpng\n"); ^ ./gxhpng.c:303:9: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(0,"Logic Error 20 in gxhpng. Notify Developer\n"); ^ ./gxhpng.c:327:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fgfile=fopen(fgImage,"rb")) { ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./gxhpng.c:327:14: note: place parentheses around the assignment to silence this warning if(fgfile=fopen(fgImage,"rb")) { ^ ( ) ./gxhpng.c:327:14: note: use '==' to turn this assignment into an equality comparison if(fgfile=fopen(fgImage,"rb")) { ^ == ./gxhpng.c:349:7: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(2,pout); ^ ./gxhpng.c:353:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(bgfile=fopen(bgImage,"rb")) { ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./gxhpng.c:353:14: note: place parentheses around the assignment to silence this warning if(bgfile=fopen(bgImage,"rb")) { ^ ( ) ./gxhpng.c:353:14: note: use '==' to turn this assignment into an equality comparison if(bgfile=fopen(bgImage,"rb")) { ^ == ./gxhpng.c:366:5: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(0,pout); ^ In file included from gxmeta.c:699: ./gxeps.c:366:3: warning: implicit declaration of function 'getwrd' is invalid in C99 [-Wimplicit-function-declaration] getwrd(ch,cmd,256); ^ ./gxeps.c:385:6: warning: implicit declaration of function 'gxeps' is invalid in C99 [-Wimplicit-function-declaration] rc=gxeps(argc, argv); ^ ./gxeps.c:1066:55: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s0 {[] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1067:55: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s1 {[] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1068:61: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s2 {[125 60] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1069:60: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s3 {[60 60] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1070:67: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s4 {[125 60 60 60] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1071:60: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s5 {[10 40] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1072:60: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s6 {[75 60] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1073:73: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s7 {[125 40 15 15 15 40] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1074:60: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s8 {[15 80] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gxeps.c:1251:35: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] colum+=fprintf(outfile,"%i %i",dx,dy); ~~ ^~ %li ./gxeps.c:1251:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] colum+=fprintf(outfile,"%i %i",dx,dy); ~~ ^~ %li ./gxeps.c:1261:29: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(outfile,"%i %i",dx,dy); ~~ ^~ %li ./gxeps.c:1261:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(outfile,"%i %i",dx,dy); ~~ ^~ %li ./gxeps.c:1362:35: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] colum+=fprintf(outfile,"%i %i",dx,dy); ~~ ^~ %li ./gxeps.c:1362:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] colum+=fprintf(outfile,"%i %i",dx,dy); ~~ ^~ %li ./gxeps.c:1374:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(outfile,"%i %i\n%i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); ~~ ^~ %li ./gxeps.c:1374:50: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(outfile,"%i %i\n%i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); ~~ ^~ %li ./gxeps.c:1376:53: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(outfile,"%i %i %i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); ~~ ^~ %li ./gxeps.c:1376:56: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(outfile,"%i %i %i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); ~~ ^~ %li 32 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxchpl.c' || echo './'`gxchpl.c gxchpl.c:200:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxcntr.c' || echo './'`gxcntr.c gxcntr.c:29:18: warning: implicit conversion from 'double' to 'int' changes value from 2.5 to 2 [-Wliteral-conversion] static int ldmin=2.5; /* Minimum distance between labels */ ~~~~~ ^~~ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxstrm.c' || echo './'`gxstrm.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxwmap.c' || echo './'`gxwmap.c gxwmap.c:80:9: warning: implicit declaration of function 'gagby' is invalid in C99 [-Wimplicit-function-declaration] i = gagby (hdr,0,1); ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxshad.c' || echo './'`gxshad.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gaexpr.c' || echo './'`gaexpr.c gaexpr.c:67:12: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] cmdlen = strlen(expr); ^ gaexpr.c:67:12: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gafunc.c' || echo './'`gafunc.c gafunc.c:229:17: warning: implicit declaration of function 'ffuser' is invalid in C99 [-Wimplicit-function-declaration] if (ufb) rc = ffuser(ufb,pfc,pst2); ^ gafunc.c:1333:24: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if( pfc->argnum==2 && !strncmp(pfc->argpnt[1],"global",1) ) gflag=1; ^ gafunc.c:1333:24: note: include the header or explicitly provide a declaration for 'strncmp' 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gautil.c' || echo './'`gautil.c gautil.c:434:23: warning: implicitly declaring library function 'tolower' with type 'int (int)' [-Wimplicit-function-declaration] if (*ch == ':' || tolower(*ch) == 'z') { ^ gautil.c:434:23: note: include the header or explicitly provide a declaration for 'tolower' gautil.c:620:10: warning: expression result unused [-Wunused-value] else *cc++; ^~~~~ gautil.c:1533:24: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf(ch,"%04li",dtim->yr); ~~~~~ ^~~~~~~~ %04i gautil.c:1539:39: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf(ch,"%s%04li",monc[mnth],dtim->yr); ~~~~~ ^~~~~~~~ %04i gautil.c:1543:49: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf(ch,"%i%i%s%04li",dy1,dy2,monc[mnth],dtim->yr); ~~~~~ ^~~~~~~~ %04i gautil.c:1547:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] monc[mnth],dtim->yr); ^~~~~~~~ gautil.c:1551:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] monc[mnth],dtim->yr); ^~~~~~~~ gautil.c:2205:7: warning: implicitly declaring library function 'islower' with type 'int (int)' [-Wimplicit-function-declaration] if (islower(*(pvar->abbrv))) return(0); ^ gautil.c:2205:7: note: include the header or explicitly provide a declaration for 'islower' 8 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gagx.c' || echo './'`gagx.c gagx.c:204:5: warning: implicit declaration of function 'ganbswp' is invalid in C99 [-Wimplicit-function-declaration] ganbswp(val, sizeof(double)); ^ gagx.c:3581:50: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] sprintf (pout,"Wrote %i of %i elements to ", written, exsz); ~~ ^~~~~~~ %zu gagx.c:3585:62: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] sprintf (pout,"Wrote %i of %i elements to grads.fwrite", written, exsz); ~~ ^~~~~~~ %zu gagx.c:5525:4: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] timeobj.year,timeobj.month, ^~~~~~~~~~~~ gagx.c:5525:17: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] timeobj.year,timeobj.month, ^~~~~~~~~~~~~ gagx.c:5526:4: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] timeobj.date,timeobj.hour,timeobj.minute) ; ^~~~~~~~~~~~ gagx.c:5526:17: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] timeobj.date,timeobj.hour,timeobj.minute) ; ^~~~~~~~~~~~ gagx.c:5526:30: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] timeobj.date,timeobj.hour,timeobj.minute) ; ^~~~~~~~~~~~~~ gagx.c:5524:45: warning: format string contains '\0' within the string body [-Wformat] sprintf(dtgstr,"%04d-%02d-%02d-%02d:%02d\0", ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 9 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gscrpt.c' || echo './'`gscrpt.c gscrpt.c:841:11: warning: implicit declaration of function 'gsstmt' is invalid in C99 [-Wimplicit-function-declaration] *rc = gsstmt (recd, pcmn); ^ gscrpt.c:1923:42: warning: implicit declaration of function 'gsfallw' is invalid in C99 [-Wimplicit-function-declaration] else if (cmpwrd(name,"gsfallow")) rc = gsfallw(pcmn); ^ gscrpt.c:1924:41: warning: implicit declaration of function 'gsfpath' is invalid in C99 [-Wimplicit-function-declaration] else if (cmpwrd(name,"gsfpath")) rc = gsfpath(pcmn); ^ gscrpt.c:1925:42: warning: implicit declaration of function 'gsfmath' is invalid in C99 [-Wimplicit-function-declaration] else if (cmpwrd(name,"math_log")) rc = gsfmath(pcmn,1); ^ 4 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gamach.c' || echo './'`gamach.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bufrstn.c' || echo './'`bufrstn.c bufrstn.c:212:34: warning: implicitly declaring library function 'tolower' with type 'int (int)' [-Wimplicit-function-declaration] for (k=0; k<8; k++) *(ch1+k) = tolower(*(rfhdr.stid+k)); ^ bufrstn.c:212:34: note: include the header or explicitly provide a declaration for 'tolower' 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gabufr.c' || echo './'`gabufr.c gabufr.c:137:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static delrep = 0; ~~~~~~ ^ gabufr.c:722:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] msg->section1 - msg->section0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gabufr.c:723:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] msg->section3 - msg->section1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gabufr.c:724:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] msg->section4 - msg->section3, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gabufr.c:725:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] msg->end - msg->section4, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gabufr.c:726:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] msg->end - msg->section0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gabufrtbl.c' || echo './'`gabufrtbl.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxX.c' || echo './'`gxX.c gxX.c:273:53: warning: passing 'unsigned char[246]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] icon_pixmap = XCreateBitmapFromData(display, win, icon_bitmap_bits, ^~~~~~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ gxX.c:405:67: warning: trigraph ignored [-Wtrigraphs] flist = XListFonts (display, "-adobe-helvetica-bold-r-normal--??-100*", 1, &i); ^ gxX.c:421:67: warning: trigraph ignored [-Wtrigraphs] flist = XListFonts (display, "-adobe-helvetica-bold-o-normal--??-100*", 1, &i); ^ gxX.c:645:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gxX.c:874:9: warning: implicit declaration of function 'set_display_screen' is invalid in C99 [-Wimplicit-function-declaration] set_display_screen(display, snum) ; /* hoop */ ^ gxX.c:881:2: warning: implicit declaration of function 'Window_Dump' is invalid in C99 [-Wimplicit-function-declaration] Window_Dump(win, xwdfile) ; /* hoop */ ^ gxX.c:882:2: warning: implicit declaration of function 'Pixmap_Dump' is invalid in C99 [-Wimplicit-function-declaration] Pixmap_Dump(pmap, xwdfile, 0, 0, width, height) ; /* hoop */ ^ gxX.c:893:5: warning: implicit declaration of function 'set_display_screen' is invalid in C99 [-Wimplicit-function-declaration] set_display_screen(display, snum) ; /* hoop */ ^ gxX.c:900:5: warning: implicit declaration of function 'Window_Dump' is invalid in C99 [-Wimplicit-function-declaration] Window_Dump(win, xwdfile) ; /* hoop */ ^ gxX.c:901:5: warning: implicit declaration of function 'Pixmap_Dump' is invalid in C99 [-Wimplicit-function-declaration] Pixmap_Dump(win, xwdfile, 0, 0, width, height) ; /* hoop */ ^ gxX.c:2301:12: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] return '\0'; ^~~~ gxX.c:2306:12: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] return '\0'; ^~~~ gxX.c:2311:12: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] return '\0'; ^~~~ gxX.c:3272:58: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stipple_pixmap = XCreateBitmapFromData(display, win, bitmap_bits, ^~~~~~~~~~~ /usr/local/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ 14 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxdxwd.c' || echo './'`gxdxwd.c gxdxwd.c:25:7: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] char *calloc(); ^ gxdxwd.c:25:7: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' gxdxwd.c:70:19: warning: implicit declaration of function 'Image_Size' is invalid in C99 [-Wimplicit-function-declaration] buffer_size = Image_Size(image); ^ gxdxwd.c:75:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Window_Dump(window, out) ^ gxdxwd.c:102:64: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] { fprintf(stderr,"Can't get target window attributes."); exit(1); } ^ gxdxwd.c:102:64: note: include the header or explicitly provide a declaration for 'exit' gxdxwd.c:169:19: warning: implicit declaration of function 'Image_Size' is invalid in C99 [-Wimplicit-function-declaration] buffer_size = Image_Size(image); ^ gxdxwd.c:171:16: warning: implicit declaration of function 'outl' is invalid in C99 [-Wimplicit-function-declaration] if (debug) outl("xwd: Getting Colors.\n"); ^ gxdxwd.c:173:15: warning: implicit declaration of function 'Get_XColors' is invalid in C99 [-Wimplicit-function-declaration] ncolors = Get_XColors(&win_info, &colors); ^ gxdxwd.c:187:73: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] if (debug) fprintf(stderr,"header_size= %d win_name_size= %d \n",sizeof(header),win_name_size); ~~ ^~~~~~~~~~~~~~ %lu gxdxwd.c:221:2: warning: implicit declaration of function '_swaplong' is invalid in C99 [-Wimplicit-function-declaration] _swaplong((char *) &header, sizeof(header)); ^ gxdxwd.c:224:6: warning: implicit declaration of function '_swapshort' is invalid in C99 [-Wimplicit-function-declaration] _swapshort((char *) &colors[i].red, 3 * sizeof(short)); ^ gxdxwd.c:245:57: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] if (debug) fprintf(stderr,"sizeof XColor=%d \n",My_XColor_size); ~~ ^~~~~~~~~~~~~~ %lu gxdxwd.c:39:24: note: expanded from macro 'My_XColor_size' #define My_XColor_size sizeof(XColor) ^~~~~~~~~~~~~~ gxdxwd.c:276:21: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] if(ncolors > 0) free(colors); ^ gxdxwd.c:276:21: note: include the header or explicitly provide a declaration for 'free' gxdxwd.c:288:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ gxdxwd.c:293:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Usage() /*ams changed from usage() to Usage() to avoid PC/X11e conflict ams*/ ^ gxdxwd.c:305:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Error(string) ^ gxdxwd.c:308:2: warning: implicit declaration of function 'outl' is invalid in C99 [-Wimplicit-function-declaration] outl("\nxwd: Error => %s\n", string); ^ gxdxwd.c:357:32: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] if (!(*colors = (XColor *) malloc (sizeof(XColor) * ncolors))) ^ gxdxwd.c:357:32: note: include the header or explicitly provide a declaration for 'malloc' gxdxwd.c:393:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] _swapshort (bp, n) ^ gxdxwd.c:406:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gxdxwd.c:408:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] _swaplong (bp, n) ^ gxdxwd.c:427:1: warning: non-void function does not return a value [-Wreturn-type] } ^ gxdxwd.c:436:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] outl(msg, arg0,arg1,arg2,arg3,arg4,arg5,arg6) ^ gxdxwd.c:444:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 23 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gd13gif.c' || echo './'`gd13gif.c gd13gif.c:755:1: warning: '/*' within block comment [-Wcomment] /*----------------------------------------------------------------------- ^ gd13gif.c:758:1: warning: '/*' within block comment [-Wcomment] /****************************************************************************** ^ 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'latsnc.c' || echo './'`latsnc.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'galats.c' || echo './'`galats.c galats.c:338:10: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if(!plats->id_user_var<0) { ^ ~ galats.c:338:10: note: add parentheses after the '!' to evaluate the comparison first if(!plats->id_user_var<0) { ^ ( ) galats.c:338:10: note: add parentheses around left hand side expression to silence this warning if(!plats->id_user_var<0) { ^ ( ) galats.c:275:43: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] if( (pcm->dmin[2] !=pcm->dmax[2]) && (pcm->dmin[3]!=pcm->dmax[3]) ) { ^ ~ ./grads.h:173:3: note: array 'dmin' declared here float dmin[3],dmax[3]; /* Current absolute coordinate limits */ ^ galats.c:275:57: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] if( (pcm->dmin[2] !=pcm->dmax[2]) && (pcm->dmin[3]!=pcm->dmax[3]) ) { ^ ~ ./grads.h:173:3: note: array 'dmax' declared here float dmin[3],dmax[3]; /* Current absolute coordinate limits */ ^ galats.c:338:29: warning: result of comparison of constant 0 with boolean expression is always false [-Wtautological-constant-compare] if(!plats->id_user_var<0) { ~~~~~~~~~~~~~~~~~~~^~ galats.c:464:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 5 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'lats.c' || echo './'`lats.c lats.c:228:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] time.year, time.month, time.day, hour); ^~~~~~~~~ lats.c:238:2: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(file->timeunits, file->latstimeunits, LATS_MAX_RELUNITS); file->timeunits[LATS_MAX_RELUNITS-1]='\0'; ^ lats.c:238:2: note: include the header or explicitly provide a declaration for 'strncpy' lats.c:241:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] time.year, time.month, time.day, hour); ^~~~~~~~~ lats.c:366:2: warning: implicit declaration of function 'latsCpyTrim' is invalid in C99 [-Wimplicit-function-declaration] latsCpyTrim(tmppath, path, LATS_MAX_PATH-4); ^ lats.c:368:5: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if(strcmp(extension, tmppath + MAX(0,strlen(tmppath)-strlen(extension))) != 0) ^ lats.c:368:5: note: include the header or explicitly provide a declaration for 'strcmp' lats.c:368:39: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] if(strcmp(extension, tmppath + MAX(0,strlen(tmppath)-strlen(extension))) != 0) ^ lats.c:368:39: note: include the header or explicitly provide a declaration for 'strlen' lats.c:369:3: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(tmppath,extension); ^ lats.c:369:3: note: include the header or explicitly provide a declaration for 'strcat' lats.c:391:3: warning: implicit declaration of function 'latsCpyLower' is invalid in C99 [-Wimplicit-function-declaration] latsCpyLower(tempname, center, LATS_MAX_COMMENTS); ^ lats.c:471:2: warning: implicit declaration of function 'latsCpyTrim' is invalid in C99 [-Wimplicit-function-declaration] latsCpyTrim(grid->name, name, LATS_MAX_NAME); ^ lats.c:478:2: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(grid->lats, lats, nlat*sizeof(double)); ^ lats.c:478:2: note: include the header or explicitly provide a declaration for 'memcpy' lats.c:916:2: warning: implicit declaration of function 'latsCpyTrim' is invalid in C99 [-Wimplicit-function-declaration] latsCpyTrim(vertdim->name, name, LATS_MAX_NAME); ^ lats.c:958:9: warning: enumeration value 'LATS_MONTHLY_TABLE_COMP' not handled in switch [-Wswitch] switch(file->frequency){ ^~~~~~~~~~~~~~~ lats.c:1071:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 13 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'latsint.c' || echo './'`latsint.c latsint.c:160:30: warning: implicitly declaring library function 'isspace' with type 'int (int)' [-Wimplicit-function-declaration] for(s=src; *s && s or explicitly provide a declaration for 'isspace' latsint.c:189:9: warning: implicitly declaring library function 'tolower' with type 'int (int)' [-Wimplicit-function-declaration] *cp = tolower(*cp); ^ latsint.c:189:9: note: include the header or explicitly provide a declaration for 'tolower' latsint.c:369:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(vert = latsVertLookup(vertid)){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ latsint.c:369:10: note: place parentheses around the assignment to silence this warning if(vert = latsVertLookup(vertid)){ ^ ( ) latsint.c:369:10: note: use '==' to turn this assignment into an equality comparison if(vert = latsVertLookup(vertid)){ ^ == latsint.c:742:7: warning: implicit declaration of function 'latsParmFillVarTable' is invalid in C99 [-Wimplicit-function-declaration] if(latsParmFillVarTable(parmEntry, nvar) == 0) goto error; ^ latsint.c:746:7: warning: implicit declaration of function 'latsParmFillVertTable' is invalid in C99 [-Wimplicit-function-declaration] if(latsParmFillVertTable(parmEntry, nvert) == 0) goto error; ^ latsint.c:750:7: warning: implicit declaration of function 'latsParmFillCenterTable' is invalid in C99 [-Wimplicit-function-declaration] if(latsParmFillCenterTable(parmEntry, ncenter) == 0) goto error; ^ latsint.c:754:7: warning: implicit declaration of function 'latsParmFillQCTable' is invalid in C99 [-Wimplicit-function-declaration] if(latsParmFillQCTable(parmEntry, nqc) == 0) goto error; ^ 7 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'latsgrib.c' || echo './'`latsgrib.c In file included from latsgrib.c:161: ./fgrib_init.h:369:9: warning: '/*' within block comment [-Wcomment] 0, /* unsigned int len; length of GDS (32) */ ^ latsgrib.c:321:9: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if( !(file->calendar & cdHasLeap) == 0) mfcmn.cal365=0; ^ ~~ latsgrib.c:321:9: note: add parentheses after the '!' to evaluate the comparison first if( !(file->calendar & cdHasLeap) == 0) mfcmn.cal365=0; ^ ( ) latsgrib.c:321:9: note: add parentheses around left hand side expression to silence this warning if( !(file->calendar & cdHasLeap) == 0) mfcmn.cal365=0; ^ ( ) latsgrib.c:602:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] gbfile->time.year ); ^~~~~~~~~~~~~~~~~ latsgrib.c:699:5: warning: implicit declaration of function 'latsgribmap' is invalid in C99 [-Wimplicit-function-declaration] latsgribmap(gbfile->ctlname,notaucheck); ^ latsgrib.c:459:12: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] strcpy(grads_options[3]," "); ^ ~ latsgrib.c:277:3: note: array 'grads_options' declared here char grads_options [3][50]; ^ latsgrib.c:459:5: warning: 'strcpy' will always overflow; destination buffer has size 0, but the source string has length 2 (including NUL byte) [-Wfortify-source] strcpy(grads_options[3]," "); ^ latsgrib.c:475:42: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] grads_options[1],grads_options[2],grads_options[3]); ^ ~ latsgrib.c:277:3: note: array 'grads_options' declared here char grads_options [3][50]; ^ latsgrib.c:963:54: warning: data argument not used by format string [-Wformat-extra-args] glen,is->len,pds->len,gds->len,bms->len,bds->len,es->len); ^ latsgrib.c:1088:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("ttt %d %d %d %f\n",time.year,time.month,time.day,time.hour); ~~ ^~~~~~~~~ %ld latsgrib.c:1250:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if( (pds->tri == 10) ) { ~~~~~~~~~^~~~~ latsgrib.c:1250:17: note: remove extraneous parentheses around the comparison to silence this warning if( (pds->tri == 10) ) { ~ ^ ~ latsgrib.c:1250:17: note: use '=' to turn this equality comparison into an assignment if( (pds->tri == 10) ) { ^~ = latsgrib.c:1461:42: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] set_int2(&gds->gds[23],(unsigned int)abs(gds->dx)); ^ latsgrib.c:1461:42: note: remove the call to 'abs' since unsigned values cannot be negative set_int2(&gds->gds[23],(unsigned int)abs(gds->dx)); ^~~ latsgrib.c:1463:42: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] set_int2(&gds->gds[25],(unsigned int)abs(gds->dy)); ^ latsgrib.c:1463:42: note: remove the call to 'abs' since unsigned values cannot be negative set_int2(&gds->gds[25],(unsigned int)abs(gds->dy)); ^~~ 12 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'latstime.c' || echo './'`latstime.c latstime.c:582:11: warning: implicitly declaring library function 'abs' with type 'int (int)' [-Wimplicit-function-declaration] *nDel = abs(range)/delMonths; ^ latstime.c:582:11: note: include the header or explicitly provide a declaration for 'abs' latstime.c:582:11: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] *nDel = abs(range)/delMonths; ^ latstime.c:582:11: note: use function 'labs' instead *nDel = abs(range)/delMonths; ^~~ labs latstime.c:582:11: note: include the header or explicitly provide a declaration for 'labs' latstime.c:692:6: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if(!strncmp(charunits,"sec",3) || !strcmp(charunits,"s")){ ^ latstime.c:692:6: note: include the header or explicitly provide a declaration for 'strncmp' latstime.c:692:37: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if(!strncmp(charunits,"sec",3) || !strcmp(charunits,"s")){ ^ latstime.c:692:37: note: include the header or explicitly provide a declaration for 'strcmp' latstime.c:729:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(basetime,CD_DEFAULT_BASEYEAR); ^ latstime.c:729:4: note: include the header or explicitly provide a declaration for 'strcpy' 5 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'latsstat.c' || echo './'`latsstat.c latsstat.c:234:36: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(simtime, "%4d%2d%2d%2d", ctime.year, ctime.month, ctime.day, (ihour = ctime.hour)); ~~~ ^~~~~~~~~~ %4ld 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'fgbds.c' || echo './'`fgbds.c fgbds.c:67:5: warning: implicit declaration of function 'latsError' is invalid in C99 [-Wimplicit-function-declaration] latsError("\nMalloc error for int mask to make BMS"); ^ fgbds.c:73:5: warning: implicit declaration of function 'latsError' is invalid in C99 [-Wimplicit-function-declaration] latsError("\nMalloc error for int out for BDS"); ^ fgbds.c:205:5: warning: implicit declaration of function 'latsError' is invalid in C99 [-Wimplicit-function-declaration] latsError("\nMalloc error or BDS char"); ^ fgbds.c:225:3: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(&bds->bds[6],ibmfloat,4); ^ fgbds.c:225:3: note: include the header or explicitly provide a declaration for 'strncpy' fgbds.c:225:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(&bds->bds[6],ibmfloat,4); ^~~~~~~~~~~~ fgbds.c:225:24: warning: passing 'unsigned char[4]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(&bds->bds[6],ibmfloat,4); ^~~~~~~~ fgbds.c:272:7: warning: implicit declaration of function 'latsError' is invalid in C99 [-Wimplicit-function-declaration] latsError("\nMalloc error for char mask to make BMS"); ^ 7 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'fgutil.c' || echo './'`fgutil.c fgutil.c:45:2: warning: implicit declaration of function 'latsError' is invalid in C99 [-Wimplicit-function-declaration] latsError("nbits < 0! nbits = %d\n", nbits); ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'latsgribmap.c' || echo './'`latsgribmap.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gagmap.c' || echo './'`gagmap.c gagmap.c:1222:10: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long') [-Wformat] irec,fpos,ghdr->id,ghdr->gdsflg,ghdr->bmsflg,ghdr->parm,ghdr->ltyp, ^~~~ gagmap.c:1289:1: warning: implicit declaration of function 'gapby' is invalid in C99 [-Wimplicit-function-declaration] gapby(0,map,bcnt,1); bcnt++ ; /* set the first byte to 0 */ ^ gagmap.c:1383:5: warning: implicit declaration of function 'gapby' is invalid in C99 [-Wimplicit-function-declaration] gapby(dum,buf,offset,4); ^ gagmap.c:1384:5: warning: implicit declaration of function 'gapbb' is invalid in C99 [-Wimplicit-function-declaration] gapbb(1,buf,offset*8,1); ^ gagmap.c:1386:5: warning: implicit declaration of function 'gapby' is invalid in C99 [-Wimplicit-function-declaration] gapby(dum,buf,offset,4); ^ 5 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUSESDF=0 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -o gaddes-c.o -c ./gaddes.c ./gaddes.c:312:15: warning: implicit declaration of function 'wrdlen' is invalid in C99 [-Wimplicit-function-declaration] len = wrdlen(ch); ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUSESDF=0 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -o gacfg-c.o -c ./gacfg.c ./gacfg.c:55:17: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] if(GRADS_CRAY) strcat(cmd," 64-bit,cray"); ^ ./gacfg.c:55:17: note: include the header or explicitly provide a declaration for 'strcat' 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUSESDF=0 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -o gaio-c.o -c ./gaio.c ./gaio.c:519:67: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%d rc=%ld pos=%ld pfi->fhdr =%ld \n",__LINE__,rc,pos,pfi->fhdr); ~~~ ^~ %d ./gaio.c:656:71: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf (pout,"%d rc=%d pos=%ld pfi->fhdr =%d\n",__LINE__,rc,fpos,pfi->fhdr); ~~ ^~~~~~~~~ %ld ./gaio.c:980:4: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(rec,hdr,sizhdrf); ^ ./gaio.c:980:4: note: include the header or explicitly provide a declaration for 'memcpy' ./gaio.c:1281:67: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%d rc=%ld pos=%ld pfi->fhdr =%ld \n",__LINE__,rc,fpos,pfi->fhdr); ~~~ ^~ %d 4 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUSESDF=0 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -o gauser-c.o -c ./gauser.c ./gauser.c:446:17: warning: implicit declaration of function 'dump_back_buffer' is invalid in C99 [-Wimplicit-function-declaration] dump_back_buffer(name_file_xwd) ; /* hoop */ ^ ./gauser.c:448:17: warning: implicit declaration of function 'dump_front_buffer' is invalid in C99 [-Wimplicit-function-declaration] dump_front_buffer(name_file_xwd) ; /* hoop */ ^ ./gauser.c:612:10: warning: implicit declaration of function 'gxhpng' is invalid in C99 [-Wimplicit-function-declaration] rc = gxhpng (cc,xin,yin,bwin,gifflg,bgImage,fgImage,tcolor); ^ ./gauser.c:2289:7: warning: implicit declaration of function 'gacfg' is invalid in C99 [-Wimplicit-function-declaration] gacfg(2); ^ ./gauser.c:2671:5: warning: implicit declaration of function 'gaqufb' is invalid in C99 [-Wimplicit-function-declaration] gaqufb(); ^ ./gauser.c:3486:10: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:3486:23: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:3486:36: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:3486:49: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:4678:40: warning: data argument not used by format string [-Wformat-extra-args] sprintf (pout,"Args = numeric\n",pcm->dlgnu); ~~~~~~~~~~~~~~~~~~ ^ ./gauser.c:4975:88: warning: data argument not used by format string [-Wformat-extra-args] sprintf (pout,"WARNING cstyle = 0 ; no lines will be plotted; I suggest 1 ...\n",pcm->cstyle); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gauser.c:5178:40: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5178:53: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5179:9: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmin.dy,pcm->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:5179:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmin.dy,pcm->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:5181:42: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5181:55: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5182:9: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmax.dy,pcm->tmax.hr); ^~~~~~~~~~~~ ./gauser.c:5182:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmax.dy,pcm->tmax.hr); ^~~~~~~~~~~~ ./gauser.c:5259:38: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5259:51: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5260:7: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmin.dy,pcm->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:5260:20: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmin.dy,pcm->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:5262:40: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5262:53: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5263:7: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmax.dy,pcm->tmax.hr); ^~~~~~~~~~~~ ./gauser.c:5263:20: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmax.dy,pcm->tmax.hr); ^~~~~~~~~~~~ 27 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gradsc grads.o gxsubs.o gxmeta.o gxchpl.o gxcntr.o gxstrm.o gxwmap.o gxshad.o gaexpr.o gafunc.o gautil.o gagx.o gscrpt.o gamach.o bufrstn.o gabufr.o gabufrtbl.o gxX.o gxdxwd.o gd13gif.o latsnc.o galats.o lats.o latsint.o latsgrib.o latstime.o latsstat.o fgbds.o fgutil.o latsgribmap.o gagmap.o gaddes-c.o gacfg-c.o gaio-c.o gauser-c.o -L/usr/local/lib -L/usr/local/lib -lgd -lpng -lz -lX11 -ltermcap -lm cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/nc -DUSESDF=1 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -DGOT_NETCDF=1 -o latsnc-nc.o -c ./latsnc.c ./latsnc.c:262:3: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] sprintf(name, "longitude_%s", grid->name); ^ ./latsnc.c:262:3: note: include the header or explicitly provide a declaration for 'sprintf' 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/nc -DUSESDF=1 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -DGOT_NETCDF=1 -o gaddes-nc.o -c ./gaddes.c ./gaddes.c:312:15: warning: implicit declaration of function 'wrdlen' is invalid in C99 [-Wimplicit-function-declaration] len = wrdlen(ch); ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/nc -DUSESDF=1 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -DGOT_NETCDF=1 -o gacfg-nc.o -c ./gacfg.c ./gacfg.c:55:17: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] if(GRADS_CRAY) strcat(cmd," 64-bit,cray"); ^ ./gacfg.c:55:17: note: include the header or explicitly provide a declaration for 'strcat' 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/nc -DUSESDF=1 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -DGOT_NETCDF=1 -o gaio-nc.o -c ./gaio.c ./gaio.c:519:67: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%d rc=%ld pos=%ld pfi->fhdr =%ld \n",__LINE__,rc,pos,pfi->fhdr); ~~~ ^~ %d ./gaio.c:656:71: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf (pout,"%d rc=%d pos=%ld pfi->fhdr =%d\n",__LINE__,rc,fpos,pfi->fhdr); ~~ ^~~~~~~~~ %ld ./gaio.c:980:4: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(rec,hdr,sizhdrf); ^ ./gaio.c:980:4: note: include the header or explicitly provide a declaration for 'memcpy' ./gaio.c:1281:67: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%d rc=%ld pos=%ld pfi->fhdr =%ld \n",__LINE__,rc,fpos,pfi->fhdr); ~~~ ^~ %d ./gaio.c:2988:25: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(pout,"%d ", iattr_val[i]); ~~ ^~~~~~~~~~~~ %ld 5 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/nc -DUSESDF=1 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -DGOT_NETCDF=1 -o gauser-nc.o -c ./gauser.c ./gauser.c:236:27: warning: implicit declaration of function 'close_netcdf' is invalid in C99 [-Wimplicit-function-declaration] if (pfi->sdf_ptr) close_netcdf(pfi->sdf_ptr->cdfid) ; ^ ./gauser.c:366:23: warning: implicit declaration of function 'close_netcdf' is invalid in C99 [-Wimplicit-function-declaration] if (pfi->sdf_ptr) close_netcdf(pfi->sdf_ptr->cdfid) ; ^ ./gauser.c:446:17: warning: implicit declaration of function 'dump_back_buffer' is invalid in C99 [-Wimplicit-function-declaration] dump_back_buffer(name_file_xwd) ; /* hoop */ ^ ./gauser.c:448:17: warning: implicit declaration of function 'dump_front_buffer' is invalid in C99 [-Wimplicit-function-declaration] dump_front_buffer(name_file_xwd) ; /* hoop */ ^ ./gauser.c:612:10: warning: implicit declaration of function 'gxhpng' is invalid in C99 [-Wimplicit-function-declaration] rc = gxhpng (cc,xin,yin,bwin,gifflg,bgImage,fgImage,tcolor); ^ ./gauser.c:2289:7: warning: implicit declaration of function 'gacfg' is invalid in C99 [-Wimplicit-function-declaration] gacfg(2); ^ ./gauser.c:2671:5: warning: implicit declaration of function 'gaqufb' is invalid in C99 [-Wimplicit-function-declaration] gaqufb(); ^ ./gauser.c:3486:10: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:3486:23: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:3486:36: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:3486:49: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pst->tmin.yr,pst->tmin.mo,pst->tmin.dy,pst->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:4678:40: warning: data argument not used by format string [-Wformat-extra-args] sprintf (pout,"Args = numeric\n",pcm->dlgnu); ~~~~~~~~~~~~~~~~~~ ^ ./gauser.c:4975:88: warning: data argument not used by format string [-Wformat-extra-args] sprintf (pout,"WARNING cstyle = 0 ; no lines will be plotted; I suggest 1 ...\n",pcm->cstyle); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gauser.c:5178:40: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5178:53: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5179:9: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmin.dy,pcm->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:5179:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmin.dy,pcm->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:5181:42: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5181:55: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5182:9: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmax.dy,pcm->tmax.hr); ^~~~~~~~~~~~ ./gauser.c:5182:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmax.dy,pcm->tmax.hr); ^~~~~~~~~~~~ ./gauser.c:5259:38: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5259:51: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li ",pcm->tmin.yr,pcm->tmin.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5260:7: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmin.dy,pcm->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:5260:20: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmin.dy,pcm->tmin.hr); ^~~~~~~~~~~~ ./gauser.c:5262:40: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5262:53: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout,"%li:%li:%li:%li \n",pcm->tmax.yr,pcm->tmax.mo, ~~~ ^~~~~~~~~~~~ %i ./gauser.c:5263:7: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmax.dy,pcm->tmax.hr); ^~~~~~~~~~~~ ./gauser.c:5263:20: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] pcm->tmax.dy,pcm->tmax.hr); ^~~~~~~~~~~~ 29 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/nc -DUSESDF=1 -DUSEHDF=0 -DUSEDODS=0 -DUSEGADODS=0 -DGOT_NETCDF=1 -o gasdf-nc.o -c ./gasdf.c ./gasdf.c:277:10: warning: implicit declaration of function 'read_one_dimension' is invalid in C99 [-Wimplicit-function-declaration] if (!read_one_dimension(pfi->sdf_ptr, Xcoord, Xcoord->vardimid[0])) { ^ ./gasdf.c:299:11: warning: implicit declaration of function 'read_one_dimension' is invalid in C99 [-Wimplicit-function-declaration] if ((!read_one_dimension(pfi->sdf_ptr, Ycoord, Ycoord->vardimid[0])) || ^ ./gasdf.c:410:12: warning: implicit declaration of function 'read_one_dimension' is invalid in C99 [-Wimplicit-function-declaration] if (!read_one_dimension(pfi->sdf_ptr, Zcoord, Zcoord->vardimid[0])) { ^ ./gasdf.c:535:7: warning: implicit declaration of function 'read_variable_data' is invalid in C99 [-Wimplicit-function-declaration] if (!read_variable_data(pfi->sdf_ptr->cdfid, Tcoord, start, count)) { ^ ./gasdf.c:551:7: warning: implicit declaration of function 'read_variable_data' is invalid in C99 [-Wimplicit-function-declaration] if (!read_variable_data(pfi->sdf_ptr->cdfid, Tcoord, start, count)) { ^ ./gasdf.c:625:9: warning: implicit declaration of function 'decode_delta_t' is invalid in C99 [-Wimplicit-function-declaration] if (!decode_delta_t(ch, &dt2.yr, &dt2.mo, &dt2.dy, &dt2.hr, &dt2.mn, &isec)) { ^ ./gasdf.c:671:9: warning: implicit declaration of function 'get_ud_time_unit' is invalid in C99 [-Wimplicit-function-declaration] if (!get_ud_time_unit(Tcoord, &timeunit)) { ^ ./gasdf.c:1834:19: warning: address of array 'oldlclvar->gradsabbr' will always evaluate to 'true' [-Wpointer-bool-conversion] if (oldlclvar->gradsabbr) { ~~ ~~~~~~~~~~~^~~~~~~~~ ./gasdf.c:2039:53: warning: implicitly declaring library function 'isalnum' with type 'int (int)' [-Wimplicit-function-declaration] if ( (cmpwrd("*", rec) || cmpwrd("#", rec)) || !isalnum(rec[0]) ) { ^ ./gasdf.c:2039:53: note: include the header or explicitly provide a declaration for 'isalnum' ./gasdf.c:2480:59: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf (pout," Count in station map file = %li\n",mcnt); ~~~ ^~~~ %i ./gasdf.c:3359:2: warning: implicit declaration of function 'set_default_scale_offset' is invalid in C99 [-Wimplicit-function-declaration] set_default_scale_offset(unpktype, &sf, &junk) ; ^ ./gasdf.c:3364:2: warning: implicit declaration of function 'set_default_scale_offset' is invalid in C99 [-Wimplicit-function-declaration] set_default_scale_offset(unpktype, &junk, &ao) ; ^ ./gasdf.c:3594:12: warning: implicit declaration of function 'read_variable_data' is invalid in C99 [-Wimplicit-function-declaration] if (!read_variable_data(gridptr->pfile->sdf_ptr->cdfid, ^ ./gasdf.c:3619:7: warning: implicit declaration of function 'read_variable_data' is invalid in C99 [-Wimplicit-function-declaration] if (!read_variable_data(gridptr->pfile->sdf_ptr->cdfid, ^ ./gasdf.c:3659:7: warning: implicit declaration of function 'read_variable_data' is invalid in C99 [-Wimplicit-function-declaration] if (!read_variable_data(gridptr->pfile->sdf_ptr->cdfid, data_var, ^ ./gasdf.c:3980:10: warning: implicit declaration of function 'read_variable_data' is invalid in C99 [-Wimplicit-function-declaration] if (!read_variable_data(gridptr->pfile->sdf_ptr->cdfid, ^ ./gasdf.c:4006:12: warning: implicit declaration of function 'read_variable_data' is invalid in C99 [-Wimplicit-function-declaration] if (!read_variable_data(gridptr->pfile->sdf_ptr->cdfid, ^ ./gasdf.c:4047:7: warning: implicit declaration of function 'read_variable_data' is invalid in C99 [-Wimplicit-function-declaration] if (!read_variable_data(gridptr->pfile->sdf_ptr->cdfid, ^ ./gasdf.c:4311:11: warning: implicit declaration of function 'read_one_dimension' is invalid in C99 [-Wimplicit-function-declaration] if (read_one_dimension (std_ptr, var, dim) != Success) ^ ./gasdf.c:4321:6: warning: implicit declaration of function 'get_ud_time_unit' is invalid in C99 [-Wimplicit-function-declaration] get_ud_time_unit (var, &unit); ^ ./gasdf.c:4402:7: warning: implicit declaration of function 'decode_delta_t' is invalid in C99 [-Wimplicit-function-declaration] if (decode_delta_t ((char *) delta->data, &yr, &mo, &da, &hr, ^ ./gasdf.c:4405:12: warning: implicit declaration of function 'get_period' is invalid in C99 [-Wimplicit-function-declaration] else if (get_period (yr, mo, da, hr, &pix) != Success) ^ ./gasdf.c:4422:3: warning: implicit declaration of function 'encode_time' is invalid in C99 [-Wimplicit-function-declaration] encode_time (yr, mo, da, hr, min, (int) sec, tstring); ^ ./gasdf.c:4563:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_ud_time_unit (time, unit) ^ ./gasdf.c:4787:8: warning: implicit declaration of function 'dbl_equal' is invalid in C99 [-Wimplicit-function-declaration] if (dbl_equal (val->fval, FMISS)) ^ ./gasdf.c:4830:8: warning: implicit declaration of function 'dbl_equal' is invalid in C99 [-Wimplicit-function-declaration] if (dbl_equal (val->fval, FMISS)) ^ ./gasdf.c:4873:8: warning: implicit declaration of function 'dbl_equal' is invalid in C99 [-Wimplicit-function-declaration] if (dbl_equal (val->fval, FMISS)) ^ ./gasdf.c:4925:8: warning: implicit declaration of function 'dbl_equal' is invalid in C99 [-Wimplicit-function-declaration] if (dbl_equal (val->dval, DMISS)) ^ ./gasdf.c:4959:8: warning: implicit declaration of function 'dbl_equal' is invalid in C99 [-Wimplicit-function-declaration] if (dbl_equal (val->fval, FMISS)) ^ ./gasdf.c:5179:18: warning: equality comparison result unused [-Wunused-comparison] *first_list1 == (struct attrib_list*)NULL; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gasdf.c:5179:18: note: use '=' to turn this equality comparison into an assignment *first_list1 == (struct attrib_list*)NULL; ^~ = ./gasdf.c:5469:7: warning: implicit declaration of function 'init_standard_arrays' is invalid in C99 [-Wimplicit-function-declaration] if (init_standard_arrays (std_ptr->time_type) != Success) ^ ./gasdf.c:5763:5: warning: implicit declaration of function 'copy_char_str' is invalid in C99 [-Wimplicit-function-declaration] copy_char_str (&(curr->name), name); ^ ./gasdf.c:6057:7: warning: implicit declaration of function 'read_variable_data' is invalid in C99 [-Wimplicit-function-declaration] if (read_variable_data (in_ptr->cdfid, var, start, count) != Success) ^ ./gasdf.c:6398:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] copy_char_str (dest, source) ^ ./gasdf.c:6466:7: warning: implicit declaration of function 'set_default_scale_offset' is invalid in C99 [-Wimplicit-function-declaration] set_default_scale_offset(*converted_type, scale, &junk); ^ ./gasdf.c:6469:7: warning: implicit declaration of function 'set_default_scale_offset' is invalid in C99 [-Wimplicit-function-declaration] set_default_scale_offset(*converted_type, &junk, offset); ^ 36 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gradsnc grads.o gxsubs.o gxmeta.o gxchpl.o gxcntr.o gxstrm.o gxwmap.o gxshad.o gaexpr.o gafunc.o gautil.o gagx.o gscrpt.o gamach.o bufrstn.o gabufr.o gabufrtbl.o gxX.o gxdxwd.o gd13gif.o galats.o lats.o latsint.o latsgrib.o latstime.o latsstat.o fgbds.o fgutil.o latsgribmap.o gagmap.o latsnc-nc.o gaddes-nc.o gacfg-nc.o gaio-nc.o gauser-nc.o gasdf-nc.o -L/usr/local/lib -L/usr/local/lib -lgd -lpng -lz -lX11 -lnetcdf -ludunits2 -ltermcap -lm cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gribmap.c' || echo './'`gribmap.c gribmap.c:35:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (int argc, char *argv[]) { ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DSTNDALN -o gaddes.sa.o -c ./gaddes.c ./gaddes.c:312:15: warning: implicit declaration of function 'wrdlen' is invalid in C99 [-Wimplicit-function-declaration] len = wrdlen(ch); ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DSTNDALN -o gautil.sa.o -c ./gautil.c ./gautil.c:434:23: warning: implicitly declaring library function 'tolower' with type 'int (int)' [-Wimplicit-function-declaration] if (*ch == ':' || tolower(*ch) == 'z') { ^ ./gautil.c:434:23: note: include the header or explicitly provide a declaration for 'tolower' ./gautil.c:620:10: warning: expression result unused [-Wunused-value] else *cc++; ^~~~~ ./gautil.c:1533:24: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf(ch,"%04li",dtim->yr); ~~~~~ ^~~~~~~~ %04i ./gautil.c:1539:39: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf(ch,"%s%04li",monc[mnth],dtim->yr); ~~~~~ ^~~~~~~~ %04i ./gautil.c:1543:49: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] sprintf(ch,"%i%i%s%04li",dy1,dy2,monc[mnth],dtim->yr); ~~~~~ ^~~~~~~~ %04i ./gautil.c:1547:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] monc[mnth],dtim->yr); ^~~~~~~~ ./gautil.c:1551:22: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] monc[mnth],dtim->yr); ^~~~~~~~ ./gautil.c:2205:7: warning: implicitly declaring library function 'islower' with type 'int (int)' [-Wimplicit-function-declaration] if (islower(*(pvar->abbrv))) return(0); ^ ./gautil.c:2205:7: note: include the header or explicitly provide a declaration for 'islower' 8 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gribmap gribmap.o gagmap.o gamach.o gaddes.sa.o gautil.sa.o -L/usr/local/lib -ltermcap -lm cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxeps.c' || echo './'`gxeps.c gxeps.c:437:26: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] pnts=(struct point *) malloc(pnmax*sizeof(struct point)); /* initial maximal polygon size */ ^ gxeps.c:437:26: note: include the header or explicitly provide a declaration for 'malloc' gxeps.c:515:4: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] free(pnts); ^ gxeps.c:515:4: note: include the header or explicitly provide a declaration for 'free' gxeps.c:924:10: warning: implicit declaration of function 'getenv' is invalid in C99 [-Wimplicit-function-declaration] if(getenv("USER")) ^ gxeps.c:925:34: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] fprintf(outfile,"%%%%For: %s\n",getenv("USER")); ~~ ^~~~~~~~~~~~~~ %d gxeps.c:947:33: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] fprintf(outfile,"%%Host: %s\n",getenv("HOST")); ~~ ^~~~~~~~~~~~~~ %d gxeps.c:949:32: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] fprintf(outfile,"%%PWD: %s\n",getenv("PWD")); ~~ ^~~~~~~~~~~~~ %d gxeps.c:1066:55: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s0 {[] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1067:55: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s1 {[] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1068:61: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s2 {[125 60] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1069:60: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s3 {[60 60] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1070:67: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s4 {[125 60 60 60] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1071:60: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s5 {[10 40] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1072:60: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s6 {[75 60] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1073:73: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s7 {[125 40 15 15 15 40] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1074:60: warning: data argument not used by format string [-Wformat-extra-args] fprintf(outfile,"/s8 {[15 80] 0 setdash} bdef\n",i,widths[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ gxeps.c:1251:35: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] colum+=fprintf(outfile,"%i %i",dx,dy); ~~ ^~ %li gxeps.c:1251:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] colum+=fprintf(outfile,"%i %i",dx,dy); ~~ ^~ %li gxeps.c:1261:29: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(outfile,"%i %i",dx,dy); ~~ ^~ %li gxeps.c:1261:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(outfile,"%i %i",dx,dy); ~~ ^~ %li gxeps.c:1362:35: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] colum+=fprintf(outfile,"%i %i",dx,dy); ~~ ^~ %li gxeps.c:1362:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] colum+=fprintf(outfile,"%i %i",dx,dy); ~~ ^~ %li gxeps.c:1374:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(outfile,"%i %i\n%i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); ~~ ^~ %li gxeps.c:1374:50: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(outfile,"%i %i\n%i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); ~~ ^~ %li gxeps.c:1376:53: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(outfile,"%i %i %i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); ~~ ^~ %li gxeps.c:1376:56: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(outfile,"%i %i %i %i %i F\n",dx,dy,pnts[0].x,pnts[0].y,pcnt); ~~ ^~ %li 25 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gxeps gxeps.o -L/usr/local/lib -ltermcap -lm cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxps.c' || echo './'`gxps.c gxps.c:66:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (int argc, char *argv[]) { ^ gxps.c:116:52: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] else printf ("Unknown flag %c; ignored.\n",argv[i]+j); ~~ ^~~~~~~~~ %s gxps.c:235:9: warning: 'sprintf' will always overflow; destination buffer has size 20, but format string expands to at least 27 [-Wfortify-source] sprintf(ch," %.5g %.5g %.5g c",red[lcolor],green[lcolor],blue[lcolor]); ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gxps gxps.o -L/usr/local/lib -ltermcap -lm cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'stnmap.c' || echo './'`stnmap.c stnmap.c:49:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (int argc, char *argv[]) { ^ stnmap.c:408:6: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] mxcnt,mxtim); ^~~~~ stnmap.c:408:12: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] mxcnt,mxtim); ^~~~~ stnmap.c:409:60: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] printf (" Max data elements in largest report: %li\n",mxsiz); ~~~ ^~~~~ %i stnmap.c:439:2: warning: implicit declaration of function 'gapby' is invalid in C99 [-Wimplicit-function-declaration] gapby(idum,map,offset,4); ^ stnmap.c:440:2: warning: implicit declaration of function 'gapbb' is invalid in C99 [-Wimplicit-function-declaration] gapbb(1,map,offset*8,1); ^ stnmap.c:442:2: warning: implicit declaration of function 'gapby' is invalid in C99 [-Wimplicit-function-declaration] gapby(idum,map,offset,4); ^ 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o stnmap stnmap.o gamach.o gaddes.sa.o gautil.sa.o -L/usr/local/lib -ltermcap -lm cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'wgrib.c' || echo './'`wgrib.c wgrib.c:5309:55: warning: for loop has empty body [-Wempty-body] for (c0 = 0; line[c0] != ':' && line[c0] != 0; c0++) ; ^ wgrib.c:5309:55: note: put the semicolon on a separate line to silence this warning 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o wgrib wgrib.o -L/usr/local/lib -ltermcap -lm cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gribscan.c' || echo './'`gribscan.c gribscan.c:123:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (int argc, char *argv[]) { ^ gribscan.c:393:54: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long') [-Wformat] if(verb) printf("the header is %d bytes long\n",fpos); ~~ ^~~~ %ld gribscan.c:486:5: warning: implicit declaration of function 'gapby' is invalid in C99 [-Wimplicit-function-declaration] gapby(gds->len,gds->gds,0,3); ^ gribscan.c:523:7: warning: implicit declaration of function 'gapbb' is invalid in C99 [-Wimplicit-function-declaration] gapbb(1,gds->gds,bstrt,1); ^ gribscan.c:526:7: warning: implicit declaration of function 'gapbb' is invalid in C99 [-Wimplicit-function-declaration] gapbb(0,gds->gds,bstrt,1); ^ gribscan.c:529:5: warning: implicit declaration of function 'gapbb' is invalid in C99 [-Wimplicit-function-declaration] gapbb(gds->lat1,gds->gds,bstrt,23); ^ gribscan.c:910:25: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] if(gvout) printf(" % 6s % 38s % 16s", ~^~~ gribscan.c:910:30: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] if(gvout) printf(" % 6s % 38s % 16s", ~^~~~ gribscan.c:910:36: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] if(gvout) printf(" % 6s % 38s % 16s", ~^~~~ gribscan.c:1102:59: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long') [-Wformat] printf(",BDS,%d,%10g,%d,%d,%d",ghdr->bnum,ghdr->ref,npts,cposis,ghdr->len); ~~ ^~~~~~ %ld gribscan.c:1104:70: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long') [-Wformat] printf(" BDS % 3d %10g % 10d % 10d % 10d",ghdr->bnum,ghdr->ref,npts,cposis,ghdr->len); ~~~~~ ^~~~~~ % 10ld gribscan.c:1107:63: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long') [-Wformat] printf(", B ,%2d,%g,%d,%d,%d",ghdr->bnum,ghdr->ref,npts,cposis,ghdr->len); ~~ ^~~~~~ %ld gribscan.c:1184:4: warning: implicit declaration of function 'gapbb' is invalid in C99 [-Wimplicit-function-declaration] gapbb(*(gri+i),gd.bds,bstrt,ghdr->bnum); ^ gribscan.c:1190:9: warning: implicit declaration of function 'gapby' is invalid in C99 [-Wimplicit-function-declaration] gapby(20,gd.pds,24,1); ^ gribscan.c:1198:2: warning: implicit declaration of function 'gapbb' is invalid in C99 [-Wimplicit-function-declaration] gapbb(1,gd.pds,7*8,1); ^ 15 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gribscan gribscan.o gamach.o gautil.sa.o -L/usr/local/lib -ltermcap -lm cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'bufrscan.c' || echo './'`bufrscan.c bufrscan.c:18:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o bufrscan bufrscan.o gabufr.o gabufrtbl.o gamach.o -L/usr/local/lib -ltermcap -lm cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f 'gxtran.c' || echo './'`gxtran.c gxtran.c:51:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (int argc, char *argv[]) { ^ gxtran.c:80:52: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] else printf ("Unknown flag %c; ignored.\n",argv[i]+j); ~~ ^~~~~~~~~ %s gxtran.c:85:25: warning: implicit declaration of function 'gxdgeo' is invalid in C99 [-Wimplicit-function-declaration] else if (gflag) { gxdgeo(argv[i]); wflag = 1; gflag = 0; } ^ 3 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DSTNDALN -o gxmeta.sa.o -c ./gxmeta.c In file included from ./gxmeta.c:694: ./gxhpng.c:100:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(bgfile=fopen(bgImage,"rb")) { ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./gxhpng.c:100:14: note: place parentheses around the assignment to silence this warning if(bgfile=fopen(bgImage,"rb")) { ^ ( ) ./gxhpng.c:100:14: note: use '==' to turn this assignment into an equality comparison if(bgfile=fopen(bgImage,"rb")) { ^ == ./gxhpng.c:149:9: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(0,"Logic Error 4 in gxhpng. Notify Developer\n"); ^ ./gxhpng.c:155:9: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(0,"Logic Error 8 in gxhpng. Notify Developer\n"); ^ ./gxhpng.c:161:9: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(0,"Logic Error 12 in gxhpng. Notify Developer\n"); ^ ./gxhpng.c:225:11: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(0,"Memory allocation error: gxhpng\n"); ^ ./gxhpng.c:303:9: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(0,"Logic Error 20 in gxhpng. Notify Developer\n"); ^ ./gxhpng.c:327:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fgfile=fopen(fgImage,"rb")) { ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./gxhpng.c:327:14: note: place parentheses around the assignment to silence this warning if(fgfile=fopen(fgImage,"rb")) { ^ ( ) ./gxhpng.c:327:14: note: use '==' to turn this assignment into an equality comparison if(fgfile=fopen(fgImage,"rb")) { ^ == ./gxhpng.c:349:7: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(2,pout); ^ ./gxhpng.c:353:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(bgfile=fopen(bgImage,"rb")) { ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./gxhpng.c:353:14: note: place parentheses around the assignment to silence this warning if(bgfile=fopen(bgImage,"rb")) { ^ ( ) ./gxhpng.c:353:14: note: use '==' to turn this assignment into an equality comparison if(bgfile=fopen(bgImage,"rb")) { ^ == ./gxhpng.c:366:5: warning: implicit declaration of function 'gaprnt' is invalid in C99 [-Wimplicit-function-declaration] gaprnt(0,pout); ^ 10 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o gxtran gxtran.o gxsubs.o gxchpl.o gxX.o gxdxwd.o gd13gif.o gxmeta.sa.o -L/usr/local/lib -L/usr/local/lib -lgd -lpng -lz -lX11 -ltermcap -lm =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for grads-1.9b4_18 ===> Generating temporary packing list Making install in src /bin/sh ../etc/mkinstalldirs /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin install -s -m 555 gradsc /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gradsc install -s -m 555 gradsnc /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gradsnc install -s -m 555 gribmap /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gribmap install -s -m 555 gxeps /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gxeps install -s -m 555 gxps /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gxps install -s -m 555 stnmap /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/stnmap install -s -m 555 wgrib /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/wgrib install -s -m 555 gribscan /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gribscan install -s -m 555 bufrscan /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/bufrscan install -s -m 555 gxtran /wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/bin/gxtran /bin/mkdir -p "/wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/share/grads" cd /wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/data && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . "/wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/share/grads" /bin/mkdir -p "/wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/share/examples/grads" cd /wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/examples && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . "/wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/share/examples/grads" /bin/mkdir -p "/wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/share/doc/grads" cd /wrkdirs/usr/ports/graphics/grads/work/grads-1.9b4/doc && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . "/wrkdirs/usr/ports/graphics/grads/work/stage/usr/local/share/doc/grads" ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-01T06:36:20+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=664a2fa1e5' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for grads-1.9b4_18 ===> Building grads-1.9b4_18 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for grads-1.9b4_18 build of graphics/grads | grads-1.9b4_18 ended at Mon Apr 1 07:38:05 BST 2024 build time: 00:01:46