maintainer-feedback requested: [Bug 272378] textproc/kibana{7,8}: configure phase: env: /usr/local/lib/node_modules/npm/bin/node-gyp-bin/node-gyp: No such file or directory

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 05 Jul 2023 08:31:06 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-elastic (Nobody)
<elastic@FreeBSD.org> for maintainer-feedback:
Bug 272378: textproc/kibana{7,8}: configure phase: env:
/usr/local/lib/node_modules/npm/bin/node-gyp-bin/node-gyp: No such file or
directory
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272378



--- Description ---
During the configure phase both textproc/kibana{7,8} terminates with this error
message:

env: /usr/local/lib/node_modules/npm/bin/node-gyp-bin/node-gyp: No such file or
directory

Here's more context for textproc/kibana7:

===>  Configuring for kibana7-7.17.9_1
(  _NODEVER=$(/usr/local/bin/node --version | /usr/bin/sed -n
's|^v\(.*\)|\1|p') &&  /bin/mkdir -p
/construction/xports/textproc/kibana7/work/.devdir/${_NODEVER}/include && 
install -l rs /usr/local/include/node /construction/xpor
ts/textproc/kibana7/work/.devdir/${_NODEVER}/include/node &&  echo "9" >
/construction/xports/textproc/kibana7/work/.devdir/${_NODEVER}/installVersion 
)
/bin/mkdir -p /construction/xports/textproc/kibana7/work/.devdir/nan
(cd /construction/xports/textproc/kibana7/work/nan-2.17.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 . 
/construction/xports/textproc/kibana7/work/.devdir/nan	"! ( -name \.* -or
-path *\/test\/* -or -name test )")
(cd /construction/xports/textproc/kibana7/work/node-re2-1.18.0 &&  /usr/bin/env
HOME=/construction/xports/textproc/kibana7/work 
/usr/local/lib/node_modules/npm/bin/node-gyp-bin/node-gyp configure 
--python=/usr/local/bin/python3.
9  --devdir=/construction/xports/textproc/kibana7/work/.devdir)
env: /usr/local/lib/node_modules/npm/bin/node-gyp-bin/node-gyp: No such file or
directory
*** Error code 127

And for textproc/kibana8:

===>  Configuring for kibana8-8.7.0_1
(  _NODEVER=$(/usr/local/bin/node --version | /usr/bin/sed -n
's|^v\(.*\)|\1|p') &&  /bin/mkdir -p
/construction/xports/textproc/kibana8/work/.devdir/${_NODEVER}/include && 
install -l rs /usr/local/include/node /construction/xpor
ts/textproc/kibana8/work/.devdir/${_NODEVER}/include/node &&  echo "9" >
/construction/xports/textproc/kibana8/work/.devdir/${_NODEVER}/installVersion 
)
/bin/mkdir -p /construction/xports/textproc/kibana8/work/.devdir/nan
(cd /construction/xports/textproc/kibana8/work/nan-2.17.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 . 
/construction/xports/textproc/kibana8/work/.devdir/nan	"! ( -name \.* -or
-path *\/test\/* -or -name test )")
(cd /construction/xports/textproc/kibana8/work/node-re2-1.18.0 &&  /usr/bin/env
HOME=/construction/xports/textproc/kibana8/work 
/usr/local/lib/node_modules/npm/bin/node-gyp-bin/node-gyp configure 
--python=/usr/local/bin/python3.
9  --devdir=/construction/xports/textproc/kibana8/work/.devdir)
env: /usr/local/lib/node_modules/npm/bin/node-gyp-bin/node-gyp: No such file or
directory
*** Error code 127