[package - 123i386-default][databases/grass7] Failed for grass7-7.8.6_4 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 03 Sep 2022 07:05:32 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:     lbartoletti@FreeBSD.org
Log URL:        http://beefy5.nyi.freebsd.org/data/123i386-default/542fb2297a9e/logs/grass7-7.8.6_4.log
Build URL:      http://beefy5.nyi.freebsd.org/build.html?mastername=123i386-default&build=542fb2297a9e
Log:

=>> Building databases/grass7
build started at Sat Sep  3 07:04:07 UTC 2022
port directory: /usr/ports/databases/grass7
package name: grass7-7.8.6_4
building for: FreeBSD 123i386-default-job-13 12.3-RELEASE-p7 FreeBSD 12.3-RELEASE-p7 i386
maintained by: lbartoletti@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1203000
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p7
UNAME_r=12.3-RELEASE-p7
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 grass7-7.8.6_4:
     LAS=on: Enable LiDAR modules
     NETCDF=on: NetCDF data format support
     NLS=on: Native Language Support
     PDAL=on: Enable points cloud data modules
     ZSTD=on: Zstandard compression support
====> Database support: you have to choose at least one of them
     MYSQL=off: MySQL database support
     ODBC=off: ODBC database backend
     PGSQL=on: PostgreSQL database support
     SQLITE=on: SQLite database support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
lbartoletti@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-includes=/usr/local/include  --with-libs=/usr/local/lib  --with-opengl-includes=/usr/local/include/  --with-opengl-libs=/usr/local/lib/  --with-freetype  --with-freetype-includes=/usr/local/include/freetype2  --with-blas  --with-lapack  --with-cairo  --with-readline  --enable-largefile  --with-wxwidgets=/usr/local/bin/wxgtk3u-3.1-config  --with-proj-share=/usr/local/share/proj  --with-proj-includes=/usr/local/include  --with-proj-libs=/usr/local/lib  --with-proj=/usr/local/bin/proj  --with-geos=/usr/local/bin/geos-config  --with-gdal=/usr/local/bin/gdal-config  --with-pthread=yes  --prefix=/usr/local  --exec-prefix=/usr/local --with-openmp --with-liblas=yes --with-netcdf=/usr/local/bin/nc-config --with-nls --without-odbc --with-pdal=/usr/local/bin/pdal-config --with-postgres --with-sqlite --with-zstd --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/databases/grass7/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/grass7/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/grass7/work/.cache  HOME=/wrkdirs/usr/ports/databases/grass7/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/grass7/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/grass7/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" RE
 ADELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" WX_CONFIG=/usr/local/bin/wxgtk3u-3.1-config LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
TARGET="i386-portbld-freebsd12.3" PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/databases/grass7/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/grass7/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/grass7/work/.cache  HOME=/wrkdirs/usr/ports/databases/grass7/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/grass7/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/grass7/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/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" WX_CONFIG=/usr/local/bin/wxgtk3u-3.1-config LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc11" CFLAGS="-O2 -pipe  -std=c11 -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -fno-strict-aliasing "  CPP="cpp11" CPPFLAGS="-DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -L/usr/local/lib/gcc11 " LIBS=""  CXX="g++11" CXXFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc11 "  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--
GRASS_INST_DIR="grass78"  VERSION="7.8.6" VERS="7.8"  VER="78" MAJVER="7" LAS="" NO_LAS="@comment " MYSQL="@comment " NO_MYSQL="" NETCDF="" NO_NETCDF="@comment " NLS="" NO_NLS="@comment " ODBC="@comment " NO_ODBC="" PDAL="" NO_PDAL="@comment " PGSQL="" NO_PGSQL="@comment " SQLITE="" NO_SQLITE="@comment " ZSTD="" NO_ZSTD="@comment " GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd12  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" NOTONI386="@comment " 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/grass"  EXAMPLESDIR="share/e
 xamples/grass"  DATADIR="share/grass"  WWWDIR="www/grass"  ETCDIR="etc/grass"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_CMD=/usr/local/bin/python3.9 LAS="" NO_LAS="@comment " MYSQL="@comment " NO_MYSQL="" NETCDF="" NO_NETCDF="@comment " NLS="" NO_NLS="@comment " ODBC="@comment " NO_ODBC="" PDAL="" NO_PDAL="@comment " PGSQL="" NO_PGSQL="@comment " SQLITE="" NO_SQLITE="@comment " ZSTD="" NO_ZSTD="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/grass DOCSDIR=/usr/local/share/doc/grass EXAMPLESDIR=/usr/local/share/examples/grass  WWWDIR=/usr/local/www/grass ETCDIR=/usr/local/etc/grass
--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-p7
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   >============================
===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   grass7-7.8.6_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[123i386-default-job-13] Installing pkg-1.18.4...
[123i386-default-job-13] Extracting pkg-1.18.4: .......... done
===>   grass7-7.8.6_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of grass7-7.8.6_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by grass7-7.8.6_4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by grass7-7.8.6_4 for building
=> SHA256 Checksum OK for grass-7.8.6.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by grass7-7.8.6_4 for building
===>  Extracting for grass7-7.8.6_4
=> SHA256 Checksum OK for grass-7.8.6.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for grass7-7.8.6_4
===>  Applying FreeBSD patches for grass7-7.8.6_4 from /usr/ports/databases/grass7/files
/usr/bin/sed -i.bak  's|= python3|= python3.9|' /wrkdirs/usr/ports/databases/grass7/work/grass-7.8.6/include/Make/Platform.make.in
/usr/bin/sed -i.bak -e  "s|'make'|'gmake'|g;  s|gcc|gcc11|" /wrkdirs/usr/ports/databases/grass7/work/grass-7.8.6/scripts/g.extension/g.extension.py
/usr/bin/sed -i.bak  's|$(ARCH)|$(TARGET)|g' /wrkdirs/usr/ports/databases/grass7/work/grass-7.8.6/include/Make/Grass.make
/usr/bin/sed -i.bak "s|'GRASS_PYTHON', 'python'|'GRASS_PYTHON', \'/usr/local/bin/python3.9\'|g"  /wrkdirs/usr/ports/databases/grass7/work/grass-7.8.6/scripts/wxpyimgview/wxpyimgview.py
/usr/bin/sed -i.bak 's|GRASS_PYTHON=python|GRASS_PYTHON=/usr/local/bin/python3.9|g'  /wrkdirs/usr/ports/databases/grass7/work/grass-7.8.6/lib/init/grass.sh
<snip>
=====
Message from libxkbcommon-1.4.1:

--
If arrow keys don't work under X11 switch to legacy rules e.g.,

For sh/bash/ksh/zsh run and (optionally) add into ~/.profile:
  export XKB_DEFAULT_RULES=xorg

For csh/tcsh run and (optionally) add into ~/.login:
  setenv XKB_DEFAULT_RULES xorg
=====
Message from libsoup-2.74.2_1:

--
libsoup can use NTLM authentication if it is compiled
with the SMB option. To use it, you must install a
port that provides NTLM, like net/samba412 or net/samba413.
===>   grass7-7.8.6_4 depends on shared library: libwx_baseu-3.1.so - found (/usr/local/lib/libwx_baseu-3.1.so)
===>   Returning to build of grass7-7.8.6_4
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for grass7-7.8.6_4
configure: WARNING: unrecognized options: --with-proj
configure: loading site script /usr/ports/Templates/config.site
checking build system type... i386-portbld-freebsd12.3
checking host system type... i386-portbld-freebsd12.3
checking for gcc... gcc11
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 gcc11 accepts -g... yes
checking for gcc11 option to accept ISO C89... none needed
checking for executable suffix... no
checking for full floating-point support... yes
checking for pwd... /bin/pwd
checking for source directory... "/wrkdirs/usr/ports/databases/grass7/work/grass-7.8.6"
checking for build directory... "/wrkdirs/usr/ports/databases/grass7/work/grass-7.8.6"
checking for git... no
checking for MacOSX App... "no"
checking for MacOSX architectures... no
checking for MacOSX SDK... no
checking how to build libraries... shared
checking for additional include dirs... /usr/local/include
checking for additional library dirs... /usr/local/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... no
checking for byacc... byacc
checking for ranlib... /usr/local/bin/ranlib
checking for ar... /usr/local/bin/ar
checking for env... env
checking for perl... /usr/local/bin/perl
checking how to run the C preprocessor... cpp11
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for limits.h... yes
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking f2c.h usability... no
checking f2c.h presence... no
checking for f2c.h... no
checking g2c.h usability... no
checking g2c.h presence... no
checking for g2c.h... no
checking for sys/ioctl.h... yes
checking sys/mtio.h usability... yes
checking sys/mtio.h presence... yes
checking for sys/mtio.h... yes
checking for sys/resource.h... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/types.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for langinfo.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for off_t... yes
checking for uid_t in sys/types.h... yes
checking for ftime... no
checking for gethostname... yes
checking for gettimeofday... yes
checking for lseek... yes
checking for nice... yes
checking for time... yes
checking for uname... yes
checking for seteuid... yes
checking for setpriority... yes
checking for setreuid... yes
checking for setruid... yes
checking for drand48... yes
checking for putenv... yes
checking for setenv... yes
checking for nanosleep... yes
checking whether setpgrp takes no argument... no
checking for long long int... yes
checking for int64_t... yes
checking for W11... "no"
checking for X... libraries /usr/local/lib, headers /usr/local/include
checking whether -R must be followed by a space... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for library containing cuserid... -lcompat
checking for asprintf... yes
checking for atan... no
checking for atan in -lm... yes
checking for dlsym... yes
checking for iconv... yes
checking for socket... yes
checking for location of zlib includes... 
checking for zlib.h... yes
checking for location of zlib library... 
checking for deflate in -lz... yes
checking whether to use bzlib... "no"
checking whether to use zstd... "yes"
checking for location of zstd includes... 
checking zstd.h usability... yes
checking zstd.h presence... yes
checking for zstd.h... yes
checking for location of zstd library... 
checking for ZSTD_compress in -lzstd... yes
checking for location of External PROJ includes... /usr/local/include
checking proj.h usability... yes
checking proj.h presence... yes
checking for proj.h... yes
checking External PROJ major version... 8
checking External PROJ minor version... 2
checking External PROJ patch version... 1
found PROJ version "8.2.1"
using new PROJ version 5+ API
checking for location of External PROJ library... /usr/local/lib
checking for proj_pj_info in -lproj... yes
checking for location of External PROJ data files... /usr/local/share/proj
checking whether to use regex... "yes"
checking for location of regex includes... 
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for location of regex library... 
checking for regcomp... yes
checking whether to use Readline... "yes"
checking for location of Readline includes... 
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for location of Readline library... 
checking for readline in -lreadline... yes
checking for add_history in -lhistory... yes
checking whether to use GDAL... yes
checking for gdal-config... /usr/local/bin/gdal-config
configure: error: *** Unable to locate GDAL library.
===>  Script "configure" failed unexpectedly.
Please report the problem to lbartoletti@FreeBSD.org [maintainer] and attach
the "/wrkdirs/usr/ports/databases/grass7/work/grass-7.8.6/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/databases/grass7