[package - 123i386-default][science/pnetcdf] Failed for pnetcdf-1.12.3 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 19 Jul 2022 23:45:26 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:        http://beefy5.nyi.freebsd.org/data/123i386-default/a51002eeb3d0/logs/pnetcdf-1.12.3.log
Build URL:      http://beefy5.nyi.freebsd.org/build.html?mastername=123i386-default&build=a51002eeb3d0
Log:

=>> Building science/pnetcdf
build started at Tue Jul 19 23:44:52 UTC 2022
port directory: /usr/ports/science/pnetcdf
package name: pnetcdf-1.12.3
building for: FreeBSD 123i386-default-job-09 12.3-RELEASE-p5 FreeBSD 12.3-RELEASE-p5 i386
maintained by: sunpoet@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1203000
Job Id: 09

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p5
UNAME_r=12.3-RELEASE-p5
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/123i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/123i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/123i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for pnetcdf-1.12.3:
====> MPI (Message Passing Interface) support: you have to select exactly one of them
     OPENMPI=on: Parallel processing support via Open MPI
     MPICH=off: Parallel processing support via MPICH 3
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--
--with-mpi=/usr/local/mpi/openmpi ac_cv_fc_compiler_nag=no --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran11" FC="gfortran11" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc11" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc11 -fallow-argument-mismatch" MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/science/pnetcdf/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/pnetcdf/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/pnetcdf/work/.cache  HOME=/wrkdirs/usr/ports/science/pnetcdf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/pnetcdf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/pnetcdf/work/.pkgconfig:/usr/local/libdata/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" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
F77="gfortran11" FC="gfortran11" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc11" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc11 -fallow-argument-mismatch" PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/science/pnetcdf/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/pnetcdf/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/pnetcdf/work/.cache  HOME=/wrkdirs/usr/ports/science/pnetcdf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/pnetcdf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/pnetcdf/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes 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" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fPIC -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc11  -L/usr/local/lib/gcc11 -B/usr/local/bin -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" 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=12.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/pnetcdf"  EXAMPLESDIR="share/examples/pnetcdf"  DATADIR="share/pnetcdf"  WWWDIR="www/pnetcdf"  ETCDIR="etc/pnetcdf"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/pnetcdf DOCSDIR=/usr/local/share/doc/pnetcdf EXAMPLESDIR=/usr/local/share/examples/pnetcdf  WWWDIR=/usr/local/www/pnetcdf ETCDIR=/usr/local/etc/pnetcdf
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# 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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p5
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  524288
stack size              (kbytes, -s)  65536
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)  1024
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--
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   pnetcdf-1.12.3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.3.pkg
[123i386-default-job-09] Installing pkg-1.18.3...
[123i386-default-job-09] Extracting pkg-1.18.3: .......... done
===>   pnetcdf-1.12.3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pnetcdf-1.12.3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
=> pnetcdf-1.12.3.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://parallel-netcdf.github.io/Release/pnetcdf-1.12.3.tar.gz
pnetcdf-1.12.3.tar.gz                                 2258 kB   26 MBps    00s
===> Fetching all distfiles required by pnetcdf-1.12.3 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by pnetcdf-1.12.3 for building
=> SHA256 Checksum OK for pnetcdf-1.12.3.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by pnetcdf-1.12.3 for building
===>  Extracting for pnetcdf-1.12.3
=> SHA256 Checksum OK for pnetcdf-1.12.3.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for pnetcdf-1.12.3
===>  Applying FreeBSD patches for pnetcdf-1.12.3 from /usr/ports/science/pnetcdf/files
===========================================================================
=======================<phase: build-depends  >============================
===>   pnetcdf-1.12.3 depends on executable: gfortran11 - not found
===>   Installing existing package /packages/All/gcc11-11.3.0.pkg
[123i386-default-job-09] Installing gcc11-11.3.0...
[123i386-default-job-09] `-- Installing binutils-2.37_2,1...
[123i386-default-job-09] |   `-- Installing gettext-runtime-0.21...
[123i386-default-job-09] |   | `-- Installing indexinfo-0.3.1...
[123i386-default-job-09] |   | `-- Extracting indexinfo-0.3.1: .... done
[123i386-default-job-09] |   `-- Extracting gettext-runtime-0.21: .......... done
[123i386-default-job-09] `-- Extracting binutils-2.37_2,1: .......... done
[123i386-default-job-09] `-- Installing gmp-6.2.1...
[123i386-default-job-09] `-- Extracting gmp-6.2.1: .......... done
<snip>
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for sed handling option -i ... /usr/bin/sed -i ''
checking for mpicc... /usr/local/mpi/openmpi/bin/mpicc
checking for gcc... /usr/local/mpi/openmpi/bin/mpicc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/mpi/openmpi/bin/mpicc accepts -g... yes
checking for /usr/local/mpi/openmpi/bin/mpicc option to accept ISO C89... none needed
checking whether /usr/local/mpi/openmpi/bin/mpicc understands -c and -o together... yes
checking whether gmake supports the include directive... yes (GNU style)
checking dependency style of /usr/local/mpi/openmpi/bin/mpicc... gcc3
checking for C compiler vendor... clang
checking base compiler command in MPICC wrapper... cc
checking for cc... /usr/bin/cc
checking how to run the C preprocessor... cpp
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for MPI_Comm_rank... yes
checking for MPI_File_open... yes
checking MPI Standard version implemented... 3.1
checking whether MPICH_VERSION is declared... no
checking whether MPICH2_VERSION is declared... no
checking whether OMPI_MAJOR_VERSION is declared... yes
checking whether MVAPICH2_VERSION is declared... no
checking MPI vendor... unknown
checking whether /usr/local/mpi/openmpi/bin/mpicc is a wrapper of a C++ compiler... no
checking build system type... i386-portbld-freebsd12.3
checking host system type... i386-portbld-freebsd12.3
checking the archiver (/usr/local/bin/ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by /usr/local/mpi/openmpi/bin/mpicc... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm
checking the name lister (/usr/local/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 524288
checking how to convert i386-portbld-freebsd12.3 file names to i386-portbld-freebsd12.3 format... func_convert_file_noop
checking how to convert i386-portbld-freebsd12.3 file names to toolchain format... func_convert_file_noop
checking for /usr/local/bin/ld option to reload object files... -r
checking for objdump... /usr/local/bin/objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... /usr/local/bin/ranlib
checking command to parse /usr/local/bin/nm output from /usr/local/mpi/openmpi/bin/mpicc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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 for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if /usr/local/mpi/openmpi/bin/mpicc supports -fno-rtti -fno-exceptions... yes
checking for /usr/local/mpi/openmpi/bin/mpicc option to produce PIC... -fPIC -DPIC
checking if /usr/local/mpi/openmpi/bin/mpicc PIC flag -fPIC -DPIC works... yes
checking if /usr/local/mpi/openmpi/bin/mpicc static flag -static works... no
checking if /usr/local/mpi/openmpi/bin/mpicc supports -c -o file.o... yes
checking if /usr/local/mpi/openmpi/bin/mpicc supports -c -o file.o... (cached) yes
checking whether the /usr/local/mpi/openmpi/bin/mpicc linker (/usr/local/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd12.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for mpicxx... /usr/local/mpi/openmpi/bin/mpicxx
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/local/mpi/openmpi/bin/mpicxx accepts -g... yes
checking dependency style of /usr/local/mpi/openmpi/bin/mpicxx... gcc3
checking how to run the C++ preprocessor... /usr/local/mpi/openmpi/bin/mpicxx -E
checking for ld used by /usr/local/mpi/openmpi/bin/mpicxx... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking whether the /usr/local/mpi/openmpi/bin/mpicxx linker (/usr/local/bin/ld) supports shared libraries... yes
checking for /usr/local/mpi/openmpi/bin/mpicxx option to produce PIC... -fPIC -DPIC
checking if /usr/local/mpi/openmpi/bin/mpicxx PIC flag -fPIC -DPIC works... yes
checking if /usr/local/mpi/openmpi/bin/mpicxx static flag -static works... no
checking if /usr/local/mpi/openmpi/bin/mpicxx supports -c -o file.o... yes
checking if /usr/local/mpi/openmpi/bin/mpicxx supports -c -o file.o... (cached) yes
checking whether the /usr/local/mpi/openmpi/bin/mpicxx linker (/usr/local/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd12.3 ld.so
checking how to hardcode library paths into programs... immediate
checking for C++ compiler vendor... clang
checking base compiler command in MPICXX wrapper... c++
checking for c++... /usr/bin/c++
checking for MPI_File_close... yes
checking whether MPI C++ compiler redefines SEEK_SET ... no
checking for mpif77... /usr/local/mpi/openmpi/bin/mpif77
checking for mpif90... /usr/local/mpi/openmpi/bin/mpif90
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether /usr/local/mpi/openmpi/bin/mpif77 accepts -g... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for /usr/local/mpi/openmpi/bin/mpif77 option to produce PIC... -fPIC
checking if /usr/local/mpi/openmpi/bin/mpif77 PIC flag -fPIC works... yes
checking if /usr/local/mpi/openmpi/bin/mpif77 static flag -static works... no
checking if /usr/local/mpi/openmpi/bin/mpif77 supports -c -o file.o... yes
checking if /usr/local/mpi/openmpi/bin/mpif77 supports -c -o file.o... (cached) yes
checking whether the /usr/local/mpi/openmpi/bin/mpif77 linker (/usr/local/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd12.3 ld.so
checking how to hardcode library paths into programs... immediate
checking how to get verbose linking output from /usr/local/mpi/openmpi/bin/mpif77... -v
checking for Fortran 77 libraries of /usr/local/mpi/openmpi/bin/mpif77...  -L/usr/local/lib/gcc11 -L/usr/local/mpi/openmpi/lib -L/usr/local/bin -L/usr/local/lib/gcc11/gcc/i386-portbld-freebsd12.3/11.3.0 -L/usr/local/lib/gcc11/gcc/i386-portbld-freebsd12.3/11.3.0/../../../../../i386-portbld-freebsd12.3/lib -L/usr/local/lib/gcc11/gcc/i386-portbld-freebsd12.3/11.3.0/../../.. -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -lm -lssp_nonshared -lquadmath -lpthread
checking whether /usr/local/mpi/openmpi/bin/mpif77 is a valid MPI compiler... yes
checking whether we are using the GNU Fortran compiler... yes
checking whether /usr/local/mpi/openmpi/bin/mpif90 accepts -g... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for /usr/local/mpi/openmpi/bin/mpif90 option to produce PIC... -fPIC
checking if /usr/local/mpi/openmpi/bin/mpif90 PIC flag -fPIC works... yes
checking if /usr/local/mpi/openmpi/bin/mpif90 static flag -static works... no
checking if /usr/local/mpi/openmpi/bin/mpif90 supports -c -o file.o... yes
checking if /usr/local/mpi/openmpi/bin/mpif90 supports -c -o file.o... (cached) yes
checking whether the /usr/local/mpi/openmpi/bin/mpif90 linker (/usr/local/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd12.3 ld.so
checking how to hardcode library paths into programs... immediate
checking how to get verbose linking output from /usr/local/mpi/openmpi/bin/mpif90... -v
checking for Fortran libraries of /usr/local/mpi/openmpi/bin/mpif90...  -L/usr/local/lib/gcc11 -L/usr/local/mpi/openmpi/lib -L/usr/local/bin -L/usr/local/lib/gcc11/gcc/i386-portbld-freebsd12.3/11.3.0 -L/usr/local/lib/gcc11/gcc/i386-portbld-freebsd12.3/11.3.0/../../../../../i386-portbld-freebsd12.3/lib -L/usr/local/lib/gcc11/gcc/i386-portbld-freebsd12.3/11.3.0/../../.. -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -lm -lssp_nonshared -lquadmath -lpthread
checking whether mpi.mod is available... yes
checking whether /usr/local/mpi/openmpi/bin/mpif90 is a valid MPI compiler... yes
checking for Fortran flag needed to accept free-form source... -ffree-form
checking for Fortran flag to compile preprocessed .F files... none
checking for Fortran flag to compile preprocessed .F90 files... none
checking for Fortran flag to compile preprocessed .F files... (cached) none
checking how to define symbols for preprocessed Fortran... -D
checking for Fortran flag to compile .f files... none
checking for Fortran flag to compile .F files... none
checking for Fortran flag to compile .f90 files... none
checking for Fortran flag to compile .F90 files... none
checking for Fortran compiler vendor... gnu
checking base compiler command in MPIF90 wrapper... gfortran11
checking for gfortran11... /usr/local/bin/gfortran11
checking for Fortran flag needed to accept fixed-form source... -ffixed-form
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, no extra underscore
checking for C-equivalent to Fortran routine "SUB_A"... sub_a_
checking Fortran compiler treating constant modifier... 8
checking Fortran 90 module extension... mod
checking Fortran 90 module inclusion flag... -I
checking Fortran 90 module extension... (cached) mod
checking whether Fortran 90 compiler capitalizes .mod filenames... no
checking for m4... m4
checking m4 additional flags... none needed
checking for stdbool.h that conforms to C99... (cached) yes
checking for _Bool... (cached) yes
checking for inline... inline
checking for IEEE floating point format... yes
checking whether strdup is declared... (cached) yes
checking for strdup... (cached) yes
checking whether strerror is declared... yes
checking for strerror... (cached) yes
checking whether access is declared... yes
checking for access... yes
checking whether truncate is declared... yes
checking for truncate... (cached) yes
checking whether unlink is declared... (cached) yes
checking for unlink... (cached) yes
checking whether strcasecmp is declared... yes
checking for strcasecmp... (cached) yes
checking for search.h... (cached) yes
checking whether tsearch is declared... yes
checking for tsearch... (cached) yes
checking whether tdelete is declared... yes
checking for tdelete... yes
checking size of MPI_Offset... 4
configure: error: 
   -----------------------------------------------------------------------
     Building of PnetCDF cannot continue due to the size of MPI_Offset
     being less than 8 bytes. Please use an MPI library that supports
     large files. Abort.
   -----------------------------------------------------------------------
===>  Script "configure" failed unexpectedly.
Please report the problem to sunpoet@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/science/pnetcdf/work/pnetcdf-1.12.3/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 in /usr/ports/science/pnetcdf