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-1793267154.929905/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-1793267154.929905/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-1793267154.929905/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.fFp2rd + 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 48567 0 0 27686 0 0:44:58 0:00:01 0:44:57 27673 1 71.2M 1 831k 0 0 301k 0 0:04:01 0:00:02 0:03:59 301k 6 71.2M 6 4703k 0 0 1242k 0 0:00:58 0:00:03 0:00:55 1242k 10 71.2M 10 7887k 0 0 1600k 0 0:00:45 0:00:04 0:00:41 1600k 15 71.2M 15 11.1M 0 0 1929k 0 0:00:37 0:00:05 0:00:32 2234k 21 71.2M 21 15.0M 0 0 2262k 0 0:00:32 0:00:06 0:00:26 3034k 24 71.2M 24 17.2M 0 0 2274k 0 0:00:32 0:00:07 0:00:25 3357k 30 71.2M 30 21.7M 0 0 2501k 0 0:00:29 0:00:08 0:00:21 3427k 33 71.2M 33 24.2M 0 0 2527k 0 0:00:28 0:00:09 0:00:19 3464k 41 71.2M 41 29.2M 0 0 2742k 0 0:00:26 0:00:10 0:00:16 3703k 45 71.2M 45 32.2M 0 0 2806k 0 0:00:26 0:00:11 0:00:15 3559k 53 71.2M 53 37.9M 0 0 3019k 0 0:00:24 0:00:12 0:00:12 4156k 58 71.2M 58 41.7M 0 0 3102k 0 0:00:23 0:00:13 0:00:10 4208k 67 71.2M 67 47.9M 0 0 3301k 0 0:00:22 0:00:14 0:00:08 4798k 70 71.2M 70 49.9M 0 0 3250k 0 0:00:22 0:00:15 0:00:07 4396k 76 71.2M 76 54.4M 0 0 3311k 0 0:00:22 0:00:16 0:00:06 4487k 78 71.2M 78 55.7M 0 0 3202k 0 0:00:22 0:00:17 0:00:05 3677k 81 71.2M 81 58.1M 0 0 3169k 0 0:00:23 0:00:18 0:00:05 3353k 84 71.2M 84 60.3M 0 0 3128k 0 0:00:23 0:00:19 0:00:04 2603k 87 71.2M 87 62.0M 0 0 3030k 0 0:00:24 0:00:20 0:00:04 2362k 90 71.2M 90 64.1M 0 0 3019k 0 0:00:24 0:00:21 0:00:03 2020k 92 71.2M 92 65.7M 0 0 2957k 0 0:00:24 0:00:22 0:00:02 2078k 95 71.2M 95 68.0M 0 0 2933k 0 0:00:24 0:00:23 0:00:01 2040k 98 71.2M 98 70.0M 0 0 2887k 0 0:00:25 0:00:24 0:00:01 1948k 100 71.2M 100 71.2M 0 0 2887k 0 0:00:25 0:00:25 --:--:-- 2193k + 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.8vjnuE + 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 9059k 0 0:00:03 0:00:01 0:00:02 9062k 66 30.0M 66 20.0M 0 0 9610k 0 0:00:03 0:00:02 0:00:01 9615k 99 30.0M 99 30.0M 0 0 9813k 0 0:00:03 0:00:03 --:--:-- 9816k 100 30.0M 100 30.0M 0 0 9820k 0 0:00:03 0:00:03 --:--:-- 9822k + 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 20 49.9M 20 10.0M 0 0 9145k 0 0:00:05 0:00:01 0:00:04 9151k 40 49.9M 40 20.0M 0 0 9650k 0 0:00:05 0:00:02 0:00:03 9651k 60 49.9M 60 30.0M 0 0 9839k 0 0:00:05 0:00:03 0:00:02 9840k 80 49.9M 80 40.0M 0 0 9939k 0 0:00:05 0:00:04 0:00:01 9941k 100 49.9M 100 49.9M 0 0 11.6M 0 0:00:04 0:00:04 --:--:-- 11.6M + 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_disturl=https://mirrors.huaweicloud.com/nodejs + npm_config_disturl=https://mirrors.huaweicloud.com/nodejs + export NPM_CONFIG_DISTURL=https://mirrors.huaweicloud.com/nodejs + NPM_CONFIG_DISTURL=https://mirrors.huaweicloud.com/nodejs + 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 npm warn Unknown env config "disturl". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. added 20 packages in 3s 2 packages are looking for funding run `npm fund` for details + 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 [19.43s] 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.8vjnuE (%build) Bad exit status from /var/tmp/rpm-tmp.8vjnuE (%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