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-25.09-x86_64-1793281205.823174/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-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/opencode.spec'], chrootPath='/var/lib/mock/openeuler-25.09-x86_64-1793281205.823174/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-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/opencode.spec'], chrootPath='/var/lib/mock/openeuler-25.09-x86_64-1793281205.823174/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.pgxU6P + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + src_ok=0 Fetching source from https://ghfast.top/https://github.com/anomalyco/opencode/archive/refs/tags/v1.19.5.tar.gz + 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 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 71.2M 0 64932 0 0 26676 0 0:46:41 0:00:02 0:46:39 26677 0 71.2M 0 655k 0 0 183k 0 0:06:38 0:00:03 0:06:35 183k 1 71.2M 1 863k 0 0 208k 0 0:05:50 0:00:04 0:05:46 208k 2 71.2M 2 2159k 0 0 419k 0 0:02:53 0:00:05 0:02:48 441k 5 71.2M 5 3903k 0 0 632k 0 0:01:55 0:00:06 0:01:49 780k 7 71.2M 7 5359k 0 0 734k 0 0:01:39 0:00:07 0:01:32 1088k 9 71.2M 9 7055k 0 0 855k 0 0:01:25 0:00:08 0:01:17 1368k 11 71.2M 11 8719k 0 0 944k 0 0:01:17 0:00:09 0:01:08 1541k 14 71.2M 14 10.1M 0 0 1028k 0 0:01:10 0:00:10 0:01:00 1655k 16 71.2M 16 12.0M 0 0 1085k 0 0:01:07 0:00:11 0:00:56 1619k 19 71.2M 19 13.8M 0 0 1162k 0 0:01:02 0:00:12 0:00:50 1795k 20 71.2M 20 14.5M 0 0 1124k 0 0:01:04 0:00:13 0:00:51 1566k 22 71.2M 22 16.0M 0 0 1153k 0 0:01:03 0:00:14 0:00:49 1539k 25 71.2M 25 18.1M 0 0 1223k 0 0:00:59 0:00:15 0:00:44 1616k 27 71.2M 27 19.9M 0 0 1265k 0 0:00:57 0:00:16 0:00:41 1698k 30 71.2M 30 21.7M 0 0 1298k 0 0:00:56 0:00:17 0:00:39 1631k 33 71.2M 33 23.7M 0 0 1337k 0 0:00:54 0:00:18 0:00:36 1909k 35 71.2M 35 25.3M 0 0 1351k 0 0:00:53 0:00:19 0:00:34 1922k 38 71.2M 38 27.4M 0 0 1394k 0 0:00:52 0:00:20 0:00:32 1908k 41 71.2M 41 29.2M 0 0 1393k 0 0:00:52 0:00:21 0:00:31 1777k 43 71.2M 43 30.8M 0 0 1425k 0 0:00:51 0:00:22 0:00:29 1863k 44 71.2M 44 31.4M 0 0 1384k 0 0:00:52 0:00:23 0:00:29 1553k 46 71.2M 46 32.8M 0 0 1391k 0 0:00:52 0:00:24 0:00:28 1544k 48 71.2M 48 34.7M 0 0 1408k 0 0:00:51 0:00:25 0:00:26 1467k 50 71.2M 50 36.2M 0 0 1419k 0 0:00:51 0:00:26 0:00:25 1540k 55 71.2M 55 39.3M 0 0 1459k 0 0:00:49 0:00:27 0:00:22 1601k 56 71.2M 56 40.1M 0 0 1461k 0 0:00:49 0:00:28 0:00:21 1828k 59 71.2M 59 42.4M 0 0 1490k 0 0:00:48 0:00:29 0:00:19 1969k 62 71.2M 62 44.5M 0 0 1509k 0 0:00:48 0:00:30 0:00:18 2027k 65 71.2M 65 46.3M 0 0 1522k 0 0:00:47 0:00:31 0:00:16 2058k 68 71.2M 68 48.7M 0 0 1547k 0 0:00:47 0:00:32 0:00:15 2069k 71 71.2M 71 50.8M 0 0 1566k 0 0:00:46 0:00:33 0:00:13 2143k 72 71.2M 72 51.8M 0 0 1552k 0 0:00:47 0:00:34 0:00:13 1909k 75 71.2M 75 53.9M 0 0 1572k 0 0:00:46 0:00:35 0:00:11 1957k 78 71.2M 78 55.6M 0 0 1575k 0 0:00:46 0:00:36 0:00:10 1907k 81 71.2M 81 57.8M 0 0 1594k 0 0:00:45 0:00:37 0:00:08 1900k 83 71.2M 83 59.7M 0 0 1602k 0 0:00:45 0:00:38 0:00:07 1846k 87 71.2M 87 62.2M 0 0 1626k 0 0:00:44 0:00:39 0:00:05 2138k 89 71.2M 89 64.0M 0 0 1633k 0 0:00:44 0:00:40 0:00:04 2065k 93 71.2M 93 66.4M 0 0 1653k 0 0:00:44 0:00:41 0:00:03 2215k 96 71.2M 96 68.4M 0 0 1662k 0 0:00:43 0:00:42 0:00:01 2173k 99 71.2M 99 70.8M 0 0 1675k 0 0:00:43 0:00:43 --:--:-- 2213k 100 71.2M 100 71.2M 0 0 1681k 0 0:00:43 0:00:43 --:--:-- 2188k + tar -tzf src.tar.gz + 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.F7mHem + 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 0 30.0M 0 23154 0 0 140k 0 0:03:38 --:--:-- 0:03:38 140k 36 30.0M 36 11.0M 0 0 9719k 0 0:00:03 0:00:01 0:00:02 9714k 68 30.0M 68 20.5M 0 0 9734k 0 0:00:03 0:00:02 0:00:01 9734k 100 30.0M 100 30.0M 0 0 9825k 0 0:00:03 0:00:03 --:--:-- 9828k + 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 6302 0 0 44769 0 0:19:30 --:--:-- 0:19:30 44695 20 49.9M 20 10.1M 0 0 9097k 0 0:00:05 0:00:01 0:00:04 9094k 40 49.9M 40 20.0M 0 0 9588k 0 0:00:05 0:00:02 0:00:03 9585k 60 49.9M 60 30.0M 0 0 9801k 0 0:00:05 0:00:03 0:00:02 9800k 80 49.9M 80 40.0M 0 0 9911k 0 0:00:05 0:00:04 0:00:01 9909k 100 49.9M 100 49.9M 0 0 11.6M 0 0:00:04 0:00:04 --:--:-- 12.0M + 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 3s 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) warn: skipping @parcel/watcher-darwin-arm64@2.5.1: unsupported platform (wants os "darwin", cpu "arm64") warn: skipping @parcel/watcher-darwin-x64@2.5.1: unsupported platform (wants os "darwin") warn: skipping @parcel/watcher-linux-arm64-glibc@2.5.1: unsupported platform (wants cpu "arm64") warn: skipping @parcel/watcher-linux-arm64-musl@2.5.1: unsupported platform (wants cpu "arm64") warn: skipping @parcel/watcher-win32-arm64@2.5.1: unsupported platform (wants os "win32", cpu "arm64") warn: skipping @parcel/watcher-win32-x64@2.5.1: unsupported platform (wants os "win32") Saved lockfile $ bun run --cwd packages/core fix-node-pty $ bun run script/fix-node-pty.ts $ husky HUSKY=0 skip install + @actions/artifact@5.0.1 + @tsconfig/bun@1.0.9 + @types/mime-types@3.0.1 + @typescript/native-preview@7.0.0-dev.20251207.1 + glob@13.0.5 + husky@9.1.7 + oxlint@1.60.0 + oxlint-tsgolint@0.21.0 + prettier@3.6.2 + semver@7.8.1 + sst@4.13.1 + turbo@2.10.2 + @aws-sdk/client-s3@3.933.0 + heap-snapshot-toolkit@1.1.3 + typescript@5.8.2 1219 packages installed [48.56s] Removed: 17 + bun run --cwd packages/core fix-node-pty $ bun run script/fix-node-pty.ts + cd packages/opencode + bun run script/build.ts --single ENOENT: no such file or directory, open '/builddir/build/BUILD/opencode-1.19.5/.github/TEAM_MEMBERS' path: "/builddir/build/BUILD/opencode-1.19.5/.github/TEAM_MEMBERS", syscall: "open", errno: -2, code: "ENOENT" Bun v1.4.4 (Linux x64) error: Bad exit status from /var/tmp/rpm-tmp.F7mHem (%build) Bad exit status from /var/tmp/rpm-tmp.F7mHem (%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