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

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 23 Sep 2023 18:05:01 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/ampere3/data/140releng-arm64-default/e88937b01dd4/logs/bazel-6.2.0.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=140releng-arm64-default&build=e88937b01dd4
Log:

=>> Building devel/bazel
build started at Sat Sep 23 17:58:43 UTC 2023
port directory: /usr/ports/devel/bazel
package name: bazel-6.2.0
building for: FreeBSD 140releng-arm64-default-job-12 14.0-BETA1 FreeBSD 14.0-BETA1 1400097 arm64
maintained by: vishwin@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1400097
Job Id: 12

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-BETA1 1400097
UNAME_r=14.0-BETA1
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/140releng-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/140releng-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=140releng-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/140releng-arm64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---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  "  MANPREFIX="/usr/local" 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
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=3
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-BETA1
OSREL=14.0
OSVERSION=1400097
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  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)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   bazel-6.2.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.6.pkg
[140releng-arm64-default-job-12] Installing pkg-1.20.6...
[140releng-arm64-default-job-12] Extracting pkg-1.20.6: .......... done
===>   bazel-6.2.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of bazel-6.2.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by bazel-6.2.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  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>============================
===========================================================================
=======================<phase: extract        >============================
===>  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  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for bazel-6.2.0
===>  Applying FreeBSD patches for bazel-6.2.0 from /usr/ports/devel/bazel/files
===========================================================================
=======================<phase: build-depends  >============================
===>   bazel-6.2.0 depends on executable: bash - not found
===>   Installing existing package /packages/All/bash-5.2.15.pkg
[140releng-arm64-default-job-12] Installing bash-5.2.15...
[140releng-arm64-default-job-12] `-- Installing gettext-runtime-0.22_1...
[140releng-arm64-default-job-12] |   `-- Installing indexinfo-0.3.1...
[140releng-arm64-default-job-12] |   `-- Extracting indexinfo-0.3.1: .... done
[140releng-arm64-default-job-12] `-- Extracting gettext-runtime-0.22_1: .......... done
[140releng-arm64-default-job-12] `-- Installing readline-8.2.1...
[140releng-arm64-default-job-12] `-- Extracting readline-8.2.1: .......... done
[140releng-arm64-default-job-12] Extracting bash-5.2.15: .......... 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_1.pkg
[140releng-arm64-default-job-12] Installing zip-3.0_1...
<snip>
Message from openjdk11-11.0.20+8.1_1:

--
This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and
procfs(5) mounted on /proc.

If you have not done it yet, please do the following:

	mount -t fdescfs fdesc /dev/fd
	mount -t procfs proc /proc

To make it permanent, you need the following lines in /etc/fstab:

	fdesc	/dev/fd		fdescfs		rw	0	0
	proc	/proc		procfs		rw	0	0
===>   bazel-6.2.0 depends on file: /usr/local/openjdk11/bin/java - found
===>   Returning to build of bazel-6.2.0
===>   bazel-6.2.0 depends on file: /usr/local/bin/python3.9 - not found
===>   Installing existing package /packages/All/python39-3.9.18.pkg
[140releng-arm64-default-job-12] Installing python39-3.9.18...
[140releng-arm64-default-job-12] `-- Installing libffi-3.4.4...
[140releng-arm64-default-job-12] `-- Extracting libffi-3.4.4: .......... done
[140releng-arm64-default-job-12] `-- Installing mpdecimal-2.5.1...
[140releng-arm64-default-job-12] `-- Extracting mpdecimal-2.5.1: .......... done
[140releng-arm64-default-job-12] Extracting python39-3.9.18: .......... done
=====
Message from python39-3.9.18:

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

py39-gdbm       databases/py-gdbm@py39
py39-sqlite3    databases/py-sqlite3@py39
py39-tkinter    x11-toolkits/py-tkinter@py39
===>   bazel-6.2.0 depends on file: /usr/local/bin/python3.9 - found
===>   Returning to build of bazel-6.2.0
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for bazel-6.2.0
===========================================================================
=======================<phase: build          >============================
===>  Building for bazel-6.2.0
(if [ -z "${SOURCE_DATE_EPOCH}" ] ;  then SOURCE_DATE_EPOCH=`grep TIMESTAMP /usr/ports/devel/bazel/distinfo  | /usr/bin/sed -e 's/[^0-9]//g'`;  fi ;  cd /wrkdirs/usr/ports/devel/bazel/work/bazel-6.2.0 &&  /usr/bin/env BAZEL_SH=/usr/local/bin/bash  JAVA_HOME=/usr/local/openjdk11  JAVA_VERSION=11  TMPDIR=/wrkdirs/usr/ports/devel/bazel/work/bazel_tmp  EMBED_LABEL='6.2.0'  PATH=/usr/local/bin:$PATH  SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}  BAZEL_JAVAC_OPTS="-J-Xmx1g -J-Xms128m"  EXTRA_BAZEL_ARGS='--host_javabase=@local_jdk//:jdk --tool_java_runtime_version=local_jdk   --java_language_version=11  --tool_java_language_version=11'  /usr/local/bin/bash ./compile.sh)
Building Bazel from scratch......
Building Bazel with Bazel.
.WARNING: Option 'host_javabase' is deprecated
Loading: 
Loading: 
Loading: 
Loading: 
DEBUG: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_1CrqpPq9/out/external/build_bazel_rules_nodejs/index.bzl:122:10: WARNING: check_rules_nodejs_version has been removed. This is a no-op, please remove the call.
Loading: 
Loading: 
Loading: 
WARNING: Option 'host_javabase' is deprecated
Loading: 
Loading: 0 packages loaded
Analyzing: target //src:bazel_nojdk (1 packages loaded)
Analyzing: target //src:bazel_nojdk (1 packages loaded, 0 targets configured)
Analyzing: target //src:bazel_nojdk (42 packages loaded, 32 targets configured)
Analyzing: target //src:bazel_nojdk (59 packages loaded, 53 targets configured)
Analyzing: target //src:bazel_nojdk (276 packages loaded, 2118 targets configured)
Analyzing: target //src:bazel_nojdk (344 packages loaded, 7300 targets configured)
Analyzing: target //src:bazel_nojdk (382 packages loaded, 9233 targets configured)
INFO: Analyzed target //src:bazel_nojdk (383 packages loaded, 10339 targets configured).
 checking cached actions
INFO: Found 1 target...
[0 / 465] [Prepa] Writing file src/embedded_tools_nojdk.params
[7 / 464] Compiling third_party/zlib/gzread.c [for tool]; 0s local ... (33 actions, 32 running)
[14 / 464] Compiling third_party/zlib/gzwrite.c [for tool]; 2s local ... (32 actions, 31 running)
[20 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_service.cc [for tool]; 3s local ... (32 actions, 31 running)
[22 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_service.cc [for tool]; 4s local ... (32 actions running)
[23 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_service.cc [for tool]; 5s local ... (32 actions running)
[24 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_service.cc [for tool]; 7s local ... (32 actions, 31 running)
[28 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_service.cc [for tool]; 8s local ... (32 actions, 31 running)
[30 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_service.cc [for tool]; 9s local ... (32 actions, 31 running)
[30 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_service.cc [for tool]; 11s local ... (32 actions running)
[31 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_service.cc [for tool]; 12s local ... (32 actions, 31 running)
[34 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_service.cc [for tool]; 14s local ... (32 actions, 31 running)
[38 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_service.cc [for tool]; 15s local ... (32 actions running)
[40 / 464] Compiling src/google/protobuf/extension_set.cc [for tool]; 16s local ... (32 actions running)
[43 / 464] Compiling src/google/protobuf/extension_set.cc [for tool]; 17s local ... (32 actions running)
[46 / 464] Compiling src/google/protobuf/extension_set.cc [for tool]; 18s local ... (32 actions, 31 running)
[47 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 19s local ... (32 actions, 31 running)
[50 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 20s local ... (32 actions, 31 running)
[52 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 21s local ... (32 actions, 31 running)
[52 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 23s local ... (32 actions running)
[56 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 24s local ... (32 actions, 31 running)
[57 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 25s local ... (32 actions, 31 running)
[60 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 26s local ... (32 actions, 31 running)
[64 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 27s local ... (32 actions, 31 running)
[67 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 28s local ... (32 actions, 31 running)
[71 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 30s local ... (32 actions running)
[73 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 31s local ... (32 actions, 31 running)
[75 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 32s local ... (32 actions, 31 running)
[78 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 34s local ... (32 actions running)
[82 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 35s local ... (32 actions running)
[84 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 36s local ... (32 actions, 31 running)
[87 / 464] Compiling src/google/protobuf/compiler/command_line_interface.cc [for tool]; 37s local ... (32 actions, 31 running)
[91 / 464] Compiling src/google/protobuf/compiler/js/js_generator.cc [for tool]; 36s local ... (32 actions, 31 running)
[92 / 464] Compiling src/google/protobuf/compiler/js/js_generator.cc [for tool]; 37s local ... (32 actions running)
[93 / 464] Compiling src/google/protobuf/compiler/js/js_generator.cc [for tool]; 39s local ... (32 actions, 31 running)
[97 / 464] Compiling src/google/protobuf/compiler/js/js_generator.cc [for tool]; 40s local ... (32 actions, 31 running)
[100 / 464] Compiling src/google/protobuf/compiler/js/js_generator.cc [for tool]; 41s local ... (32 actions running)
[102 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 42s local ... (32 actions running)
[105 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 43s local ... (32 actions, 31 running)
[106 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 45s local ... (32 actions running)
[111 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 46s local ... (32 actions running)
[113 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 47s local ... (32 actions, 31 running)
[119 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 49s local ... (32 actions running)
[123 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 50s local ... (32 actions, 31 running)
[125 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_message.cc [for tool]; 51s local ... (32 actions, 31 running)
[130 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_helpers.cc [for tool]; 27s local ... (32 actions, 31 running)
[133 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_helpers.cc [for tool]; 28s local ... (32 actions running)
[134 / 464] Compiling src/google/protobuf/compiler/cpp/cpp_helpers.cc [for tool]; 29s local ... (32 actions, 31 running)
[138 / 464] Compiling src/compiler/cpp_generator.cc [for tool]; 25s local ... (32 actions, 31 running)
[142 / 464] Compiling src/compiler/python_generator.cc [for tool]; 26s local ... (32 actions, 31 running)
[144 / 464] Compiling src/compiler/python_generator.cc [for tool]; 27s local ... (32 actions running)
[145 / 464] Compiling src/compiler/python_generator.cc [for tool]; 28s local ... (32 actions, 31 running)
[147 / 464] Compiling src/compiler/python_generator.cc [for tool]; 29s local ... (32 actions, 31 running)
[155 / 464] Compiling src/google/protobuf/wire_format.cc [for tool]; 21s local ... (32 actions running)
[159 / 464] Compiling src/google/protobuf/wire_format.cc [for tool]; 23s local ... (32 actions, 31 running)
[164 / 464] Compiling src/google/protobuf/wire_format.cc [for tool]; 24s local ... (32 actions, 31 running)
[166 / 464] Compiling src/google/protobuf/text_format.cc [for tool]; 22s local ... (32 actions running)
[172 / 464] Compiling src/google/protobuf/text_format.cc [for tool]; 23s local ... (31 actions running)
[178 / 510] Compiling src/google/protobuf/text_format.cc [for tool]; 24s local ... (32 actions running)
[182 / 518] Compiling src/google/protobuf/text_format.cc [for tool]; 25s local ... (32 actions running)
INFO: From Compiling absl/hash/internal/low_level_hash.cc [for tool]:
external/com_google_absl/absl/hash/internal/low_level_hash.cc:43:38: warning: argument 'salt' of type 'const uint64_t[]' (aka 'const unsigned long[]') with mismatched bound [-Warray-parameter]
                      const uint64_t salt[]) {
                                     ^
external/com_google_absl/absl/hash/internal/low_level_hash.h:44:38: note: previously declared as 'const uint64_t[5]' (aka 'const unsigned long[5]') here
                      const uint64_t salt[5]);
                                     ^
1 warning generated.
[188 / 519] Compiling src/google/protobuf/text_format.cc [for tool]; 26s local ... (32 actions, 31 running)
[198 / 530] Compiling src/google/protobuf/text_format.cc [for tool]; 28s local ... (32 actions, 31 running)
[206 / 538] Compiling src/google/protobuf/descriptor.cc [for tool]; 28s local ... (32 actions, 31 running)
[208 / 538] Compiling src/google/protobuf/descriptor.cc [for tool]; 29s local ... (32 actions, 31 running)
[214 / 540] Compiling src/google/protobuf/descriptor.cc [for tool]; 30s local ... (32 actions, 31 running)
[223 / 557] Compiling src/google/protobuf/descriptor.cc [for tool]; 31s local ... (32 actions, 31 running)
[228 / 557] Compiling src/google/protobuf/descriptor.cc [for tool]; 32s local ... (32 actions, 31 running)
[233 / 557] Compiling src/google/protobuf/descriptor.cc [for tool]; 33s local ... (32 actions running)
[236 / 557] Compiling src/google/protobuf/descriptor.cc [for tool]; 34s local ... (32 actions running)
[243 / 564] Compiling src/google/protobuf/descriptor.cc [for tool]; 35s local ... (32 actions running)
[254 / 574] Compiling src/google/protobuf/descriptor.cc [for tool]; 36s local ... (32 actions, 31 running)
[264 / 578] Compiling src/google/protobuf/descriptor.cc [for tool]; 37s local ... (32 actions, 31 running)
[268 / 581] Compiling src/google/protobuf/descriptor.cc [for tool]; 38s local ... (32 actions, 31 running)
ERROR: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_1CrqpPq9/out/external/upb/BUILD:102:11: Compiling upb/upb.c [for tool] failed: (Exit 1): clang failed: error executing command (from target @upb//:upb) 
  (cd /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_1CrqpPq9/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/upb/upb.d '-frandom-seed=bazel-out/freebsd-opt-exec-EDC14992/bin/external/upb/_objs/upb/upb.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/upb.c -o bazel-out/freebsd-opt-exec-EDC14992/bin/external/upb/_objs/upb/upb.o)
# Configuration: 4d7bbc6223642c64e401311e4cef68ac094a930bca1f4959df33d5e71fd2b944
# Execution platform: //:default_host_platform
external/upb/upb/upb.c:228:25: error: defining a type within '__builtin_offsetof' is a Clang extension [-Werror,-Wgnu-offsetof-extensions]
  n = UPB_ALIGN_DOWN(n, UPB_ALIGN_OF(upb_Arena));
                        ^~~~~~~~~~~~~~~~~~~~~~~
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:93:48: note: expanded from macro 'UPB_ALIGN_DOWN'
#define UPB_ALIGN_DOWN(size, align) ((size) / (align) * (align))
                                               ^~~~~
external/upb/upb/upb.c:228:25: error: defining a type within '__builtin_offsetof' is a Clang extension [-Werror,-Wgnu-offsetof-extensions]
  n = UPB_ALIGN_DOWN(n, UPB_ALIGN_OF(upb_Arena));
                        ^~~~~~~~~~~~~~~~~~~~~~~
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:93:58: note: expanded from macro 'UPB_ALIGN_DOWN'
#define UPB_ALIGN_DOWN(size, align) ((size) / (align) * (align))
                                                         ^~~~~
2 errors generated.
Target //src:bazel_nojdk failed to build
INFO: Elapsed time: 114.337s, Critical Path: 52.39s
INFO: 310 processes: 40 internal, 270 local.
FAILED: Build did NOT complete successfully

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

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