D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/bazel-4.0.0-1.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rYNBk1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf bazel-4.0.0 + /usr/bin/mkdir -p bazel-4.0.0 + cd bazel-4.0.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/bazel-4.0.0-dist.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/protobuf-3.11.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/bazel-1.0.0-log-warning.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp /home/pterjan/rpmbuild/SOURCES/protobuf-3.11.3.tar.gz derived/distdir/v3.11.3.tar.gz + sed -i 's|env python|python3|' src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java + sed -i 's|env python|python3|' src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt + sed -i 's|/usr/bin/python|/usr/bin/python3|' src/test/java/com/google/devtools/build/lib/analysis/SourceManifestActionTest.java + sed -i 's|env python|python3|g' src/test/py/bazel/launcher_test.py + pathfix.py -pni '/usr/bin/python3 -s' third_party/py/mock/setup.py protobuf-3.11.3/generate_changelog.py protobuf-3.11.3/update_compatibility_version.py protobuf-3.11.3/conformance/update_failure_list.py protobuf-3.11.3/conformance/conformance_python.py protobuf-3.11.3/benchmarks/util/big_query_utils.py protobuf-3.11.3/update_version.py protobuf-3.11.3/python/setup.py protobuf-3.11.3/python/google/protobuf/internal/message_factory_test.py protobuf-3.11.3/python/google/protobuf/internal/text_encoding_test.py protobuf-3.11.3/python/google/protobuf/internal/descriptor_pool_test.py protobuf-3.11.3/python/google/protobuf/internal/service_reflection_test.py protobuf-3.11.3/python/google/protobuf/internal/keywords_test.py protobuf-3.11.3/python/google/protobuf/internal/proto_builder_test.py protobuf-3.11.3/python/google/protobuf/internal/descriptor_database_test.py protobuf-3.11.3/python/google/protobuf/internal/wire_format_test.py protobuf-3.11.3/python/google/protobuf/internal/reflection_test.py protobuf-3.11.3/python/google/protobuf/internal/json_format_test.py protobuf-3.11.3/python/google/protobuf/internal/descriptor_test.py protobuf-3.11.3/python/google/protobuf/internal/symbol_database_test.py protobuf-3.11.3/python/google/protobuf/internal/generator_test.py protobuf-3.11.3/python/google/protobuf/internal/unknown_fields_test.py protobuf-3.11.3/python/google/protobuf/internal/message_test.py protobuf-3.11.3/python/google/protobuf/internal/well_known_types_test.py protobuf-3.11.3/python/google/protobuf/internal/text_format_test.py protobuf-3.11.3/python/google/protobuf/internal/_parameterized.py protobuf-3.11.3/python/compatibility_tests/v2.5.0/setup.py protobuf-3.11.3/examples/list_people.py protobuf-3.11.3/examples/add_person.py protobuf-3.11.3/objectivec/DevTools/pddm_tests.py protobuf-3.11.3/objectivec/DevTools/pddm.py protobuf-3.11.3/python/stubout.py protobuf-3.11.3/python/mox.py protobuf-3.11.3/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/service_reflection_test.py protobuf-3.11.3/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/wire_format_test.py protobuf-3.11.3/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/descriptor_test.py protobuf-3.11.3/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/generator_test.py protobuf-3.11.3/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/message_test.py protobuf-3.11.3/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/text_format_test.py third_party/py/mock/setup.py: updating protobuf-3.11.3/generate_changelog.py: updating protobuf-3.11.3/update_compatibility_version.py: updating protobuf-3.11.3/conformance/update_failure_list.py: updating protobuf-3.11.3/conformance/conformance_python.py: updating protobuf-3.11.3/benchmarks/util/big_query_utils.py: updating protobuf-3.11.3/update_version.py: updating protobuf-3.11.3/python/setup.py: updating protobuf-3.11.3/python/google/protobuf/internal/message_factory_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/text_encoding_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/descriptor_pool_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/service_reflection_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/keywords_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/proto_builder_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/descriptor_database_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/wire_format_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/reflection_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/json_format_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/descriptor_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/symbol_database_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/generator_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/unknown_fields_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/message_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/well_known_types_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/text_format_test.py: updating protobuf-3.11.3/python/google/protobuf/internal/_parameterized.py: updating protobuf-3.11.3/python/compatibility_tests/v2.5.0/setup.py: updating protobuf-3.11.3/examples/list_people.py: updating protobuf-3.11.3/examples/add_person.py: updating protobuf-3.11.3/objectivec/DevTools/pddm_tests.py: updating protobuf-3.11.3/objectivec/DevTools/pddm.py: updating protobuf-3.11.3/python/stubout.py: updating protobuf-3.11.3/python/mox.py: updating protobuf-3.11.3/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/service_reflection_test.py: updating protobuf-3.11.3/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/wire_format_test.py: updating protobuf-3.11.3/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/descriptor_test.py: updating protobuf-3.11.3/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/generator_test.py: updating protobuf-3.11.3/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/message_test.py: updating protobuf-3.11.3/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/text_format_test.py: updating + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lchBsY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd bazel-4.0.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-17.0.3.0.7-1.3.mga9.x86_64 + JAVA_HOME=/usr/lib/jvm/java-17-openjdk-17.0.3.0.7-1.3.mga9.x86_64 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + find . -type f -regextype posix-extended -iregex '.*(sh|txt|py|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)' -exec /usr/bin/sed -i -e '1s|^#!/usr/bin/env python$|#!/usr/bin/python3|' '{}' ';' +++ head -1 CHANGELOG.md +++ /usr/bin/grep -Eo '\b[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\b' ++ date -d 2021-01-21 +%s + export SOURCE_DATE_EPOCH=1611187200 + SOURCE_DATE_EPOCH=1611187200 + export EMBED_LABEL=4.0.0 + EMBED_LABEL=4.0.0 + export CC=clang + CC=clang + export CXX=clang++ + CXX=clang++ + export TMPDIR=/home/pterjan/rpmbuild/tmp/ + TMPDIR=/home/pterjan/rpmbuild/tmp/ + export 'EXTRA_BAZEL_ARGS= --experimental_ui=yes --color=no --curses=yes --build_python_zip' + EXTRA_BAZEL_ARGS=' --experimental_ui=yes --color=no --curses=yes --build_python_zip' + export 'EXTRA_BAZEL_ARGS= --experimental_ui=yes --color=no --curses=yes --build_python_zip --sandbox_debug --host_javabase=@local_jdk//:jdk --verbose_failures' + EXTRA_BAZEL_ARGS=' --experimental_ui=yes --color=no --curses=yes --build_python_zip --sandbox_debug --host_javabase=@local_jdk//:jdk --verbose_failures' + env ./compile.sh Building Bazel from scratch...... Building Bazel with Bazel. .OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release. WARNING: Option 'ui' is deprecated Loading: Loading: 0 packages loaded Loading: 0 packages loaded Fetching @bazel_toolchains; fetching Loading: 0 packages loaded Fetching @bazel_toolchains; fetching Fetching ...chains; Extracting /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/o\ ut/external/bazel_toolchains/temp14107261808367002976/bazel-toolchains-3.1.0.t\ ar.gz Loading: 0 packages loaded Fetching @bazel_toolchains; fetching DEBUG: /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/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' Loading: 0 packages loaded DEBUG: /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/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 Loading: 0 packages loaded DEBUG: /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/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' Loading: 0 packages loaded DEBUG: /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/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 Fetching @io_bazel_skydoc; fetching Fetching ...skydoc; Extracting /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/o\ ut/external/io_bazel_skydoc/temp9573999113796477193/1ef781ced3b1443dca3ed05dec\ 1989eca1a4e1cd.tar.gz Loading: 0 packages loaded Fetching @build_bazel_rules_nodejs; fetching Loading: 0 packages loaded Fetching @local_config_winsdk; fetching Loading: 0 packages loaded Fetching @com_github_grpc_grpc; fetching Fetching ...c_grpc; Extracting /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/o\ ut/external/com_github_grpc_grpc/temp9688326319181021880/v1.32.0.tar.gz Loading: 0 packages loaded Fetching @com_github_grpc_grpc; fetching Fetching ...c_grpc; Extracting /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/o\ ut/external/com_github_grpc_grpc/temp9688326319181021880/v1.32.0.tar.gz Loading: 0 packages loaded Fetching @com_github_grpc_grpc; fetching Loading: 0 packages loaded currently loading: src Analyzing: target //src:bazel_nojdk (1 packages loaded, 0 targets configured) Analyzing: target //src:bazel_nojdk (4 packages loaded, 5 targets configured) currently loading: Fetching @rules_java; fetching Fetching https://mirror.bazel.build/...f178.zip; Checking in SHA-256 cache Analyzing: target //src:bazel_nojdk (6 packages loaded, 8 targets configured) currently loading: src/main/cpp Fetching @rules_cc; fetching Analyzing: target //src:bazel_nojdk (20 packages loaded, 51 targets configured\ ) currently loading: @build_bazel_rules_nodejs//toolchains/node ... (10 pack\ ages) Fetching @local_config_cc_toolchains; fetching Analyzing: target //src:bazel_nojdk (44 packages loaded, 119 targets configure\ d) currently loading: src/main/protobuf ... (5 packages) Fetching @com_google_protobuf; fetching Fetching @rules_proto; Patching repository Fetching @local_config_cc; fetching Analyzing: target //src:bazel_nojdk (50 packages loaded, 120 targets configure\ d) currently loading: src/main/protobuf Fetching @com_google_protobuf; fetching Fetching @local_config_cc; fetching Fetching ...otobuf; Extracting /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/o\ ut/external/com_google_protobuf/temp11877490809808484925/v3.13.0.tar.gz Analyzing: target //src:bazel_nojdk (50 packages loaded, 120 targets configure\ d) currently loading: src/main/protobuf Fetching @com_google_protobuf; fetching Fetching @local_config_cc; fetching Analyzing: target //src:bazel_nojdk (77 packages loaded, 522 targets configure\ d) currently loading: @com_google_protobuf// ... (6 packages) Analyzing: target //src:bazel_nojdk (130 packages loaded, 796 targets configur\ ed) currently loading: tools/allowlists/config_feature_flag ... (3 packages) Analyzing: target //src:bazel_nojdk (169 packages loaded, 2226 targets configu\ red) Fetching @com_github_google_re2; fetching Fetching ...1fac5497aeb844b6966106de3eb6.tar.gz; Checking in SHA-256 cache Analyzing: target //src:bazel_nojdk (198 packages loaded, 3193 targets configu\ red) currently loading: src/main/java/com/google/devtools/build/lib/skyframe ..\ . (6 packages) Fetching @com_github_google_re2; fetching Fetching @com_google_absl; fetching Fetching ...le_re2; Extracting /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/o\ ut/external/com_github_google_re2/temp926456167898889628/aecba11114cf1fac5497a\ eb844b6966106de3eb6.tar.gz Fetching ...e_absl; Extracting /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/o\ ut/external/com_google_absl/temp6814137153036993144/df3ea785d8c30a9503321a3d35\ ee7d35808f190d.tar.gz Fetching @com_github_cares_cares; fetching Fetching ..._cares; Extracting /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/o\ ut/external/com_github_cares_cares/temp8775690745037213506/e982924acee7f7313b4\ baa4ee5ec000c5e373c30.tar.gz Analyzing: target //src:bazel_nojdk (226 packages loaded, 3929 targets configu\ red) currently loading: @com_github_google_re2// ... (2 packages) Fetching @com_google_absl; fetching Fetching ...e_absl; Extracting /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/o\ ut/external/com_google_absl/temp6814137153036993144/df3ea785d8c30a9503321a3d35\ ee7d35808f190d.tar.gz Fetching @com_github_cares_cares; fetching Analyzing: target //src:bazel_nojdk (291 packages loaded, 5854 targets configu\ red) currently loading: third_party/java/aosp_gradle_core ... (3 packages) Fetching @com_google_absl; fetching Fetching ...e_absl; Extracting /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/o\ ut/external/com_google_absl/temp6814137153036993144/df3ea785d8c30a9503321a3d35\ ee7d35808f190d.tar.gz Analyzing: target //src:bazel_nojdk (317 packages loaded, 8587 targets configu\ red) Fetching @com_google_absl; fetching Fetching ...e_absl; Extracting /home/pterjan/rpmbuild/tmp/bazel_XKAYH6BF/o\ ut/external/com_google_absl/temp6814137153036993144/df3ea785d8c30a9503321a3d35\ ee7d35808f190d.tar.gz Analyzing: target //src:bazel_nojdk (333 packages loaded, 9346 targets configu\ red) INFO: Analyzed target //src:bazel_nojdk (333 packages loaded, 9360 targets configured). INFO: Found 1 target... [0 / 6] [Prepa] BazelWorkspaceStatusAction stable-status.txt FATAL: bazel crashed due to an internal error. Printing stack trace: java.lang.ExceptionInInitializerError at com.google.devtools.build.lib.actions.ParameterFile.writeContent(ParameterFile.java:118) at com.google.devtools.build.lib.actions.ParameterFile.writeParameterFile(ParameterFile.java:111) at com.google.devtools.build.lib.analysis.actions.ParameterFileWriteAction$ParamFileWriter.writeOutputFile(ParameterFileWriteAction.java:175) at com.google.devtools.build.lib.exec.FileWriteStrategy.beginWriteOutputToFile(FileWriteStrategy.java:58) at com.google.devtools.build.lib.analysis.actions.AbstractFileWriteAction.beginExecution(AbstractFileWriteAction.java:66) at com.google.devtools.build.lib.actions.Action.execute(Action.java:127) at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$5.execute(SkyframeActionExecutor.java:855) at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$ActionRunner.continueAction(SkyframeActionExecutor.java:1016) at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$ActionRunner.run(SkyframeActionExecutor.java:975) at com.google.devtools.build.lib.skyframe.ActionExecutionState.runStateMachine(ActionExecutionState.java:129) at com.google.devtools.build.lib.skyframe.ActionExecutionState.getResultOrDependOnFuture(ActionExecutionState.java:81) at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor.executeAction(SkyframeActionExecutor.java:472) at com.google.devtools.build.lib.skyframe.ActionExecutionFunction.checkCacheAndExecuteIfNeeded(ActionExecutionFunction.java:834) at com.google.devtools.build.lib.skyframe.ActionExecutionFunction.compute(ActionExecutionFunction.java:307) at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:477) at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make java.lang.String(byte[],byte) accessible: module java.base does not "opens java.lang" to unnamed module @7fc69fa3 at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) at java.base/java.lang.reflect.Constructor.checkCanSetAccessible(Constructor.java:188) at java.base/java.lang.reflect.Constructor.setAccessible(Constructor.java:181) at com.google.devtools.build.lib.unsafe.StringUnsafe.(StringUnsafe.java:75) at com.google.devtools.build.lib.unsafe.StringUnsafe.initInstance(StringUnsafe.java:56) at com.google.devtools.build.lib.unsafe.StringUnsafe.(StringUnsafe.java:37) ... 19 more ERROR: Could not build Bazel error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.lchBsY (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.lchBsY (%build) I: [iurt_root_command] ERROR: chroot