[package - 140releng-powerpc64-quarterly][net-im/libsignal-node] Failed for libsignal-node-0.31.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 01 Dec 2023 09:06:34 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:     mikael@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/foul1/data/140releng-powerpc64-quarterly/7af1bc0931f2/logs/libsignal-node-0.31.0.log
Build URL:      https://pkg-status.freebsd.org/foul1/build.html?mastername=140releng-powerpc64-quarterly&build=7af1bc0931f2
Log:

=>> Building net-im/libsignal-node
build started at Fri Dec  1 09:01:04 UTC 2023
port directory: /usr/ports/net-im/libsignal-node
package name: libsignal-node-0.31.0
building for: FreeBSD 140releng-powerpc64-quarterly-job-02 14.0-RELEASE FreeBSD 14.0-RELEASE 1400097 powerpc
maintained by: mikael@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 9498 Oct 17 01:03 /usr/ports/net-im/libsignal-node/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: 02

---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/02/.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---
---End OPTIONS List---

--MAINTAINER--
mikael@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work/.cache  HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work TMPDIR="/wrkdirs/usr/ports/net-im/libsignal-node/work" PATH=/wrkdirs/usr/ports/net-im/libsignal-node/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-im/libsignal-node/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--
HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work  PYTHON=/usr/local/bin/python3.9  RUSTFLAGS=-Clink-dead-code  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work/.cache RUSTC_BOOTSTRAP=aes,polyval XDG_DATA_HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work/.cache  HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work TMPDIR="/wrkdirs/usr/ports/net-im/libsignal-node/work" PATH=/wrkdirs/usr/ports/net-im/libsignal-node/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-im/libsignal-node/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=""  LDFL
 AGS=" -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--
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/libsignal"  EXAMPLESDIR="share/examples/libsignal"  DATADIR="share/libsignal"  WWWDIR="www/libsignal"  ETCDIR="etc/libsignal"
--End PLIST_SUB--

--SUB_LIST--
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/libsignal DOCSDIR=/usr/local/share/doc/libsignal EXAMPLESDIR=/usr/local/share/examples/libsignal  WWWDIR=/usr/local/www/libsignal ETCDIR=/usr/local/etc/libsignal
--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
===>  License AGPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   libsignal-node-0.31.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.8.pkg
[140releng-powerpc64-quarterly-job-02] Installing pkg-1.20.8...
[140releng-powerpc64-quarterly-job-02] Extracting pkg-1.20.8: .......... done
===>   libsignal-node-0.31.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libsignal-node-0.31.0
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   libsignal-node-0.31.0 depends on package: yarn-node18>0 - not found
===>   Installing existing package /packages/All/yarn-node18-1.22.19.pkg
[140releng-powerpc64-quarterly-job-02] Installing yarn-node18-1.22.19...
[140releng-powerpc64-quarterly-job-02] `-- Installing node18-18.18.2...
[140releng-powerpc64-quarterly-job-02] |   `-- Installing brotli-1.1.0,1...
[140releng-powerpc64-quarterly-job-02] |   `-- Extracting brotli-1.1.0,1: .......... done
[140releng-powerpc64-quarterly-job-02] |   `-- Installing c-ares-1.19.1...
[140releng-powerpc64-quarterly-job-02] |   `-- Extracting c-ares-1.19.1: .......... done
[140releng-powerpc64-quarterly-job-02] |   `-- Installing ca_root_nss-3.93...
[140releng-powerpc64-quarterly-job-02] |   `-- Extracting ca_root_nss-3.93: ........ done
[140releng-powerpc64-quarterly-job-02] |   `-- Installing icu-73.2,1...
[140releng-powerpc64-quarterly-job-02] |   `-- Extracting icu-73.2,1: .......... done
[140releng-powerpc64-quarterly-job-02] |   `-- Installing libnghttp2-1.57.0...
[140releng-powerpc64-quarterly-job-02] |   `-- Extracting libnghttp2-1.57.0: .......... done
[140releng-powerpc64-quarterly-job-02] |   `-- Installing libuv-1.46.0...
[140releng-powerpc64-quarterly-job-02] |   `-- Extracting libuv-1.46.0: .......... done
[140releng-powerpc64-quarterly-job-02] `-- Extracting node18-18.18.2: .......... done
[140releng-powerpc64-quarterly-job-02] Extracting yarn-node18-1.22.19: .......... 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 node18-18.18.2:

--
Note: If you need npm (Node Package Manager), please install www/npm.
===>   libsignal-node-0.31.0 depends on package: yarn-node18>0 - found
===>   Returning to build of libsignal-node-0.31.0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License AGPLv3 accepted by the user
if [ ! -f /portdistfiles/libsignal-node-0.31.0-yarn-cache.tar.gz ];  then /bin/mkdir -p /wrkdirs/usr/ports/net-im/libsignal-node/work;  echo 'yarn-offline-mirror "./yarn-offline-cache"' >>  /wrkdirs/usr/ports/net-im/libsignal-node/work/.yarnrc;  cp -f /usr/ports/net-im/libsignal-node/files/node/package.json /usr/ports/net-im/libsignal-node/files/node/yarn.lock /wrkdirs/usr/ports/net-im/libsignal-node/work;  cd /wrkdirs/usr/ports/net-im/libsignal-node/work && /usr/bin/env HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work/.cache  yarn --frozen-lockfile --ignore-scripts;  /usr/sbin/mtree -cbnSp yarn-offline-cache | /usr/sbin/mtree -C | /usr/bin/sed  -e 's:time=[0-9.]*:time=1661146515.000000000:'  -e 's:\([gu]id\)=[0-9]*:\1=0:g'  -e 's:flags=.*:flags=none:'  -e 's:^\.:./yarn-offline-cache:' > yarn-offline-cache.mtree;  /usr/bin/tar cJf /portdistfiles/libsignal-node-0.31.0-yarn-cache.tar.gz   @yarn-offline-cache.mtree;  /bin/rm
  -f -r /wrkdirs/usr/ports/net-im/libsignal-node/work;  fi
===> Fetching all distfiles required by libsignal-node-0.31.0 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License AGPLv3 accepted by the user
<snip>
  OPENSSL_EXPORT int BN_abs_is_word(const BIGNUM *bn, BN_ULONG w);
                                                      ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:478:49: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_is_word(const BIGNUM *bn, BN_ULONG w);
                                                  ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:537:16: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
                 ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:537:54: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
                                                       ^
  gmake[5]: *** [CMakeFiles/crypto.dir/build.make:1874: CMakeFiles/crypto.dir/src/crypto/asn1/a_dup.c.o] Error 1
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:655:48: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_rand_range_ex(BIGNUM *r, BN_ULONG min_inclusive,
                                                 ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:949:52: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p,
                                                     ^
  In file included from /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/crypto/asn1/a_int.c:57:
  In file included from /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/asn1.h/wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:991:3: error: unknown type name 'BN_ULONG'
    BN_ULONG *d;
    ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:1022:3: error: unknown type name 'BN_ULONG'
    BN_ULONG n0[2];  // least significant words of (R*Ri-1)/N
    ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:1025:42: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT unsigned BN_num_bits_word(BN_ULONG l);
                                           ^
  In file included from /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/crypto/asn1/a_bitstr.c:57:
  In file included from /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/asn1.h:61:
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/base.h:124:2: error: "Unknown target CPU"
  #error "Unknown target CPU"
   ^
  :61:
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/base.h:124:2: error: "Unknown target CPU"
  #error "Unknown target CPU"
   ^
  19 errors generated.
  gmake[5]: *** [CMakeFiles/crypto.dir/build.make:1860: CMakeFiles/crypto.dir/src/crypto/asn1/a_d2i_fp.c.o] Error 1
  In file included from /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/crypto/asn1/a_bitstr.c:57:
  In file included from /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/asn1.h:66:
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:174:2: error: "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT"
  #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT"
   ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:232:44: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_set_word(BIGNUM *bn, BN_ULONG value);
                                             ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:330:16: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT BN_ULONG BN_get_word(const BIGNUM *bn);
                 ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:398:43: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_add_word(BIGNUM *a, BN_ULONG w);
                                            ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:411:43: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_sub_word(BIGNUM *a, BN_ULONG w);
                                            ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:420:44: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_mul_word(BIGNUM *bn, BN_ULONG w);
                                             ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:438:16: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT BN_ULONG BN_div_word(BIGNUM *numerator, BN_ULONG divisor);
                 ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:438:56: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT BN_ULONG BN_div_word(BIGNUM *numerator, BN_ULONG divisor);
                                                         ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:455:49: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_cmp_word(const BIGNUM *a, BN_ULONG b);
                                                  ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:469:53: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_abs_is_word(const BIGNUM *bn, BN_ULONG w);
                                                      ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:478:49: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_is_word(const BIGNUM *bn, BN_ULONG w);
                                                  ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:537:16: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
                 ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:537:54: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
                                                       ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:655:48: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_rand_range_ex(BIGNUM *r, BN_ULONG min_inclusive,
                                                 ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:949:52: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p,
                                                     ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:991:3: error: unknown type name 'BN_ULONG'
    BN_ULONG *d;
    ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:1022:3: error: unknown type name 'BN_ULONG'
    BN_ULONG n0[2];  // least significant words of (R*Ri-1)/N
    ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:1025:42: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT unsigned BN_num_bits_word(BN_ULONG l);
                                           ^
  In file included from /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/crypto/asn1/a_int.c:57:
  In file included from /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/asn1.h:66:
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:174:2: error: "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT"
  #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT"
   ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:232:44: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_set_word(BIGNUM *bn, BN_ULONG value);
                                             ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:330:16: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT BN_ULONG BN_get_word(const BIGNUM *bn);
                 ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:398:43: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_add_word(BIGNUM *a, BN_ULONG w);
                                            ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:411:43: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_sub_word(BIGNUM *a, BN_ULONG w);
                                            ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:420:44: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_mul_word(BIGNUM *bn, BN_ULONG w);
                                             ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:438:16: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT BN_ULONG BN_div_word(BIGNUM *numerator, BN_ULONG divisor);
                 ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:438:56: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT BN_ULONG BN_div_word(BIGNUM *numerator, BN_ULONG divisor);
                                                         ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:455:49: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_cmp_word(const BIGNUM *a, BN_ULONG b);
                                                  ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:469:53: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_abs_is_word(const BIGNUM *bn, BN_ULONG w);
                                                      ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:478:49: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_is_word(const BIGNUM *bn, BN_ULONG w);
                                                  ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:537:16: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
                 ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:537:54: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
                                                       ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:655:48: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_rand_range_ex(BIGNUM *r, BN_ULONG min_inclusive,
                                                 ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:949:52: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p,
                                                     ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:991:3: error: unknown type name 'BN_ULONG'
    BN_ULONG *d;
    ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:1022:3: error: unknown type name 'BN_ULONG'
    BN_ULONG n0[2];  // least significant words of (R*Ri-1)/N
    ^
  /wrkdirs/usr/ports/net-im/libsignal-node/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/deps/boringssl/src/include/openssl/bn.h:1025:42: error: unknown type name 'BN_ULONG'
  OPENSSL_EXPORT unsigned BN_num_bits_word(BN_ULONG l);
                                           ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.
  gmake[5]: *** [CMakeFiles/crypto.dir/build.make:1832: CMakeFiles/crypto.dir/src/crypto/asn1/a_bitstr.c.o] Error 1
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.
  gmake[5]: *** [CMakeFiles/crypto.dir/build.make:1916: CMakeFiles/crypto.dir/src/crypto/asn1/a_int.c.o] Error 1
  gmake[4]: *** [CMakeFiles/Makefile2:87: CMakeFiles/crypto.dir/all] Error 2
  gmake[3]: *** [CMakeFiles/Makefile2:94: CMakeFiles/crypto.dir/rule] Error 2
  gmake[2]: *** [Makefile:124: crypto] Error 2
  thread 'main' panicked at '
  command did not execute successfully, got: exit status: 2

  build script failed, must exit now', /wrkdirs/usr/ports/net-im/libsignal-node/work/libsignal-0.31.0/cargo-crates/cmake-0.1.48/src/lib.rs:975:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
warning: variable does not need to be mutable
   --> rust/protocol/src/state/session.rs:475:13
    |
475 |         let mut pending = self
    |             ----^^^^^^^
    |             |
    |             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` on by default

warning: `libsignal-protocol` (lib) generated 1 warning (run `cargo fix --lib -p libsignal-protocol` to apply 1 suggestion)
Invoked with 'build_node_bridge.py --out-dir /wrkdirs/usr/ports/net-im/libsignal-node/work/libsignal-0.31.0/node/build/Release/ --os-name=freebsd --configuration=Release --cargo-build-dir /wrkdirs/usr/ports/net-im/libsignal-node/work/libsignal-0.31.0/node/build/Release/obj.target/libsignal_client_freebsd_ppc64.node/geni/rust --cargo-target=powerpc64-unknown-freebsd --node-arch=ppc64'
Running 'cargo build --target powerpc64-unknown-freebsd -p libsignal-node --release'
ERROR: cargo failed
gmake[1]: *** [libsignal_client_freebsd_ppc64.node.target.mk:17: 33ff1f39204566e791a71045663796f18dbff9a3.intermediate] Error 1
rm 33ff1f39204566e791a71045663796f18dbff9a3.intermediate
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net-im/libsignal-node/work/libsignal-0.31.0/node/build'
gyp ERR! build error 
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/wrkdirs/usr/ports/net-im/libsignal-node/work/libsignal-0.31.0/node/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:517:28)
gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
gyp ERR! System FreeBSD 14.0-RELEASE
gyp ERR! command "/usr/local/bin/node" "/wrkdirs/usr/ports/net-im/libsignal-node/work/libsignal-0.31.0/node/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /wrkdirs/usr/ports/net-im/libsignal-node/work/libsignal-0.31.0/node
gyp ERR! node -v v18.18.2
gyp ERR! node-gyp -v v8.4.1
gyp ERR! not ok 
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/libsignal-node