[package - main-arm64-default][devel/bazel] Failed for bazel-6.2.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 16 Jun 2024 11:53:38 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/ampere2/data/main-arm64-default/p6208b5403c95_sa16cb8709de/logs/bazel-6.2.0.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p6208b5403c95_sa16cb8709de
Log:

=>> Building devel/bazel
build started at Sun Jun 16 11:46:20 UTC 2024
port directory: /usr/ports/devel/bazel
package name: bazel-6.2.0
building for: FreeBSD main-arm64-default-job-11 15.0-CURRENT FreeBSD 15.0-CURRENT 1500019 arm64
maintained by: vishwin@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 3476 May 27  2023 /usr/ports/devel/bazel/Makefile
Ports top last git commit: 6208b5403c9
Ports top unclean checkout: no
Port dir last git commit: ecc3c569d89
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500018
Jail OSVERSION: 1500019
Job Id: 11




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500019
UNAME_v=FreeBSD 15.0-CURRENT 1500019
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-arm64-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-arm64-default/11/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-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.11" 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.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 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.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 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)  1048576
stack size              (kbytes, -s)  1048576
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
===>   bazel-6.2.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-arm64-default-job-11] Installing pkg-1.21.3...
[main-arm64-default-job-11] Extracting pkg-1.21.3: .......... 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=root UID=0 GID=0
===>  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=root UID=0 GID=0
===>  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
[main-arm64-default-job-11] Installing bash-5.2.26_1...
[main-arm64-default-job-11] `-- Installing gettext-runtime-0.22.5...
[main-arm64-default-job-11] |   `-- Installing indexinfo-0.3.1...
[main-arm64-default-job-11] |   `-- Extracting indexinfo-0.3.1: .... done
[main-arm64-default-job-11] `-- Extracting gettext-runtime-0.22.5: .......... done
[main-arm64-default-job-11] `-- Installing readline-8.2.10...
[main-arm64-default-job-11] `-- Extracting readline-8.2.10: .......... done
<snip>
[172 / 493] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 73s local ... (32 actions running)
[173 / 493] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 74s local ... (32 actions running)
[175 / 493] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 76s local ... (32 actions running)
[178 / 525] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 77s local ... (32 actions, 31 running)
[181 / 525] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 79s local ... (32 actions, 31 running)
[185 / 525] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 80s local ... (32 actions, 31 running)
[186 / 525] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 81s local ... (32 actions, 31 running)
[187 / 525] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 82s local ... (32 actions running)
[188 / 525] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 83s local ... (32 actions running)
[189 / 525] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 84s local ... (32 actions, 31 running)
[193 / 525] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 85s local ... (32 actions, 31 running)
[198 / 525] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 86s local ... (32 actions, 31 running)
[203 / 525] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 88s local ... (32 actions, 31 running)
[203 / 525] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 89s local ... (32 actions running)
[204 / 525] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 91s local ... (32 actions running)
[208 / 525] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 92s local ... (32 actions running)
[242 / 647] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 93s 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.
[253 / 1,923] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 94s local ... (32 actions, 31 running)
[256 / 1,923] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 95s local ... (32 actions, 31 running)
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/jni_zdict.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[261 / 1,923] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 96s local ... (32 actions, 31 running)
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/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/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/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/compress/hist.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[269 / 1,923] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 98s local ... (32 actions, 31 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.
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/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_directbuffercompress_zstd.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[276 / 1,923] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 99s local ... (32 actions, 31 running)
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/dictBuilder/fastcover.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[278 / 1,923] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 100s local ... (32 actions, 31 running)
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.
[281 / 1,923] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 101s local ... (32 actions 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/common/threading.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[286 / 1,923] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 102s local ... (32 actions, 31 running)
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/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/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/compress/zstd_compress_sequences.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[291 / 1,923] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 103s local ... (32 actions, 31 running)
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/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/legacy/zstd_v07.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.
[302 / 2,308] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 104s local ... (32 actions, 31 running)
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.
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.
[314 / 2,343] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 105s local ... (32 actions, 31 running)
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.
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/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/compress/fse_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/huf_compress.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[329 / 2,348] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 106s local ... (32 actions, 31 running)
INFO: From Compiling src/main/native/dictBuilder/divsufsort.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[334 / 2,351] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 107s local ... (32 actions, 31 running)
INFO: From Compiling src/main/native/decompress/zstd_decompress_block.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[338 / 2,354] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 108s local ... (32 actions, 31 running)
INFO: From Compiling src/main/native/compress/zstd_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/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_v04.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[358 / 2,376] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 109s 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/compress/zstd_double_fast.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[362 / 2,376] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 111s local ... (32 actions, 31 running)
[367 / 2,376] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 112s local ... (32 actions, 31 running)
INFO: From Compiling src/main/native/compress/zstd_opt.c:
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[373 / 2,421] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 113s local ... (32 actions, 31 running)
[375 / 2,430] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 114s local ... (32 actions running)
[383 / 2,430] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 116s local ... (32 actions, 31 running)
[390 / 2,434] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 117s local ... (32 actions, 31 running)
[397 / 2,441] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 118s local ... (32 actions, 31 running)
[404 / 2,443] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 119s local ... (32 actions running)
[410 / 2,459] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 120s local ... (32 actions running)
[412 / 2,459] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 122s local ... (32 actions, 31 running)
[417 / 2,459] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 123s local ... (32 actions, 31 running)
[424 / 2,459] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 124s local ... (32 actions, 31 running)
[429 / 2,467] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 125s local ... (32 actions running)
[438 / 2,468] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar [for tool]; 126s local ... (32 actions, 31 running)
ERROR: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_LLVkFMB4/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_LLVkFMB4/out/execroot/io_bazel && \
  exec env - \
    PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/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]
  634 |   UPB_ASSERT(UPB_ALIGN_OF(upb_StringView) ==
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/upb/upb/port_def.inc:95:38: note: expanded from macro 'UPB_ALIGN_OF'
   95 | #define UPB_ALIGN_OF(type) offsetof (struct { char c; type member; }, member)
      |                                      ^~~~~~
/usr/include/stddef.h:64:42: note: expanded from macro 'offsetof'
   64 | #define offsetof(type, field)   __offsetof(type, field)
      |                                            ^~~~
/usr/include/sys/cdefs.h:447:53: note: expanded from macro '__offsetof'
  447 | #define __offsetof(type, field)  __builtin_offsetof(type, field)
      |                                                     ^~~~
external/upb/upb/port_def.inc:146:49: note: expanded from macro 'UPB_ASSERT'
  146 | #define UPB_ASSERT(expr) do {} while (false && (expr))
      |                                                 ^~~~
1 error generated.
Target //src:bazel_nojdk failed to build
INFO: Elapsed time: 164.479s, Critical Path: 127.25s
INFO: 471 processes: 87 internal, 384 local.
FAILED: Build did NOT complete successfully

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

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