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

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 29 Jun 2021 07:05:29 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/ae162bd98935/logs/bazel-4.0.0.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=130powerpc64-quarterly&build=ae162bd98935
Log:

=>> Building devel/bazel
build started at Tue Jun 29 06:49:49 UTC 2021
port directory: /usr/ports/devel/bazel
package name: bazel-4.0.0
building for: FreeBSD 130powerpc64-quarterly-job-08 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: 08

---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-08] Installing pkg-1.16.3...
[130powerpc64-quarterly-job-08] 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-08] Installing unzip-6.0_8...
[130powerpc64-quarterly-job-08] 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-08] Installing bash-5.1.4_1...
[130powerpc64-quarterly-job-08] `-- Installing gettext-runtime-0.21...
[130powerpc64-quarterly-job-08] |   `-- Installing indexinfo-0.3.1...
[130powerpc64-quarterly-job-08] |   `-- Extracting indexinfo-0.3.1: .... done
[130powerpc64-quarterly-job-08] `-- Extracting gettext-runtime-0.21: .......... done
[130powerpc64-quarterly-job-08] `-- Installing readline-8.1.0...
[130powerpc64-quarterly-job-08] `-- Extracting readline-8.1.0: .......... done
[130powerpc64-quarterly-job-08] 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>
=======================<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
Loading: 0 packages loaded
DEBUG: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_qwJxuXIc/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_qwJxuXIc/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_qwJxuXIc/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_qwJxuXIc/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, 1609 targets configured)
Analyzing: target //src:bazel_nojdk (208 packages loaded, 2456 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 / 70] [Prepa] BazelWorkspaceStatusAction stable-status.txt
[92 / 2,202] [Sched] Linking src/main/cpp/util/libport.pic.a; 5s ... (64 actions, 8 running)
[112 / 2,202] [Sched] Linking src/main/cpp/util/libport.pic.a; 13s ... (64 actions, 8 running)
[133 / 2,202] [Sched] Linking src/main/cpp/util/libport.pic.a; 21s ... (64 actions, 7 running)
[145 / 2,202] [Sched] Linking src/main/cpp/util/libport.pic.a; 31s ... (64 actions, 7 running)
[158 / 2,202] [Sched] Linking src/main/cpp/util/libport.pic.a; 43s ... (64 actions, 7 running)
[178 / 2,202] [Sched] Linking src/main/cpp/util/libport.pic.a; 56s ... (64 actions, 7 running)
[196 / 2,202] [Sched] Linking src/main/cpp/util/libport.pic.a; 71s ... (64 actions, 7 running)
[215 / 2,202] [Sched] Linking src/main/cpp/util/libport.pic.a; 88s ... (64 actions, 7 running)
[238 / 2,202] [Sched] Linking src/main/cpp/util/libport.pic.a; 108s ... (64 actions, 7 running)
[259 / 2,202] [Sched] Linking src/main/cpp/util/libport.pic.a; 130s ... (64 actions, 7 running)
[287 / 2,202] [Sched] Linking src/main/cpp/util/libport.pic.a; 156s ... (64 actions, 7 running)
[328 / 2,202] [Sched] Linking src/main/cpp/util/libport.pic.a; 186s ... (64 actions, 7 running)
[371 / 2,202] [Sched] Linking src/main/cpp/util/libport.pic.a; 221s ... (64 actions, 7 running)
[411 / 2,230] [Sched] Linking src/main/cpp/util/libport.pic.a; 261s ... (64 actions, 8 running)
[501 / 2,303] [Sched] Linking src/main/cpp/util/libport.pic.a; 307s ... (64 actions, 7 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
[595 / 2,355] [Sched] Linking src/main/cpp/util/libport.pic.a; 359s ... (64 actions, 7 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
[689 / 2,431] [Sched] Linking src/main/cpp/util/libport.pic.a; 420s ... (64 actions, 5 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.
INFO: From Compiling src/core/lib/iomgr/exec_ctx.cc:
external/com_github_grpc_grpc/src/core/lib/iomgr/exec_ctx.cc:61:11: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
  if (x > GRPC_MILLIS_INF_FUTURE) return GRPC_MILLIS_INF_FUTURE;
        ~ ^~~~~~~~~~~~~~~~~~~~~~
external/com_github_grpc_grpc/src/core/lib/iomgr/exec_ctx.h:39:32: note: expanded from macro 'GRPC_MILLIS_INF_FUTURE'
#define GRPC_MILLIS_INF_FUTURE INT64_MAX
                               ^~~~~~~~~
/usr/include/machine/_stdint.h:94:19: note: expanded from macro 'INT64_MAX'
#define INT64_MAX       __INT64_C(0x7fffffffffffffff)
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/machine/_stdint.h:72:24: note: expanded from macro '__INT64_C'
#define __INT64_C(c)            (c ## L)
                                 ^~~~~~
<scratch space>:167:1: note: expanded from here
0x7fffffffffffffffL
^~~~~~~~~~~~~~~~~~~
external/com_github_grpc_grpc/src/core/lib/iomgr/exec_ctx.cc:75:11: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
  if (x > GRPC_MILLIS_INF_FUTURE) return GRPC_MILLIS_INF_FUTURE;
        ~ ^~~~~~~~~~~~~~~~~~~~~~
external/com_github_grpc_grpc/src/core/lib/iomgr/exec_ctx.h:39:32: note: expanded from macro 'GRPC_MILLIS_INF_FUTURE'
#define GRPC_MILLIS_INF_FUTURE INT64_MAX
                               ^~~~~~~~~
/usr/include/machine/_stdint.h:94:19: note: expanded from macro 'INT64_MAX'
#define INT64_MAX       __INT64_C(0x7fffffffffffffff)
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/machine/_stdint.h:72:24: note: expanded from macro '__INT64_C'
#define __INT64_C(c)            (c ## L)
                                 ^~~~~~
<scratch space>:169:1: note: expanded from here
0x7fffffffffffffffL
^~~~~~~~~~~~~~~~~~~
2 warnings generated.
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
[959 / 2,643] [Sched] Linking external/com_github_grpc_grpc/libgrpc_lb_upb.a; 59s ... (64 actions, 8 running)
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.
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/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/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/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/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/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/docgen/annot/libannot.jar (3 source files):
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/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/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/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/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/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/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/libduplicate_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/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/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/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/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/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/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/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/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/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/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/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/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/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/network/libconnectivity_status.jar (2 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/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/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/rules/java/libjava-implicit-attributes.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.
[1,085 / 2,753] [Sched] Linking external/com_github_grpc_grpc/libgrpc_lb_upb.a; 139s ... (64 actions, 7 running)
ERROR: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_qwJxuXIc/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_qwJxuXIc/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: 631.358s, Critical Path: 586.20s
INFO: 1213 processes: 122 internal, 1091 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