[package - 15stable-amd64-quarterly][databases/mongosh] Failed for mongosh-2.5.5_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 02 Oct 2025 17:22:13 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/15stable-amd64-quarterly/e3fa556c9a50/logs/mongosh-2.5.5_1.log
Build URL:      https://pkg-status.freebsd.org/beefy21/build.html?mastername=15stable-amd64-quarterly&build=e3fa556c9a50
Log:

=>> Building databases/mongosh
build started at Thu Oct  2 17:19:43 -00 2025
port directory: /usr/ports/databases/mongosh
package name: mongosh-2.5.5_1
building for: FreeBSD 15stable-amd64-quarterly-job-35 15.0-ALPHA4 FreeBSD 15.0-ALPHA4 1500065 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: e3fa556c9
Ports top unclean checkout: no
Port dir last git commit: e3fa556c9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.3-4-ga545ef33
Host OSVERSION: 1600000
Jail OSVERSION: 1500065
Job Id: 35

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500065
UNAME_v=FreeBSD 15.0-ALPHA4 1500065
UNAME_r=15.0-ALPHA4
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.3-4-ga545ef33
MASTERMNT=/usr/local/poudriere/data/.m/15stable-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/15stable-amd64-quarterly/35/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=15stable-amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/15stable-amd64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.3-4-ga545ef33
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
[15stable-amd64-quarterly-job-35] Installing pkg-2.3.1...
[15stable-amd64-quarterly-job-35] 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
=> mongodb-client-encryption-6.4.0.tgz doesn't seem to exist in /portdistfiles/mongosh.
=> Attempting to fetch https://registry.npmjs.org/mongodb-client-encryption/-/mongodb-client-encryption-6.4.0.tgz
mongodb-client-encryption-6.4.0.tgz                     31 kB   28 MBps    00s
=> os-dns-native-1.2.1.tgz doesn't seem to exist in /portdistfiles/mongosh.
=> Attempting to fetch https://registry.npmjs.org/os-dns-native/-/os-dns-native-1.2.1.tgz
os-dns-native-1.2.1.tgz                               6535  B   45 MBps    00s
=> mongosh-v2.5.5-amd64-node-modules.tar.xz doesn't seem to exist in /portdistfiles/mongosh.
=> Attempting to fetch https://github.com/VultureProject/mongosh/releases/download/v2.5.5/mongosh-v2.5.5-amd64-node-modules.tar.xz
mongosh-v2.5.5-amd64-node-modules.tar.xz               187 MB   50 MBps    04s
=> VultureProject-mongosh-v2.5.5_GH0.tar.gz doesn't seem to exist in /portdistfiles/mongosh.
=> Attempting to fetch https://codeload.github.com/VultureProject/mongosh/tar.gz/v2.5.5?dummy=/VultureProject-mongosh-v2.5.5_GH0.tar.gz
fetch: https://codeload.github.com/VultureProject/mongosh/tar.gz/v2.5.5?dummy=/VultureProject-mongosh-v2.5.5_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/VultureProject/mongosh/tar.gz/v2.5.5?dummy=/VultureProject-mongosh-v2.5.5_GH0.tar.gz: size of remote file is not known
VultureProject-mongosh-v2.5.5_GH0.tar.gz              9188 kB   15 MBps    00s
===> 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   32 MBps    03s
/portdistfiles/mongosh/node-v22.19.0-SHASUMS256.txt        3777  B   33 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
<snip>
Reaping winning child 0x29daaa009aa0 PID 73106 
Removing child 0x29daaa009aa0 PID 73106 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 0x29daaa009aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 73111 on the chain.
Live child 0x29daaa009aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 73111 
  AR(target) Release/obj.target/node_modules/node-addon-api/nothing.a
Reaping winning child 0x29daaa009aa0 PID 73111 
mkdir -p "Release/obj.target/node_modules/node-addon-api/" "./Release/.deps/Release/obj.target/node_modules/node-addon-api/"
Live child 0x29daaa009aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 73113 
Reaping winning child 0x29daaa009aa0 PID 73113 
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 0x29daaa009aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 73115 
Reaping winning child 0x29daaa009aa0 PID 73115 
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 0x29daaa009aa0 (Release/obj.target/node_modules/node-addon-api/nothing.a) PID 73131 
Reaping winning child 0x29daaa009aa0 PID 73131 
Removing child 0x29daaa009aa0 PID 73131 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 0x29daaa009aa0 (Release/nothing.a) PID 73132 on the chain.
Live child 0x29daaa009aa0 (Release/nothing.a) PID 73132 
  COPY Release/nothing.a
Reaping winning child 0x29daaa009aa0 PID 73132 
mkdir -p "Release/" "./Release/.deps/Release/"
Live child 0x29daaa009aa0 (Release/nothing.a) PID 73133 
Reaping winning child 0x29daaa009aa0 PID 73133 
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 0x29daaa009aa0 (Release/nothing.a) PID 73134 
Reaping winning child 0x29daaa009aa0 PID 73134 
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 0x29daaa009aa0 (Release/nothing.a) PID 73136 
Reaping winning child 0x29daaa009aa0 PID 73136 
Removing child 0x29daaa009aa0 PID 73136 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 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 73137 on the chain.
Live child 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 73137 
  CXX(target) Release/obj.target/os_dns_native/binding.o
Reaping winning child 0x29daaa009b60 PID 73137 
mkdir -p "Release/obj.target/os_dns_native/" "./Release/.deps/Release/obj.target/os_dns_native/"
Live child 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 73138 
Reaping winning child 0x29daaa009b60 PID 73138 
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 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 73139 
Reaping winning child 0x29daaa009b60 PID 73139 
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 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 74316 
Reaping winning child 0x29daaa009b60 PID 74316 
# The depfile may not exist if the input file didn't have any #includes.
Live child 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 74318 
Reaping winning child 0x29daaa009b60 PID 74318 
touch ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw
Live child 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 74320 
Reaping winning child 0x29daaa009b60 PID 74320 
# Fixup path as in (1).
Live child 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 74322 
Reaping winning child 0x29daaa009b60 PID 74322 
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 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 74324 
Reaping winning child 0x29daaa009b60 PID 74324 
# Add extra rules as in (2).
Live child 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 74327 
Reaping winning child 0x29daaa009b60 PID 74327 
# We remove slashes and replace spaces with new lines;
Live child 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 74328 
Reaping winning child 0x29daaa009b60 PID 74328 
# remove blank lines;
Live child 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 74330 
Reaping winning child 0x29daaa009b60 PID 74330 
# delete the first line and append a colon to the remaining lines.
Live child 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 74332 
Reaping winning child 0x29daaa009b60 PID 74332 
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 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 74333 
Reaping winning child 0x29daaa009b60 PID 74333 
rm ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw
Live child 0x29daaa009b60 (Release/obj.target/os_dns_native/binding.o) PID 74340 
Reaping winning child 0x29daaa009b60 PID 74340 
Removing child 0x29daaa009b60 PID 74340 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 0x29daaa009b60 (Release/obj.target/os_dns_native.node) PID 74342 on the chain.
Live child 0x29daaa009b60 (Release/obj.target/os_dns_native.node) PID 74342 
  SOLINK_MODULE(target) Release/obj.target/os_dns_native.node
Reaping winning child 0x29daaa009b60 PID 74342 
mkdir -p "Release/obj.target/" "./Release/.deps/Release/obj.target/"
Live child 0x29daaa009b60 (Release/obj.target/os_dns_native.node) PID 74344 
Reaping winning child 0x29daaa009b60 PID 74344 
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 0x29daaa009b60 (Release/obj.target/os_dns_native.node) PID 74345 
Reaping winning child 0x29daaa009b60 PID 74345 
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 0x29daaa009b60 (Release/obj.target/os_dns_native.node) PID 74374 
Reaping winning child 0x29daaa009b60 PID 74374 
Removing child 0x29daaa009b60 PID 74374 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 0x29daaa009b60 (Release/os_dns_native.node) PID 74375 on the chain.
Live child 0x29daaa009b60 (Release/os_dns_native.node) PID 74375 
  COPY Release/os_dns_native.node
Reaping winning child 0x29daaa009b60 PID 74375 
mkdir -p "Release/" "./Release/.deps/Release/"
Live child 0x29daaa009b60 (Release/os_dns_native.node) PID 74376 
Reaping winning child 0x29daaa009b60 PID 74376 
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 0x29daaa009b60 (Release/os_dns_native.node) PID 74377 
Reaping winning child 0x29daaa009b60 PID 74377 
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 0x29daaa009b60 (Release/os_dns_native.node) PID 74380 
Reaping winning child 0x29daaa009b60 PID 74380 
Removing child 0x29daaa009b60 PID 74380 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