[exp - 140amd64-default-build-as-user][devel/bazel] Failed for bazel-6.2.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 07 Apr 2024 18:00:47 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/package19/data/140amd64-default-build-as-user/dd015eeb653c/logs/bazel-6.2.0.log
Build URL:      https://pkg-status.freebsd.org/package19/build.html?mastername=140amd64-default-build-as-user&build=dd015eeb653c
Log:

=>> Building devel/bazel
build started at Sun Apr  7 17:55:06 UTC 2024
port directory: /usr/ports/devel/bazel
package name: bazel-6.2.0
building for: FreeBSD 140amd64-default-build-as-user-job-13 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 amd64
maintained by: vishwin@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 3476 Jun  1  2023 /usr/ports/devel/bazel/Makefile
Ports top last git commit: dd015eeb653
Ports top unclean checkout: no
Port dir last git commit: ecc3c569d89
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1400097
Job Id: 13

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE-p6
UNAME_r=14.0-RELEASE-p6
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-1-g1e9f97d6
MASTERMNT=/poudriere/data/.m/140amd64-default-build-as-user/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
UID=0
PWD=/poudriere/data/.m/140amd64-default-build-as-user/13/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/poudriere/data/.m/140amd64-default-build-as-user/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6
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/bazel/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/bazel/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/bazel/work/.cache  HOME=/wrkdirs/usr/ports/devel/bazel/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/bazel/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/bazel/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/bazel/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/bazel/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/bazel/work/.cache  HOME=/wrkdirs/usr/ports/devel/bazel/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/bazel/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/bazel/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="install  -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=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/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=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/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---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
---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=nobody UID=65534 GID=65534
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   bazel-6.2.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.0.pkg
[140amd64-default-build-as-user-job-13] Installing pkg-1.21.0...
[140amd64-default-build-as-user-job-13] Extracting pkg-1.21.0: .......... done
===>   bazel-6.2.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of bazel-6.2.0
===========================================================================
=======================<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 bazel-6.2.0 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 bazel-6.2.0 for building
=> SHA256 Checksum OK for bazel-6.2.0-dist.zip.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by bazel-6.2.0 for building
===>  Extracting for bazel-6.2.0
=> SHA256 Checksum OK for bazel-6.2.0-dist.zip.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  Patching for bazel-6.2.0
===>  Applying FreeBSD patches for bazel-6.2.0 from /usr/ports/devel/bazel/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   bazel-6.2.0 depends on executable: bash - not found
===>   Installing existing package /packages/All/bash-5.2.26_1.pkg
[140amd64-default-build-as-user-job-13] Installing bash-5.2.26_1...
[140amd64-default-build-as-user-job-13] `-- Installing gettext-runtime-0.22.5...
[140amd64-default-build-as-user-job-13] |   `-- Installing indexinfo-0.3.1...
[140amd64-default-build-as-user-job-13] |   `-- Extracting indexinfo-0.3.1: .... done
[140amd64-default-build-as-user-job-13] `-- Extracting gettext-runtime-0.22.5: .......... done
[140amd64-default-build-as-user-job-13] `-- Installing readline-8.2.10...
[140amd64-default-build-as-user-job-13] `-- Extracting readline-8.2.10: .......... done
[140amd64-default-build-as-user-job-13] Extracting bash-5.2.26_1: .......... done
===>   bazel-6.2.0 depends on executable: bash - found
===>   Returning to build of bazel-6.2.0
===>   bazel-6.2.0 depends on executable: zip - not found
===>   Installing existing package /packages/All/zip-3.0_2.pkg
[140amd64-default-build-as-user-job-13] Installing zip-3.0_2...
[140amd64-default-build-as-user-job-13] Extracting zip-3.0_2: .......... done
===>   bazel-6.2.0 depends on executable: zip - found
===>   Returning to build of bazel-6.2.0
===>   bazel-6.2.0 depends on file: /usr/local/openjdk11/bin/java - not found
===>   Installing existing package /packages/All/openjdk11-11.0.22+7.1_1.pkg
[140amd64-default-build-as-user-job-13] Installing openjdk11-11.0.22+7.1_1...
[140amd64-default-build-as-user-job-13] `-- Installing alsa-lib-1.2.10_1...
[140amd64-default-build-as-user-job-13] `-- Extracting alsa-lib-1.2.10_1: .......... done
[140amd64-default-build-as-user-job-13] `-- Installing fontconfig-2.15.0_2,1...
[140amd64-default-build-as-user-job-13] |   `-- Installing expat-2.6.2...
[140amd64-default-build-as-user-job-13] |   `-- Extracting expat-2.6.2: .......... done
[140amd64-default-build-as-user-job-13] |   `-- Installing freetype2-2.13.2...
[140amd64-default-build-as-user-job-13] |   | `-- Installing brotli-1.1.0,1...
[140amd64-default-build-as-user-job-13] |   | `-- Extracting brotli-1.1.0,1: .......... done
[140amd64-default-build-as-user-job-13] |   | `-- Installing png-1.6.43...
<snip>
Loading: 
Loading: 0 packages loaded
Analyzing: target //src:bazel_nojdk (1 packages loaded, 0 targets configured)
Analyzing: target //src:bazel_nojdk (62 packages loaded, 56 targets configured)
Analyzing: target //src:bazel_nojdk (344 packages loaded, 7313 targets configured)
Analyzing: target //src:bazel_nojdk (381 packages loaded, 9322 targets configured)
Analyzing: target //src:bazel_nojdk (383 packages loaded, 10334 targets configured)
INFO: Analyzed target //src:bazel_nojdk (383 packages loaded, 10340 targets configured).
INFO: Found 1 target...
[0 / 139] checking cached actions
[7 / 430] Compiling third_party/zlib/crc32.c [for tool]; 0s local ... (30 actions running)
[27 / 667] Compiling src/main/cpp/util/errors_posix.cc [for tool]; 3s local ... (28 actions, 27 running)
[37 / 667] Compiling src/main/cpp/util/logging.cc [for tool]; 4s local ... (31 actions, 30 running)
[38 / 667] Compiling src/tools/singlejar/combiners.cc [for tool]; 5s local ... (32 actions, 31 running)
[39 / 667] Compiling src/tools/singlejar/combiners.cc [for tool]; 6s local ... (32 actions, 31 running)
[47 / 667] Compiling src/tools/singlejar/output_jar.cc [for tool]; 7s local ... (32 actions, 31 running)
[49 / 667] Compiling src/tools/singlejar/output_jar.cc [for tool]; 8s local ... (32 actions running)
[52 / 667] Compiling src/tools/singlejar/output_jar.cc [for tool]; 9s local ... (32 actions, 30 running)
[53 / 667] Compiling src/google/protobuf/extension_set.cc [for tool]; 8s local ... (32 actions running)
[54 / 667] Compiling src/google/protobuf/extension_set.cc [for tool]; 9s local ... (32 actions running)
[58 / 667] Compiling src/google/protobuf/extension_set.cc [for tool]; 10s local ... (32 actions, 31 running)
[66 / 667] Compiling src/google/protobuf/extension_set.cc [for tool]; 12s local ... (32 actions, 31 running)
[75 / 667] Compiling src/google/protobuf/extension_set.cc [for tool]; 13s local ... (32 actions running)
[79 / 667] Compiling src/google/protobuf/extension_set.cc [for tool]; 14s local ... (32 actions running)
[82 / 667] Compiling src/google/protobuf/extension_set.cc [for tool]; 15s local ... (32 actions, 31 running)
[88 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_helpers.cc [for tool]; 15s local ... (32 actions, 31 running)
[93 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_helpers.cc [for tool]; 16s local ... (32 actions, 31 running)
[94 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_helpers.cc [for tool]; 17s local ... (32 actions running)
[96 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_helpers.cc [for tool]; 18s local ... (32 actions running)
[99 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_file.cc [for tool]; 20s local ... (32 actions, 31 running)
[104 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_file.cc [for tool]; 21s local ... (32 actions, 31 running)
[107 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_file.cc [for tool]; 22s local ... (32 actions running)
[111 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_file.cc [for tool]; 23s local ... (32 actions running)
[114 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 21s local ... (32 actions, 31 running)
[117 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 23s local ... (32 actions, 31 running)
[122 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 24s local ... (32 actions, 31 running)
[126 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 25s local ... (32 actions running)
[130 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 26s local ... (32 actions, 31 running)
[136 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 28s local ... (32 actions, 31 running)
[140 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 29s local ... (32 actions, 31 running)
[142 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 30s local ... (32 actions, 31 running)
[149 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 31s local ... (32 actions, 31 running)
[153 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 32s local ... (32 actions running)
[155 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 34s local ... (32 actions, 31 running)
[161 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 35s local ... (32 actions, 31 running)
[163 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 36s local ... (32 actions, 31 running)
[165 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 37s local ... (32 actions, 31 running)
[169 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 38s local ... (32 actions, 31 running)
[171 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 39s local ... (32 actions running)
[177 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 40s local ... (32 actions running)
[182 / 667] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 41s local ... (32 actions, 31 running)
[184 / 667] Compiling src/google/protobuf/descriptor.cc [for tool]; 40s local ... (32 actions, 31 running)
[217 / 1,269] Compiling src/google/protobuf/descriptor.cc [for tool]; 41s local ... (32 actions, 30 running)
[230 / 1,859] Compiling src/google/protobuf/descriptor.cc [for tool]; 42s local ... (32 actions, 31 running)
INFO: From Compiling src/main/native/common/debug.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[239 / 1,925] Compiling src/google/protobuf/descriptor.cc [for tool]; 43s local ... (31 actions, 30 running)
INFO: From Compiling src/main/native/common/threading.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/common/zstd_common.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/common/xxhash.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/common/pool.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/compress/fse_compress.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[246 / 1,925] Compiling src/google/protobuf/descriptor.cc [for tool]; 44s local ... (32 actions, 31 running)
INFO: From Compiling src/main/native/compress/zstd_compress_literals.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/common/error_private.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/legacy/zstd_v05.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/decompress/huf_decompress_amd64.S:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/compress/zstd_compress_sequences.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/compress/zstd_compress_superblock.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[254 / 1,925] Compiling src/google/protobuf/descriptor.cc [for tool]; 45s local ... (32 actions, 31 running)
INFO: From Compiling src/main/native/legacy/zstd_v06.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/decompress/zstd_ddict.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/jni_directbufferdecompress_zstd.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/jni_directbuffercompress_zstd.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[265 / 1,925] Compiling src/google/protobuf/descriptor.cc [for tool]; 47s local ... (32 actions, 31 running)
INFO: From Compiling src/main/native/jni_inputstream_zstd.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/jni_fast_zstd.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/dictBuilder/fastcover.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/decompress/zstd_decompress.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/compress/zstdmt_compress.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/compress/hist.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/jni_zstd.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/jni_zdict.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/compress/huf_compress.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/jni_outputstream_zstd.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/common/entropy_common.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/dictBuilder/cover.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/compress/zstd_ldm.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[282 / 1,940] Compiling src/google/protobuf/descriptor.cc [for tool]; 48s local ... (32 actions running)
INFO: From Compiling src/main/native/common/fse_decompress.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[291 / 2,275] Compiling src/google/protobuf/descriptor.cc [for tool]; 49s local ... (31 actions, 30 running)
INFO: From Compiling src/main/native/dictBuilder/zdict.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/compress/zstd_compress.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/legacy/zstd_v07.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[309 / 2,357] Compiling src/google/protobuf/descriptor.cc [for tool]; 50s local ... (32 actions, 31 running)
INFO: From Compiling src/main/native/compress/zstd_double_fast.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
INFO: From Compiling src/main/native/decompress/huf_decompress.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
ERROR: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_bLPw4VEc/out/external/upb/BUILD:141:11: Compiling upb/mini_table.c [for tool] failed: (Exit 1): clang failed: error executing command (from target @upb//:mini_table) 
  (cd /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_bLPw4VEc/out/execroot/io_bazel && \
  exec env - \
    PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/nonexistent/bin \
    PWD=/proc/self/cwd \
  /usr/bin/clang -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-sections -fdata-sections -MD -MF bazel-out/freebsd-opt-exec-EDC14992/bin/external/upb/_objs/mini_table/mini_table.d '-frandom-seed=bazel-out/freebsd-opt-exec-EDC14992/bin/external/upb/_objs/mini_table/mini_table.o' '-DBAZEL_CURRENT_REPOSITORY="upb"' -iquote external/upb -iquote bazel-out/freebsd-opt-exec-EDC14992/bin/external/upb -g0 '-std=c99' -pedantic '-Werror=pedantic' -Wall -Wstrict-prototypes -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/upb/upb/mini_table.c -o bazel-out/freebsd-opt-exec-EDC14992/bin/external/upb/_objs/mini_table/mini_table.o)
# Configuration: 4d7bbc6223642c64e401311e4cef68ac094a930bca1f4959df33d5e71fd2b944
# Execution platform: //:default_host_platform
external/upb/upb/mini_table.c:634:14: error: defining a type within '__builtin_offsetof' is a Clang extension [-Werror,-Wgnu-offsetof-extensions]
  UPB_ASSERT(UPB_ALIGN_OF(upb_StringView) ==
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/upb/upb/port_def.inc:95:38: note: expanded from macro 'UPB_ALIGN_OF'
#define UPB_ALIGN_OF(type) offsetof (struct { char c; type member; }, member)
                                     ^~~~~~
/usr/include/stddef.h:73:42: note: expanded from macro 'offsetof'
#define offsetof(type, field)   __offsetof(type, field)
                                           ^~~~
/usr/include/sys/cdefs.h:467:53: note: expanded from macro '__offsetof'
#define __offsetof(type, field)  __builtin_offsetof(type, field)
                                                    ^~~~
external/upb/upb/port_def.inc:146:49: note: expanded from macro 'UPB_ASSERT'
#define UPB_ASSERT(expr) do {} while (false && (expr))
                                                ^~~~
1 error generated.
Target //src:bazel_nojdk failed to build
INFO: Elapsed time: 77.265s, Critical Path: 50.89s
INFO: 351 processes: 80 internal, 271 local.
FAILED: Build did NOT complete successfully

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

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