[package - 140releng-powerpc64-quarterly][www/hedgedoc] Failed for hedgedoc-1.9.6_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 02 Dec 2023 07:22:06 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:     dch@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/foul1/data/140releng-powerpc64-quarterly/7af1bc0931f2/logs/hedgedoc-1.9.6_2.log
Build URL:      https://pkg-status.freebsd.org/foul1/build.html?mastername=140releng-powerpc64-quarterly&build=7af1bc0931f2
Log:

=>> Building www/hedgedoc
build started at Sat Dec  2 07:19:49 UTC 2023
port directory: /usr/ports/www/hedgedoc
package name: hedgedoc-1.9.6_2
building for: FreeBSD 140releng-powerpc64-quarterly-job-05 14.0-RELEASE FreeBSD 14.0-RELEASE 1400097 powerpc
maintained by: dch@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 4554 Oct 17 01:03 /usr/ports/www/hedgedoc/Makefile
Ports top last git commit: 7af1bc093
Ports top unclean checkout: no
Port dir last git commit: b41c26148
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.0-1258-gbc38e2e6
Host OSVERSION: 1500003
Jail OSVERSION: 1400097
Job Id: 05

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE 1400097
UNAME_r=14.0-RELEASE
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
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.0-1258-gbc38e2e6
MASTERMNT=/usr/local/poudriere/data/.m/140releng-powerpc64-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/140releng-powerpc64-quarterly/05/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=140releng-powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140releng-powerpc64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.0-1258-gbc38e2e6
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---
===> The following configuration options are available for hedgedoc-1.9.6_2:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
dch@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/www/hedgedoc/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/hedgedoc/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/hedgedoc/work/.cache  HOME=/wrkdirs/usr/ports/www/hedgedoc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/hedgedoc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/hedgedoc/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/www/hedgedoc/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/hedgedoc/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/hedgedoc/work/.cache  HOME=/wrkdirs/usr/ports/www/hedgedoc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/hedgedoc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/hedgedoc/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  "  MANPREFIX="/usr/local" 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--
ARCH=powerpc64 PORTDOCS="" DOCS="" NO_DOCS="@comment " PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/hedgedoc"  EXAMPLESDIR="share/examples/hedgedoc"  DATADIR="share/hedgedoc"  WWWDIR="www/hedgedoc"  ETCDIR="etc/hedgedoc"
--End PLIST_SUB--

--SUB_LIST--
 DOCS="" NO_DOCS="@comment " PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/hedgedoc DOCSDIR=/usr/local/share/doc/hedgedoc EXAMPLESDIR=/usr/local/share/examples/hedgedoc  WWWDIR=/usr/local/www/hedgedoc ETCDIR=/usr/local/etc/hedgedoc
--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
####  ####
# 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)  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
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Depends on EOL NodeJS 16.

It is scheduled to be removed on or after 2023-10-30.

===>  License AGPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   hedgedoc-1.9.6_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.8.pkg
[140releng-powerpc64-quarterly-job-05] Installing pkg-1.20.8...
[140releng-powerpc64-quarterly-job-05] Extracting pkg-1.20.8: .......... done
===>   hedgedoc-1.9.6_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of hedgedoc-1.9.6_2
===========================================================================
=======================<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
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Depends on EOL NodeJS 16.

It is scheduled to be removed on or after 2023-10-30.

===>  License AGPLv3 accepted by the user
===> Fetching all distfiles required by hedgedoc-1.9.6_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Depends on EOL NodeJS 16.

It is scheduled to be removed on or after 2023-10-30.

===>  License AGPLv3 accepted by the user
===> Fetching all distfiles required by hedgedoc-1.9.6_2 for building
=> SHA256 Checksum OK for hedgedoc-1.9.6.tar.gz.
=> SHA256 Checksum OK for hedgedoc-1.9.6-yarn-cache.txz.
=> SHA256 Checksum OK for node-v16.19.0-headers.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
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Depends on EOL NodeJS 16.

It is scheduled to be removed on or after 2023-10-30.

===>  License AGPLv3 accepted by the user
===> Fetching all distfiles required by hedgedoc-1.9.6_2 for building
===>  Extracting for hedgedoc-1.9.6_2
=> SHA256 Checksum OK for hedgedoc-1.9.6.tar.gz.
=> SHA256 Checksum OK for hedgedoc-1.9.6-yarn-cache.txz.
<snip>
other ports to be installed (perl, python, etc), which you may need to
install manually.
===>   hedgedoc-1.9.6_2 depends on executable: git - found
===>   Returning to build of hedgedoc-1.9.6_2
===>   hedgedoc-1.9.6_2 depends on executable: npm - not found
===>   Installing existing package /packages/All/npm-node16-9.9.0.pkg
[140releng-powerpc64-quarterly-job-05] Installing npm-node16-9.9.0...
[140releng-powerpc64-quarterly-job-05] `-- Installing gmake-4.3_2...
[140releng-powerpc64-quarterly-job-05] `-- Extracting gmake-4.3_2: .......... done
[140releng-powerpc64-quarterly-job-05] `-- Installing node16-16.20.1_1...
[140releng-powerpc64-quarterly-job-05] |   `-- Installing brotli-1.1.0,1...
[140releng-powerpc64-quarterly-job-05] |   `-- Extracting brotli-1.1.0,1: .......... done
[140releng-powerpc64-quarterly-job-05] |   `-- Installing c-ares-1.19.1...
[140releng-powerpc64-quarterly-job-05] |   `-- Extracting c-ares-1.19.1: .......... done
[140releng-powerpc64-quarterly-job-05] |   `-- Installing ca_root_nss-3.93...
[140releng-powerpc64-quarterly-job-05] |   `-- Extracting ca_root_nss-3.93: ........ done
[140releng-powerpc64-quarterly-job-05] |   `-- Installing icu-73.2,1...
[140releng-powerpc64-quarterly-job-05] |   `-- Extracting icu-73.2,1: .......... done
[140releng-powerpc64-quarterly-job-05] |   `-- Installing libuv-1.46.0...
[140releng-powerpc64-quarterly-job-05] |   `-- Extracting libuv-1.46.0: .......... done
[140releng-powerpc64-quarterly-job-05] `-- Extracting node16-16.20.1_1: .......... done
[140releng-powerpc64-quarterly-job-05] Extracting npm-node16-9.9.0: .......... done
=====
Message from ca_root_nss-3.93:

--
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 certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

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 node16-16.20.1_1:

--
Note: If you need npm (Node Package Manager), please install www/npm.
--
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Upstream EOL reaches on 2023-09-11.

It is scheduled to be removed on or after 2023-09-30.
===>   hedgedoc-1.9.6_2 depends on executable: npm - found
===>   Returning to build of hedgedoc-1.9.6_2
===>   hedgedoc-1.9.6_2 depends on executable: sqlite3 - not found
===>   Installing existing package /packages/All/sqlite3-3.43.1,1.pkg
[140releng-powerpc64-quarterly-job-05] Installing sqlite3-3.43.1,1...
[140releng-powerpc64-quarterly-job-05] `-- Installing libedit-3.1.20221030,1...
[140releng-powerpc64-quarterly-job-05] `-- Extracting libedit-3.1.20221030,1: .......... done
[140releng-powerpc64-quarterly-job-05] Extracting sqlite3-3.43.1,1: .......... done
===>   hedgedoc-1.9.6_2 depends on executable: sqlite3 - found
===>   Returning to build of hedgedoc-1.9.6_2
===>   hedgedoc-1.9.6_2 depends on executable: yarn - not found
===>   Installing existing package /packages/All/yarn-node16-1.22.19.pkg
[140releng-powerpc64-quarterly-job-05] Installing yarn-node16-1.22.19...
[140releng-powerpc64-quarterly-job-05] Extracting yarn-node16-1.22.19: .......... done
===>   hedgedoc-1.9.6_2 depends on executable: yarn - found
===>   Returning to build of hedgedoc-1.9.6_2
===>   hedgedoc-1.9.6_2 depends on executable: node - found
===>   hedgedoc-1.9.6_2 depends on file: /usr/local/bin/python3.9 - found
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for hedgedoc-1.9.6_2
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for hedgedoc-1.9.6_2
(cd /wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6 &&  /usr/bin/env HOME=/wrkdirs/usr/ports/www/hedgedoc/work/yarn NODE_ENV=production  PATH=/wrkdirs/usr/ports/www/hedgedoc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin:/usr/local/lib/node_modules/npm/node_modules/.bin/  NPM_CONFIG_TARBALL=/portdistfiles/node-v16.19.0-headers.tar.gz  PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true PYTHON=/usr/local/bin/python3.9 /usr/local/bin/yarn --skip-integrity-check --noninteractive --no-node-version-check  --no-default-rc --cwd /wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6 --cache-folder  /wrkdirs/usr/ports/www/hedgedoc/work/yarn/.cache --use-yarnrc /wrkdirs/usr/ports/www/hedgedoc/work/yarn/yarnrc --no-progress --silent  --frozen-lockfile --offline install)
warning " > connect-session-sequelize@7.1.5" has incorrect peer dependency "sequelize@>= 6.1.0".
warning Error running install script for optional dependency: "/wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/bufferutil: Command failed.
Exit code: 1
Command: node-gyp-build
Arguments: 
Directory: /wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/bufferutil
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@9.4.0
gyp info using node@16.20.1 | freebsd | ppc64
gyp info find Python using Python version 3.9.18 found at \"/usr/local/bin/python3.9\"
gyp info spawn /usr/local/bin/python3.9
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/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/bufferutil/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   '/wrkdirs/usr/ports/www/hedgedoc/work/yarn/.cache/node-gyp/16.20.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/wrkdirs/usr/ports/www/hedgedoc/work/yarn/.cache/node-gyp/16.20.1',
gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/wrkdirs/usr/ports/www/hedgedoc/work/yarn/.cache/node-gyp/16.20.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/bufferutil',
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 ]
gypgmake[1]: Entering directory '/wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/bufferutil/build'
 info spawn gmake
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  CC(target) Release/obj.target/bufferutil/src/bufferutil.o
cc: error: unknown argument: '-mminimal-toc'
gmake[1]: *** [bufferutil.target.mk:111: Release/obj.target/bufferutil/src/bufferutil.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/bufferutil/build'
gyp ERR! build error 
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
gyp ERR! System FreeBSD 14.0-RELEASE
gyp ERR! command \"/usr/local/bin/node\" \"/usr/local/bin/node-gyp\" \"rebuild\"
gyp ERR! cwd /wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/bufferutil
gyp ERR! node -v v16.20.1
gyp ERR! node-gyp -v v9.4.0
gyp ERR! not ok"
warning Error running install script for optional dependency: "/wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/utf-8-validate: Command failed.
Exit code: 1
Command: node-gyp-build
Arguments: 
Directory: /wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/utf-8-validate
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@9.4.0
gyp info using node@16.20.1 | freebsd | ppc64
gyp info find Python using Python version 3.9.18 found at \"/usr/local/bin/python3.9\"
gyp info spawn /usr/local/bin/python3.9
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/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/utf-8-validate/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   '/wrkdirs/usr/ports/www/hedgedoc/work/yarn/.cache/node-gyp/16.20.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/wrkdirs/usr/ports/www/hedgedoc/work/yarn/.cache/node-gyp/16.20.1',
gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/wrkdirs/usr/ports/www/hedgedoc/work/yarn/.cache/node-gyp/16.20.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/utf-8-validate',
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 gmake[1]: Entering directory '/wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/utf-8-validate/build'
info spawn gmake
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  CC(target) Release/obj.target/validation/src/validation.o
cc: error: unknown argument: '-mminimal-toc'
gmake[1]: *** [validation.target.mk:111: Release/obj.target/validation/src/validation.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
gyp ERR! System FreeBSD 14.0-RELEASE
gyp ERR! command \"/usr/local/bin/node\" \"/usr/local/bin/node-gyp\" \"rebuild\"
gyp ERR! cwd /wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/utf-8-validate
gyp ERR! node -v v16.20.1
gyp ERR! node-gyp -v v9.4.0
gyp ERR! not ok 
gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/utf-8-validate/build'"
*** Error code 1

Stop.
make: stopped in /usr/ports/www/hedgedoc