[package - main-i386-default][science/PETSc] Failed for PETSc-3.21.5 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 14 Sep 2024 04:58:54 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/beefy17/data/main-i386-default/p14728ba1fb78_s50982d26e45/logs/PETSc-3.21.5.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p14728ba1fb78_s50982d26e45
Log:

=>> Building science/PETSc
build started at Sat Sep 14 04:56:38 UTC 2024
port directory: /usr/ports/science/PETSc
package name: PETSc-3.21.5
building for: FreeBSD main-i386-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 i386
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2632 Sep 12 01:01 /usr/ports/science/PETSc/Makefile
Ports top last git commit: 14728ba1fb7
Ports top unclean checkout: no
Port dir last git commit: 651f9fceb3a
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500023
Job Id: 06

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500023
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=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500023
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-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-i386-default/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
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.5:
     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-shared-libraries=1  --with-mpi-dir=/usr/local  --with-python=1 --with-python-pkg-config=/usr/local/libdata/pkgconfig  FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc13" FFLAGS="-Wl,-rpath=/usr/local/lib/gcc13"	 CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -msse2" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -msse2" CPPFLAGS=""  AR=/usr/local/bin/ar RANLIB=/usr/local/bin/ranlib  MAKEFLAGS="" 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="" --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.5 SHL=3.21 PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd15  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=15.0 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=freebsd15  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---
# 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
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.5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-i386-default-job-06] Installing pkg-1.21.3...
[main-i386-default-job-06] Extracting pkg-1.21.3: .......... done
===>   PETSc-3.21.5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of PETSc-3.21.5
===========================================================================
=======================<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.5 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.5 for building
=> SHA256 Checksum OK for petsc-3.21.5.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.5 for building
===>  Extracting for PETSc-3.21.5
=> SHA256 Checksum OK for petsc-3.21.5.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.5
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   PETSc-3.21.5 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.30.3_1.pkg
[main-i386-default-job-06] Installing cmake-core-3.30.3_1...
[main-i386-default-job-06] `-- Installing expat-2.6.2...
[main-i386-default-job-06] `-- Extracting expat-2.6.2: .......... done
[main-i386-default-job-06] `-- Installing jsoncpp-1.9.6_1...
[main-i386-default-job-06] `-- Extracting jsoncpp-1.9.6_1: .......... done
[main-i386-default-job-06] `-- Installing libuv-1.48.0...
[main-i386-default-job-06] `-- Extracting libuv-1.48.0: .......... done
[main-i386-default-job-06] `-- Installing rhash-1.4.4_1...
[main-i386-default-job-06] |   `-- Installing gettext-runtime-0.22.5...
[main-i386-default-job-06] |   | `-- Installing indexinfo-0.3.1...
<snip>
as they require additional dependencies. They are available as:

py311-gdbm       databases/py-gdbm@py311
py311-sqlite3    databases/py-sqlite3@py311
py311-tkinter    x11-toolkits/py-tkinter@py311
===>   PETSc-3.21.5 depends on file: /usr/local/bin/python3.11 - found
===>   Returning to build of PETSc-3.21.5
===>   PETSc-3.21.5 depends on file: /usr/local/bin/as - found
===>   PETSc-3.21.5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found
===>   Installing existing package /packages/All/libX11-1.8.9,1.pkg
[main-i386-default-job-06] Installing libX11-1.8.9,1...
[main-i386-default-job-06] `-- Installing libxcb-1.17.0...
[main-i386-default-job-06] |   `-- Installing libXau-1.0.11...
[main-i386-default-job-06] |   `-- Extracting libXau-1.0.11: .......... done
[main-i386-default-job-06] |   `-- Installing libXdmcp-1.1.5...
[main-i386-default-job-06] |   | `-- Installing xorgproto-2024.1...
[main-i386-default-job-06] |   | `-- Extracting xorgproto-2024.1: .......... done
[main-i386-default-job-06] |   `-- Extracting libXdmcp-1.1.5: ......... done
[main-i386-default-job-06] `-- Extracting libxcb-1.17.0: .......... done
[main-i386-default-job-06] Extracting libX11-1.8.9,1: .......... done
===>   PETSc-3.21.5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   Returning to build of PETSc-3.21.5
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   PETSc-3.21.5 depends on shared library: libblis.so - not found
===>   Installing existing package /packages/All/blis-0.9.0_2.pkg
[main-i386-default-job-06] Installing blis-0.9.0_2...
[main-i386-default-job-06] Extracting blis-0.9.0_2: .......... done
===>   PETSc-3.21.5 depends on shared library: libblis.so - found (/usr/local/lib/libblis.so)
===>   Returning to build of PETSc-3.21.5
===>   PETSc-3.21.5 depends on shared library: libmpich.so - not found
===>   Installing existing package /packages/All/mpich-4.2.2.pkg
[main-i386-default-job-06] Installing mpich-4.2.2...
[main-i386-default-job-06] `-- Installing hwloc2-2.8.0_1...
[main-i386-default-job-06] |   `-- Installing level-zero-1.17.39...
[main-i386-default-job-06] |   | `-- Installing libfmt-10.2.1...
[main-i386-default-job-06] |   | `-- Extracting libfmt-10.2.1: .......... done
[main-i386-default-job-06] |   | `-- Installing spdlog-1.14.1...
[main-i386-default-job-06] |   | `-- Extracting spdlog-1.14.1: .......... done
[main-i386-default-job-06] |   `-- Extracting level-zero-1.17.39: .......... done
[main-i386-default-job-06] |   `-- Installing libpciaccess-0.18.1...
[main-i386-default-job-06] |   `-- Extracting libpciaccess-0.18.1: ........ done
[main-i386-default-job-06] |   `-- Installing libxml2-2.11.8...
[main-i386-default-job-06] |   `-- Extracting libxml2-2.11.8: .......... done
[main-i386-default-job-06] `-- Extracting hwloc2-2.8.0_1: .......... done
[main-i386-default-job-06] `-- Installing json-c-0.17...
[main-i386-default-job-06] `-- Extracting json-c-0.17: .......... done
[main-i386-default-job-06] `-- Installing libepoll-shim-0.0.20240608...
[main-i386-default-job-06] `-- Extracting libepoll-shim-0.0.20240608: .......... done
[main-i386-default-job-06] `-- Installing libfabric-1.15.1_2...
[main-i386-default-job-06] `-- Extracting libfabric-1.15.1_2: .......... done
[main-i386-default-job-06] `-- Installing perl5-5.36.3_2...
[main-i386-default-job-06] `-- Extracting perl5-5.36.3_2: .......... done
[main-i386-default-job-06] Extracting mpich-4.2.2: .......... done
===>   PETSc-3.21.5 depends on shared library: libmpich.so - found (/usr/local/lib/libmpich.so)
===>   Returning to build of PETSc-3.21.5
===>   PETSc-3.21.5 depends on shared library: libmetis.so - not found
===>   Installing existing package /packages/All/metis-5.1.0_9.pkg
[main-i386-default-job-06] Installing metis-5.1.0_9...
[main-i386-default-job-06] 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.5 depends on shared library: libmetis.so - found (/usr/local/lib/libmetis.so)
===>   Returning to build of PETSc-3.21.5
===>   PETSc-3.21.5 depends on shared library: libblas.so - not found
===>   Installing existing package /packages/All/blas-3.12.0_1.pkg
[main-i386-default-job-06] Installing blas-3.12.0_1...
[main-i386-default-job-06] Extracting blas-3.12.0_1: ........ done
===>   PETSc-3.21.5 depends on shared library: libblas.so - found (/usr/local/lib/libblas.so)
===>   Returning to build of PETSc-3.21.5
===>   PETSc-3.21.5 depends on shared library: liblapack.so - not found
===>   Installing existing package /packages/All/lapack-3.12.0_2.pkg
[main-i386-default-job-06] Installing lapack-3.12.0_2...
[main-i386-default-job-06] Extracting lapack-3.12.0_2: .......... done
===>   PETSc-3.21.5 depends on shared library: liblapack.so - found (/usr/local/lib/liblapack.so)
===>   Returning to build of PETSc-3.21.5
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for PETSc-3.21.5
=============================================================================================
                         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, since it's also set on command line
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: CXXFLAGS=-O2 -pipe -fstack-protector-strong
  -fno-strict-aliasing  . Ignoring it, since it's also set on command line
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: FCFLAGS=-Wl,-rpath=/usr/local/lib/gcc13. Ignoring it, since
  it's also set on command line
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: FFLAGS=-O -Wl,-rpath=/usr/local/lib/gcc13. Ignoring it, since
  it's also set on command line
=============================================================================================
=============================================================================================
                                     ***** 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, since it's also set on command line
=============================================================================================
=============================================================================================
                                     ***** 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, since it's also set on command line
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
     Found environment variable: LIBS=. Ignoring it, since it's also set on command line
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: AR=/usr/local/bin/ar. Ignoring it, since it's also set on
  command line
=============================================================================================
=============================================================================================
                                     ***** WARNING *****
  Found environment variable: RANLIB=/usr/local/bin/ranlib. Ignoring it, since it's also
  set on command line
=============================================================================================
=============================================================================================
                                     ***** 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.5/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 making "configure" in /usr/ports/science/PETSc