[package - 130powerpc64-quarterly][devel/bazel] Failed for bazel-4.0.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 24 Jun 2021 06:19:05 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:     aehlig@linta.de
Log URL:        http://foul1.nyi.freebsd.org/data/130powerpc64-quarterly/3e55273e25e2/logs/bazel-4.0.0.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=130powerpc64-quarterly&build=3e55273e25e2
Log:

=>> Building devel/bazel
build started at Thu Jun 24 06:04:46 UTC 2021
port directory: /usr/ports/devel/bazel
package name: bazel-4.0.0
building for: FreeBSD 130powerpc64-quarterly-job-07 13.0-RELEASE FreeBSD 13.0-RELEASE powerpc
maintained by: aehlig@linta.de
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1300139
Job Id: 07

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE
UNAME_r=13.0-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/130powerpc64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130powerpc64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130powerpc64-quarterly/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--
aehlig@linta.de
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.7" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/bazel/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/bazel/work  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 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  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 NO_PIE=yes 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.7m  PYTHON_LIBDIR=lib/python3.7  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.7/site-packages  PYTHON_SUFFIX=37  PYTHON_EXT_SUFFIX=  PYTHON_VER=3.7  PYTHON_VERSION=python3.7 PYTHON2="@comment " PYTHON3="" OSREL=13.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="1.8" JAVA_VENDOR="openjdk" 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=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd13.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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv2
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE
OSREL=13.0
OSVERSION=1300139
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)  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)  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-4.0.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[130powerpc64-quarterly-job-07] Installing pkg-1.16.3...
[130powerpc64-quarterly-job-07] Extracting pkg-1.16.3: .......... done
===>   bazel-4.0.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of bazel-4.0.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by bazel-4.0.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by bazel-4.0.0 for building
=> SHA256 Checksum OK for bazel-4.0.0rc10-dist.zip.
===========================================================================
=======================<phase: extract-depends>============================
===>   bazel-4.0.0 depends on file: /usr/local/bin/unzip - not found
===>   Installing existing package /packages/All/unzip-6.0_8.txz
[130powerpc64-quarterly-job-07] Installing unzip-6.0_8...
[130powerpc64-quarterly-job-07] Extracting unzip-6.0_8: .......... done
===>   bazel-4.0.0 depends on file: /usr/local/bin/unzip - found
===>   Returning to build of bazel-4.0.0
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by bazel-4.0.0 for building
===>  Extracting for bazel-4.0.0
=> SHA256 Checksum OK for bazel-4.0.0rc10-dist.zip.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for bazel-4.0.0
===>  Applying FreeBSD patches for bazel-4.0.0 from /usr/ports/devel/bazel/files
===========================================================================
=======================<phase: build-depends  >============================
===>   bazel-4.0.0 depends on executable: bash - not found
===>   Installing existing package /packages/All/bash-5.1.4_1.txz
[130powerpc64-quarterly-job-07] Installing bash-5.1.4_1...
[130powerpc64-quarterly-job-07] `-- Installing gettext-runtime-0.21...
[130powerpc64-quarterly-job-07] |   `-- Installing indexinfo-0.3.1...
[130powerpc64-quarterly-job-07] |   `-- Extracting indexinfo-0.3.1: .... done
[130powerpc64-quarterly-job-07] `-- Extracting gettext-runtime-0.21: .......... done
[130powerpc64-quarterly-job-07] `-- Installing readline-8.1.0...
[130powerpc64-quarterly-job-07] `-- Extracting readline-8.1.0: .......... done
[130powerpc64-quarterly-job-07] Extracting bash-5.1.4_1: .......... done
===>   bazel-4.0.0 depends on executable: bash - found
===>   Returning to build of bazel-4.0.0
<snip>
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-4.0.0 depends on file: /usr/local/openjdk8/bin/java - found
===>   Returning to build of bazel-4.0.0
===>   bazel-4.0.0 depends on file: /usr/local/bin/python3.7 - not found
===>   Installing existing package /packages/All/python37-3.7.10.txz
[130powerpc64-quarterly-job-07] Installing python37-3.7.10...
[130powerpc64-quarterly-job-07] `-- Installing libffi-3.3_1...
[130powerpc64-quarterly-job-07] `-- Extracting libffi-3.3_1: .......... done
[130powerpc64-quarterly-job-07] Extracting python37-3.7.10: .......... done
=====
Message from python37-3.7.10:

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

py37-gdbm       databases/py-gdbm@py37
py37-sqlite3    databases/py-sqlite3@py37
py37-tkinter    x11-toolkits/py-tkinter@py37
===>   bazel-4.0.0 depends on file: /usr/local/bin/python3.7 - found
===>   Returning to build of bazel-4.0.0
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for bazel-4.0.0
===========================================================================
=======================<phase: build          >============================
===>  Building for bazel-4.0.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-4.0.0 &&  /usr/bin/env BAZEL_SH=/usr/local/bin/bash  TMPDIR=/wrkdirs/usr/ports/devel/bazel/work/bazel_tmp  EMBED_LABEL='4.0.0'  PATH=/usr/local/bin:$PATH  SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}  EXTRA_BAZEL_ARGS=--host_javabase=@local_jdk//:jdk  /usr/local/bin/bash ./compile.sh)
Building Bazel from scratch......
Building Bazel with Bazel.
.Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
DEBUG: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_GSzXL1MC/out/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:59:14: 
Current running Bazel is not a release version and one was not defined explicitly in rbe_autoconfig target. Falling back to '3.1.0'
DEBUG: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_GSzXL1MC/out/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:103:14: rbe_ubuntu1804_java11 not using checked in configs as detect_java_home was set to True 
DEBUG: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_GSzXL1MC/out/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:59:14: 
Current running Bazel is not a release version and one was not defined explicitly in rbe_autoconfig target. Falling back to '3.1.0'
DEBUG: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_GSzXL1MC/out/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:103:14: rbe_ubuntu1604_java8 not using checked in configs as detect_java_home was set to True 
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
Analyzing: target //src:bazel_nojdk (1 packages loaded, 0 targets configured)
Analyzing: target //src:bazel_nojdk (114 packages loaded, 1611 targets configured)
Analyzing: target //src:bazel_nojdk (207 packages loaded, 2336 targets configured)
Analyzing: target //src:bazel_nojdk (333 packages loaded, 9827 targets configured)
INFO: Analyzed target //src:bazel_nojdk (333 packages loaded, 9827 targets configured).

INFO: Found 1 target...
[0 / 59] [Prepa] Creating source manifest for //src:create_embedded_tools [for host] ... (5 actions, 0 running)
[98 / 2,159] [Sched] Linking src/main/tools/daemonize; 6s ... (64 actions, 8 running)
[143 / 2,159] [Sched] Linking src/main/tools/daemonize; 14s ... (64 actions, 9 running)
INFO: From JavacBootstrap src/main/java/com/google/devtools/build/lib/shell/libshell-starlark.jar:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
1 warning
[163 / 2,159] [Sched] Linking src/main/tools/daemonize; 23s ... (64 actions, 9 running)
[177 / 2,159] [Sched] Linking src/main/tools/daemonize; 35s ... (64 actions, 8 running)
[190 / 2,159] [Sched] Linking src/main/tools/daemonize; 47s ... (64 actions, 8 running)
INFO: From JavacBootstrap src/java_tools/singlejar/java/com/google/devtools/build/singlejar/libbootstrap.jar:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
1 warning
[206 / 2,159] [Sched] Linking src/main/tools/daemonize; 61s ... (64 actions, 7 running)
[218 / 2,159] [Sched] Linking src/main/tools/daemonize; 77s ... (64 actions, 7 running)
INFO: From JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
[238 / 2,159] [Sched] Linking src/main/tools/daemonize; 96s ... (64 actions, 7 running)
[263 / 2,159] [Sched] Linking src/main/tools/daemonize; 117s ... (64 actions, 7 running)
[293 / 2,159] [Sched] Linking src/main/tools/daemonize; 142s ... (64 actions, 7 running)
INFO: From JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libbootstrap_VanillaJavaBuilder.jar:
warning: Implicitly compiled files were not subject to annotation processing.
  Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
Note: src/java_tools/buildjar/java/com/google/devtools/build/buildjar/VanillaJavaBuilder.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 warning
[324 / 2,159] [Sched] Linking src/main/tools/daemonize; 170s ... (64 actions, 7 running)
[359 / 2,159] [Sched] Linking src/main/tools/daemonize; 203s ... (64 actions, 7 running)
INFO: From Building src/main/java/com/google/devtools/build/lib/libruntime/safe_request_logging.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/bazel/BazelServer.jar ():
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/util/libos.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/analysis/libbuild_info.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
[407 / 2,167] [Sched] Linking src/main/tools/daemonize; 240s ... (64 actions, 3 running)
INFO: From Building src/main/java/com/google/devtools/build/lib/util/libvar_int.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/windows/libwindows_short_path.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/docgen/annot/libannot.jar (3 source files):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/util/libTestType.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/skyframe/libfile_symlink_exception.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec/libautocodec-annotation.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec/libregistered-singleton.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/unsafe/libunsafe-provider.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building external/com_google_protobuf/java/core/liblite.jar (86 source files):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/skyframe/serialization/libcodec-scanning-constants.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/analysis/starlark/annotations/libannotations_internal.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/analysis/libtransitive_info_provider.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/analysis/librule_definition_context.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec/libserialization-constant-annotation.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec/libregistered-singleton.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec/libserialization-constant-annotation.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/skyframe/serialization/libcodec-scanning-constants.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/actions/libmiddleman_type.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/unsafe/libunsafe-provider.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec/libautocodec-annotation.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/exec/libtest_xml_output_parser_exception.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/analysis/libbuildinfo/build_info_key.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/analysis/libactions/compression.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/analysis/libconstraints/constraint_constants.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/analysis/libduplicate_exception.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building external/com_google_protobuf/java/core/liblite.jar (86 source files):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/analysis/starlark/annotations/libannotations_internal.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
[445 / 2,254] [Sched] Linking src/main/tools/daemonize; 283s ... (64 actions, 3 running)
INFO: From Building src/main/java/com/google/devtools/build/lib/skyframe/libconfigured_target_progress_receiver.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/skyframe/libtrack_source_directories_flag.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/exec/libalways_out_of_date_action.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/skyframe/libalready_reported_exception.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/rules/java/libjava-implicit-attributes.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
INFO: From Building src/main/java/com/google/devtools/build/lib/network/libconnectivity_status.jar (2 source files):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
[506 / 2,306] [Sched] Linking src/main/tools/daemonize; 333s ... (64 actions, 7 running)
[572 / 2,333] [Sched] Linking src/main/tools/daemonize; 390s ... (64 actions, 7 running)
[740 / 2,441] [Sched] Linking src/main/tools/daemonize; 455s ... (64 actions, 2 running)
ERROR: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_GSzXL1MC/out/external/com_google_absl/absl/base/BUILD.bazel:192:11: Compiling absl/base/internal/unscaledcycleclock.cc failed: (Exit 1): clang failed: error executing command 
  (cd /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_GSzXL1MC/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 '-std=c++0x' -MD -MF bazel-out/freebsd-opt/bin/external/com_google_absl/absl/base/_objs/base/unscaledcycleclock.d '-frandom-seed=bazel-out/freebsd-opt/bin/external/com_google_absl/absl/base/_objs/base/unscaledcycleclock.o' -D__CLANG_SUPPORT_DYN_ANNOTATION__ -iquote external/com_google_absl -iquote bazel-out/freebsd-opt/bin/external/com_google_absl -Wall -Wextra -Wcast-qual -Wconversion-null -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wunused-local-typedefs -Wunused-result -Wvarargs -Wvla -Wwrite-strings -Wno-missing-field-initializers -Wno-sign-compare -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/com_google_absl/absl/base/internal/unscaledcycleclock.cc -o bazel-out/freebsd-opt/bin/external/com_google_absl/absl/base/_o
 bjs/base/unscaledcycleclock.o)
Execution platform: //:default_host_platform
In file included from external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:27:
/usr/include/sys/sysctl.h:1185:25: error: unknown type name 'u_int'
int     sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
                            ^
external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:91:10: error: unknown type name 'once_flag'
  static once_flag init_timebase_frequency_once;
         ^
external/com_google_absl/absl/base/internal/unscaledcycleclock.cc:93:18: error: no member named 'LowLevelCallOnce' in namespace 'absl::lts_2020_02_25::base_internal'
  base_internal::LowLevelCallOnce(&init_timebase_frequency_once, [&]() {
  ~~~~~~~~~~~~~~~^
3 errors generated.
Target //src:bazel_nojdk failed to build
INFO: Elapsed time: 550.349s, Critical Path: 502.85s
INFO: 999 processes: 122 internal, 877 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/bazel