[package - 141i386-default][databases/mongosh] Failed for mongosh-2.2.5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 03 Dec 2024 06:55:09 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/141i386-default/e57ad2551ef5/logs/mongosh-2.2.5.log
Build URL:      https://pkg-status.freebsd.org/beefy21/build.html?mastername=141i386-default&build=e57ad2551ef5
Log:

=>> Building databases/mongosh
build started at Tue Dec  3 06:53:51 UTC 2024
port directory: /usr/ports/databases/mongosh
package name: mongosh-2.2.5
building for: FreeBSD 141i386-default-job-26 14.1-RELEASE-p6 FreeBSD 14.1-RELEASE-p6 i386
maintained by: fabien.amelinck+freebsd@advens.fr
Makefile datestamp: -rw-r--r--  1 root wheel 5864 Nov 23 01:01 /usr/ports/databases/mongosh/Makefile
Ports top last git commit: e57ad2551e
Ports top unclean checkout: no
Port dir last git commit: 31d8a7eb34
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1401000
Job Id: 26

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1401000
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=14.1-RELEASE-p6
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.1-RELEASE-p6
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/141i386-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/141i386-default/26/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

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

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

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=14.1 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=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mongosh DOCSDIR=/usr/local/share/doc/mongosh EXAMPLESDIR=/usr/local/share/examples/mongosh  WWWDIR=/usr/local/www/mongosh ETCDIR=/usr/local/etc/mongosh
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mongosh-2.2.5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141i386-default-job-26] Installing pkg-1.21.3...
[141i386-default-job-26] Extracting pkg-1.21.3: .......... done
===>   mongosh-2.2.5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mongosh-2.2.5
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mongosh-2.2.5 depends on package: npm-node20>0 - not found
===>   Installing existing package /packages/All/npm-node20-10.9.0.pkg
[141i386-default-job-26] Installing npm-node20-10.9.0...
[141i386-default-job-26] `-- Installing gmake-4.4.1...
[141i386-default-job-26] |   `-- Installing gettext-runtime-0.22.5...
[141i386-default-job-26] |   | `-- Installing indexinfo-0.3.1...
[141i386-default-job-26] |   | `-- Extracting indexinfo-0.3.1: .... done
[141i386-default-job-26] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[141i386-default-job-26] `-- Extracting gmake-4.4.1: .......... done
[141i386-default-job-26] `-- Installing node20-20.18.1...
[141i386-default-job-26] |   `-- Installing brotli-1.1.0,1...
[141i386-default-job-26] |   `-- Extracting brotli-1.1.0,1: .......... done
[141i386-default-job-26] |   `-- Installing c-ares-1.34.3...
[141i386-default-job-26] |   `-- Extracting c-ares-1.34.3: .......... done
[141i386-default-job-26] |   `-- Installing ca_root_nss-3.104...
[141i386-default-job-26] |   `-- Extracting ca_root_nss-3.104: ....... done
Scanning /usr/share/certs/untrusted for certificates...
Scanning /usr/share/certs/trusted for certificates...
Scanning /usr/local/share/certs for certificates...
[141i386-default-job-26] |   `-- Installing icu-74.2_1,1...
[141i386-default-job-26] |   `-- Extracting icu-74.2_1,1: .......... done
[141i386-default-job-26] |   `-- Installing libnghttp2-1.64.0...
[141i386-default-job-26] |   `-- Extracting libnghttp2-1.64.0: .......... done
[141i386-default-job-26] |   `-- Installing libuv-1.49.2...
[141i386-default-job-26] |   `-- Extracting libuv-1.49.2: .......... done
[141i386-default-job-26] `-- Extracting node20-20.18.1: .......... done
[141i386-default-job-26] `-- Installing python311-3.11.10...
[141i386-default-job-26] |   `-- Installing libffi-3.4.6...
[141i386-default-job-26] |   `-- Extracting libffi-3.4.6: .......... done
[141i386-default-job-26] |   `-- Installing mpdecimal-4.0.0...
[141i386-default-job-26] |   `-- Extracting mpdecimal-4.0.0: .......... done
[141i386-default-job-26] |   `-- Installing readline-8.2.13_2...
[141i386-default-job-26] |   `-- Extracting readline-8.2.13_2: .......... done
[141i386-default-job-26] `-- Extracting python311-3.11.10: .......... done
[141i386-default-job-26] Extracting npm-node20-10.9.0: .......... done
=====
Message from ca_root_nss-3.104:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of
the system administrator.

This package installs symlinks to support root certificate discovery
for software that either uses other cryptographic libraries than
OpenSSL, or use OpenSSL but do not follow recommended practice.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.
<snip>
     Trying implicit prerequisite '../binding.cc'.
     '../binding.cc' ought to exist.
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 recipe for '../binding.cc' and no prerequisites actually changed.
    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'.
    Pruning file '../binding.cc'.
    Considering target file '../../node-addon-api/napi.h'.
     Looking for an implicit rule for '../../node-addon-api/napi.h'.
     No implicit rule found for '../../node-addon-api/napi.h'.
    Finished prerequisites of target file '../../node-addon-api/napi.h'.
    No recipe for '../../node-addon-api/napi.h' and no prerequisites actually changed.
    No need to remake target '../../node-addon-api/napi.h'.
    Considering target file '/usr/local/include/node/node_api.h'.
     Looking for an implicit rule for '/usr/local/include/node/node_api.h'.
     No implicit rule found for '/usr/local/include/node/node_api.h'.
    Finished prerequisites of target file '/usr/local/include/node/node_api.h'.
    No recipe for '/usr/local/include/node/node_api.h' and no prerequisites actually changed.
    No need to remake target '/usr/local/include/node/node_api.h'.
    Considering target file '/usr/local/include/node/js_native_api.h'.
     Looking for an implicit rule for '/usr/local/include/node/js_native_api.h'.
     No implicit rule found for '/usr/local/include/node/js_native_api.h'.
    Finished prerequisites of target file '/usr/local/include/node/js_native_api.h'.
    No recipe for '/usr/local/include/node/js_native_api.h' and no prerequisites actually changed.
    No need to remake target '/usr/local/include/node/js_native_api.h'.
    Considering target file '/usr/local/include/node/js_native_api_types.h'.
     Looking for an implicit rule for '/usr/local/include/node/js_native_api_types.h'.
     No implicit rule found for '/usr/local/include/node/js_native_api_types.h'.
    Finished prerequisites of target file '/usr/local/include/node/js_native_api_types.h'.
    No recipe for '/usr/local/include/node/js_native_api_types.h' and no prerequisites actually changed.
    No need to remake target '/usr/local/include/node/js_native_api_types.h'.
    Considering target file '/usr/local/include/node/node_api_types.h'.
     Looking for an implicit rule for '/usr/local/include/node/node_api_types.h'.
     No implicit rule found for '/usr/local/include/node/node_api_types.h'.
    Finished prerequisites of target file '/usr/local/include/node/node_api_types.h'.
    No recipe for '/usr/local/include/node/node_api_types.h' and no prerequisites actually changed.
    No need to remake target '/usr/local/include/node/node_api_types.h'.
    Considering target file '../../node-addon-api/napi-inl.h'.
     Looking for an implicit rule for '../../node-addon-api/napi-inl.h'.
     No implicit rule found for '../../node-addon-api/napi-inl.h'.
    Finished prerequisites of target file '../../node-addon-api/napi-inl.h'.
    No recipe for '../../node-addon-api/napi-inl.h' and no prerequisites actually changed.
    No need to remake target '../../node-addon-api/napi-inl.h'.
    Considering target file '../../node-addon-api/napi-inl.deprecated.h'.
     Looking for an implicit rule for '../../node-addon-api/napi-inl.deprecated.h'.
     No implicit rule found for '../../node-addon-api/napi-inl.deprecated.h'.
    Finished prerequisites of target file '../../node-addon-api/napi-inl.deprecated.h'.
    No recipe for '../../node-addon-api/napi-inl.deprecated.h' and no prerequisites actually changed.
    No need to remake target '../../node-addon-api/napi-inl.deprecated.h'.
   Finished prerequisites of target file 'Release/obj.target/os_dns_native/binding.o'.
    Prerequisite '../binding.cc' is older than target 'Release/obj.target/os_dns_native/binding.o'.
    Prerequisite 'FORCE_DO_CMD' of target 'Release/obj.target/os_dns_native/binding.o' does not exist.
    Prerequisite 'Release/nothing.a' is order-only for target 'Release/obj.target/os_dns_native/binding.o'.
    Prerequisite 'Release/obj.target/node_modules/node-addon-api/nothing.a' is order-only for target 'Release/obj.target/os_dns_native/binding.o'.
    Prerequisite '../binding.cc' is older than target 'Release/obj.target/os_dns_native/binding.o'.
    Prerequisite '../../node-addon-api/napi.h' is older than target 'Release/obj.target/os_dns_native/binding.o'.
    Prerequisite '/usr/local/include/node/node_api.h' is newer than target 'Release/obj.target/os_dns_native/binding.o'.
    Prerequisite '/usr/local/include/node/js_native_api.h' is newer than target 'Release/obj.target/os_dns_native/binding.o'.
    Prerequisite '/usr/local/include/node/js_native_api_types.h' is newer than target 'Release/obj.target/os_dns_native/binding.o'.
    Prerequisite '/usr/local/include/node/node_api_types.h' is newer than target 'Release/obj.target/os_dns_native/binding.o'.
    Prerequisite '../../node-addon-api/napi-inl.h' is older than target 'Release/obj.target/os_dns_native/binding.o'.
    Prerequisite '../../node-addon-api/napi-inl.deprecated.h' is older than target 'Release/obj.target/os_dns_native/binding.o'.
   Must remake target 'Release/obj.target/os_dns_native/binding.o'.
os_dns_native.target.mk:105: update target 'Release/obj.target/os_dns_native/binding.o' due to: FORCE_DO_CMD /usr/local/include/node/node_api.h /usr/local/include/node/js_native_api.h /usr/local/include/node/js_native_api_types.h /usr/local/include/node/node_api_types.h
printf '%s\n' '  CXX(target) Release/obj.target/os_dns_native/binding.o'
Putting child 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 61741 on the chain.
Live child 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 61741 
  CXX(target) Release/obj.target/os_dns_native/binding.o
Reaping winning child 0x206916c0 PID 61741 
mkdir -p "Release/obj.target/os_dns_native/" "./Release/.deps/Release/obj.target/os_dns_native/"
Live child 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 61742 
Reaping winning child 0x206916c0 PID 61742 
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_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-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 -m32 -O3 -fno-omit-frame-pointer -fno-rtti -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 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 61744 
Reaping winning child 0x206916c0 PID 61744 
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_LARGEFILE_SOURCE'\'' '\''-D_FILE_OFFSET_BITS=64'\'' '\''-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 -m32 -O3 -fno-omit-frame-pointer -fno-rtti -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_E
XPERIMENTAL_NOGC_ENV_OPT_OUT -isystem /usr/local/include  -c' > ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d
Live child 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 65196 
Reaping winning child 0x206916c0 PID 65196 
# The depfile may not exist if the input file didn't have any #includes.
Live child 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 65204 
Reaping winning child 0x206916c0 PID 65204 
touch ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw
Live child 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 65208 
Reaping winning child 0x206916c0 PID 65208 
# Fixup path as in (1).
Live child 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 65209 
Reaping winning child 0x206916c0 PID 65209 
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 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 65211 
Reaping winning child 0x206916c0 PID 65211 
# Add extra rules as in (2).
Live child 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 65219 
Reaping winning child 0x206916c0 PID 65219 
# We remove slashes and replace spaces with new lines;
Live child 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 65231 
Reaping winning child 0x206916c0 PID 65231 
# remove blank lines;
Live child 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 65232 
Reaping winning child 0x206916c0 PID 65232 
# delete the first line and append a colon to the remaining lines.
Live child 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 65233 
Reaping winning child 0x206916c0 PID 65233 
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 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 65237 
Reaping winning child 0x206916c0 PID 65237 
rm ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw
Live child 0x206916c0 (Release/obj.target/os_dns_native/binding.o) PID 65246 
Reaping winning child 0x206916c0 PID 65246 
Removing child 0x206916c0 PID 65246 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'.
   Prerequisite 'Release/obj.target/os_dns_native/binding.o' is newer than target 'Release/obj.target/os_dns_native.node'.
   Prerequisite 'Release/obj.target/node_modules/node-addon-api/nothing.a' is newer than target 'Release/obj.target/os_dns_native.node'.
   Prerequisite 'FORCE_DO_CMD' of target 'Release/obj.target/os_dns_native.node' does not exist.
  Must remake target 'Release/obj.target/os_dns_native.node'.
os_dns_native.target.mk:135: update target 'Release/obj.target/os_dns_native.node' due to: Release/obj.target/os_dns_native/binding.o Release/obj.target/node_modules/node-addon-api/nothing.a FORCE_DO_CMD
printf '%s\n' '  SOLINK_MODULE(target) Release/obj.target/os_dns_native.node'
Putting child 0x206916c0 (Release/obj.target/os_dns_native.node) PID 65248 on the chain.
Live child 0x206916c0 (Release/obj.target/os_dns_native.node) PID 65248 
  SOLINK_MODULE(target) Release/obj.target/os_dns_native.node
Reaping winning child 0x206916c0 PID 65248 
mkdir -p "Release/obj.target/" "./Release/.deps/Release/obj.target/"
Live child 0x206916c0 (Release/obj.target/os_dns_native.node) PID 65250 
Reaping winning child 0x206916c0 PID 65250 
c++ -o Release/obj.target/os_dns_native.node -shared -pthread -rdynamic -Wl,--export-dynamic -m32   -fstack-protector-strong  -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 0x206916c0 (Release/obj.target/os_dns_native.node) PID 65251 
Reaping winning child 0x206916c0 PID 65251 
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 -m32   -fstack-protector-strong  -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 0x206916c0 (Release/obj.target/os_dns_native.node) PID 65280 
Reaping winning child 0x206916c0 PID 65280 
Removing child 0x206916c0 PID 65280 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'.
  Prerequisite 'Release/obj.target/os_dns_native.node' is newer than target 'Release/os_dns_native.node'.
  Prerequisite 'FORCE_DO_CMD' of target 'Release/os_dns_native.node' does not exist.
 Must remake target 'Release/os_dns_native.node'.
os_dns_native.target.mk:145: update target 'Release/os_dns_native.node' due to: Release/obj.target/os_dns_native.node FORCE_DO_CMD
printf '%s\n' '  COPY Release/os_dns_native.node'
Putting child 0x20691780 (Release/os_dns_native.node) PID 65281 on the chain.
Live child 0x20691780 (Release/os_dns_native.node) PID 65281 
  COPY Release/os_dns_native.node
Reaping winning child 0x20691780 PID 65281 
mkdir -p "Release/" "./Release/.deps/Release/"
Live child 0x20691780 (Release/os_dns_native.node) PID 65282 
Reaping winning child 0x20691780 PID 65282 
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 0x20691780 (Release/os_dns_native.node) PID 65283 
Reaping winning child 0x20691780 PID 65283 
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 0x20691780 (Release/os_dns_native.node) PID 65285 
Reaping winning child 0x20691780 PID 65285 
Removing child 0x20691780 PID 65285 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.2.5/node_modules/os-dns-native/build'
/usr/bin/sed -i '' 's/"version": "0.0.0-dev.0"/"version": "2.2.5"/g' /wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/packages/cli-repl/package.json
cd /wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5 && SEGMENT_API_KEY=dummy BUILD_TYPE=dynamic  NODE_JS_VERSION=file:///portdistfiles/mongosh/node-v20.18.1.tar.gz  BOXEDNODE_CONFIGURE_ARGS="--shared-brotli,--shared-cares,--shared-libuv,--shared-nghttp2,--shared-zlib,--shared-openssl,--openssl-use-def-ca-store,--without-npm" OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/databases/mongosh/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/mongosh/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/mongosh/work/.cache  HOME=/wrkdirs/usr/ports/databases/mongosh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/mongosh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/mongosh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LIN
T=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="  -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DNODE_API_EXPERIMENTAL  -DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT -isystem /usr/local/include " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" /usr/local/bin/npm run compile-exec

> precompile-exec
> npm run compile-cli


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

/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/node_modules/lerna/node_modules/nx/src/native/index.js:147
      throw new Error(`Unsupported architecture on FreeBSD: ${arch}`)
      ^

Error: Unsupported architecture on FreeBSD: ia32
    at Object.<anonymous> (/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/node_modules/lerna/node_modules/nx/src/native/index.js:147:13)
    at Module._compile (node:internal/modules/cjs/loader:1469:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
    at Module.load (node:internal/modules/cjs/loader:1288:32)
    at Module._load (node:internal/modules/cjs/loader:1104:12)
    at Module.require (node:internal/modules/cjs/loader:1311:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/wrkdirs/usr/ports/databases/mongosh/work/mongosh-2.2.5/node_modules/lerna/node_modules/nx/src/project-graph/utils/retrieve-workspace-files.js:9:18)
    at Module._compile (node:internal/modules/cjs/loader:1469:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)

Node.js v20.18.1
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mongosh