[package - 150releng-amd64-quarterly][databases/mongosh] Failed for mongosh-2.5.5_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 23 Oct 2025 17:06: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/beefy21/data/150releng-amd64-quarterly/56dee2c7a68b/logs/mongosh-2.5.5_1.log
Build URL:      https://pkg-status.freebsd.org/beefy21/build.html?mastername=150releng-amd64-quarterly&build=56dee2c7a68b
Log:

=>> Building databases/mongosh
build started at Thu Oct 23 17:04:01 -00 2025
port directory: /usr/ports/databases/mongosh
package name: mongosh-2.5.5_1
building for: FreeBSD 150releng-amd64-quarterly-job-30 15.0-BETA2-p1 FreeBSD 15.0-BETA2-p1 1500067 amd64
maintained by: fabien.amelinck+freebsd@advens.fr
Makefile datestamp: -rw-r--r--  1 root wheel 7518 Oct  2 01:01 /usr/ports/databases/mongosh/Makefile
Ports top last git commit: 56dee2c7a
Ports top unclean checkout: no
Port dir last git commit: e3fa556c9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.4
Host OSVERSION: 1600000
Jail OSVERSION: 1500067
Job Id: 30

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500067
UNAME_v=FreeBSD 15.0-BETA2-p1 1500067
UNAME_r=15.0-BETA2-p1
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.4
MASTERMNT=/usr/local/poudriere/data/.m/150releng-amd64-quarterly/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/150releng-amd64-quarterly/30/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=150releng-amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/150releng-amd64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.4
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 GYP_DEFINES="libmongocrypt_link_type=dynamic" PUPPETEER_SKIP_DOWNLOAD=1 NPM_CONFIG_CACHE=/tmp/.npm MAKE=/usr/local/bin/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 GYP_DEFINES="libmongocrypt_link_type=dynamic" PUPPETEER_SKIP_DOWNLOAD=1 NPM_CONFIG_CACHE=/tmp/.npm  NODE_JS_VERSION=file:///distfiles/mongosh/node-v22.19.0.tar.gz  BOXEDNODE_CONFIGURE_ARGS="--prefix=/usr/local,--shared-brotli,--shared-cares,--shared-libuv,--shared-nghttp2,--shared-nghttp3,--shared-ngtcp2,--shared-simdjson,--shared-zlib,--shared-zstd,--shared-openssl,--openssl-use-def-ca-store,--with-intl=system-icu,--without-npm"  BOXEDNODE_MAKE_ARGS="V=0" 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=" -Wl,-rpath,/usr/local/lib:/usr/lib  " 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_BASESUFFIX=311  PYTHON_TAG=.cpython-311  PYTHON_SOABI=.cpython-311  PYTHON_VER=3.11  PYTHON_BASEVER=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_BASESUFFIX=311  PYTHON_TAG=.cpython-311  PYTHON_SOABI=.cpython-311  PYTHON_VER=3.11  PYTHON_BASEVER=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
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)  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
pipebuf                         (-y)  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.5.5_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.3.1.pkg
[150releng-amd64-quarterly-job-30] Installing pkg-2.3.1...
[150releng-amd64-quarterly-job-30] Extracting pkg-2.3.1: .......... done
===>   mongosh-2.5.5_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mongosh-2.5.5_1
===========================================================================
=======================<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 APACHE20 accepted by the user
===> Fetching all distfiles required by mongosh-2.5.5_1 for building
if [ ! -r /portdistfiles/mongosh/node-v22.19.0.tar.gz -o ! -r /portdistfiles/mongosh/node-v22.19.0-SHASUMS256.txt ]; then  /usr/bin/fetch -Fpr -o /portdistfiles/mongosh https://nodejs.org/dist/v22.19.0/node-v22.19.0.tar.gz;  /usr/bin/fetch -Fpr -o /portdistfiles/mongosh/node-v22.19.0-SHASUMS256.txt https://nodejs.org/dist/v22.19.0/SHASUMS256.txt;  fi
/portdistfiles/mongosh/node-v22.19.0.tar.gz             96 MB   14 MBps    06s
/portdistfiles/mongosh/node-v22.19.0-SHASUMS256.txt        3777  B   28 MBps    00s
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by mongosh-2.5.5_1 for building
if [ ! -r /portdistfiles/mongosh/node-v22.19.0.tar.gz -o ! -r /portdistfiles/mongosh/node-v22.19.0-SHASUMS256.txt ]; then  /usr/bin/fetch -Fpr -o /portdistfiles/mongosh https://nodejs.org/dist/v22.19.0/node-v22.19.0.tar.gz;  /usr/bin/fetch -Fpr -o /portdistfiles/mongosh/node-v22.19.0-SHASUMS256.txt https://nodejs.org/dist/v22.19.0/SHASUMS256.txt;  fi
=> SHA256 Checksum OK for mongosh/mongodb-client-encryption-6.4.0.tgz.
=> SHA256 Checksum OK for mongosh/kerberos-2.1.0.tgz.
=> SHA256 Checksum OK for mongosh/os-dns-native-1.2.1.tgz.
=> SHA256 Checksum OK for mongosh/mongosh-v2.5.5-amd64-node-modules.tar.xz.
=> SHA256 Checksum OK for mongosh/VultureProject-mongosh-v2.5.5_GH0.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 APACHE20 accepted by the user
===> Fetching all distfiles required by mongosh-2.5.5_1 for building
if [ ! -r /portdistfiles/mongosh/node-v22.19.0.tar.gz -o ! -r /portdistfiles/mongosh/node-v22.19.0-SHASUMS256.txt ]; then  /usr/bin/fetch -Fpr -o /portdistfiles/mongosh https://nodejs.org/dist/v22.19.0/node-v22.19.0.tar.gz;  /usr/bin/fetch -Fpr -o /portdistfiles/mongosh/node-v22.19.0-SHASUMS256.txt https://nodejs.org/dist/v22.19.0/SHASUMS256.txt;  fi
===>  Extracting for mongosh-2.5.5_1
=> SHA256 Checksum OK for mongosh/mongodb-client-encryption-6.4.0.tgz.
=> SHA256 Checksum OK for mongosh/kerberos-2.1.0.tgz.
=> SHA256 Checksum OK for mongosh/os-dns-native-1.2.1.tgz.
=> SHA256 Checksum OK for mongosh/mongosh-v2.5.5-amd64-node-modules.tar.xz.
=> SHA256 Checksum OK for mongosh/VultureProject-mongosh-v2.5.5_GH0.tar.gz.
/usr/bin/tar -xzf /portdistfiles/mongosh/mongosh-v2.5.5-amd64-node-modules.tar.xz -C /wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.5.5
/bin/mkdir -p -v /wrkdirs/usr/ports/databases/mongosh/work/boxednode/mongosh
/wrkdirs/usr/ports/databases/mongosh/work/boxednode
/wrkdirs/usr/ports/databases/mongosh/work/boxednode/mongosh
/usr/bin/sed -i '' -e "s|'make'|'/usr/local/bin/gmake'|g"  -e "s/if (inputIsFileUrl)/if (false)/g"  -e 's/(await nv_1.default(range)).pop()/{"version":"22.19.0"}/g'  -e 's/path_1.default.join(dir, tarballName)/url_1.fileURLToPath(range)/g'  -e "s|\${releaseBaseUrl}/SHASUMS256.txt|/portdistfiles/mongosh/node-v22.19.0-SHASUMS256.txt|g"  -e 's/await node_fetch_1.default(shaSumsUrl)/{"ok":1}/g'  -e "s/shaSums.text()/fs_1.promises.readFile(shaSumsUrl, 'utf8')/g"  -e "s/catch (_a) { }/catch (_a) { console.error(_a) }/g"  -e "s|os_1.default.tmpdir()|'/wrkdirs/usr/ports/databases/mongosh/work'|g"  /wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.5.5/node_modules/boxednode/lib/index.js
/usr/bin/grep -A36 "let version;" /wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.5.5/node_modules/boxednode/lib/index.js
    let version;
    if (range.match(/-nightly\d+/)) {
        version = range.startsWith('v') ? range : `v${range}`;
        releaseBaseUrl = `https://nodejs.org/download/nightly/${version}`;
    }
    else {
        const ver = {"version":"22.19.0"};
        if (!ver) {
            throw new Error(`No node version found for ${range}`);
<snip>
Reaping winning child 0x294b62209aa0 PID 61331 
Removing child 0x294b62209aa0 PID 61331 from chain.
   Successfully remade target file 'Release/obj.target/nothing/node_modules/node-addon-api/nothing.o'.
   Pruning file 'FORCE_DO_CMD'.
  Finished prerequisites of target file 'Release/obj.target/node_modules/node-addon-api/nothing.a'.
  Must remake target 'Release/obj.target/node_modules/node-addon-api/nothing.a'.
node_modules/node-addon-api/nothing.target.mk:132: update target 'Release/obj.target/node_modules/node-addon-api/nothing.a' due to: target does not exist
printf '%s\n' '  AR(target) Release/obj.target/node_modules/node-addon-api/nothing.a'
Putting child 0x294b62209aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 61332 on the chain.
Live child 0x294b62209aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 61332 
  AR(target) Release/obj.target/node_modules/node-addon-api/nothing.a
Reaping winning child 0x294b62209aa0 PID 61332 
mkdir -p "Release/obj.target/node_modules/node-addon-api/" "./Release/.deps/Release/obj.target/node_modules/node-addon-api/"
Live child 0x294b62209aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 61333 
Reaping winning child 0x294b62209aa0 PID 61333 
rm -f Release/obj.target/node_modules/node-addon-api/nothing.a && ar crs Release/obj.target/node_modules/node-addon-api/nothing.a Release/obj.target/nothing/node_modules/node-addon-api/nothing.o
Live child 0x294b62209aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 61334 
Reaping winning child 0x294b62209aa0 PID 61334 
printf '%s\n' 'cmd_Release/obj.target/node_modules/node-addon-api/nothing.a := rm -f Release/obj.target/node_modules/node-addon-api/nothing.a && ar crs Release/obj.target/node_modules/node-addon-api/nothing.a Release/obj.target/nothing/node_modules/node-addon-api/nothing.o' > ./Release/.deps/Release/obj.target/node_modules/node-addon-api/nothing.a.d
Live child 0x294b62209aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 61392 
Reaping winning child 0x294b62209aa0 PID 61392 
Removing child 0x294b62209aa0 PID 61392 from chain.
  Successfully remade target file 'Release/obj.target/node_modules/node-addon-api/nothing.a'.
  Considering target file 'Release/nothing.a'.
   File 'Release/nothing.a' does not exist.
   Pruning file 'Release/obj.target/node_modules/node-addon-api/nothing.a'.
   Pruning file 'FORCE_DO_CMD'.
  Finished prerequisites of target file 'Release/nothing.a'.
  Must remake target 'Release/nothing.a'.
node_modules/node-addon-api/nothing.target.mk:150: update target 'Release/nothing.a' due to: target does not exist
printf '%s\n' '  COPY Release/nothing.a'
Putting child 0x294b62209aa0 (Release/nothing.a) PID 61394 on the chain.
Live child 0x294b62209aa0 (Release/nothing.a) PID 61394 
  COPY Release/nothing.a
Reaping winning child 0x294b62209aa0 PID 61394 
mkdir -p "Release/" "./Release/.deps/Release/"
Live child 0x294b62209aa0 (Release/nothing.a) PID 61395 
Reaping winning child 0x294b62209aa0 PID 61395 
ln -f "Release/obj.target/node_modules/node-addon-api/nothing.a" "Release/nothing.a" 2>/dev/null || (rm -rf "Release/nothing.a" && cp -af "Release/obj.target/node_modules/node-addon-api/nothing.a" "Release/nothing.a")
Live child 0x294b62209aa0 (Release/nothing.a) PID 61397 
Reaping winning child 0x294b62209aa0 PID 61397 
printf '%s\n' 'cmd_Release/nothing.a := ln -f "Release/obj.target/node_modules/node-addon-api/nothing.a" "Release/nothing.a" 2>/dev/null || (rm -rf "Release/nothing.a" && cp -af "Release/obj.target/node_modules/node-addon-api/nothing.a" "Release/nothing.a")' > ./Release/.deps/Release/nothing.a.d
Live child 0x294b62209aa0 (Release/nothing.a) PID 61400 
Reaping winning child 0x294b62209aa0 PID 61400 
Removing child 0x294b62209aa0 PID 61400 from chain.
  Successfully remade target file 'Release/nothing.a'.
 Finished prerequisites of target file 'nothing'.
 Must remake target 'nothing'.
 Successfully remade target file 'nothing'.
 Pruning file 'Release/nothing.a'.
 Considering target file 'Release/os_dns_native.node'.
  File 'Release/os_dns_native.node' does not exist.
  Considering target file 'Release/obj.target/os_dns_native.node'.
   File 'Release/obj.target/os_dns_native.node' does not exist.
   Considering target file 'Release/obj.target/os_dns_native/binding.o'.
    File 'Release/obj.target/os_dns_native/binding.o' does not exist.
    Looking for an implicit rule for 'Release/obj.target/os_dns_native/binding.o'.
     Trying pattern rule 'Release/obj.target/os_dns_native/%.o: ../%.cc FORCE_DO_CMD' with stem 'binding'.
Directory .. cache invalidated (count 1 != command 23)
     Trying implicit prerequisite '../binding.cc'.
     Found '../binding.cc'.
Directory . cache invalidated (count 1 != command 23)
     Trying rule prerequisite 'FORCE_DO_CMD'.
     'FORCE_DO_CMD' ought to exist.
    Found implicit rule 'Release/obj.target/os_dns_native/%.o: ../%.cc FORCE_DO_CMD' for 'Release/obj.target/os_dns_native/binding.o'.
    Considering target file '../binding.cc'.
     Looking for an implicit rule for '../binding.cc'.
     No implicit rule found for '../binding.cc'.
    Finished prerequisites of target file '../binding.cc'.
    No need to remake target '../binding.cc'.
    Pruning file 'FORCE_DO_CMD'.
    Pruning file 'Release/nothing.a'.
    Pruning file 'Release/obj.target/node_modules/node-addon-api/nothing.a'.
   Finished prerequisites of target file 'Release/obj.target/os_dns_native/binding.o'.
   Must remake target 'Release/obj.target/os_dns_native/binding.o'.
os_dns_native.target.mk:107: update target 'Release/obj.target/os_dns_native/binding.o' due to: target does not exist
printf '%s\n' '  CXX(target) Release/obj.target/os_dns_native/binding.o'
Putting child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 61403 on the chain.
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 61403 
  CXX(target) Release/obj.target/os_dns_native/binding.o
Reaping winning child 0x294b62209b60 PID 61403 
mkdir -p "Release/obj.target/os_dns_native/" "./Release/.deps/Release/obj.target/os_dns_native/"
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 61404 
Reaping winning child 0x294b62209b60 PID 61404 
c++ -o Release/obj.target/os_dns_native/binding.o ../binding.cc '-DNODE_GYP_MODULE_NAME=os_dns_native' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_FILE_OFFSET_BITS=64' '-D_LARGEFILE_SOURCE' '-D__STDC_FORMAT_MACROS' '-DBUILDING_NODE_EXTENSION' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/openssl/config -I/usr/local/deps/openssl/openssl/include -I/usr/local/deps/uv/include -I/usr/local/deps/zlib -I/usr/local/deps/v8/include -I../node_modules/node-addon-api  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-strict-aliasing -std=gnu++17 -MMD -MF ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw -isystem /usr/local/include -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  -c
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 61406 
Reaping winning child 0x294b62209b60 PID 61406 
printf '%s\n' 'cmd_Release/obj.target/os_dns_native/binding.o := c++ -o Release/obj.target/os_dns_native/binding.o ../binding.cc '\''-DNODE_GYP_MODULE_NAME=os_dns_native'\'' '\''-DUSING_UV_SHARED=1'\'' '\''-DUSING_V8_SHARED=1'\'' '\''-DV8_DEPRECATION_WARNINGS=1'\'' '\''-D_GLIBCXX_USE_CXX11_ABI=1'\'' '\''-D_FILE_OFFSET_BITS=64'\'' '\''-D_LARGEFILE_SOURCE'\'' '\''-D__STDC_FORMAT_MACROS'\'' '\''-DBUILDING_NODE_EXTENSION'\'' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/openssl/config -I/usr/local/deps/openssl/openssl/include -I/usr/local/deps/uv/include -I/usr/local/deps/zlib -I/usr/local/deps/v8/include -I../node_modules/node-addon-api  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-strict-aliasing -std=gnu++17 -MMD -MF ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DNODE_API_EXPE
RIMENTAL  -DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT -isystem /usr/local/include  -c' > ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 62649 
Reaping winning child 0x294b62209b60 PID 62649 
# The depfile may not exist if the input file didn't have any #includes.
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 62650 
Reaping winning child 0x294b62209b60 PID 62650 
touch ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 62651 
Reaping winning child 0x294b62209b60 PID 62651 
# Fixup path as in (1).
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 62652 
Reaping winning child 0x294b62209b60 PID 62652 
sed -e "s|^binding.o|Release/obj.target/os_dns_native/binding.o|" ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw >> ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 62653 
Reaping winning child 0x294b62209b60 PID 62653 
# Add extra rules as in (2).
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 62655 
Reaping winning child 0x294b62209b60 PID 62655 
# We remove slashes and replace spaces with new lines;
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 62656 
Reaping winning child 0x294b62209b60 PID 62656 
# remove blank lines;
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 62657 
Reaping winning child 0x294b62209b60 PID 62657 
# delete the first line and append a colon to the remaining lines.
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 62658 
Reaping winning child 0x294b62209b60 PID 62658 
sed -e 's|\\||' -e 'y| |\n|' ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw | grep -v '^$'                             | sed -e 1d -e 's|$|:|' >> ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 62659 
Reaping winning child 0x294b62209b60 PID 62659 
rm ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw
Live child 0x294b62209b60 (Release/obj.target/os_dns_native/binding.o) PID 62663 
Reaping winning child 0x294b62209b60 PID 62663 
Removing child 0x294b62209b60 PID 62663 from chain.
   Successfully remade target file 'Release/obj.target/os_dns_native/binding.o'.
   Pruning file 'Release/obj.target/node_modules/node-addon-api/nothing.a'.
   Pruning file 'FORCE_DO_CMD'.
  Finished prerequisites of target file 'Release/obj.target/os_dns_native.node'.
  Must remake target 'Release/obj.target/os_dns_native.node'.
os_dns_native.target.mk:137: update target 'Release/obj.target/os_dns_native.node' due to: target does not exist
printf '%s\n' '  SOLINK_MODULE(target) Release/obj.target/os_dns_native.node'
Putting child 0x294b62209b60 (Release/obj.target/os_dns_native.node) PID 62664 on the chain.
Live child 0x294b62209b60 (Release/obj.target/os_dns_native.node) PID 62664 
  SOLINK_MODULE(target) Release/obj.target/os_dns_native.node
Reaping winning child 0x294b62209b60 PID 62664 
mkdir -p "Release/obj.target/" "./Release/.deps/Release/obj.target/"
Live child 0x294b62209b60 (Release/obj.target/os_dns_native.node) PID 62665 
Reaping winning child 0x294b62209b60 PID 62665 
c++ -o Release/obj.target/os_dns_native.node -shared -pthread -rdynamic -Wl,--export-dynamic -m64  -Wl,-rpath,/usr/local/lib:/usr/lib   -Wl,-soname=os_dns_native.node -Wl,--start-group Release/obj.target/os_dns_native/binding.o Release/obj.target/node_modules/node-addon-api/nothing.a -Wl,--end-group 
Live child 0x294b62209b60 (Release/obj.target/os_dns_native.node) PID 62666 
Reaping winning child 0x294b62209b60 PID 62666 
printf '%s\n' 'cmd_Release/obj.target/os_dns_native.node := c++ -o Release/obj.target/os_dns_native.node -shared -pthread -rdynamic -Wl,--export-dynamic -m64  -Wl,-rpath,/usr/local/lib:/usr/lib   -Wl,-soname=os_dns_native.node -Wl,--start-group Release/obj.target/os_dns_native/binding.o Release/obj.target/node_modules/node-addon-api/nothing.a -Wl,--end-group ' > ./Release/.deps/Release/obj.target/os_dns_native.node.d
Live child 0x294b62209b60 (Release/obj.target/os_dns_native.node) PID 62711 
Reaping winning child 0x294b62209b60 PID 62711 
Removing child 0x294b62209b60 PID 62711 from chain.
  Successfully remade target file 'Release/obj.target/os_dns_native.node'.
  Pruning file 'FORCE_DO_CMD'.
 Finished prerequisites of target file 'Release/os_dns_native.node'.
 Must remake target 'Release/os_dns_native.node'.
os_dns_native.target.mk:147: update target 'Release/os_dns_native.node' due to: target does not exist
printf '%s\n' '  COPY Release/os_dns_native.node'
Putting child 0x294b62209b60 (Release/os_dns_native.node) PID 62712 on the chain.
Live child 0x294b62209b60 (Release/os_dns_native.node) PID 62712 
  COPY Release/os_dns_native.node
Reaping winning child 0x294b62209b60 PID 62712 
mkdir -p "Release/" "./Release/.deps/Release/"
Live child 0x294b62209b60 (Release/os_dns_native.node) PID 62713 
Reaping winning child 0x294b62209b60 PID 62713 
ln -f "Release/obj.target/os_dns_native.node" "Release/os_dns_native.node" 2>/dev/null || (rm -rf "Release/os_dns_native.node" && cp -af "Release/obj.target/os_dns_native.node" "Release/os_dns_native.node")
Live child 0x294b62209b60 (Release/os_dns_native.node) PID 62714 
Reaping winning child 0x294b62209b60 PID 62714 
printf '%s\n' 'cmd_Release/os_dns_native.node := ln -f "Release/obj.target/os_dns_native.node" "Release/os_dns_native.node" 2>/dev/null || (rm -rf "Release/os_dns_native.node" && cp -af "Release/obj.target/os_dns_native.node" "Release/os_dns_native.node")' > ./Release/.deps/Release/os_dns_native.node.d
Live child 0x294b62209b60 (Release/os_dns_native.node) PID 62716 
Reaping winning child 0x294b62209b60 PID 62716 
Removing child 0x294b62209b60 PID 62716 from chain.
 Successfully remade target file 'Release/os_dns_native.node'.
Finished prerequisites of target file 'all'.
Must remake target 'all'.
Successfully remade target file 'all'.
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.5.5/node_modules/os-dns-native/build'
/usr/bin/sed -i '' -E 's/"version": ".*"/"version": "2.5.5"/g' /wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.5.5/packages/cli-repl/package.json
/bin/rm -f -v  /wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.5.5/scripts/nodejs-patches/005-windows-escape-product-dir-abs-in-openssl-node-56111.patch  /wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.5.5/scripts/nodejs-patches/006-windows-virtual-terminal-input-libuv-4688.patch
/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.5.5/scripts/nodejs-patches/005-windows-escape-product-dir-abs-in-openssl-node-56111.patch
/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.5.5/scripts/nodejs-patches/006-windows-virtual-terminal-input-libuv-4688.patch
cd /wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.5.5 && SEGMENT_API_KEY=dummy GYP_DEFINES="libmongocrypt_link_type=dynamic" PUPPETEER_SKIP_DOWNLOAD=1 NPM_CONFIG_CACHE=/tmp/.npm  NODE_JS_VERSION=file:///portdistfiles/mongosh/node-v22.19.0.tar.gz  BOXEDNODE_CONFIGURE_ARGS="--prefix=/usr/local,--shared-brotli,--shared-cares,--shared-libuv,--shared-nghttp2,--shared-nghttp3,--shared-ngtcp2,--shared-simdjson,--shared-zlib,--shared-zstd,--shared-openssl,--openssl-use-def-ca-store,--with-intl=system-icu,--without-npm"  BOXEDNODE_MAKE_ARGS="V=0" 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:/roo
t/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=" -Wl,-rpath,/usr/local/lib:/usr/lib  " 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" /usr/local/bin/npm run compile-exec
npm warn Unknown global config "python". This will stop working in the next major version of npm.

> precompile-exec
> npm run compile-cli

npm warn Unknown env config "python". This will stop working in the next major version of npm.
npm warn Unknown global config "python". This will stop working in the next major version of npm.

> compile-cli
> lerna run compile --scope @mongosh/cli-repl --include-dependencies

lerna notice cli v8.1.8
memory allocation of 512 bytes failed
lerna ERR! RuntimeError: unreachable
lerna ERR!     at wasm://wasm/00b1b5a2:wasm-function[3313]:0x24558e
lerna ERR!     at wasm://wasm/00b1b5a2:wasm-function[3235]:0x245345
lerna ERR!     at wasm://wasm/00b1b5a2:wasm-function[3249]:0x2453bb
lerna ERR!     at wasm://wasm/00b1b5a2:wasm-function[3123]:0x244df9
lerna ERR!     at wasm://wasm/00b1b5a2:wasm-function[3136]:0x244ea3
lerna ERR!     at wasm://wasm/00b1b5a2:wasm-function[3135]:0x244e98
lerna ERR!     at wasm://wasm/00b1b5a2:wasm-function[3131]:0x244e66
lerna ERR!     at wasm://wasm/00b1b5a2:wasm-function[2919]:0x243a87
lerna ERR!     at wasm://wasm/00b1b5a2:wasm-function[1093]:0x1e3f50
lerna ERR! lerna unreachable
*** Error code 1

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