+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/bazel-6.4.0/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/bazel-6.4.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for bazel-6.4.0
cd /home/pbulk/build/devel/bazel/work  && env EXTRA_BAZEL_ARGS=--tool_java_runtime_version=local_jdk\ --subcommands USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr PYTHON=/opt/local/bin/python3.11 CLASSPATH=. JAVA_HOME=/opt/local/java/openjdk11 CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/local/include\ -I/usr/include CPPFLAGS=-I/opt/local/include\ -I/usr/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/local/include\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/local/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.2.0\ -Wl,-R/opt/local/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.2.0\ -L/opt/local/lib\ -Wl,-R/opt/local/lib\ -liconv\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -L/opt/local/java/openjdk11/lib\ -L/opt/local/java/openjdk11/lib/jli\ -L/opt/local/java/openjdk11/lib/server\ -Wl,-R/opt/local/java/openjdk11/lib\ -Wl,-R/opt/local/java/openjdk11/lib/jli\ -Wl,-R/opt/local/java/openjdk11/lib/server LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/devel/bazel/work/.cwrapper/bin:/home/pbulk/build/devel/bazel/work/.buildlink/bin:/home/pbulk/build/devel/bazel/work/.gcc/bin:/home/pbulk/build/devel/bazel/work/.tools/bin:/opt/local/java/openjdk11/bin:/opt/local/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/local/bin:/opt/local/bin PREFIX=/opt/local MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/opt/local/etc HOME=/home/pbulk/build/devel/bazel/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/devel/bazel/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/local X11BASE=/opt/local PKGMANDIR=man PKGINFODIR=info PKGGNUDIR= MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/local/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/local/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/local/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/devel/bazel/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/devel/bazel/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/devel/bazel/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/devel/bazel/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/devel/bazel/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/devel/bazel/work/.buildlink/lib/pkgconfig:/home/pbulk/build/devel/bazel/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/devel/bazel/work/.pkg-config.log PKG_CONFIG_PATH= DL_CFLAGS= DL_LDFLAGS= DL_LIBS= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/devel/bazel/work/.cwrapper/config  /bin/bash ./compile.sh
Building Bazel from scratch....../usr/xpg4/bin/grep: illegal option -- m
usage:  grep [-E|-F] [-bchHilLnoqrRsvx] [-A num] [-B num] [-C num|-num]
             [--label=name] [-e pattern_list]... [-f pattern_file]...
             [pattern_list] [file]...

Building Bazel with Bazel.
.Loading: 

Loading: 
    Fetching repository @bazelci_rules; starting


Loading: 
    Fetching repository @bazelci_rules; starting


Loading: 
    Fetching repository @bazelci_rules; starting


Loading: 
    Fetching repository @bazelci_rules; Patching repository


Loading: 

Loading: 
    Fetching repository @io_bazel_skydoc; starting


Loading: 
    Fetching repository @io_bazel_skydoc; starting
    Fetching ...tar.gz; Checking SHA-256 of /home/pbulk/build/devel/bazel/work\
/derived/distdir/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz




Loading: 
    Fetching repository @io_bazel_skydoc; starting


Loading: 
    Fetching repository @io_bazel_skydoc; starting
    Fetching ...skydoc; Extracting 1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.ta\
r.gz




Loading: 
    Fetching repository @bazel_tools; starting


Loading: 
    Fetching repository @io_bazel_rules_sass; starting
    Fetching https://mirror.bazel.build/...25.0.zip; Checking in SHA-256 cache



Loading: 
    Fetching repository @io_bazel_rules_sass; starting
    Fetching ...HXa.9t/out/external/io_bazel_rules_sass; Extracting 1.25.0.zip



Loading: 
    Fetching repository @build_bazel_rules_nodejs; starting
    Fetching ...build_bazel_rules_nodejs; Extracting rules_nodejs-5.5.0.tar.gz



Loading: 

Loading: 
    Fetching repository @rules_nodejs; starting


Loading: 
    Fetching repository @bazel_skylib; Patching repository


Loading: 

DEBUG: /tmp/bazel_XXHXa.9t/out/external/build_bazel_rules_nodejs/index.bzl:122:10: WARNING: check_rules_nodejs_version has been removed. This is a no-op, please remove the call.
Loading: 

Loading: 

Loading: 
    Fetching repository @local_config_winsdk; starting


Loading: 
    Fetching repository @com_github_grpc_grpc; starting
    Fetching ...t/out/external/com_github_grpc_grpc; Extracting v1.47.0.tar.gz



Loading: 
    Fetching repository @com_github_grpc_grpc; starting
    Fetching ...t/out/external/com_github_grpc_grpc; Extracting v1.47.0.tar.gz



Loading: 
    Fetching repository @com_github_grpc_grpc; starting
    Fetching ...t/out/external/com_github_grpc_grpc; Extracting v1.47.0.tar.gz



Loading: 
    Fetching repository @com_github_grpc_grpc; starting
    Fetching ...t/out/external/com_github_grpc_grpc; Extracting v1.47.0.tar.gz



Loading: 
    Fetching repository @com_github_grpc_grpc; starting 4s
    Fetching ...ut/external/com_github_grpc_grpc; Extracting v1.47.0.tar.gz 4s



Loading: 
    Fetching repository @com_github_grpc_grpc; starting 5s
    Fetching ...ut/external/com_github_grpc_grpc; Extracting v1.47.0.tar.gz 5s



Loading: 
    Fetching repository @com_github_grpc_grpc; starting 6s
    Fetching ...ut/external/com_github_grpc_grpc; Extracting v1.47.0.tar.gz 6s



Loading: 
    Fetching repository @com_github_grpc_grpc; Patching repository 7s


Loading: 
    Fetching repository @upb; starting


Loading: 
    Fetching repository @upb; Patching repository
    Fetching repository @com_envoyproxy_protoc_gen_validate; starting
    Fetching repository @com_google_googleapis; starting
    Fetching repository @com_google_protobuf; starting
    Fetching ...lidate; Extracting 4694024279bdac52b77e22dc87808bd0fd732b69.ta\
r.gz
    Fetching ...leapis; Extracting 2f9af297c84c55c8b871ba4495e01ade42476c92.ta\
r.gz
    Fetching ...9t/out/external/com_google_protobuf; Extracting v3.19.6.tar.gz










Loading: 
    Fetching repository @com_google_googleapis; starting
    Fetching repository @com_google_protobuf; starting
    Fetching ...leapis; Extracting 2f9af297c84c55c8b871ba4495e01ade42476c92.ta\
r.gz
    Fetching ...9t/out/external/com_google_protobuf; Extracting v3.19.6.tar.gz
    Fetching repository @bazel_gazelle; starting
    Fetching ...xternal/bazel_gazelle; Extracting bazel-gazelle-v0.24.0.tar.gz








Loading: 
    Fetching repository @com_google_googleapis; starting
    Fetching repository @com_google_protobuf; starting
    Fetching ...leapis; Extracting 2f9af297c84c55c8b871ba4495e01ade42476c92.ta\
r.gz
    Fetching ...9t/out/external/com_google_protobuf; Extracting v3.19.6.tar.gz






Loading: 
    Fetching repository @com_google_googleapis; starting
    Fetching repository @com_google_protobuf; Patching repository
    Fetching ...leapis; Extracting 2f9af297c84c55c8b871ba4495e01ade42476c92.ta\
r.gz





Loading: 
    Fetching repository @com_google_googleapis; starting
    Fetching ...leapis; Extracting 2f9af297c84c55c8b871ba4495e01ade42476c92.ta\
r.gz




Loading: 
    Fetching repository @com_google_googleapis; starting 4s
    Fetching ...leapis; Extracting 2f9af297c84c55c8b871ba4495e01ade42476c92.ta\
r.gz 4s




Loading: 

Loading: 

Loading: 0 packages loaded

Loading: 0 packages loaded
    currently loading: src


Loading: 0 packages loaded
    currently loading: src


Analyzing: target //src:bazel_nojdk (1 packages loaded)

Analyzing: target //src:bazel_nojdk (1 packages loaded)

Analyzing: target //src:bazel_nojdk (1 packages loaded, 0 targets configured)

Analyzing: target //src:bazel_nojdk (1 packages loaded, 0 targets configured)
    currently loading: @local_config_platform//


Analyzing: target //src:bazel_nojdk (2 packages loaded, 0 targets configured)
    currently loading: @platforms//cpu


Analyzing: target //src:bazel_nojdk (3 packages loaded, 3 targets configured)
    currently loading: 


Analyzing: target //src:bazel_nojdk (3 packages loaded, 3 targets configured)
    currently loading: 
    Fetching repository @rules_java; Patching repository



Analyzing: target //src:bazel_nojdk (3 packages loaded, 3 targets configured)
    currently loading: 


Analyzing: target //src:bazel_nojdk (4 packages loaded, 6 targets configured)
    currently loading: src/main/cpp


Analyzing: target //src:bazel_nojdk (7 packages loaded, 13 targets configured)
    currently loading: @bazel_tools//tools/cpp ... (2 packages)


Analyzing: target //src:bazel_nojdk (12 packages loaded, 17 targets configured\
)
    currently loading: @rules_license//licenses/spdx ... (6 packages)
    Fetching repository @nodejs_toolchains; starting
    Fetching repository @local_jdk; starting
    Fetching repository @local_config_cc_toolchains; Restarting.
    Fetching ...ory @remotejdk17_macos_aarch64_toolchain_config_repo; starting







Analyzing: target //src:bazel_nojdk (25 packages loaded, 17 targets configured\
)
    currently loading: src/main/java/com/google/devtools/build/lib/bazel ... (\
14 packages)
    Fetching repository @local_jdk; starting
    Fetching repository @local_config_cc_toolchains; starting






Analyzing: target //src:bazel_nojdk (30 packages loaded, 18 targets configured\
)
    currently loading: src/main/java/com/google/devtools/build/lib/bazel ... (\
11 packages)
    Fetching repository @local_jdk; starting





Analyzing: target //src:bazel_nojdk (42 packages loaded, 23 targets configured\
)
    currently loading: @platforms//
    Fetching repository @local_jdk; starting




Analyzing: target //src:bazel_nojdk (57 packages loaded, 54 targets configured\
)
    currently loading: third_party ... (4 packages)
    Fetching repository @local_jdk; starting
    Fetching repository @rules_proto; Patching repository
    Fetching repository @rules_cc; starting
    Fetching ...HXa.9t/out/external/rules_cc; Extracting rules_cc-0.0.2.tar.gz







Analyzing: target //src:bazel_nojdk (59 packages loaded, 54 targets configured\
)
    currently loading: src/main/protobuf ... (2 packages)
    Fetching repository @local_jdk; starting
    Fetching repository @rules_proto; Patching repository
    Fetching repository @rules_cc; Patching repository






Analyzing: target //src:bazel_nojdk (59 packages loaded, 58 targets configured\
)
    currently loading: src/main/protobuf ... (3 packages)
    Fetching repository @rules_proto; Patching repository
    Fetching repository @rules_cc; Patching repository





Analyzing: target //src:bazel_nojdk (59 packages loaded, 58 targets configured\
)
    currently loading: src/main/protobuf ... (3 packages)
    Fetching repository @rules_proto; Patching repository
    Fetching repository @rules_cc; Patching repository





Analyzing: target //src:bazel_nojdk (61 packages loaded, 58 targets configured\
)
    currently loading: src/main/protobuf



Analyzing: target //src:bazel_nojdk (62 packages loaded, 144 targets configure\
d)
    currently loading: @rules_nodejs//nodejs



Analyzing: target //src:bazel_nojdk (70 packages loaded, 397 targets configure\
d)
    currently loading: tools/proto ... (2 packages)



Analyzing: target //src:bazel_nojdk (79 packages loaded, 424 targets configure\
d)
    currently loading: tools/proto ... (6 packages)



Analyzing: target //src:bazel_nojdk (97 packages loaded, 509 targets configure\
d)
    currently loading: tools/android ... (6 packages)
    Fetching repository @local_config_cc; starting




Analyzing: target //src:bazel_nojdk (97 packages loaded, 522 targets configure\
d)
    currently loading: tools/android ... (7 packages)
    Fetching repository @local_config_cc; starting




Analyzing: target //src:bazel_nojdk (104 packages loaded, 535 targets configur\
ed)
    currently loading: tools/whitelists
    Fetching repository @local_config_cc; starting




Analyzing: target //src:bazel_nojdk (125 packages loaded, 770 targets configur\
ed)
    Fetching repository @local_config_cc; starting



Analyzing: target //src:bazel_nojdk (125 packages loaded, 882 targets configur\
ed)
    Fetching repository @local_config_cc; starting



Analyzing: target //src:bazel_nojdk (125 packages loaded, 882 targets configur\
ed)
    Fetching repository @local_config_cc; starting



Analyzing: target //src:bazel_nojdk (125 packages loaded, 882 targets configur\
ed)
    Fetching repository @local_config_cc; starting 4s



Analyzing: target //src:bazel_nojdk (125 packages loaded, 882 targets configur\
ed)
    Fetching repository @local_config_cc; starting 5s



Analyzing: target //src:bazel_nojdk (125 packages loaded, 882 targets configur\
ed)
    currently loading: @local_config_cc//



Analyzing: target //src:bazel_nojdk (158 packages loaded, 1072 targets configu\
red)
    currently loading: @com_google_protobuf// ... (6 packages)



Analyzing: target //src:bazel_nojdk (171 packages loaded, 1193 targets configu\
red)
    currently loading: @com_google_protobuf// ... (7 packages)



Analyzing: target //src:bazel_nojdk (174 packages loaded, 1543 targets configu\
red)
    currently loading: @com_google_protobuf// ... (4 packages)
    Fetching repository @io_bazel; starting




Analyzing: target //src:bazel_nojdk (174 packages loaded, 1544 targets configu\
red)
    currently loading: @com_google_protobuf// ... (4 packages)



Analyzing: target //src:bazel_nojdk (175 packages loaded, 1582 targets configu\
red)
    currently loading: @com_google_protobuf// ... (5 packages)



Analyzing: target //src:bazel_nojdk (180 packages loaded, 1672 targets configu\
red)
    currently loading: @com_google_protobuf// ... (5 packages)
    Fetching repository @blake3; Restarting.




ERROR: /tmp/bazel_XXHXa.9t/out/external/local_config_cc/BUILD:47:19: in cc_toolchain_suite rule @local_config_cc//:toolchain: cc_toolchain_suite '@local_config_cc//:toolchain' does not contain a toolchain for cpu 'unknown'
Analyzing: target //src:bazel_nojdk (183 packages loaded, 1716 targets configu\
red)
    currently loading: @com_google_protobuf// ... (5 packages)
    Fetching repository @blake3; starting




ERROR: /tmp/bazel_XXHXa.9t/out/external/local_config_cc/BUILD:47:19: Analysis of target '@local_config_cc//:toolchain' failed
Analyzing: target //src:bazel_nojdk (183 packages loaded, 1716 targets configu\
red)
    currently loading: @com_google_protobuf// ... (5 packages)
    Fetching repository @blake3; starting




Analyzing: target //src:bazel_nojdk (184 packages loaded, 1719 targets configu\
red)
    currently loading: @com_google_protobuf// ... (4 packages)
    Fetching repository @blake3; starting




ERROR: Analysis of target '//src:bazel_nojdk' failed; build aborted: 
Analyzing: target //src:bazel_nojdk (188 packages loaded, 1720 targets configu\
red)
    Fetching repository @blake3; starting



INFO: Elapsed time: 49.395s
Analyzing: target //src:bazel_nojdk (188 packages loaded, 1720 targets configu\
red)
    Fetching repository @blake3; starting



INFO: 0 processes.
Analyzing: target //src:bazel_nojdk (188 packages loaded, 1720 targets configu\
red)
    Fetching repository @blake3; starting



FAILED: Build did NOT complete successfully (188 packages loaded, 1720 targets\
 configured)
    Fetching repository @blake3; starting

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

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/bazel
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/devel/bazel