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-1793266854.070738/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=FalseprintOutput=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-1793266854.070738/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=FalseprintOutput=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-1793266854.070738/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=FalseprintOutput=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.tfh4Um + umask 022 + cd /builddir/build/BUILD Fetching source from https://ghfast.top/https://github.com/anomalyco/opencode/archive/refs/tags/v1.19.5.tar.gz + cd /builddir/build/BUILD + src_ok=0 + for url in "https://ghfast.top/https://github.com/anomalyco/opencode/archive/refs/tags/v1.19.5.tar.gz" "https://gh.llkk.cc/https://github.com/anomalyco/opencode/archive/refs/tags/v1.19.5.tar.gz" "https://gh-proxy.com/https://github.com/anomalyco/opencode/archive/refs/tags/v1.19.5.tar.gz" + echo 'Fetching source from https://ghfast.top/https://github.com/anomalyco/opencode/archive/refs/tags/v1.19.5.tar.gz' + curl --fail --location --retry 2 --connect-timeout 30 --max-time 900 --output src.tar.gz https://ghfast.top/https://github.com/anomalyco/opencode/archive/refs/tags/v1.19.5.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 71.2M 0 32201 0 0 18010 0 1:09:09 0:00:01 1:09:08 18009 0 71.2M 0 319k 0 0 115k 0 0:10:30 0:00:02 0:10:28 115k 1 71.2M 1 943k 0 0 250k 0 0:04:51 0:00:03 0:04:48 250k 3 71.2M 3 2623k 0 0 546k 0 0:02:13 0:00:04 0:02:09 546k 5 71.2M 5 4223k 0 0 731k 0 0:01:39 0:00:05 0:01:34 862k 7 71.2M 7 5423k 0 0 802k 0 0:01:30 0:00:06 0:01:24 1084k 10 71.2M 10 7903k 0 0 984k 0 0:01:14 0:00:08 0:01:06 1439k 13 71.2M 13 9615k 0 0 1082k 0 0:01:07 0:00:08 0:00:59 1695k 15 71.2M 15 11.2M 0 0 1165k 0 0:01:02 0:00:09 0:00:53 1747k 18 71.2M 18 12.9M 0 0 1231k 0 0:00:59 0:00:10 0:00:49 1811k 21 71.2M 21 15.3M 0 0 1322k 0 0:00:55 0:00:11 0:00:44 2009k 24 71.2M 24 17.4M 0 0 1402k 0 0:00:52 0:00:12 0:00:40 2110k 27 71.2M 27 19.9M 0 0 1478k 0 0:00:49 0:00:13 0:00:36 2194k 31 71.2M 31 22.6M 0 0 1568k 0 0:00:46 0:00:14 0:00:32 2379k 35 71.2M 35 25.5M 0 0 1660k 0 0:00:43 0:00:15 0:00:28 2585k 39 71.2M 39 28.3M 0 0 1736k 0 0:00:42 0:00:16 0:00:26 2746k 45 71.2M 45 32.0M 0 0 1850k 0 0:00:39 0:00:17 0:00:22 2996k 49 71.2M 49 35.2M 0 0 1921k 0 0:00:37 0:00:18 0:00:19 3149k 54 71.2M 54 38.7M 0 0 2001k 0 0:00:36 0:00:19 0:00:17 3283k 58 71.2M 58 41.5M 0 0 2045k 0 0:00:35 0:00:20 0:00:15 3251k 62 71.2M 62 44.5M 0 0 2081k 0 0:00:35 0:00:21 0:00:14 3201k 66 71.2M 66 47.2M 0 0 2125k 0 0:00:34 0:00:22 0:00:12 3100k 71 71.2M 71 50.6M 0 0 2182k 0 0:00:33 0:00:23 0:00:10 3158k 75 71.2M 75 53.4M 0 0 2209k 0 0:00:33 0:00:24 0:00:09 3041k 79 71.2M 79 56.5M 0 0 2245k 0 0:00:32 0:00:25 0:00:07 3075k 82 71.2M 82 58.7M 0 0 2247k 0 0:00:32 0:00:26 0:00:06 2996k 85 71.2M 85 60.6M 0 0 2231k 0 0:00:32 0:00:27 0:00:05 2707k 87 71.2M 87 62.0M 0 0 2208k 0 0:00:33 0:00:28 0:00:05 2336k 90 71.2M 90 64.6M 0 0 2217k 0 0:00:32 0:00:29 0:00:03 2252k 93 71.2M 93 66.4M 0 0 2209k 0 0:00:33 0:00:30 0:00:03 2023k 96 71.2M 96 68.5M 0 0 2197k 0 0:00:33 0:00:31 0:00:02 1938k 99 71.2M 99 70.9M 0 0 2209k 0 0:00:33 0:00:32 0:00:01 2083k 100 71.2M 100 71.2M 0 0 2213k 0 0:00:32 0:00:32 --:--:-- 2243k + tar -tzf src.tar.gz + head -1 + grep -q '^opencode-1.19.5/' + src_ok=1 + break + '[' 1 '!=' 1 ']' + tar -xzf src.tar.gz + cd opencode-1.19.5 + 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 + 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.syLjlK + 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 --:--:-- --:--:-- --:--:-- 0 33 30.0M 33 10.0M 0 0 9207k 0 0:00:03 0:00:01 0:00:02 9209k 66 30.0M 66 20.0M 0 0 9690k 0 0:00:03 0:00:02 0:00:01 9693k 99 30.0M 99 30.0M 0 0 9870k 0 0:00:03 0:00:03 --:--:-- 9873k 100 30.0M 100 30.0M 0 0 9877k 0 0:00:03 0:00:03 --:--:-- 9878k + echo '55aa7153f9d88f28d765fcdad5ae6945b5c0f98a36881703817e4c450fa76742 node.tar.xz' + sha256sum -c - node.tar.xz: OK + mkdir -p /builddir/build/BUILD/opencode-1.19.5/.home/node + tar -xJf node.tar.xz -C /builddir/build/BUILD/opencode-1.19.5/.home/node --strip-components=1 + export PATH=/builddir/build/BUILD/opencode-1.19.5/.home/node/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILD/opencode-1.19.5/.home/node/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + node --version v24.18.0 + npm --version 11.16.0 + curl --fail --location --retry 3 --connect-timeout 30 --output bun.tgz https://mirrors.huaweicloud.com/repository/npm/@oven/bun-linux-x64/-/bun-linux-x64-1.4.4.tgz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 49.9M 0 56486 0 0 276k 0 0:03:05 --:--:-- 0:03:05 275k 25 49.9M 25 12.9M 0 0 10.8M 0 0:00:04 0:00:01 0:00:03 10.8M 43 49.9M 43 21.5M 0 0 9.8M 0 0:00:05 0:00:02 0:00:03 9.8M 63 49.9M 63 31.5M 0 0 9.8M 0 0:00:05 0:00:03 0:00:02 9.8M 83 49.9M 83 41.5M 0 0 9.8M 0 0:00:05 0:00:04 0:00:01 9.8M 100 49.9M 100 49.9M 0 0 11.5M 0 0:00:04 0:00:04 --:--:-- 12.1M + echo '93ca5a2abe45f3bcac6dd55baff8bb06c4ac824b70f89650b54e5c8b80dbef18 bun.tgz' + sha256sum -c - bun.tgz: OK + mkdir -p /builddir/build/BUILD/opencode-1.19.5/.home/bun + tar -xzf bun.tgz -C /builddir/build/BUILD/opencode-1.19.5/.home/bun --strip-components=1 + export PATH=/builddir/build/BUILD/opencode-1.19.5/.home/bun/bin:/builddir/build/BUILD/opencode-1.19.5/.home/node/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILD/opencode-1.19.5/.home/bun/bin:/builddir/build/BUILD/opencode-1.19.5/.home/node/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + bun --version 1.4.4 + export npm_config_registry=https://mirrors.huaweicloud.com/repository/npm/ + npm_config_registry=https://mirrors.huaweicloud.com/repository/npm/ + export NPM_CONFIG_REGISTRY=https://mirrors.huaweicloud.com/repository/npm/ + NPM_CONFIG_REGISTRY=https://mirrors.huaweicloud.com/repository/npm/ + export BUN_CONFIG_REGISTRY=https://mirrors.huaweicloud.com/repository/npm/ + BUN_CONFIG_REGISTRY=https://mirrors.huaweicloud.com/repository/npm/ + export npm_config_prefix=/builddir/build/BUILD/opencode-1.19.5/.home/npm-global + npm_config_prefix=/builddir/build/BUILD/opencode-1.19.5/.home/npm-global + export NPM_CONFIG_PREFIX=/builddir/build/BUILD/opencode-1.19.5/.home/npm-global + NPM_CONFIG_PREFIX=/builddir/build/BUILD/opencode-1.19.5/.home/npm-global + mkdir -p /builddir/build/BUILD/opencode-1.19.5/.home/npm-global + export PATH=/builddir/build/BUILD/opencode-1.19.5/.home/npm-global/bin:/builddir/build/BUILD/opencode-1.19.5/.home/bun/bin:/builddir/build/BUILD/opencode-1.19.5/.home/node/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILD/opencode-1.19.5/.home/npm-global/bin:/builddir/build/BUILD/opencode-1.19.5/.home/bun/bin:/builddir/build/BUILD/opencode-1.19.5/.home/node/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + npm install -g node-gyp added 20 packages in 2s 2 packages are looking for funding run `npm fund` for details npm notice npm notice New major version of npm available! 11.16.0 -> 12.2.1 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.1 npm notice To update run: npm install -g npm@12.2.1 npm notice + node-gyp --version v13.1.0 + export BUN_INSTALL_CACHE_DIR=/builddir/build/BUILD/opencode-1.19.5/.home/bun-cache + BUN_INSTALL_CACHE_DIR=/builddir/build/BUILD/opencode-1.19.5/.home/bun-cache + export BUN_CONFIG_DISABLE_ANALYTICS=1 + BUN_CONFIG_DISABLE_ANALYTICS=1 + export MODELS_DEV_API_JSON=/builddir/build/BUILD/opencode-1.19.5/models-api.json + MODELS_DEV_API_JSON=/builddir/build/BUILD/opencode-1.19.5/models-api.json + export OPENCODE_VERSION=1.19.5 + OPENCODE_VERSION=1.19.5 + export OPENCODE_CHANNEL=prod + OPENCODE_CHANNEL=prod + export USE_HARD_LINKS=false + USE_HARD_LINKS=false + export HUSKY=0 + HUSKY=0 + bun install bun install v1.4.4 (38afee6c8) Resolving dependencies Resolved, downloaded and extracted [23] warn: patches/@standard-community%2Fstandard-openapi@0.2.9.patch no longer applies (@standard-community/standard-openapi is no longer installed) gyp info it worked if it ends with ok gyp info using node-gyp@13.1.0 gyp info using node@24.18.0 | linux | x64 gyp info find Python using Python version 3.11.6 found at "/usr/bin/python3" gyp http GET https://nodejs.org/download/release/v24.18.0/node-v24.18.0-headers.tar.gz gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack ConnectTimeoutError: Connect Timeout Error (attempted addresses: 104.16.212.131:443, 2606:4700::6810:d583:443, 104.16.213.131:443, 2606:4700::6810:d483:443, timeout: 10000ms) gyp ERR! stack at maybeNormalizeConnectError (/builddir/build/BUILD/opencode-1.19.5/.home/npm-global/lib/node_modules/node-gyp/node_modules/undici/lib/core/connect.js:191:21) gyp ERR! stack at TLSSocket. (/builddir/build/BUILD/opencode-1.19.5/.home/npm-global/lib/node_modules/node-gyp/node_modules/undici/lib/core/connect.js:165:14) gyp ERR! stack at TLSSocket.emit (node:events:509:28) gyp ERR! stack at emitErrorNT (node:internal/streams/destroy:170:8) gyp ERR! stack at emitErrorCloseNT (node:internal/streams/destroy:129:3) gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:90:21) gyp ERR! System Linux 6.6.0-83.0.0.88.oe2403sp1.x86_64 gyp ERR! command "/builddir/build/BUILD/opencode-1.19.5/.home/node/bin/node" "/builddir/build/BUILD/opencode-1.19.5/.home/npm-global/bin/node-gyp" "rebuild" gyp ERR! cwd /builddir/build/BUILD/opencode-1.19.5/node_modules/.bun/tree-sitter-powershell@0.25.10/node_modules/tree-sitter-powershell gyp ERR! node -v v24.18.0 gyp ERR! node-gyp -v v13.1.0 gyp ERR! $npm_package_name tree-sitter-powershell gyp ERR! $npm_package_version 0.25.10 gyp ERR! not ok error: install script from "tree-sitter-powershell" exited with 1 error: Bad exit status from /var/tmp/rpm-tmp.syLjlK (%build) Bad exit status from /var/tmp/rpm-tmp.syLjlK (%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