[package - main-amd64-default][databases/mongosh] Failed for mongosh-2.2.5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 01 Dec 2024 18:29:27 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:     fabien.amelinck+freebsd@advens.fr
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p0843df7824bf_sedfccce309a/logs/mongosh-2.2.5.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p0843df7824bf_sedfccce309a
Log:

=>> Building databases/mongosh
build started at Sun Dec  1 18:18:30 UTC 2024
port directory: /usr/ports/databases/mongosh
package name: mongosh-2.2.5
building for: FreeBSD main-amd64-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500028 amd64
maintained by: fabien.amelinck+freebsd@advens.fr
Makefile datestamp: -rw-r--r--  1 root wheel 5864 Nov 23 01:01 /usr/ports/databases/mongosh/Makefile
Ports top last git commit: 0843df7824b
Ports top unclean checkout: no
Port dir last git commit: 31d8a7eb342
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500028
Job Id: 06




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500028
UNAME_v=FreeBSD 15.0-CURRENT 1500028
UNAME_r=15.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-amd64-default/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.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---
---End OPTIONS List---

--MAINTAINER--
fabien.amelinck+freebsd@advens.fr
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SEGMENT_API_KEY=dummy BUILD_TYPE=dynamic MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/databases/mongosh/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/mongosh/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/mongosh/work/.cache  HOME=/wrkdirs/usr/ports/databases/mongosh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/mongosh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/mongosh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
SEGMENT_API_KEY=dummy BUILD_TYPE=dynamic  NODE_JS_VERSION=file:///distfiles/mongosh/node-v20.18.1.tar.gz  BOXEDNODE_CONFIGURE_ARGS="--shared-brotli,--shared-cares,--shared-libuv,--shared-nghttp2,--shared-zlib,--shared-openssl,--openssl-use-def-ca-store,--without-npm" OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/databases/mongosh/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/mongosh/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/mongosh/work/.cache  HOME=/wrkdirs/usr/ports/databases/mongosh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/mongosh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/mongosh/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2
 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="  -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DNODE_API_EXPERIMENTAL  -DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT -isystem /usr/local/include " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
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/mongosh"  EXAMPLESDIR="share/examples/mongosh"  DATADIR="share/mongosh"  WWWDIR="www/mongosh"  ETCDIR="etc/mongosh"
--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/mongosh DOCSDIR=/usr/local/share/doc/mongosh EXAMPLESDIR=/usr/local/share/examples/mongosh  WWWDIR=/usr/local/www/mongosh ETCDIR=/usr/local/etc/mongosh
--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
####  ####
# 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--
ulimit: can't get limit: Invalid argument
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mongosh-2.2.5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-06] Installing pkg-1.21.3...
[main-amd64-default-job-06] Extracting pkg-1.21.3: .......... done
===>   mongosh-2.2.5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mongosh-2.2.5
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mongosh-2.2.5 depends on package: npm-node20>0 - not found
===>   Installing existing package /packages/All/npm-node20-10.9.0.pkg
[main-amd64-default-job-06] Installing npm-node20-10.9.0...
[main-amd64-default-job-06] `-- Installing gmake-4.4.1...
[main-amd64-default-job-06] |   `-- Installing gettext-runtime-0.22.5...
[main-amd64-default-job-06] |   | `-- Installing indexinfo-0.3.1...
[main-amd64-default-job-06] |   | `-- Extracting indexinfo-0.3.1: .... done
[main-amd64-default-job-06] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[main-amd64-default-job-06] `-- Extracting gmake-4.4.1: .......... done
[main-amd64-default-job-06] `-- Installing node20-20.18.1...
[main-amd64-default-job-06] |   `-- Installing brotli-1.1.0,1...
[main-amd64-default-job-06] |   `-- Extracting brotli-1.1.0,1: .......... done
[main-amd64-default-job-06] |   `-- Installing c-ares-1.34.2...
[main-amd64-default-job-06] |   `-- Extracting c-ares-1.34.2: .......... done
[main-amd64-default-job-06] |   `-- Installing ca_root_nss-3.104...
[main-amd64-default-job-06] |   `-- Extracting ca_root_nss-3.104: ....... done
certctl: Skipping untrusted certificate f90208f7 (/etc/ssl/untrusted/f90208f7.0)
certctl: Skipping untrusted certificate ee1365c0 (/etc/ssl/untrusted/ee1365c0.0)
certctl: Skipping untrusted certificate 26312675 (/etc/ssl/untrusted/26312675.0)
certctl: Skipping untrusted certificate c47d9980 (/etc/ssl/untrusted/c47d9980.0)
certctl: Skipping untrusted certificate a8dee976 (/etc/ssl/untrusted/a8dee976.0)
certctl: Skipping untrusted certificate 5a4d6896 (/etc/ssl/untrusted/5a4d6896.0)
certctl: Skipping untrusted certificate 9c2e7d30 (/etc/ssl/untrusted/9c2e7d30.0)
certctl: Skipping untrusted certificate 080911ac (/etc/ssl/untrusted/080911ac.0)
certctl: Skipping untrusted certificate 116bf586 (/etc/ssl/untrusted/116bf586.0)
certctl: Skipping untrusted certificate cb59f961 (/etc/ssl/untrusted/cb59f961.0)
certctl: Skipping untrusted certificate d853d49e (/etc/ssl/untrusted/d853d49e.0)
certctl: Skipping untrusted certificate c01cdfa2 (/etc/ssl/untrusted/c01cdfa2.0)
certctl: Skipping untrusted certificate 0c4c9b6c (/etc/ssl/untrusted/0c4c9b6c.0)
certctl: Skipping untrusted certificate 0b7c536a (/etc/ssl/untrusted/0b7c536a.0)
certctl: Skipping untrusted certificate b1b8a7f3 (/etc/ssl/untrusted/b1b8a7f3.0)
certctl: Skipping untrusted certificate dc45b0bd (/etc/ssl/untrusted/dc45b0bd.0)
certctl: Skipping untrusted certificate 1320b215 (/etc/ssl/untrusted/1320b215.0)
certctl: Skipping untrusted certificate 442adcac (/etc/ssl/untrusted/442adcac.0)
certctl: Skipping untrusted certificate 349f2832 (/etc/ssl/untrusted/349f2832.0)
[main-amd64-default-job-06] |   `-- Installing icu-74.2_1,1...
[main-amd64-default-job-06] |   `-- Extracting icu-74.2_1,1: .......... done
[main-amd64-default-job-06] |   `-- Installing libnghttp2-1.64.0...
[main-amd64-default-job-06] |   `-- Extracting libnghttp2-1.64.0: .......... done
[main-amd64-default-job-06] |   `-- Installing libuv-1.49.2...
<snip>
In file included from /usr/include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/include/c++/v1/string:3712:22: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 3712 |   int __result     = traits_type::compare(data(), __sv.data(), std::min(__lhs_sz, __rhs_sz));
      |                      ^
/usr/include/c++/v1/string:3725:10: note: in instantiation of function template specialization 'std::basic_string<unsigned short>::compare<std::basic_string_view<unsigned short>, 0>' requested here
 3725 |   return compare(__self_view(__str));
      |          ^
/usr/include/c++/v1/string:3909:16: note: in instantiation of member function 'std::basic_string<unsigned short>::compare' requested here
 3909 |   return __lhs.compare(__rhs) < 0;
      |                ^
../deps/v8/src/inspector/string-16.h:96:19: note: in instantiation of function template specialization 'std::operator<<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short>>' requested here
   96 |     return m_impl < other.m_impl;
      |                   ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.cc:5:
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.h:8:
In file included from /usr/include/c++/v1/deque:2614:
In file included from /usr/include/c++/v1/functional:552:
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/include/c++/v1/vector:325:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/include/c++/v1/string:3998:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 3998 |   _Traits::copy(__ptr, __lhs.data(), __lhs_sz);
      |   ^
../deps/v8/src/inspector/string-16.h:102:28: note: in instantiation of function template specialization 'std::operator+<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short>>' requested here
  102 |     return String16(m_impl + other.m_impl);
      |                            ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.cc:5:
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.h:8:
In file included from /usr/include/c++/v1/deque:2614:
In file included from /usr/include/c++/v1/functional:552:
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/include/c++/v1/vector:325:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/include/c++/v1/string:3999:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 3999 |   _Traits::copy(__ptr + __lhs_sz, __rhs.data(), __rhs_sz);
      |   ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.cc:5:
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.h:8:
In file included from /usr/include/c++/v1/deque:2614:
In file included from /usr/include/c++/v1/functional:552:
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/include/c++/v1/vector:325:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/include/c++/v1/string:4000:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 4000 |   _Traits::assign(__ptr + __lhs_sz + __rhs_sz, 1, _CharT());
      |   ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.cc:5:
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.h:8:
In file included from /usr/include/c++/v1/deque:2614:
In file included from /usr/include/c++/v1/functional:552:
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/include/c++/v1/vector:325:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/include/c++/v1/string:2841:7: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2841 |       traits_type::copy(__p + __sz, __s, __n);
      |       ^
/usr/include/c++/v1/string:1376:12: note: in instantiation of member function 'std::basic_string<unsigned short>::append' requested here
 1376 |     return append(__str.data(), __str.size());
      |            ^
/usr/include/c++/v1/string:1347:12: note: in instantiation of member function 'std::basic_string<unsigned short>::append' requested here
 1347 |     return append(__str);
      |            ^
../deps/v8/src/inspector/string-16.h:105:12: note: in instantiation of member function 'std::basic_string<unsigned short>::operator+=' requested here
  105 |     m_impl += other.m_impl;
      |            ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.cc:5:
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.h:8:
In file included from /usr/include/c++/v1/deque:2614:
In file included from /usr/include/c++/v1/functional:552:
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/include/c++/v1/vector:325:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/include/c++/v1/string:2844:7: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2844 |       traits_type::assign(__p[__sz], value_type());
      |       ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.cc:5:
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.h:8:
In file included from /usr/include/c++/v1/deque:2614:
In file included from /usr/include/c++/v1/functional:552:
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/include/c++/v1/vector:325:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/include/c++/v1/string:2492:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2492 |     traits_type::copy(std::__to_address(__p), std::__to_address(__old_p), __n_copy);
      |     ^
/usr/include/c++/v1/string:2847:5: note: in instantiation of member function 'std::basic_string<unsigned short>::__grow_by_and_replace' requested here
 2847 |     __grow_by_and_replace(__cap, __sz + __n - __cap, __sz, __sz, 0, __n, __s);
      |     ^
/usr/include/c++/v1/string:1376:12: note: in instantiation of member function 'std::basic_string<unsigned short>::append' requested here
 1376 |     return append(__str.data(), __str.size());
      |            ^
/usr/include/c++/v1/string:1347:12: note: in instantiation of member function 'std::basic_string<unsigned short>::append' requested here
 1347 |     return append(__str);
      |            ^
../deps/v8/src/inspector/string-16.h:105:12: note: in instantiation of member function 'std::basic_string<unsigned short>::operator+=' requested here
  105 |     m_impl += other.m_impl;
      |            ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.cc:5:
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.h:8:
In file included from /usr/include/c++/v1/deque:2614:
In file included from /usr/include/c++/v1/functional:552:
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/include/c++/v1/vector:325:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/include/c++/v1/string:2494:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2494 |     traits_type::copy(std::__to_address(__p) + __n_copy, __p_new_stuff, __n_add);
      |     ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.cc:5:
In file included from ../deps/v8/src/inspector/v8-debugger-agent-impl.h:8:
In file included from /usr/include/c++/v1/deque:2614:
In file included from /usr/include/c++/v1/functional:552:
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /usr/include/c++/v1/vector:325:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:19:
In file included from /usr/include/c++/v1/__format/formatter_integral.h:21:
In file included from /usr/include/c++/v1/__format/formatter_output.h:22:
In file included from /usr/include/c++/v1/__format/parser_std_format_spec.h:39:
/usr/include/c++/v1/string:2497:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2497 |     traits_type::copy(
      |     ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[2]: *** [tools/v8_gypfiles/v8_base_without_compiler.target.mk:1051: /tmp/boxednode/mongosh/node-v20.18.1/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/inspector/v8-debugger-agent-impl.o] Error 1
rm c2d7a95462775568605c4594e2c32bd0e34a3ad8.intermediate 7a3e4834ae9c0b61fb0d2bdb19eedfd29785e8eb.intermediate afff328402b8404ca7efcb1c0945c92023252ea0.intermediate
gmake[1]: *** [Makefile:135: node] Error 2
gmake[1]: Leaving directory '/tmp/boxednode/mongosh/node-v20.18.1'
  ✖  Failed: Command failed: gmake -j48 V=0 (code 2)
Error: Command failed: gmake -j48 V=0 (code 2)
    at spawnBuildCommand (/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/node_modules/boxednode/src/helpers.ts:47:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async compileNode (/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/node_modules/boxednode/src/index.ts:236:5)
    at async writeMainFileAndCompile (/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/node_modules/boxednode/src/index.ts:441:12)
    at async compileJSFileAsBinaryImpl (/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/node_modules/boxednode/src/index.ts:454:18)
    at async compileJSFileAsBinary (/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/node_modules/boxednode/src/index.ts:509:5)
    at async SignableCompiler.compile (/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/packages/build/src/compile/signable-compiler.ts:165:5)
    at async runCompile (/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/packages/build/src/compile/run-compile.ts:21:3)
    at async release (/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/packages/build/src/release.ts:92:5)
    at async /wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/packages/build/src/index.ts:62:7
npm error Lifecycle script `evergreen-release` failed with error:
npm error code 1
npm error path /wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/packages/build
npm error workspace @mongosh/build@0.0.0-dev.0
npm error location /wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/packages/build
npm error command failed
npm error command sh -c ts-node -r ../../scripts/import-expansions.js src/index.ts compile
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/databases/mongosh