[package - 133i386-default][science/PETSc] Failed for PETSc-3.21.4 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 06 Aug 2024 02:48: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:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy15/data/133i386-default/46b3743b8469/logs/PETSc-3.21.4.log
Build URL:      https://pkg-status.freebsd.org/beefy15/build.html?mastername=133i386-default&build=46b3743b8469
Log:

=>> Building science/PETSc
build started at Tue Aug  6 02:45:41 UTC 2024
port directory: /usr/ports/science/PETSc
package name: PETSc-3.21.4
building for: FreeBSD 133i386-default-job-02 13.3-RELEASE-p4 FreeBSD 13.3-RELEASE-p4 i386
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  2688 Aug  1 01:01 /usr/ports/science/PETSc/Makefile
Ports top last git commit: 46b3743b846
Ports top unclean checkout: no
Port dir last git commit: fe11ef8d092
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1303001
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1303001
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=13.3-RELEASE-p4
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.3-RELEASE-p4
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/133i386-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/133i386-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=133i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/133i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
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 PETSc-3.21.4:
     METIS=on: Enable metis support for graph partitioning algorithms
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-64-bit-indices --with-metis=1 --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
BLA_VENDOR="Generic" F77="gfortran13" F90="gfortran13" FC="gfortran13"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc13" MAKE=gmake PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/science/PETSc/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/PETSc/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/PETSc/work/.cache  HOME=/wrkdirs/usr/ports/science/PETSc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/PETSc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/PETSc/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/bi
n/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="gfortran13" F90="gfortran13" FC="gfortran13"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc13" XDG_DATA_HOME=/wrkdirs/usr/ports/science/PETSc/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/PETSc/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/PETSc/work/.cache  HOME=/wrkdirs/usr/ports/science/PETSc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/PETSc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/PETSc/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/ob
jdump" 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  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" /usr/local/lib/libmpi.so -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc13  -L/usr/local/lib/gcc13 -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " 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--
SHLIB=3.21.4 SHL=3.21 PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=13.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/PETSc"  EXAMPLESDIR="share/examples/PETSc"  DATADIR="share/petsc"  WWWDIR="www/PETSc"  ETCDIR="etc/PETSc"
--End PLIST_SUB--

--SUB_LIST--
 PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/petsc DOCSDIR=/usr/local/share/doc/PETSc EXAMPLESDIR=/usr/local/share/examples/PETSc  WWWDIR=/usr/local/www/PETSc ETCDIR=/usr/local/etc/PETSc
--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}
####  ####
# 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)  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)  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--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   PETSc-3.21.4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[133i386-default-job-02] Installing pkg-1.21.3...
[133i386-default-job-02] Extracting pkg-1.21.3: .......... done
===>   PETSc-3.21.4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of PETSc-3.21.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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by PETSc-3.21.4 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by PETSc-3.21.4 for building
=> SHA256 Checksum OK for petsc-3.21.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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by PETSc-3.21.4 for building
===>  Extracting for PETSc-3.21.4
=> SHA256 Checksum OK for petsc-3.21.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 PETSc-3.21.4
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   PETSc-3.21.4 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.29.6.pkg
[133i386-default-job-02] Installing cmake-core-3.29.6...
[133i386-default-job-02] `-- Installing expat-2.6.2...
[133i386-default-job-02] `-- Extracting expat-2.6.2: .......... done
[133i386-default-job-02] `-- Installing jsoncpp-1.9.5...
[133i386-default-job-02] `-- Extracting jsoncpp-1.9.5: .......... done
[133i386-default-job-02] `-- Installing libuv-1.48.0...
[133i386-default-job-02] `-- Extracting libuv-1.48.0: .......... done
[133i386-default-job-02] `-- Installing rhash-1.4.4_1...
[133i386-default-job-02] |   `-- Installing gettext-runtime-0.22.5...
[133i386-default-job-02] |   | `-- Installing indexinfo-0.3.1...
[133i386-default-job-02] |   | `-- Extracting indexinfo-0.3.1: .... done
[133i386-default-job-02] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[133i386-default-job-02] `-- Extracting rhash-1.4.4_1: .......... done
[133i386-default-job-02] Extracting cmake-core-3.29.6: .......... done
===>   PETSc-3.21.4 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of PETSc-3.21.4
===>   PETSc-3.21.4 depends on executable: gfortran13 - not found
<snip>
py311-tkinter    x11-toolkits/py-tkinter@py311
===>   PETSc-3.21.4 depends on file: /usr/local/bin/python3.11 - found
===>   Returning to build of PETSc-3.21.4
===>   PETSc-3.21.4 depends on file: /usr/local/bin/as - found
===>   PETSc-3.21.4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found
===>   Installing existing package /packages/All/libX11-1.8.9,1.pkg
[133i386-default-job-02] Installing libX11-1.8.9,1...
[133i386-default-job-02] `-- Installing libxcb-1.17.0...
[133i386-default-job-02] |   `-- Installing libXau-1.0.11...
[133i386-default-job-02] |   `-- Extracting libXau-1.0.11: .......... done
[133i386-default-job-02] |   `-- Installing libXdmcp-1.1.5...
[133i386-default-job-02] |   | `-- Installing xorgproto-2024.1...
[133i386-default-job-02] |   | `-- Extracting xorgproto-2024.1: .......... done
[133i386-default-job-02] |   `-- Extracting libXdmcp-1.1.5: ......... done
[133i386-default-job-02] `-- Extracting libxcb-1.17.0: .......... done
[133i386-default-job-02] Extracting libX11-1.8.9,1: .......... done
===>   PETSc-3.21.4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   Returning to build of PETSc-3.21.4
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   PETSc-3.21.4 depends on shared library: libblis.so - not found
===>   Installing existing package /packages/All/blis-0.9.0_2.pkg
[133i386-default-job-02] Installing blis-0.9.0_2...
[133i386-default-job-02] Extracting blis-0.9.0_2: .......... done
===>   PETSc-3.21.4 depends on shared library: libblis.so - found (/usr/local/lib/libblis.so)
===>   Returning to build of PETSc-3.21.4
===>   PETSc-3.21.4 depends on shared library: libmpich.so - not found
===>   Installing existing package /packages/All/mpich-4.2.2.pkg
[133i386-default-job-02] Installing mpich-4.2.2...
[133i386-default-job-02] `-- Installing hwloc2-2.8.0_1...
[133i386-default-job-02] |   `-- Installing level-zero-1.17.25...
[133i386-default-job-02] |   | `-- Installing libfmt-10.2.1...
[133i386-default-job-02] |   | `-- Extracting libfmt-10.2.1: .......... done
[133i386-default-job-02] |   | `-- Installing spdlog-1.14.1...
[133i386-default-job-02] |   | `-- Extracting spdlog-1.14.1: .......... done
[133i386-default-job-02] |   `-- Extracting level-zero-1.17.25: .......... done
[133i386-default-job-02] |   `-- Installing libpciaccess-0.18.1...
[133i386-default-job-02] |   `-- Extracting libpciaccess-0.18.1: ........ done
[133i386-default-job-02] |   `-- Installing libxml2-2.11.8...
[133i386-default-job-02] |   `-- Extracting libxml2-2.11.8: .......... done
[133i386-default-job-02] `-- Extracting hwloc2-2.8.0_1: .......... done
[133i386-default-job-02] `-- Installing json-c-0.17...
[133i386-default-job-02] `-- Extracting json-c-0.17: .......... done
[133i386-default-job-02] `-- Installing libepoll-shim-0.0.20240608...
[133i386-default-job-02] `-- Extracting libepoll-shim-0.0.20240608: .......... done
[133i386-default-job-02] `-- Installing libfabric-1.15.1_2...
[133i386-default-job-02] `-- Extracting libfabric-1.15.1_2: .......... done
[133i386-default-job-02] `-- Installing perl5-5.36.3_1...
[133i386-default-job-02] `-- Extracting perl5-5.36.3_1: .......... done
[133i386-default-job-02] Extracting mpich-4.2.2: .......... done
===>   PETSc-3.21.4 depends on shared library: libmpich.so - found (/usr/local/lib/libmpich.so)
===>   Returning to build of PETSc-3.21.4
===>   PETSc-3.21.4 depends on shared library: libmetis.so - not found
===>   Installing existing package /packages/All/metis-5.1.0_9.pkg
[133i386-default-job-02] Installing metis-5.1.0_9...
[133i386-default-job-02] Extracting metis-5.1.0_9: .......... done
=====
Message from metis-5.1.0_9:

--
===>   NOTICE:

The metis 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
===>   PETSc-3.21.4 depends on shared library: libmetis.so - found (/usr/local/lib/libmetis.so)
===>   Returning to build of PETSc-3.21.4
===>   PETSc-3.21.4 depends on shared library: libblas.so - not found
===>   Installing existing package /packages/All/blas-3.12.0_1.pkg
[133i386-default-job-02] Installing blas-3.12.0_1...
[133i386-default-job-02] Extracting blas-3.12.0_1: ........ done
===>   PETSc-3.21.4 depends on shared library: libblas.so - found (/usr/local/lib/libblas.so)
===>   Returning to build of PETSc-3.21.4
===>   PETSc-3.21.4 depends on shared library: liblapack.so - not found
===>   Installing existing package /packages/All/lapack-3.12.0_2.pkg
[133i386-default-job-02] Installing lapack-3.12.0_2...
[133i386-default-job-02] Extracting lapack-3.12.0_2: .......... done
===>   PETSc-3.21.4 depends on shared library: liblapack.so - found (/usr/local/lib/liblapack.so)
===>   Returning to build of PETSc-3.21.4
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for PETSc-3.21.4
=============================================================================================
                         Configuring PETSc to compile on your system
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: CC=cc. Ignoring it! Use "./configure CC=$CC" if you really
  want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: CXX=c++. Ignoring it! Use "./configure CXX=$CXX" if you
  really want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: FC=gfortran13. Ignoring it! Use "./configure FC=$FC" if you
  really want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: F77=gfortran13. Ignoring it! Use "./configure F77=$F77" if
  you really want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: F90=gfortran13. Ignoring it! Use "./configure F90=$F90" if
  you really want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: CFLAGS=-O2 -pipe  -fstack-protector-strong
  -fno-strict-aliasing . Ignoring it! Use "./configure CFLAGS=$CFLAGS" if you really want
  to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: CXXFLAGS=-O2 -pipe -fstack-protector-strong
  -fno-strict-aliasing  . Ignoring it! Use "./configure CXXFLAGS=$CXXFLAGS" if you really
  want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: FCFLAGS=-Wl,-rpath=/usr/local/lib/gcc13. Ignoring it! Use
  "./configure FCFLAGS=$FCFLAGS" if you really want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: FFLAGS=-O -Wl,-rpath=/usr/local/lib/gcc13. Ignoring it! Use
  "./configure FFLAGS=$FFLAGS" if you really want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: F90FLAGS=-O -Wl,-rpath=/usr/local/lib/gcc13. Ignoring it! Use
  "./configure F90FLAGS=$F90FLAGS" if you really want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: CPP=cpp. Ignoring it! Use "./configure CPP=$CPP" if you
  really want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: CPPFLAGS=. Ignoring it! Use "./configure CPPFLAGS=$CPPFLAGS"
  if you really want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: LDFLAGS= /usr/local/lib/libmpi.so -L/usr/local/lib
  -Wl,-rpath=/usr/local/lib/gcc13  -L/usr/local/lib/gcc13 -fstack-protector-strong .
  Ignoring it! Use "./configure LDFLAGS=$LDFLAGS" if you really want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: LIBS=. Ignoring it! Use "./configure LIBS=$LIBS" if you
  really want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: AR=/usr/local/bin/ar. Ignoring it! Use "./configure AR=$AR"
  if you really want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: RANLIB=/usr/local/bin/ranlib. Ignoring it! Use "./configure
  RANLIB=$RANLIB" if you really want to use this value
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  mpiexec may not work on your system due to network issues. Perhaps you have VPN running
  whose network settings may not work with mpiexec or your network is misconfigured
=============================================================================================

*********************************************************************************************
           UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
---------------------------------------------------------------------------------------------
  Metis specified is incompatible!
  --with-64-bit-indices option requires a metis build with IDXTYPEWIDTH=64.
  Suggest using --download-metis for a compatible metis
*********************************************************************************************

===>  Script "configure" failed unexpectedly.
Please report the problem to yuri@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/science/PETSc/work/petsc-3.21.4/configure.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/PETSc