+ 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/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= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= 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. .[32mLoading:[0m [1A[K[32mLoading:[0m Fetching repository @bazelci_rules; starting [1A[K [1A[K[32mLoading:[0m Fetching repository @bazelci_rules; Patching repository [1A[K [1A[K[32mLoading:[0m Fetching repository @io_bazel_skydoc; starting [1A[K [1A[K[32mLoading:[0m Fetching repository @io_bazel_skydoc; starting Fetching ...skydoc; Extracting 1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.ta\ r.gz [1A[K [1A[K [1A[K [1A[K[32mLoading:[0m Fetching repository @bazel_tools; starting [1A[K [1A[K[32mLoading:[0m Fetching repository @build_bazel_rules_nodejs; starting [1A[K [1A[K[32mLoading:[0m Fetching repository @rules_nodejs; starting [1A[K [1A[K[32mLoading:[0m Fetching repository @bazel_skylib; Patching repository [1A[K [1A[K[32mLoading:[0m [1A[K[33mDEBUG: [0m/tmp/bazel_XXKjagZK/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. [32mLoading:[0m [1A[K[32mLoading:[0m Fetching repository @local_config_winsdk; starting [1A[K [1A[K[32mLoading:[0m Fetching repository @com_github_grpc_grpc; starting Fetching ...K/out/external/com_github_grpc_grpc; Extracting v1.47.0.tar.gz [1A[K [1A[K [1A[K[32mLoading:[0m Fetching repository @com_github_grpc_grpc; starting Fetching ...K/out/external/com_github_grpc_grpc; Extracting v1.47.0.tar.gz [1A[K [1A[K [1A[K[32mLoading:[0m Fetching repository @com_github_grpc_grpc; starting Fetching ...K/out/external/com_github_grpc_grpc; Extracting v1.47.0.tar.gz [1A[K [1A[K [1A[K[32mLoading:[0m Fetching repository @com_github_grpc_grpc; starting Fetching ...K/out/external/com_github_grpc_grpc; Extracting v1.47.0.tar.gz [1A[K [1A[K [1A[K[32mLoading:[0m Fetching repository @upb; starting [1A[K [1A[K[32mLoading:[0m Fetching repository @com_google_protobuf; starting Fetching repository @com_google_googleapis; starting Fetching ...ZK/out/external/com_google_protobuf; Extracting v3.19.6.tar.gz Fetching ...leapis; Extracting 2f9af297c84c55c8b871ba4495e01ade42476c92.ta\ r.gz Fetching repository @bazel_gazelle; starting Fetching ...xternal/bazel_gazelle; Extracting bazel-gazelle-v0.24.0.tar.gz [1A[K [1A[K [1A[K [1A[K [1A[K [1A[K [1A[K [1A[K[32mLoading:[0m Fetching repository @com_google_protobuf; starting Fetching repository @com_google_googleapis; starting Fetching ...ZK/out/external/com_google_protobuf; Extracting v3.19.6.tar.gz Fetching ...leapis; Extracting 2f9af297c84c55c8b871ba4495e01ade42476c92.ta\ r.gz [1A[K [1A[K [1A[K [1A[K [1A[K [1A[K[32mLoading:[0m Fetching repository @com_google_protobuf; Patching repository Fetching repository @com_google_googleapis; starting Fetching ...leapis; Extracting 2f9af297c84c55c8b871ba4495e01ade42476c92.ta\ r.gz [1A[K [1A[K [1A[K [1A[K [1A[K[32mLoading:[0m Fetching repository @com_google_googleapis; starting Fetching ...leapis; Extracting 2f9af297c84c55c8b871ba4495e01ade42476c92.ta\ r.gz [1A[K [1A[K [1A[K [1A[K[32mLoading:[0m [1A[K[32mLoading:[0m [1A[K[32mLoading:[0m 0 packages loaded [1A[K[32mLoading:[0m 1 packages loaded [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (1 packages loaded) [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (1 packages loaded, 0 targets configured) [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (3 packages loaded, 3 targets configured) currently loading: [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (4 packages loaded, 3 targets configured) [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (10 packages loaded, 18 targets configured\ ) currently loading: src/main/tools ... (4 packages) [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (51 packages loaded, 54 targets configured\ ) currently loading: third_party ... (10 packages) Fetching repository @local_jdk; starting Fetching repository @rules_proto; Patching repository Fetching repository @rules_cc; starting Fetching ...KjagZK/out/external/rules_cc; Extracting rules_cc-0.0.2.tar.gz [1A[K [1A[K [1A[K [1A[K [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (59 packages loaded, 58 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 [1A[K [1A[K [1A[K [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (61 packages loaded, 58 targets configured\ ) Fetching repository @local_jdk; starting [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (94 packages loaded, 243 targets configure\ d) currently loading: tools/config ... (2 packages) Fetching repository @local_jdk; starting [1A[K [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (118 packages loaded, 602 targets configur\ ed) [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (125 packages loaded, 882 targets configur\ ed) Fetching repository @local_config_cc; starting [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (125 packages loaded, 882 targets configur\ ed) Fetching repository @local_config_cc; starting [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (125 packages loaded, 882 targets configur\ ed) Fetching repository @local_config_cc; starting [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (128 packages loaded, 937 targets configur\ ed) currently loading: @bazel_tools//src/tools/launcher ... (3 packages) [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (166 packages loaded, 1130 targets configu\ red) currently loading: @com_google_protobuf// ... (8 packages) [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (184 packages loaded, 1419 targets configu\ red) currently loading: @com_google_protobuf// ... (4 packages) [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (228 packages loaded, 1965 targets configu\ red) currently loading: @com_google_protobuf// ... (8 packages) Fetching repository @blake3; starting Fetching /tmp/bazel_XXKjagZK/out/external/blake3; Extracting 1.3.3.zip Fetching repository @zstd-jni; starting [1A[K [1A[K [1A[K [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (266 packages loaded, 2197 targets configu\ red) currently loading: @com_google_protobuf// ... (10 packages) Fetching repository @blake3; starting Fetching /tmp/bazel_XXKjagZK/out/external/blake3; Extracting 1.3.3.zip Fetching repository @zstd-jni; starting Fetching .../bazel_XXKjagZK/out/external/zstd-jni; Extracting v1.5.2-3.zip [1A[K [1A[K [1A[K [1A[K [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (285 packages loaded, 2244 targets configu\ red) currently loading: @com_github_grpc_grpc// ... (3 packages) Fetching repository @blake3; Patching repository Fetching repository @zstd-jni; starting Fetching .../bazel_XXKjagZK/out/external/zstd-jni; Extracting v1.5.2-3.zip [1A[K [1A[K [1A[K [1A[K [1A[K [1A[K[32mAnalyzing:[0m target //src:bazel_nojdk (291 packages loaded, 2477 targets configu\ red) currently loading: @com_github_grpc_grpc// ... (4 packages) Fetching repository @zstd-jni; starting Fetching .../bazel_XXKjagZK/out/external/zstd-jni; Extracting v1.5.2-3.zip [1A[K [1A[K [1A[K [1A[K [1A[K[31m[1mERROR: [0m/tmp/bazel_XXKjagZK/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' [32mAnalyzing:[0m target //src:bazel_nojdk (291 packages loaded, 2477 targets configu\ red) currently loading: @com_github_grpc_grpc// ... (4 packages) Fetching repository @zstd-jni; starting Fetching .../bazel_XXKjagZK/out/external/zstd-jni; Extracting v1.5.2-3.zip [1A[K [1A[K [1A[K [1A[K [1A[K[31m[1mERROR: [0m/tmp/bazel_XXKjagZK/out/external/local_config_cc/BUILD:47:19: Analysis of target '@local_config_cc//:toolchain' failed [32mAnalyzing:[0m target //src:bazel_nojdk (291 packages loaded, 2477 targets configu\ red) currently loading: @com_github_grpc_grpc// ... (4 packages) Fetching repository @zstd-jni; starting Fetching .../bazel_XXKjagZK/out/external/zstd-jni; Extracting v1.5.2-3.zip [1A[K [1A[K [1A[K [1A[K [1A[K[32mINFO: [0mRepository zstd-jni instantiated at: /home/pbulk/build/devel/bazel/work/WORKSPACE:287:18: in <toplevel> /home/pbulk/build/devel/bazel/work/distdir.bzl:94:17: in dist_http_archive Repository rule http_archive defined at: /home/pbulk/build/devel/bazel/work/tools/build_defs/repo/http.bzl:372:31: in <toplevel> [32mAnalyzing:[0m target //src:bazel_nojdk (295 packages loaded, 2480 targets configu\ red) Fetching repository @zstd-jni; starting Fetching .../bazel_XXKjagZK/out/external/zstd-jni; Extracting v1.5.2-3.zip [1A[K [1A[K [1A[K [1A[K[31m[1mERROR: [0mAnalysis of target '//src:bazel_nojdk' failed; build aborted: [32mAnalyzing:[0m target //src:bazel_nojdk (295 packages loaded, 2480 targets configu\ red) Fetching .../bazel_XXKjagZK/out/external/zstd-jni; Extracting v1.5.2-3.zip [1A[K [1A[K [1A[K[32mINFO: [0mElapsed time: 17.405s [32mAnalyzing:[0m target //src:bazel_nojdk (295 packages loaded, 2480 targets configu\ red) Fetching .../bazel_XXKjagZK/out/external/zstd-jni; Extracting v1.5.2-3.zip [1A[K [1A[K [1A[K[32mINFO: [0m0 processes. [32mAnalyzing:[0m target //src:bazel_nojdk (295 packages loaded, 2480 targets configu\ red) Fetching .../bazel_XXKjagZK/out/external/zstd-jni; Extracting v1.5.2-3.zip [1A[K [1A[K [1A[K[31m[1mFAILED:[0m Build did NOT complete successfully (295 packages loaded, 2480 targets\ configured) Fetching .../bazel_XXKjagZK/out/external/zstd-jni; Extracting v1.5.2-3.zip [0m 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