[package - main-amd64-default][science/netcdf-fortran] Failed for netcdf-fortran-4.6.4 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 29 Aug 2026 03:51:15 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     sunpoet@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/pc15851b5d6fc_s7dc4284615/logs/netcdf-fortran-4.6.4.log
Build URL:      https://pkg-status.freebsd.org/beefy24/build.html?mastername=main-amd64-default&build=pc15851b5d6fc_s7dc4284615
Log:

=>> Building science/netcdf-fortran
build started at Sat Aug 29 03:51:04 UTC 2026
port directory: /usr/ports/science/netcdf-fortran
package name: netcdf-fortran-4.6.4
building for: FreeBSD main-amd64-default-job-19 16.0-CURRENT FreeBSD 16.0-CURRENT 1600021 amd64
maintained by: sunpoet@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 903 Aug 25 01:01 /usr/ports/science/netcdf-fortran/Makefile
Ports top last git commit: c15851b5d6fc3781f592602edc35589c21774938
Ports top unclean checkout: no
Port dir last git commit: 257d398313aa83aaf482c7c4c353aae200f0c411
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.8-2-g2e891d4a
Host OSVERSION: 1600019
Jail OSVERSION: 1600021
Job Id: 19




!!! Jail is newer than host. (Jail: 1600021, Host: 1600019) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1600021
UNAME_v=FreeBSD 16.0-CURRENT 1600021
UNAME_r=16.0-CURRENT
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.8-2-g2e891d4a
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-amd64-default/19/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.8-2-g2e891d4a
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---
---End OPTIONS List---

--MAINTAINER--
sunpoet@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran14" F90="gfortran14" FC="gfortran14"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc14" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc14" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc14" MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/science/netcdf-fortran/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/netcdf-fortran/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/netcdf-fortran/work/.cache  HOME=/wrkdirs/usr/ports/science/netcdf-fortran/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/netcdf-fortran/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/netcdf-fortran/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="
/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" STRIP="/usr/local/bin/strip" CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
MAKEINFOFLAGS=--no-split F77="gfortran14" F90="gfortran14" FC="gfortran14"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc14" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc14" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc14" XDG_DATA_HOME=/wrkdirs/usr/ports/science/netcdf-fortran/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/netcdf-fortran/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/netcdf-fortran/work/.cache  HOME=/wrkdirs/usr/ports/science/netcdf-fortran/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/netcdf-fortran/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/netcdf-fortran/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM=
"/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" STRIP="/usr/local/bin/strip" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-fPIC -DPIC -DgFortran -isystem /usr/local/include"  LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc14  -L/usr/local/lib/gcc14 " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -isystem /usr/local/include " 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--
OSREL=16.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/netcdf-fortran"  EXAMPLESDIR="share/examples/netcdf-fortran"  DATADIR="share/netcdf-fortran"  WWWDIR="www/netcdf-fortran"  ETCDIR="etc/netcdf-fortran"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/netcdf-fortran DOCSDIR=/usr/local/share/doc/netcdf-fortran EXAMPLESDIR=/usr/local/share/examples/netcdf-fortran  WWWDIR=/usr/local/www/netcdf-fortran ETCDIR=/usr/local/etc/netcdf-fortran
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---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
pipebuf                 (kbytes, -y)  unlimited
virtual machines                (-V)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License UCAR_UNIDATA accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   netcdf-fortran-4.6.4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.8.4.pkg
[main-amd64-default-job-19] Installing pkg-2.8.4...
[main-amd64-default-job-19] Extracting pkg-2.8.4: .......... done
===>   netcdf-fortran-4.6.4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of netcdf-fortran-4.6.4
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License UCAR_UNIDATA accepted by the user
===> Fetching all distfiles required by netcdf-fortran-4.6.4 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License UCAR_UNIDATA accepted by the user
===> Fetching all distfiles required by netcdf-fortran-4.6.4 for building
=> SHA256 Checksum OK for netcdf-fortran-4.6.4.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License UCAR_UNIDATA accepted by the user
===> Fetching all distfiles required by netcdf-fortran-4.6.4 for building
===>  Extracting for netcdf-fortran-4.6.4
=> SHA256 Checksum OK for netcdf-fortran-4.6.4.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for netcdf-fortran-4.6.4
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   netcdf-fortran-4.6.4 depends on package: netcdf>=4.9.0 - not found
===>   Installing existing package /packages/All/netcdf-4.10.1.pkg
[main-amd64-default-job-19] Installing netcdf-4.10.1...
[main-amd64-default-job-19] `-- Installing curl-8.21.0...
[main-amd64-default-job-19] |   `-- Installing brotli-1.2.0,1...
[main-amd64-default-job-19] |   `-- Extracting brotli-1.2.0,1: .......... done
[main-amd64-default-job-19] |   `-- Installing libidn2-2.3.8...
[main-amd64-default-job-19] |   | `-- Installing indexinfo-0.3.1_1...
[main-amd64-default-job-19] |   | `-- Extracting indexinfo-0.3.1_1: .... done
[main-amd64-default-job-19] |   | `-- Installing libunistring-1.4.2...
[main-amd64-default-job-19] |   | `-- Extracting libunistring-1.4.2: .......... done
[main-amd64-default-job-19] |   `-- Extracting libidn2-2.3.8: .......... done
[main-amd64-default-job-19] |   `-- Installing libnghttp2-1.70.0...
[main-amd64-default-job-19] |   `-- Extracting libnghttp2-1.70.0: .......... done
[main-amd64-default-job-19] |   `-- Installing libpsl-0.23.3...
[main-amd64-default-job-19] |   `-- Extracting libpsl-0.23.3: .......... done
[main-amd64-default-job-19] |   `-- Installing libssh2-1.11.1_1,3...
[main-amd64-default-job-19] |   `-- Extracting libssh2-1.11.1_1,3: .......... done
[main-amd64-default-job-19] |   `-- Installing zstd-1.5.7_2...
[main-amd64-default-job-19] |   | `-- Installing liblz4-1.10.0_2,1...
[main-amd64-default-job-19] |   | `-- Extracting liblz4-1.10.0_2,1: .......... done
[main-amd64-default-job-19] |   `-- Extracting zstd-1.5.7_2: .......... done
[main-amd64-default-job-19] `-- Extracting curl-8.21.0: .......... done
[main-amd64-default-job-19] `-- Installing hdf5-1.12.2_2,1...
[main-amd64-default-job-19] |   `-- Installing gcc14-14.2.0_7...
[main-amd64-default-job-19] |   | `-- Installing binutils-2.44,1...
[main-amd64-default-job-19] |   | `-- Extracting binutils-2.44,1: .......... done
[main-amd64-default-job-19] |   | `-- Installing gmp-6.3.0...
[main-amd64-default-job-19] |   | `-- Extracting gmp-6.3.0: .......... done
[main-amd64-default-job-19] |   | `-- Installing mpc-1.4.1...
[main-amd64-default-job-19] |   |   `-- Installing mpfr-4.2.2,1...
[main-amd64-default-job-19] |   |   `-- Extracting mpfr-4.2.2,1: .......... done
[main-amd64-default-job-19] |   | `-- Extracting mpc-1.4.1: .......... done
[main-amd64-default-job-19] |   `-- Extracting gcc14-14.2.0_7: .......... done
ldconfig: illegal option -- 3
usage: ldconfig [-32] [-BRimr] [-f hints_file][directory | file ...]
[main-amd64-default-job-19] |   `-- Installing libaec-1.1.7...
[main-amd64-default-job-19] |   `-- Extracting libaec-1.1.7: .......... done
[main-amd64-default-job-19] `-- Extracting hdf5-1.12.2_2,1: .......... done
[main-amd64-default-job-19] `-- Installing pkgconf-3.0.5,1...
[main-amd64-default-job-19] `-- Extracting pkgconf-3.0.5,1: .......... done
[main-amd64-default-job-19] Extracting netcdf-4.10.1: .......... done
=====
Message from gcc14-14.2.0_7:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc14

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   netcdf-fortran-4.6.4 depends on package: netcdf>=4.9.0 - found
===>   Returning to build of netcdf-fortran-4.6.4
===>   netcdf-fortran-4.6.4 depends on executable: gfortran14 - found
===>   netcdf-fortran-4.6.4 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[main-amd64-default-job-19] Installing gmake-4.4.1...
[main-amd64-default-job-19] `-- Installing gettext-runtime-1.0_1...
[main-amd64-default-job-19] `-- Extracting gettext-runtime-1.0_1: .......... done
[main-amd64-default-job-19] Extracting gmake-4.4.1: .......... done
===>   netcdf-fortran-4.6.4 depends on package: gmake>=4.4.1 - found
===>   Returning to build of netcdf-fortran-4.6.4
===>   netcdf-fortran-4.6.4 depends on file: /usr/local/bin/makeinfo - not found
===>   Installing existing package /packages/All/texinfo-7.3_1,1.pkg
[main-amd64-default-job-19] Installing texinfo-7.3_1,1...
[main-amd64-default-job-19] `-- Installing libiconv-1.18_1...
[main-amd64-default-job-19] `-- Extracting libiconv-1.18_1: .......... done
[main-amd64-default-job-19] `-- Installing p5-Locale-libintl-1.37...
[main-amd64-default-job-19] |   `-- Installing perl5-5.42.3...
[main-amd64-default-job-19] |   `-- Extracting perl5-5.42.3: .......... done
[main-amd64-default-job-19] `-- Extracting p5-Locale-libintl-1.37: .......... done
[main-amd64-default-job-19] `-- Installing p5-Text-Unidecode-1.30...
[main-amd64-default-job-19] `-- Extracting p5-Text-Unidecode-1.30: .......... done
[main-amd64-default-job-19] `-- Installing p5-Unicode-EastAsianWidth-12.0...
[main-amd64-default-job-19] `-- Extracting p5-Unicode-EastAsianWidth-12.0: ...... done
[main-amd64-default-job-19] Extracting texinfo-7.3_1,1: .......... done
===>   netcdf-fortran-4.6.4 depends on file: /usr/local/bin/makeinfo - found
===>   Returning to build of netcdf-fortran-4.6.4
===>   netcdf-fortran-4.6.4 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   netcdf-fortran-4.6.4 depends on shared library: libnetcdf.so - found (/usr/local/lib/libnetcdf.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for netcdf-fortran-4.6.4
configure: loading site script /usr/ports/Templates/config.site
configure: netCDF-Fortran 4.6.4
checking build system type... amd64-portbld-freebsd16.0
checking host system type... amd64-portbld-freebsd16.0
checking target system type... amd64-portbld-freebsd16.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether /usr/local/bin/gmake sets $(MAKE)... yes
checking whether /usr/local/bin/gmake supports nested variables... yes
checking xargs -n works... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... (cached) /usr/bin/tar
checking whether to enable maintainer-specific portions of Makefiles... no
configure: checking user options
checking whether /usr/local/bin/gmake supports the include directive... yes (GNU style)
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C23 features... unsupported
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking if netCDF was built with CDF5... yes
checking if netCDF was built with Zstandard compression... yes
configure: WARNING:  
configure: WARNING: ------------------------------------------
configure: WARNING: libnetcdf was built with zstd support, but HDF5_PLUGIN_PATH is not set.  Either set the HDF5_PLUGIN_PATH environmental variable if zstandard tests fail, or use --disable-zstandard-plugin when running configure.
configure: WARNING: ------------------------------------------
configure: WARNING:  
checking if netCDF was built with pnetcdf... no
checking if netCDF was built with HDF5 parallel I/O features... no
checking if netCDF was built with any parallel I/O features... no
checking if netCDF-fortran should be built with HDF5 parallel I/O features... no
checking if netCDF was built with support for szip writes... yes
checking if netCDF was built with support for quantize... yes
checking for valgrind... no
checking whether parallel IO tests should be run... no
checking whether a user specified program to run mpi programs... mpiexec
checking whether netCDF documentation should be generated... no
checking for doxygen... no
configure: WARNING: Doxygen not found - documentation will not be built
checking for dot... no
configure: WARNING: dot not found - will use simple charts in documentation
configure: finding C compiler
checking for gcc... (cached) cc
checking whether the compiler supports GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to enable C23 features... (cached) unsupported
checking for cc option to enable C11 features... (cached) none needed
checking whether cc understands -c and -o together... (cached) yes
checking dependency style of cc... (cached) gcc3
checking for an ANSI C-conforming const... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
configure: finding Fortran compiler
checking whether the compiler supports GNU Fortran... no
checking whether gfortran14 accepts -g... no
checking whether the compiler supports GNU Fortran 77... no
checking whether gfortran14 accepts -g... no
checking whether Fortran compiler is checked for ISO_C_BINDING support... yes
checking for Fortran flag to compile .f90 files... unknown
configure: error: Fortran could not compile .f90 files
===>  Script "configure" failed unexpectedly.
Please report the problem to sunpoet@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/science/netcdf-fortran/work/netcdf-fortran-4.6.4/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped making "configure" in /usr/ports/science/netcdf-fortran