Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ANNC.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP3-x86_64-1755835363.995988/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ANNC.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ANNC-0.0.2-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ANNC.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP3-x86_64-1755835363.995988/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ANNC.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ANNC-0.0.2-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ANNC.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP3-x86_64-1755835363.995988/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ANNC.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FT1n3s + umask 022 + cd /builddir/build/BUILD + cat /builddir/build/SOURCES/external.tar.gz.aa /builddir/build/SOURCES/external.tar.gz.ab + tar xf external.tar.gz -C . + tar xf /builddir/build/SOURCES/XNNPACK.tar.gz -C . + echo 'Patch #0 (x86_64_external_files.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 -d . Patch #0 (x86_64_external_files.patch): patching file external/local_config_cc/BUILD patching file external/local_config_cc/builtin_include_directory_paths patching file external/go_sdk/BUILD.bazel patching file external/go_sdk/src/internal/buildcfg/zbootstrap.go patching file external/local_config_cc_toolchains/BUILD patching file external/local_config_platform/constraints.bzl patching file external/local_execution_config_platform/BUILD Patch #0 (x86_64_external_files.patch): + echo 'Patch #0 (x86_64_external_files.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 -d . patching file external/local_config_cc/BUILD Hunk #1 FAILED at 47. Hunk #2 FAILED at 72. Hunk #3 FAILED at 80. Hunk #4 FAILED at 91. 4 out of 4 hunks FAILED -- saving rejects to file external/local_config_cc/BUILD.rej patching file external/local_config_cc/builtin_include_directory_paths Hunk #1 FAILED at 4. Hunk #2 FAILED at 15. 2 out of 2 hunks FAILED -- saving rejects to file external/local_config_cc/builtin_include_directory_paths.rej patching file external/go_sdk/BUILD.bazel Hunk #1 FAILED at 7. Hunk #2 FAILED at 34. Hunk #3 FAILED at 60. 3 out of 3 hunks FAILED -- saving rejects to file external/go_sdk/BUILD.bazel.rej patching file external/go_sdk/src/internal/buildcfg/zbootstrap.go Hunk #1 FAILED at 12. 1 out of 1 hunk FAILED -- saving rejects to file external/go_sdk/src/internal/buildcfg/zbootstrap.go.rej patching file external/local_config_cc_toolchains/BUILD Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file external/local_config_cc_toolchains/BUILD.rej patching file external/local_config_platform/constraints.bzl Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file external/local_config_platform/constraints.bzl.rej patching file external/local_execution_config_platform/BUILD Hunk #1 FAILED at 18. 1 out of 1 hunk FAILED -- saving rejects to file external/local_execution_config_platform/BUILD.rej RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.FT1n3s (%prep) Bad exit status from /var/tmp/rpm-tmp.FT1n3s (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ANNC.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ANNC.spec