[package - main-arm64-default][databases/mongosh] Failed for mongosh-2.2.5 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Dec 2024 08:06:51 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/ampere2/data/main-arm64-default/p34de869e4274_se8d027be6b8/logs/mongosh-2.2.5.log
Build URL: https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p34de869e4274_se8d027be6b8
Log:
=>> Building databases/mongosh
build started at Fri Dec 6 08:02:44 UTC 2024
port directory: /usr/ports/databases/mongosh
package name: mongosh-2.2.5
building for: FreeBSD main-arm64-default-job-09 15.0-CURRENT FreeBSD 15.0-CURRENT 1500028 arm64
maintained by: fabien.amelinck+freebsd@advens.fr
Makefile datestamp: -rw-r--r-- 1 root wheel 5864 Nov 30 01:02 /usr/ports/databases/mongosh/Makefile
Ports top last git commit: 34de869e427
Ports top unclean checkout: no
Port dir last git commit: 31d8a7eb342
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500028
Job Id: 09
!!! Jail is newer than host. (Jail: 1500028, Host: 1500023) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500028
UNAME_v=FreeBSD 15.0-CURRENT 1500028
UNAME_r=15.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-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-arm64-default/09/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
---End OPTIONS List---
--MAINTAINER--
fabien.amelinck+freebsd@advens.fr
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
SEGMENT_API_KEY=dummy BUILD_TYPE=dynamic MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/databases/mongosh/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/mongosh/work XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/mongosh/work/.cache HOME=/wrkdirs/usr/ports/databases/mongosh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/mongosh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/mongosh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--
--MAKE_ENV--
SEGMENT_API_KEY=dummy BUILD_TYPE=dynamic NODE_JS_VERSION=file:///distfiles/mongosh/node-v20.18.1.tar.gz BOXEDNODE_CONFIGURE_ARGS="--shared-brotli,--shared-cares,--shared-libuv,--shared-nghttp2,--shared-zlib,--shared-openssl,--openssl-use-def-ca-store,--without-npm" OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/databases/mongosh/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/mongosh/work XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/mongosh/work/.cache HOME=/wrkdirs/usr/ports/databases/mongosh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/mongosh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/mongosh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2
-pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DNODE_API_EXPERIMENTAL -DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT -isystem /usr/local/include " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python3.11 PYTHON_LIBDIR=lib/python3.11 PYTHON_PLATFORM=freebsd15 PYTHON_SITELIBDIR=lib/python3.11/site-packages PYTHON_SUFFIX=311 PYTHON_EXT_SUFFIX=.cpython-311 PYTHON_VER=3.11 PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mongosh" EXAMPLESDIR="share/examples/mongosh" DATADIR="share/mongosh" WWWDIR="www/mongosh" ETCDIR="etc/mongosh"
--End PLIST_SUB--
--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.11 PYTHON_LIBDIR=/usr/local/lib/python3.11 PYTHON_PLATFORM=freebsd15 PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages PYTHON_SUFFIX=311 PYTHON_EXT_SUFFIX=.cpython-311 PYTHON_VER=3.11 PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mongosh DOCSDIR=/usr/local/share/doc/mongosh EXAMPLESDIR=/usr/local/share/examples/mongosh WWWDIR=/usr/local/www/mongosh ETCDIR=/usr/local/etc/mongosh
--End SUB_LIST--
---Begin make.conf---
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
ulimit: can't get limit: Invalid argument
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 1048576
stack size (kbytes, -s) 1048576
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 89999
open files (-n) 8192
virtual mem size (kbytes, -v) unlimited
swap limit (kbytes, -w) unlimited
socket buffer size (bytes, -b) unlimited
pseudo-terminals (-p) unlimited
kqueues (-k) unlimited
umtx shared locks (-o) unlimited
--End resource limits--
=======================<phase: check-sanity >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> mongosh-2.2.5 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.21.3.pkg
[main-arm64-default-job-09] Installing pkg-1.21.3...
[main-arm64-default-job-09] Extracting pkg-1.21.3: .......... done
===> mongosh-2.2.5 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of mongosh-2.2.5
===========================================================================
=======================<phase: fetch-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> mongosh-2.2.5 depends on package: npm-node20>0 - not found
===> Installing existing package /packages/All/npm-node20-10.9.0.pkg
[main-arm64-default-job-09] Installing npm-node20-10.9.0...
[main-arm64-default-job-09] `-- Installing gmake-4.4.1...
[main-arm64-default-job-09] | `-- Installing gettext-runtime-0.22.5...
[main-arm64-default-job-09] | | `-- Installing indexinfo-0.3.1...
[main-arm64-default-job-09] | | `-- Extracting indexinfo-0.3.1: .... done
[main-arm64-default-job-09] | `-- Extracting gettext-runtime-0.22.5: .......... done
[main-arm64-default-job-09] `-- Extracting gmake-4.4.1: .......... done
[main-arm64-default-job-09] `-- Installing node20-20.18.1...
[main-arm64-default-job-09] | `-- Installing brotli-1.1.0,1...
[main-arm64-default-job-09] | `-- Extracting brotli-1.1.0,1: .......... done
[main-arm64-default-job-09] | `-- Installing c-ares-1.34.2...
[main-arm64-default-job-09] | `-- Extracting c-ares-1.34.2: .......... done
[main-arm64-default-job-09] | `-- Installing ca_root_nss-3.104...
[main-arm64-default-job-09] | `-- Extracting ca_root_nss-3.104: ....... done
certctl: Skipping untrusted certificate 080911ac (/etc/ssl/untrusted/080911ac.0)
certctl: Skipping untrusted certificate d853d49e (/etc/ssl/untrusted/d853d49e.0)
certctl: Skipping untrusted certificate f90208f7 (/etc/ssl/untrusted/f90208f7.0)
certctl: Skipping untrusted certificate ee1365c0 (/etc/ssl/untrusted/ee1365c0.0)
certctl: Skipping untrusted certificate 26312675 (/etc/ssl/untrusted/26312675.0)
certctl: Skipping untrusted certificate b1b8a7f3 (/etc/ssl/untrusted/b1b8a7f3.0)
certctl: Skipping untrusted certificate c01cdfa2 (/etc/ssl/untrusted/c01cdfa2.0)
certctl: Skipping untrusted certificate 9c2e7d30 (/etc/ssl/untrusted/9c2e7d30.0)
certctl: Skipping untrusted certificate 116bf586 (/etc/ssl/untrusted/116bf586.0)
certctl: Skipping untrusted certificate c47d9980 (/etc/ssl/untrusted/c47d9980.0)
certctl: Skipping untrusted certificate 349f2832 (/etc/ssl/untrusted/349f2832.0)
certctl: Skipping untrusted certificate a8dee976 (/etc/ssl/untrusted/a8dee976.0)
certctl: Skipping untrusted certificate 442adcac (/etc/ssl/untrusted/442adcac.0)
certctl: Skipping untrusted certificate 0c4c9b6c (/etc/ssl/untrusted/0c4c9b6c.0)
certctl: Skipping untrusted certificate cb59f961 (/etc/ssl/untrusted/cb59f961.0)
certctl: Skipping untrusted certificate 5a4d6896 (/etc/ssl/untrusted/5a4d6896.0)
certctl: Skipping untrusted certificate dc45b0bd (/etc/ssl/untrusted/dc45b0bd.0)
certctl: Skipping untrusted certificate 1320b215 (/etc/ssl/untrusted/1320b215.0)
certctl: Skipping untrusted certificate 0b7c536a (/etc/ssl/untrusted/0b7c536a.0)
[main-arm64-default-job-09] | `-- Installing icu-74.2_1,1...
[main-arm64-default-job-09] | `-- Extracting icu-74.2_1,1: .......... done
[main-arm64-default-job-09] | `-- Installing libnghttp2-1.64.0...
[main-arm64-default-job-09] | `-- Extracting libnghttp2-1.64.0: .......... done
[main-arm64-default-job-09] | `-- Installing libuv-1.49.2...
<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:103: 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 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 62191 on the chain.
Live child 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 62191
CXX(target) Release/obj.target/os_dns_native/binding.o
Reaping winning child 0x347bff63e780 PID 62191
mkdir -p "Release/obj.target/os_dns_native/" "./Release/.deps/Release/obj.target/os_dns_native/"
Live child 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 62192
Reaping winning child 0x347bff63e780 PID 62192
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 -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 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 62194
Reaping winning child 0x347bff63e780 PID 62194
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 -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_EXPERI
MENTAL_NOGC_ENV_OPT_OUT -isystem /usr/local/include -c' > ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d
Live child 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 63605
Reaping winning child 0x347bff63e780 PID 63605
# The depfile may not exist if the input file didn't have any #includes.
Live child 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 63606
Reaping winning child 0x347bff63e780 PID 63606
touch ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw
Live child 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 63608
Reaping winning child 0x347bff63e780 PID 63608
# Fixup path as in (1).
Live child 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 63609
Reaping winning child 0x347bff63e780 PID 63609
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 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 63611
Reaping winning child 0x347bff63e780 PID 63611
# Add extra rules as in (2).
Live child 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 63616
Reaping winning child 0x347bff63e780 PID 63616
# We remove slashes and replace spaces with new lines;
Live child 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 63619
Reaping winning child 0x347bff63e780 PID 63619
# remove blank lines;
Live child 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 63621
Reaping winning child 0x347bff63e780 PID 63621
# delete the first line and append a colon to the remaining lines.
Live child 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 63625
Reaping winning child 0x347bff63e780 PID 63625
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 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 63627
Reaping winning child 0x347bff63e780 PID 63627
rm ./Release/.deps/Release/obj.target/os_dns_native/binding.o.d.raw
Live child 0x347bff63e780 (Release/obj.target/os_dns_native/binding.o) PID 63632
Reaping winning child 0x347bff63e780 PID 63632
Removing child 0x347bff63e780 PID 63632 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:131: 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 0x347bff63e780 (Release/obj.target/os_dns_native.node) PID 63633 on the chain.
Live child 0x347bff63e780 (Release/obj.target/os_dns_native.node) PID 63633
SOLINK_MODULE(target) Release/obj.target/os_dns_native.node
Reaping winning child 0x347bff63e780 PID 63633
mkdir -p "Release/obj.target/" "./Release/.deps/Release/obj.target/"
Live child 0x347bff63e780 (Release/obj.target/os_dns_native.node) PID 63634
Reaping winning child 0x347bff63e780 PID 63634
c++ -o Release/obj.target/os_dns_native.node -shared -pthread -rdynamic -Wl,--export-dynamic -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 0x347bff63e780 (Release/obj.target/os_dns_native.node) PID 63636
Reaping winning child 0x347bff63e780 PID 63636
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 -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 0x347bff63e780 (Release/obj.target/os_dns_native.node) PID 63690
Reaping winning child 0x347bff63e780 PID 63690
Removing child 0x347bff63e780 PID 63690 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:141: 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 0x347bff63e780 (Release/os_dns_native.node) PID 63691 on the chain.
Live child 0x347bff63e780 (Release/os_dns_native.node) PID 63691
COPY Release/os_dns_native.node
Reaping winning child 0x347bff63e780 PID 63691
mkdir -p "Release/" "./Release/.deps/Release/"
Live child 0x347bff63e780 (Release/os_dns_native.node) PID 63693
Reaping winning child 0x347bff63e780 PID 63693
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 0x347bff63e780 (Release/os_dns_native.node) PID 63695
Reaping winning child 0x347bff63e780 PID 63695
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 0x347bff63e780 (Release/os_dns_native.node) PID 63701
Reaping winning child 0x347bff63e780 PID 63701
Removing child 0x347bff63e780 PID 63701 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: arm64
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 making "build" in /usr/ports/databases/mongosh