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

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 04 Nov 2025 13:23:40 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/beefy24/data/main-amd64-default/pa48e645bda85_s8234c1899b/logs/mongosh-2.5.5_2.log
Build URL:      https://pkg-status.freebsd.org/beefy24/build.html?mastername=main-amd64-default&build=pa48e645bda85_s8234c1899b
Log:

=>> Building databases/mongosh
build started at Tue Nov  4 13:21:07 -00 2025
port directory: /usr/ports/databases/mongosh
package name: mongosh-2.5.5_2
building for: FreeBSD main-amd64-default-job-26 16.0-CURRENT FreeBSD 16.0-CURRENT 1600004 amd64
maintained by: fabien.amelinck+freebsd@advens.fr
Makefile datestamp: -rw-r--r--  1 root wheel 7518 Nov  4 01:01 /usr/ports/databases/mongosh/Makefile
Ports top last git commit: a48e645bd
Ports top unclean checkout: no
Port dir last git commit: c17ad38ea
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.4
Host OSVERSION: 1600000
Jail OSVERSION: 1600004
Job Id: 26




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1600004
UNAME_v=FreeBSD 16.0-CURRENT 1600004
UNAME_r=16.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.4
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/26/.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.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=freebsd16  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=16.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=freebsd16  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
---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_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.3.1_1.pkg
[main-amd64-default-job-26] Installing pkg-2.3.1_1...
[main-amd64-default-job-26] Extracting pkg-2.3.1_1: .......... done
===>   mongosh-2.5.5_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mongosh-2.5.5_2
===========================================================================
=======================<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_2 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   46 MBps    02s
/portdistfiles/mongosh/node-v22.19.0-SHASUMS256.txt        3777  B   31 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_2 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_2 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_2
=> 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
<snip>
Reaping winning child 0x37877fa09aa0 PID 2654 
Removing child 0x37877fa09aa0 PID 2654 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 0x37877fa09aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 2657 on the chain.
Live child 0x37877fa09aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 2657 
  AR(target) Release/obj.target/node_modules/node-addon-api/nothing.a
Reaping winning child 0x37877fa09aa0 PID 2657 
mkdir -p "Release/obj.target/node_modules/node-addon-api/" "./Release/.deps/Release/obj.target/node_modules/node-addon-api/"
Live child 0x37877fa09aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 2660 
Reaping winning child 0x37877fa09aa0 PID 2660 
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 0x37877fa09aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 2664 
Reaping winning child 0x37877fa09aa0 PID 2664 
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 0x37877fa09aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 2754 
Reaping winning child 0x37877fa09aa0 PID 2754 
Removing child 0x37877fa09aa0 PID 2754 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 0x37877fa09aa0 (Release/nothing.a) PID 2756 on the chain.
Live child 0x37877fa09aa0 (Release/nothing.a) PID 2756 
  COPY Release/nothing.a
Reaping winning child 0x37877fa09aa0 PID 2756 
mkdir -p "Release/" "./Release/.deps/Release/"
Live child 0x37877fa09aa0 (Release/nothing.a) PID 2758 
Reaping winning child 0x37877fa09aa0 PID 2758 
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 0x37877fa09aa0 (Release/nothing.a) PID 2762 
Reaping winning child 0x37877fa09aa0 PID 2762 
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 0x37877fa09aa0 (Release/nothing.a) PID 2777 
Reaping winning child 0x37877fa09aa0 PID 2777 
Removing child 0x37877fa09aa0 PID 2777 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 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 2787 on the chain.
Live child 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 2787 
  CXX(target) Release/obj.target/os_dns_native/binding.o
Reaping winning child 0x37877fa09b60 PID 2787 
mkdir -p "Release/obj.target/os_dns_native/" "./Release/.deps/Release/obj.target/os_dns_native/"
Live child 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 2790 
Reaping winning child 0x37877fa09b60 PID 2790 
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 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 2800 
Reaping winning child 0x37877fa09b60 PID 2800 
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 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 7650 
Reaping winning child 0x37877fa09b60 PID 7650 
# The depfile may not exist if the input file didn't have any #includes.
Live child 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 7652 
Reaping winning child 0x37877fa09b60 PID 7652 
touch ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw
Live child 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 7654 
Reaping winning child 0x37877fa09b60 PID 7654 
# Fixup path as in (1).
Live child 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 7656 
Reaping winning child 0x37877fa09b60 PID 7656 
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 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 7658 
Reaping winning child 0x37877fa09b60 PID 7658 
# Add extra rules as in (2).
Live child 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 7661 
Reaping winning child 0x37877fa09b60 PID 7661 
# We remove slashes and replace spaces with new lines;
Live child 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 7836 
Reaping winning child 0x37877fa09b60 PID 7836 
# remove blank lines;
Live child 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 7857 
Reaping winning child 0x37877fa09b60 PID 7857 
# delete the first line and append a colon to the remaining lines.
Live child 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 7888 
Reaping winning child 0x37877fa09b60 PID 7888 
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 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 7995 
Reaping winning child 0x37877fa09b60 PID 7995 
rm ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw
Live child 0x37877fa09b60 (Release/obj.target/os_dns_native/binding.o) PID 8029 
Reaping winning child 0x37877fa09b60 PID 8029 
Removing child 0x37877fa09b60 PID 8029 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 0x37877fa09b60 (Release/obj.target/os_dns_native.node) PID 8113 on the chain.
Live child 0x37877fa09b60 (Release/obj.target/os_dns_native.node) PID 8113 
  SOLINK_MODULE(target) Release/obj.target/os_dns_native.node
Reaping winning child 0x37877fa09b60 PID 8113 
mkdir -p "Release/obj.target/" "./Release/.deps/Release/obj.target/"
Live child 0x37877fa09b60 (Release/obj.target/os_dns_native.node) PID 8145 
Reaping winning child 0x37877fa09b60 PID 8145 
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 0x37877fa09b60 (Release/obj.target/os_dns_native.node) PID 8146 
Reaping winning child 0x37877fa09b60 PID 8146 
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 0x37877fa09b60 (Release/obj.target/os_dns_native.node) PID 8455 
Reaping winning child 0x37877fa09b60 PID 8455 
Removing child 0x37877fa09b60 PID 8455 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 0x37877fa09b60 (Release/os_dns_native.node) PID 8458 on the chain.
Live child 0x37877fa09b60 (Release/os_dns_native.node) PID 8458 
  COPY Release/os_dns_native.node
Reaping winning child 0x37877fa09b60 PID 8458 
mkdir -p "Release/" "./Release/.deps/Release/"
Live child 0x37877fa09b60 (Release/os_dns_native.node) PID 8509 
Reaping winning child 0x37877fa09b60 PID 8509 
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 0x37877fa09b60 (Release/os_dns_native.node) PID 8518 
Reaping winning child 0x37877fa09b60 PID 8518 
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 0x37877fa09b60 (Release/os_dns_native.node) PID 8523 
Reaping winning child 0x37877fa09b60 PID 8523 
Removing child 0x37877fa09b60 PID 8523 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 84 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]:0x1e408d
lerna ERR! lerna unreachable
*** Error code 1

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