Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2021 07:35:11 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 130powerpc64-quarterly][devel/bazel] Failed for bazel-4.1.0 in build
Message-ID:  <202107220735.16M7ZBeM075853@foul1.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

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/31400d488c55/logs/bazel-4.1.0.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=130powerpc64-quarterly&build=31400d488c55
Log:

=>> Building devel/bazel
build started at Thu Jul 22 07:21:52 UTC 2021
port directory: /usr/ports/devel/bazel
package name: bazel-4.1.0
building for: FreeBSD 130powerpc64-quarterly-job-01 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: 01

---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-01] Installing pkg-1.16.3...
[130powerpc64-quarterly-job-01] 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
===> 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-01] Installing unzip-6.0_8...
[130powerpc64-quarterly-job-01] 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-01] Installing bash-5.1.8...
[130powerpc64-quarterly-job-01] `-- Installing gettext-runtime-0.21...
[130powerpc64-quarterly-job-01] |   `-- Installing indexinfo-0.3.1...
[130powerpc64-quarterly-job-01] |   `-- Extracting indexinfo-0.3.1: .... done
[130powerpc64-quarterly-job-01] `-- Extracting gettext-runtime-0.21: .......... done
[130powerpc64-quarterly-job-01] `-- Installing readline-8.1.1...
[130powerpc64-quarterly-job-01] `-- Extracting readline-8.1.1: .......... done
[130powerpc64-quarterly-job-01] Extracting bash-5.1.8: .......... done
===>   bazel-4.1.0 depends on executable: bash - found
===>   Returning to build of bazel-4.1.0
<snip>

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed).
=====
Message from dejavu-2.37_1:

--
Make sure that the freetype module is loaded.  If it is not, add the following
line to the "Modules" section of your X Windows configuration file:

	Load "freetype"

Add the following line to the "Files" section of X Windows configuration file:

	FontPath "/usr/local/share/fonts/dejavu/"

Note: your X Windows configuration file is typically /etc/X11/XF86Config
if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
=====
Message from libinotify-20180201_2:

--
Libinotify functionality on FreeBSD is missing support for

  - detecting a file being moved into or out of a directory within the
    same filesystem
  - certain modifications to a symbolic link (rather than the
    file it points to.)

in addition to the known limitations on all platforms using kqueue(2)
where various open and close notifications are unimplemented.

This means the following regression tests will fail:

Directory notifications:
   IN_MOVED_FROM
   IN_MOVED_TO

Open/close notifications:
   IN_OPEN
   IN_CLOSE_NOWRITE
   IN_CLOSE_WRITE

Symbolic Link notifications:
   IN_DONT_FOLLOW
   IN_ATTRIB
   IN_MOVE_SELF
   IN_DELETE_SELF

Kernel patches to address the missing directory and symbolic link
notifications are available from:

https://github.com/libinotify-kqueue/libinotify-kqueue/tree/master/patches

You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.
=====
Message from openjdk8-8.292.10.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-4.1.0 depends on file: /usr/local/openjdk8/bin/java - found
===>   Returning to build of bazel-4.1.0
===>   bazel-4.1.0 depends on file: /usr/local/bin/python3.8 - not found
===>   Installing existing package /packages/All/python38-3.8.10.txz
[130powerpc64-quarterly-job-01] Installing python38-3.8.10...
[130powerpc64-quarterly-job-01] `-- Installing libffi-3.3_1...
[130powerpc64-quarterly-job-01] `-- Extracting libffi-3.3_1: .......... done
[130powerpc64-quarterly-job-01] `-- Installing mpdecimal-2.5.1...
[130powerpc64-quarterly-job-01] `-- Extracting mpdecimal-2.5.1: .......... done
[130powerpc64-quarterly-job-01] Extracting python38-3.8.10: .......... done
=====
Message from python38-3.8.10:

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

py38-gdbm       databases/py-gdbm@py38
py38-sqlite3    databases/py-sqlite3@py38
py38-tkinter    x11-toolkits/py-tkinter@py38
===>   bazel-4.1.0 depends on file: /usr/local/bin/python3.8 - found
===>   Returning to build of bazel-4.1.0
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for bazel-4.1.0
===========================================================================
=======================<phase: build          >============================
===>  Building for bazel-4.1.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.1.0 &&  /usr/bin/env BAZEL_SH=/usr/local/bin/bash  TMPDIR=/wrkdirs/usr/ports/devel/bazel/work/bazel_tmp  EMBED_LABEL='4.1.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_clFQgwhl/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_clFQgwhl/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_clFQgwhl/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_clFQgwhl/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 (123 packages loaded, 1626 targets configured)
Analyzing: target //src:bazel_nojdk (234 packages loaded, 3161 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 / 76] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (5 actions, 0 running)
[96 / 2,176] Creating runfiles tree bazel-out/freebsd-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer.runfiles; 6s local ... (64 actions, 8 running)
[109 / 2,176] Creating runfiles tree bazel-out/freebsd-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer.runfiles; 14s local ... (64 actions, 8 running)
[125 / 2,176] Creating runfiles tree bazel-out/freebsd-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer.runfiles; 22s local ... (64 actions, 8 running)
[144 / 2,176] Creating runfiles tree bazel-out/freebsd-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer.runfiles; 32s local ... (64 actions, 8 running)
[162 / 2,176] Creating runfiles tree bazel-out/freebsd-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer.runfiles; 43s local ... (64 actions, 8 running)
[178 / 2,176] [Sched] Linking src/main/cpp/util/libport.a; 55s ... (64 actions, 7 running)
[192 / 2,176] [Sched] Linking src/main/cpp/util/libport.a; 69s ... (64 actions, 7 running)
[214 / 2,176] [Sched] Linking src/main/cpp/util/libport.a; 86s ... (64 actions, 7 running)
[238 / 2,176] [Sched] Linking src/main/cpp/util/libport.a; 106s ... (64 actions, 7 running)
[266 / 2,176] [Sched] Linking src/main/cpp/util/libport.a; 128s ... (64 actions, 8 running)
[301 / 2,176] [Sched] Linking src/main/cpp/util/libport.a; 154s ... (64 actions, 7 running)
[332 / 2,176] [Sched] Linking src/main/cpp/util/libport.a; 184s ... (64 actions, 7 running)
[371 / 2,197] [Sched] Linking src/main/cpp/util/libport.a; 219s ... (64 actions, 8 running)
[416 / 2,227] [Sched] Linking src/main/cpp/util/libport.a; 258s ... (64 actions, 7 running)
[512 / 2,309] [Sched] Linking src/main/cpp/util/libport.a; 303s ... (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
[607 / 2,354] [Sched] Linking src/main/cpp/util/libport.a; 356s ... (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
[782 / 2,502] JavacBootstrap src/java_tools/buildjar/java/com/google/devtools/build/buildjar/libstarlark-deps.jar; 78s local ... (64 actions, 8 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
ERROR: /wrkdirs/usr/ports/devel/bazel/work/bazel_tmp/bazel_clFQgwhl/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_clFQgwhl/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: 513.395s, Critical Path: 467.38s
INFO: 1051 processes: 122 internal, 929 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107220735.16M7ZBeM075853>