[package - 141releng-armv7-quarterly][textproc/kibana8] Failed for kibana8-8.11.3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 15 Nov 2024 09:08:39 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:     elastic@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere1/data/141releng-armv7-quarterly/2e2d801cf977/logs/kibana8-8.11.3.log
Build URL:      https://pkg-status.freebsd.org/ampere1/build.html?mastername=141releng-armv7-quarterly&build=2e2d801cf977
Log:

=>> Building textproc/kibana8
build started at Fri Nov 15 09:07:01 UTC 2024
port directory: /usr/ports/textproc/kibana8
package name: kibana8-8.11.3
building for: FreeBSD 141releng-armv7-quarterly-job-04 14.1-RELEASE-p6 FreeBSD 14.1-RELEASE-p6 1401000 arm
maintained by: elastic@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 4210 Oct 15 01:02 /usr/ports/textproc/kibana8/Makefile
Ports top last git commit: 2e2d801cf
Ports top unclean checkout: no
Port dir last git commit: db5128afd
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1401000
Job Id: 04

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1401000
UNAME_v=FreeBSD 14.1-RELEASE-p6 1401000
UNAME_r=14.1-RELEASE-p6
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/141releng-armv7-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/141releng-armv7-quarterly/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141releng-armv7-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141releng-armv7-quarterly/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--
elastic@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/kibana8/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/kibana8/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/kibana8/work/.cache  HOME=/wrkdirs/usr/ports/textproc/kibana8/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/kibana8/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/kibana8/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/kibana8/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/kibana8/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/kibana8/work/.cache  HOME=/wrkdirs/usr/ports/textproc/kibana8/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/kibana8/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/kibana8/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 -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++17 " 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/kibana"  EXAMPLESDIR="share/examples/kibana"  DATADIR="share/kibana"  WWWDIR="www/kibana8"  ETCDIR="etc/kibana"
--End PLIST_SUB--

--SUB_LIST--
BINDIR=/usr/local/bin  PKGNAMESUFFIX=8  PORTNAME=kibana 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/kibana DOCSDIR=/usr/local/share/doc/kibana EXAMPLESDIR=/usr/local/share/examples/kibana  WWWDIR=/usr/local/www/kibana8 ETCDIR=/usr/local/etc/kibana
--End SUB_LIST--

---Begin make.conf---
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  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
===>   kibana8-8.11.3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141releng-armv7-quarterly-job-04] Installing pkg-1.21.3...
[141releng-armv7-quarterly-job-04] Extracting pkg-1.21.3: .......... done
===>   kibana8-8.11.3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of kibana8-8.11.3
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by kibana8-8.11.3 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by kibana8-8.11.3 for building
=> SHA256 Checksum OK for kibana-8.11.3-linux-x86_64.tar.gz.
=> SHA256 Checksum OK for nodejs-nan-v2.18.0_GH0.tar.gz.
=> SHA256 Checksum OK for uhop-node-re2-1.20.0_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 kibana8-8.11.3 for building
===>  Extracting for kibana8-8.11.3
=> SHA256 Checksum OK for kibana-8.11.3-linux-x86_64.tar.gz.
=> SHA256 Checksum OK for nodejs-nan-v2.18.0_GH0.tar.gz.
=> SHA256 Checksum OK for uhop-node-re2-1.20.0_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for kibana8-8.11.3
===>  Applying FreeBSD patches for kibana8-8.11.3 from /usr/ports/textproc/kibana8/files
/usr/bin/find -s /wrkdirs/usr/ports/textproc/kibana8/work/kibana-8.11.3/node_modules -type d -empty -delete
/usr/bin/find -s /wrkdirs/usr/ports/textproc/kibana8/work/kibana-8.11.3/packages -type d -empty -delete
/usr/bin/find -s /wrkdirs/usr/ports/textproc/kibana8/work/kibana-8.11.3/src/plugins -type d -empty -delete
/usr/bin/find -s /wrkdirs/usr/ports/textproc/kibana8/work/kibana-8.11.3/x-pack/packages -type d -empty -delete
/usr/bin/sed -i.bak -e "s|%%WWWDIR%%|/usr/local/www/kibana8|g"  /wrkdirs/usr/ports/textproc/kibana8/work/kibana-8.11.3/config/kibana.yml
cd /wrkdirs/usr/ports/textproc/kibana8/work/node-re2-1.20.0 && /usr/bin/patch -p0 < /usr/ports/textproc/kibana8/files/extra-node-re2-binding-gyp.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- binding.gyp.orig	2023-07-28 19:43:03.000000000 +0200
|+++ binding.gyp	2023-12-24 18:44:16.120540000 +0100
--------------------------
Patching file binding.gyp using Plan A...
Hunk #1 succeeded at 14.
Hunk #2 succeeded at 22.
Hunk #3 succeeded at 31.
done
/usr/bin/sed -i.bak -e "s|%%PREFIX%%|/usr/local|g"  -e "s|%%DEVDIR%%|/wrkdirs/usr/ports/textproc/kibana8/work/.devdir|g" /wrkdirs/usr/ports/textproc/kibana8/work/node-re2-1.20.0/binding.gyp
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   kibana8-8.11.3 depends on package: npm-node18>=9.7.2 - not found
===>   Installing existing package /packages/All/npm-node18-10.8.3.pkg
[141releng-armv7-quarterly-job-04] Installing npm-node18-10.8.3...
[141releng-armv7-quarterly-job-04] `-- Installing gmake-4.4.1...
[141releng-armv7-quarterly-job-04] |   `-- Installing gettext-runtime-0.22.5...
[141releng-armv7-quarterly-job-04] |   | `-- Installing indexinfo-0.3.1...
[141releng-armv7-quarterly-job-04] |   | `-- Extracting indexinfo-0.3.1: .... done
[141releng-armv7-quarterly-job-04] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[141releng-armv7-quarterly-job-04] `-- Extracting gmake-4.4.1: .......... done
[141releng-armv7-quarterly-job-04] `-- Installing node18-18.20.4...
[141releng-armv7-quarterly-job-04] |   `-- Installing brotli-1.1.0,1...
[141releng-armv7-quarterly-job-04] |   `-- Extracting brotli-1.1.0,1: .......... done
[141releng-armv7-quarterly-job-04] |   `-- Installing c-ares-1.33.1...
[141releng-armv7-quarterly-job-04] |   `-- Extracting c-ares-1.33.1: .......... done
[141releng-armv7-quarterly-job-04] |   `-- Installing ca_root_nss-3.104...
[141releng-armv7-quarterly-job-04] |   `-- 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...
[141releng-armv7-quarterly-job-04] |   `-- Installing icu-74.2_1,1...
[141releng-armv7-quarterly-job-04] |   `-- Extracting icu-74.2_1,1: .......... done
[141releng-armv7-quarterly-job-04] |   `-- Installing libnghttp2-1.63.0...
[141releng-armv7-quarterly-job-04] |   `-- Extracting libnghttp2-1.63.0: .......... done
[141releng-armv7-quarterly-job-04] |   `-- Installing libuv-1.49.0...
[141releng-armv7-quarterly-job-04] |   `-- Extracting libuv-1.49.0: .......... done
[141releng-armv7-quarterly-job-04] `-- Extracting node18-18.20.4: .......... done
[141releng-armv7-quarterly-job-04] `-- Installing python311-3.11.10...
[141releng-armv7-quarterly-job-04] |   `-- Installing libffi-3.4.6...
[141releng-armv7-quarterly-job-04] |   `-- Extracting libffi-3.4.6: .......... done
[141releng-armv7-quarterly-job-04] |   `-- Installing mpdecimal-4.0.0...
[141releng-armv7-quarterly-job-04] |   `-- Extracting mpdecimal-4.0.0: .......... done
[141releng-armv7-quarterly-job-04] |   `-- Installing readline-8.2.13_1...
[141releng-armv7-quarterly-job-04] |   `-- Extracting readline-8.2.13_1: .......... done
[141releng-armv7-quarterly-job-04] `-- Extracting python311-3.11.10: .......... done
[141releng-armv7-quarterly-job-04] Extracting npm-node18-10.8.3: .......... 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.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
=====
Message from node18-18.20.4:

--
Note: If you need npm (Node Package Manager), please install www/npm.
=====
Message from python311-3.11.10:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py311-gdbm       databases/py-gdbm@py311
py311-sqlite3    databases/py-sqlite3@py311
py311-tkinter    x11-toolkits/py-tkinter@py311
===>   kibana8-8.11.3 depends on package: npm-node18>=9.7.2 - found
===>   Returning to build of kibana8-8.11.3
===>   kibana8-8.11.3 depends on executable: node - found
===>   kibana8-8.11.3 depends on file: /usr/local/bin/python3.11 - found
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   kibana8-8.11.3 depends on shared library: libre2.so - not found
===>   Installing existing package /packages/All/re2-20240702.pkg
[141releng-armv7-quarterly-job-04] Installing re2-20240702...
[141releng-armv7-quarterly-job-04] `-- Installing abseil-20240722.0...
[141releng-armv7-quarterly-job-04] `-- Extracting abseil-20240722.0: .......... done
[141releng-armv7-quarterly-job-04] Extracting re2-20240702: .......... done
===>   kibana8-8.11.3 depends on shared library: libre2.so - found (/usr/local/lib/libre2.so)
===>   Returning to build of kibana8-8.11.3
===>   kibana8-8.11.3 depends on shared library: libuv.so - found (/usr/local/lib/libuv.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for kibana8-8.11.3
(  _NODEVER=$(/usr/local/bin/node --version | /usr/bin/sed -n 's|^v\(.*\)|\1|p') &&  /bin/mkdir -p /wrkdirs/usr/ports/textproc/kibana8/work/.devdir/${_NODEVER}/include &&  install -l rs /usr/local/include/node /wrkdirs/usr/ports/textproc/kibana8/work/.devdir/${_NODEVER}/include/node &&  echo "9" > /wrkdirs/usr/ports/textproc/kibana8/work/.devdir/${_NODEVER}/installVersion  )
/bin/mkdir -p /wrkdirs/usr/ports/textproc/kibana8/work/.devdir/nan
(cd /wrkdirs/usr/ports/textproc/kibana8/work/nan-2.18.0 && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) &&  /usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE .  /wrkdirs/usr/ports/textproc/kibana8/work/.devdir/nan  "! ( -name \.* -or -path *\/test\/* -or -name test )")
(cd /wrkdirs/usr/ports/textproc/kibana8/work/node-re2-1.20.0 &&  /usr/bin/env HOME=/wrkdirs/usr/ports/textproc/kibana8/work  /usr/local/lib/node_modules/npm/node_modules/.bin/node-gyp configure  --python=/usr/local/bin/python3.11  --nodedir=/usr/local  --devdir=/wrkdirs/usr/ports/textproc/kibana8/work/.devdir)
gyp info it worked if it ends with ok
gyp info using node-gyp@10.2.0
gyp info using node@18.20.4 | freebsd | arm
gyp info find Python using Python version 3.11.10 found at "/usr/local/bin/python3.11"
gyp info spawn /usr/local/bin/python3.11
gyp info spawn args [
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/wrkdirs/usr/ports/textproc/kibana8/work/node-re2-1.20.0/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/usr/local',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/usr/local/$(Configuration)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/wrkdirs/usr/ports/textproc/kibana8/work/node-re2-1.20.0',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info ok 
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for kibana8-8.11.3
(cd /wrkdirs/usr/ports/textproc/kibana8/work/node-re2-1.20.0 &&  /usr/bin/env HOME=/wrkdirs/usr/ports/textproc/kibana8/work  /usr/local/lib/node_modules/npm/node_modules/.bin/node-gyp build  --devdir=/wrkdirs/usr/ports/textproc/kibana8/work/.devdir)
gyp info it worked if it ends with ok
gyp info using node-gyp@10.2.0
gyp info using node@18.20.4 | freebsd | arm
gyp info spawn gmake
gmake[1]: Entering directory '/wrkdirs/usr/ports/textproc/kibana8/work/node-re2-1.20.0/build'
  CXX(target) Release/obj.target/re2/lib/addon.o
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  CXX(target) Release/obj.target/re2/lib/new.o
  CXX(target) Release/obj.target/re2/lib/exec.o
  CXX(target) Release/obj.target/re2/lib/test.o
  CXX(target) Release/obj.target/re2/lib/match.o
  CXX(target) Release/obj.target/re2/lib/replace.o
In file included from ../lib/replace.cc:1:
In file included from ../lib/./wrapped_re2.h:4:
/wrkdirs/usr/ports/textproc/kibana8/work/.devdir/nan/nan.h:24:10: fatal error: 'node_version.h' file not found
   24 | #include <node_version.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
gmake[1]: *** [re2.target.mk:141: Release/obj.target/re2/lib/replace.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/kibana8/work/node-re2-1.20.0/build'
gyp ERR! build error 
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:216:23)
gyp ERR! System FreeBSD 14.1-RELEASE-p6
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/.bin/node-gyp" "build" "--devdir=/wrkdirs/usr/ports/textproc/kibana8/work/.devdir"
gyp ERR! cwd /wrkdirs/usr/ports/textproc/kibana8/work/node-re2-1.20.0
gyp ERR! node -v v18.20.4
gyp ERR! node-gyp -v v10.2.0
gyp ERR! not ok 
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/kibana8
unlink: ../../ref/.p/var/run/04_nohang.pid: Not a directory