[package - main-amd64-default][devel/bazel5] Failed for bazel5-5.4.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 14 May 2024 05:04:24 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:     vishwin@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p07badf98bbd0_s338d53965d9/logs/bazel5-5.4.1.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p07badf98bbd0_s338d53965d9
Log:

=>> Building devel/bazel5
build started at Tue May 14 05:01:02 UTC 2024
port directory: /usr/ports/devel/bazel5
package name: bazel5-5.4.1
building for: FreeBSD main-amd64-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500018 amd64
maintained by: vishwin@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 3902 Jan  2 01:01 /usr/ports/devel/bazel5/Makefile
Ports top last git commit: 07badf98bbd
Ports top unclean checkout: no
Port dir last git commit: bbab7f59e96
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500018
Jail OSVERSION: 1500018
Job Id: 06

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500018
UNAME_v=FreeBSD 15.0-CURRENT 1500018
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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/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/main-amd64-default/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
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--
vishwin@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/bazel5/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/bazel5/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/bazel5/work/.cache  HOME=/wrkdirs/usr/ports/devel/bazel5/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/bazel5/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/bazel5/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/devel/bazel5/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/bazel5/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/bazel5/work/.cache  HOME=/wrkdirs/usr/ports/devel/bazel5/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/bazel5/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/bazel5/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  " BSD_INSTALL_PROGRAM="install   -m 555"  BSD_INSTALL_LIB="install   -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="insta
ll  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
JAVASHAREDIR="share/java"  JAVAJARDIR="share/java/classes" 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/bazel"  EXAMPLESDIR="share/examples/bazel"  DATADIR="share/bazel"  WWWDIR="www/bazel"  ETCDIR="etc/bazel"
--End PLIST_SUB--

--SUB_LIST--
JAVASHAREDIR="/usr/local/share/java"  JAVAJARDIR="/usr/local/share/java/classes"  JAVALIBDIR="/usr/local/share/java/classes" JAVA_VERSION="11" JAVA_VENDOR="openjdk" 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/bazel DOCSDIR=/usr/local/share/doc/bazel EXAMPLESDIR=/usr/local/share/examples/bazel  WWWDIR=/usr/local/www/bazel ETCDIR=/usr/local/etc/bazel
--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)  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 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   bazel5-5.4.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.2.pkg
[main-amd64-default-job-06] Installing pkg-1.21.2...
[main-amd64-default-job-06] Extracting pkg-1.21.2: .......... done
===>   bazel5-5.4.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of bazel5-5.4.1
===========================================================================
=======================<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 bazel5-5.4.1 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 bazel5-5.4.1 for building
=> SHA256 Checksum OK for bazel-5.4.1-dist.zip.
===========================================================================
=======================<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 bazel5-5.4.1 for building
===>  Extracting for bazel5-5.4.1
=> SHA256 Checksum OK for bazel-5.4.1-dist.zip.
===========================================================================
=======================<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 bazel5-5.4.1
===>  Applying FreeBSD patches for bazel5-5.4.1 from /usr/ports/devel/bazel5/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   bazel5-5.4.1 depends on executable: bash - not found
===>   Installing existing package /packages/All/bash-5.2.26_1.pkg
[main-amd64-default-job-06] Installing bash-5.2.26_1...
[main-amd64-default-job-06] `-- Installing gettext-runtime-0.22.5...
[main-amd64-default-job-06] |   `-- Installing indexinfo-0.3.1...
[main-amd64-default-job-06] |   `-- Extracting indexinfo-0.3.1: .... done
[main-amd64-default-job-06] `-- Extracting gettext-runtime-0.22.5: .......... done
[main-amd64-default-job-06] `-- Installing readline-8.2.10...
[main-amd64-default-job-06] `-- Extracting readline-8.2.10: .......... done
[main-amd64-default-job-06] Extracting bash-5.2.26_1: .......... done
===>   bazel5-5.4.1 depends on executable: bash - found
===>   Returning to build of bazel5-5.4.1
===>   bazel5-5.4.1 depends on executable: zip - not found
===>   Installing existing package /packages/All/zip-3.0_2.pkg
[main-amd64-default-job-06] Installing zip-3.0_2...
[main-amd64-default-job-06] Extracting zip-3.0_2: .......... done
===>   bazel5-5.4.1 depends on executable: zip - found
===>   Returning to build of bazel5-5.4.1
===>   bazel5-5.4.1 depends on file: /usr/local/openjdk11/bin/java - not found
<snip>
  144 |   if (len) memcpy(len, mem, sizeof(*len));
      |            ^
/usr/include/ssp/string.h:117:31: note: expanded from macro 'memcpy'
  117 | #define memcpy(dst, src, len) __ssp_bos_check3(memcpy, dst, src, len)
      |                               ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
In file included from external/upb/upb/encode.c:35:
external/upb/upb/msg_internal.h:167:3: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
  167 |   memset(mem, 0, size);
      |   ^
/usr/include/ssp/string.h:120:5: note: expanded from macro 'memset'
  120 |     __ssp_bos_check3_typed(memset, void *, dst, int, val, len)
      |     ^
/usr/include/ssp/string.h:65:5: note: expanded from macro '__ssp_bos_check3_typed'
   65 |     __ssp_bos_check3_typed_var(fun, dsttype, __ssp_var(dstv), dst,      \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
In file included from external/upb/upb/encode.c:35:
external/upb/upb/msg_internal.h:394:3: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
  394 |   memcpy(UPB_PTR_AT(ptr, arr->len * elem_size, char), value, elem_size);
      |   ^
/usr/include/ssp/string.h:117:31: note: expanded from macro 'memcpy'
  117 | #define memcpy(dst, src, len) __ssp_bos_check3(memcpy, dst, src, len)
      |                               ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
In file included from external/upb/upb/encode.c:35:
external/upb/upb/msg_internal.h:485:5: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
  485 |     memcpy(out, &key, sizeof(key));
      |     ^
/usr/include/ssp/string.h:117:31: note: expanded from macro 'memcpy'
  117 | #define memcpy(dst, src, len) __ssp_bos_check3(memcpy, dst, src, len)
      |                               ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
In file included from external/upb/upb/encode.c:35:
external/upb/upb/msg_internal.h:487:5: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
  487 |     memcpy(out, key.data, size);
      |     ^
/usr/include/ssp/string.h:117:31: note: expanded from macro 'memcpy'
  117 | #define memcpy(dst, src, len) __ssp_bos_check3(memcpy, dst, src, len)
      |                               ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
In file included from external/upb/upb/encode.c:35:
external/upb/upb/msg_internal.h:499:5: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
  499 |     memcpy(msgval, val, size);
      |     ^
/usr/include/ssp/string.h:117:31: note: expanded from macro 'memcpy'
  117 | #define memcpy(dst, src, len) __ssp_bos_check3(memcpy, dst, src, len)
      |                               ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
In file included from external/upb/upb/encode.c:35:
external/upb/upb/msg_internal.h:507:5: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
  507 |     memcpy(out, strp, sizeof(upb_strview));
      |     ^
/usr/include/ssp/string.h:117:31: note: expanded from macro 'memcpy'
  117 | #define memcpy(dst, src, len) __ssp_bos_check3(memcpy, dst, src, len)
      |                               ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
In file included from external/upb/upb/encode.c:35:
external/upb/upb/msg_internal.h:509:5: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
  509 |     memcpy(out, &val, size);
      |     ^
/usr/include/ssp/string.h:117:31: note: expanded from macro 'memcpy'
  117 | #define memcpy(dst, src, len) __ssp_bos_check3(memcpy, dst, src, len)
      |                               ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
In file included from external/upb/upb/encode.c:35:
external/upb/upb/msg_internal.h:628:5: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
  628 |     memcpy(strp, val, sizeof(*strp));
      |     ^
/usr/include/ssp/string.h:117:31: note: expanded from macro 'memcpy'
  117 | #define memcpy(dst, src, len) __ssp_bos_check3(memcpy, dst, src, len)
      |                               ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
In file included from external/upb/upb/encode.c:35:
external/upb/upb/msg_internal.h:630:5: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
  630 |     memcpy(&ent->val.val, val, size);
      |     ^
/usr/include/ssp/string.h:117:31: note: expanded from macro 'memcpy'
  117 | #define memcpy(dst, src, len) __ssp_bos_check3(memcpy, dst, src, len)
      |                               ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
external/upb/upb/encode.c:89:5: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
   89 |     memmove(new_buf + new_size - old_size, e->buf, old_size);
      |     ^
/usr/include/ssp/string.h:118:32: note: expanded from macro 'memmove'
  118 | #define memmove(dst, src, len) __ssp_bos_check3(memmove, dst, src, len)
      |                                ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
external/upb/upb/encode.c:115:3: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
  115 |   memcpy(e->ptr, data, len);
      |   ^
/usr/include/ssp/string.h:117:31: note: expanded from macro 'memcpy'
  117 | #define memcpy(dst, src, len) __ssp_bos_check3(memcpy, dst, src, len)
      |                               ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
external/upb/upb/encode.c:136:3: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
  136 |   memmove(start, e->ptr, len);
      |   ^
/usr/include/ssp/string.h:118:32: note: expanded from macro 'memmove'
  118 | #define memmove(dst, src, len) __ssp_bos_check3(memmove, dst, src, len)
      |                                ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
external/upb/upb/encode.c:153:3: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
  153 |   memcpy(&u64, &d, sizeof(uint64_t));
      |   ^
/usr/include/ssp/string.h:117:31: note: expanded from macro 'memcpy'
  117 | #define memcpy(dst, src, len) __ssp_bos_check3(memcpy, dst, src, len)
      |                               ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
external/upb/upb/encode.c:160:3: error: use of GNU statement expression extension from macro expansion [-Werror,-Wgnu-statement-expression-from-macro-expansion]
  160 |   memcpy(&u32, &d, sizeof(uint32_t));
      |   ^
/usr/include/ssp/string.h:117:31: note: expanded from macro 'memcpy'
  117 | #define memcpy(dst, src, len) __ssp_bos_check3(memcpy, dst, src, len)
      |                               ^
/usr/include/ssp/string.h:69:5: note: expanded from macro '__ssp_bos_check3'
   69 |     __ssp_bos_check3_typed_var(fun, void *, __ssp_var(dstv), dst,       \
      |     ^
/usr/include/ssp/string.h:54:24: note: expanded from macro '__ssp_bos_check3_typed_var'
   54 |     src, lenvar, len) ({                                \
      |                        ^
18 errors generated.
Target //src:bazel_nojdk failed to build
INFO: Elapsed time: 84.589s, Critical Path: 55.85s
INFO: 861 processes: 106 internal, 755 local.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

ERROR: Could not build Bazel
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/bazel5