[package - main-powerpc64le-default][www/hedgedoc] Failed for hedgedoc-1.9.6_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 01 Oct 2023 09:14:46 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/foul2/data/main-powerpc64le-default/pf16b003f6abd_sbb124a0f61/logs/hedgedoc-1.9.6_2.log
Build URL:      https://pkg-status.freebsd.org/foul2/build.html?mastername=main-powerpc64le-default&build=pf16b003f6abd_sbb124a0f61
Log:

=>> Building www/hedgedoc
build started at Sun Oct  1 09:11:20 UTC 2023
port directory: /usr/ports/www/hedgedoc
package name: hedgedoc-1.9.6_2
building for: FreeBSD main-powerpc64le-default-job-07 15.0-CURRENT FreeBSD 15.0-CURRENT 1500001 powerpc
maintained by: dch@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1500001
Job Id: 07




!!! Jail is newer than host. (Jail: 1500001, Host: 1500000) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500001
UNAME_v=FreeBSD 15.0-CURRENT 1500001
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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-powerpc64le-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
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=powerpc64le PORTDOCS="" DOCS="" NO_DOCS="@comment " PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd15  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=15.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=freebsd15  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
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=3
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64le
OPSYS=FreeBSD
_OSRELEASE=15.0-CURRENT
OSREL=15.0
OSVERSION=1500001
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  1024
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   >============================
===>  License AGPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   hedgedoc-1.9.6_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.7.pkg
[main-powerpc64le-default-job-07] Installing pkg-1.20.7...
[main-powerpc64le-default-job-07] Extracting pkg-1.20.7: .......... 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  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License AGPLv3 accepted by the user
===> Fetching all distfiles required by hedgedoc-1.9.6_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  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>============================
===========================================================================
=======================<phase: extract        >============================
===>  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.
=> SHA256 Checksum OK for node-v16.19.0-headers.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for hedgedoc-1.9.6_2
===========================================================================
<snip>
=====
Message from python39-3.9.18:

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

py39-gdbm       databases/py-gdbm@py39
py39-sqlite3    databases/py-sqlite3@py39
py39-tkinter    x11-toolkits/py-tkinter@py39
=====
Message from git-2.42.0:

--
If you installed the GITWEB option please follow these instructions:

In the directory /usr/local/share/examples/git/gitweb you can find all files to
make gitweb work as a public repository on the web.

All you have to do to make gitweb work is:
1) Please be sure you're able to execute CGI scripts in
   /usr/local/share/examples/git/gitweb.
2) Set the GITWEB_CONFIG variable in your webserver's config to
   /usr/local/etc/git/gitweb.conf. This variable is passed to gitweb.cgi.
3) Restart server.


If you installed the CONTRIB option please note that the scripts are
installed in /usr/local/share/git-core/contrib. Some of them require
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.7.2.pkg
[main-powerpc64le-default-job-07] Installing npm-node16-9.7.2...
[main-powerpc64le-default-job-07] `-- Installing gmake-4.3_2...
[main-powerpc64le-default-job-07] `-- Extracting gmake-4.3_2: .......... done
[main-powerpc64le-default-job-07] `-- Installing node16-16.20.1_1...
[main-powerpc64le-default-job-07] |   `-- Installing brotli-1.1.0,1...
[main-powerpc64le-default-job-07] |   `-- Extracting brotli-1.1.0,1: .......... done
[main-powerpc64le-default-job-07] |   `-- Installing c-ares-1.19.1...
[main-powerpc64le-default-job-07] |   `-- Extracting c-ares-1.19.1: .......... done
[main-powerpc64le-default-job-07] |   `-- Installing icu-73.2,1...
[main-powerpc64le-default-job-07] |   `-- Extracting icu-73.2,1: .......... done
[main-powerpc64le-default-job-07] |   `-- Installing libuv-1.46.0...
[main-powerpc64le-default-job-07] |   `-- Extracting libuv-1.46.0: .......... done
[main-powerpc64le-default-job-07] `-- Extracting node16-16.20.1_1: .......... done
[main-powerpc64le-default-job-07] Extracting npm-node16-9.7.2: .......... done
=====
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
[main-powerpc64le-default-job-07] Installing sqlite3-3.43.1,1...
[main-powerpc64le-default-job-07] `-- Installing libedit-3.1.20221030,1...
[main-powerpc64le-default-job-07] `-- Extracting libedit-3.1.20221030,1: .......... done
[main-powerpc64le-default-job-07] 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
[main-powerpc64le-default-job-07] Installing yarn-node16-1.22.19...
[main-powerpc64le-default-job-07] 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    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for hedgedoc-1.9.6_2
===========================================================================
=======================<phase: build          >============================
===>  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 ]
gyp info spawn gmake
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gmake[1]: Entering directory '/wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/bufferutil/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 15.0-CURRENT
gyp ERR! command \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/npm/node_modules/.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 info spawn gmake
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
gmake[1]: Entering directory '/wrkdirs/usr/ports/www/hedgedoc/work/hedgedoc-1.9.6/node_modules/utf-8-validate/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 15.0-CURRENT
gyp ERR! command \"/usr/local/bin/node\" \"/usr/local/lib/node_modules/npm/node_modules/.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