Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/opencode.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP4-x86_64-1793329041.931240/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/opencode.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/opencode-1.19.5-2.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/opencode.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP4-x86_64-1793329041.931240/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/opencode.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/opencode-1.19.5-2.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/opencode.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP4-x86_64-1793329041.931240/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/opencode.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.zhJPIi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + src_ok=0 + '[' -s /builddir/build/SOURCES/opencode-1.19.5.tar.gz ']' + tar -tzf /builddir/build/SOURCES/opencode-1.19.5.tar.gz + grep -q '^opencode-1.19.5/' + echo 'Using source archive shipped in the SRPM: /builddir/build/SOURCES/opencode-1.19.5.tar.gz' Using source archive shipped in the SRPM: /builddir/build/SOURCES/opencode-1.19.5.tar.gz + cp -f /builddir/build/SOURCES/opencode-1.19.5.tar.gz src.tar.gz + src_ok=1 + '[' 1 '!=' 1 ']' + '[' 1 '!=' 1 ']' + tar -xzf src.tar.gz + cd opencode-1.19.5 + rm -rf .git + rm -rf packages/console packages/stats packages/enterprise packages/desktop packages/docs packages/web packages/storybook packages/slack packages/identity packages/containers packages/cli packages/sdk-next packages/function + rm -rf packages/client/test packages/codemode/test packages/core/test packages/effect-drizzle-sqlite/test packages/http-recorder/test packages/httpapi-codegen/test packages/llm/test packages/opencode/test packages/protocol/test packages/schema/test packages/tui/test packages/ui/test 'packages/*/tests' packages/app/e2e packages/app/test-browser 'packages/*/bench' 'packages/*/storybook' 'packages/*/docs' packages/effect-drizzle-sqlite/examples packages/llm/example 'packages/*/__tests__' packages/app/README.md packages/client/README.md packages/codemode/README.md packages/http-recorder/README.md packages/httpapi-codegen/README.md packages/llm/README.md packages/opencode/README.md packages/sdk/js/test 'packages/*/*/tests' 'packages/*/*/e2e' 'packages/*/*/README*' sdks github nix infra specs .github README.ar.md README.bn.md README.br.md README.bs.md README.da.md README.de.md README.es.md README.fr.md README.gr.md README.it.md README.ja.md README.ko.md README.md README.no.md README.pl.md README.ru.md README.th.md README.tr.md README.uk.md README.vi.md README.zh.md README.zht.md AGENTS.md CONTRIBUTING.md STATS.md CONTEXT.md perf screenshot-uk.png + mkdir -p .github + printf '# build stub: team list is only used by upstream release tooling\n' + python3 - + xz -dc /builddir/build/SOURCES/models-api.json.xz + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IBLuHx + umask 022 + cd /builddir/build/BUILD + cd opencode-1.19.5 + export HOME=/builddir/build/BUILD/opencode-1.19.5/.home + HOME=/builddir/build/BUILD/opencode-1.19.5/.home + mkdir -p /builddir/build/BUILD/opencode-1.19.5/.home + curl --fail --location --retry 3 --connect-timeout 30 --output node.tar.xz https://mirrors.huaweicloud.com/nodejs/v24.18.0/node-v24.18.0-linux-x64.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: mirrors.huaweicloud.com Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: mirrors.huaweicloud.com Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: mirrors.huaweicloud.com Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: mirrors.huaweicloud.com error: Bad exit status from /var/tmp/rpm-tmp.IBLuHx (%build) Bad exit status from /var/tmp/rpm-tmp.IBLuHx (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/opencode.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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/opencode.spec