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

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 07 Jul 2021 15:55:52 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/53fd1058ba29/logs/bazel-4.1.0.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=130powerpc64-quarterly&build=53fd1058ba29
Log:

=>> Building devel/bazel
build started at Wed Jul  7 15:38:01 UTC 2021
port directory: /usr/ports/devel/bazel
package name: bazel-4.1.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.8" 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.8  PYTHON_LIBDIR=lib/python3.8  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.8/site-packages  PYTHON_SUFFIX=38  PYTHON_EXT_SUFFIX=.cpython-38  PYTHON_VER=3.8  PYTHON_VERSION=python3.8 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.1.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.1.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of bazel-4.1.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
=> bazel-4.1.0rc5-dist.zip doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://storage.googleapis.com/bazel/4.1.0/rc5/bazel-4.1.0rc5-dist.zip
bazel-4.1.0rc5-dist.zip                                264 MB   30 MBps    09s
===> Fetching all distfiles required by bazel-4.1.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by bazel-4.1.0 for building
=> SHA256 Checksum OK for bazel-4.1.0rc5-dist.zip.
===========================================================================
=======================<phase: extract-depends>============================
===>   bazel-4.1.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.1.0 depends on file: /usr/local/bin/unzip - found
===>   Returning to build of bazel-4.1.0
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by bazel-4.1.0 for building
===>  Extracting for bazel-4.1.0
=> SHA256 Checksum OK for bazel-4.1.0rc5-dist.zip.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for bazel-4.1.0
===>  Applying FreeBSD patches for bazel-4.1.0 from /usr/ports/devel/bazel/files
===========================================================================
=======================<phase: build-depends  >============================
===>   bazel-4.1.0 depends on executable: bash - not found
===>   Installing existing package /packages/All/bash-5.1.8.txz
[130powerpc64-quarterly-job-07] Installing bash-5.1.8...
[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.1...
[130powerpc64-quarterly-job-07] `-- Extracting readline-8.1.1: .......... done
<snip>
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_Mp5M5UhH/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 (192 packages loaded, 1814 targets configured)
Analyzing: target //src:bazel_nojdk (315 packages loaded, 8110 targets configured)
Analyzing: target //src:bazel_nojdk (333 packages loaded, 9655 targets configured)
INFO: Analyzed target //src:bazel_nojdk (333 packages loaded, 9655 targets configured).

INFO: Found 1 target...
[0 / 100] [Prepa] Expanding template src/create_embedded_tools.temp [for host]
[61 / 1,205] Creating runfiles tree bazel-out/freebsd-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer.runfiles; 6s local ... (64 actions, 9 running)
[72 / 1,205] Creating runfiles tree bazel-out/freebsd-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer.runfiles; 15s local ... (64 actions, 9 running)
[90 / 1,205] Creating runfiles tree bazel-out/freebsd-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer.runfiles; 24s local ... (64 actions, 9 running)
[106 / 1,205] Creating runfiles tree bazel-out/freebsd-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer.runfiles; 34s local ... (64 actions, 9 running)
[127 / 1,205] Creating runfiles tree bazel-out/freebsd-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer.runfiles; 46s local ... (64 actions, 9 running)
[144 / 1,205] [Sched] Linking src/main/cpp/util/libport.a; 63s ... (64 actions, 8 running)
[162 / 1,205] [Sched] Linking src/main/cpp/util/libport.a; 79s ... (64 actions, 7 running)
[188 / 1,205] [Sched] Linking src/main/cpp/util/libport.a; 98s ... (64 actions, 7 running)
[206 / 1,232] [Sched] Linking src/main/cpp/util/libport.a; 120s ... (64 actions, 7 running)
[235 / 1,237] [Sched] Linking src/main/cpp/util/libport.a; 145s ... (64 actions, 8 running)
[283 / 1,331] [Sched] Linking src/main/cpp/util/libport.a; 174s ... (64 actions, 7 running)
[320 / 1,331] [Sched] Linking src/main/cpp/util/libport.a; 207s ... (64 actions, 7 running)
[367 / 1,346] [Sched] Linking src/main/cpp/util/libport.a; 245s ... (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
[491 / 2,236] [Sched] Linking src/main/cpp/util/libport.a; 289s ... (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
[665 / 2,378] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar; 61s local ... (64 actions, 3 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 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
[811 / 2,507] [Sched] Linking external/com_google_protobuf/protoc [for host]; 59s ... (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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 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/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/libworkspace_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/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.
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/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/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/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/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/analysis/starlark/annotations/libannotations_internal.jar (1 source file):
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
[918 / 2,544] [Sched] Linking external/com_google_protobuf/protoc [for host]; 126s ... (64 actions, 3 running)
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 Action external/googleapis/google_bytestream_bytestream_java_grpc_srcs.jar:
google/bytestream/bytestream.proto:19:1: warning: Import google/api/annotations.proto is unused.
INFO: From Generating Java (Immutable) proto_library @googleapis//:google_devtools_build_v1_build_events_proto:
google/devtools/build/v1/build_events.proto:20:1: warning: Import google/api/annotations.proto is unused.
INFO: From Generating Java (Immutable) proto_library @googleapis//:google_bytestream_bytestream_proto:
google/bytestream/bytestream.proto:19:1: warning: Import google/api/annotations.proto is unused.
INFO: From Generating Java (Immutable) proto_library //src/main/protobuf:execution_statistics_proto:
[libprotobuf WARNING external/com_google_protobuf/src/google/protobuf/compiler/java/java_file.cc:247] The optimize_for = LITE_RUNTIME option is no longer supported by protobuf Java code generator and is ignored--protoc will always generate full runtime code for Java. To use Java Lite runtime, users should use the Java Lite plugin instead. See:
  https://github.com/protocolbuffers/protobuf/blob/master/java/lite.md
INFO: From Generating Java (Immutable) proto_library @googleapis//:google_api_auth_proto:
google/api/auth.proto:19:1: warning: Import google/api/annotations.proto is unused.
INFO: From Generating Java (Immutable) proto_library @googleapis//:google_devtools_build_v1_build_status_proto:
google/devtools/build/v1/build_status.proto:20:1: warning: Import google/api/annotations.proto is unused.
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.
[1,402 / 2,827] [Sched] Building src/main/java/com/google/devtools/build/lib/skyframe/libexecution_finished_event.jar (1 source file) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor); 64s ... (64 actions, 7 running)
ERROR: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_Mp5M5UhH/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_Mp5M5UhH/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: 622.731s, Critical Path: 555.02s
INFO: 1506 processes: 120 internal, 1386 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