Warning: Permanently added '100.55.30.253' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/10326573-openeuler-20.03-x86_64 --chroot openeuler-20.03-x86_64 Version: 1.6 PID: 12400 Logging PID: 12402 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 10326573, 'buildroot_pkgs': [], 'chroot': 'openeuler-20.03-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': '649fdd2433011327b20c0d4044a967bc248a572d', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/sureclaw/claude-code/claude-code', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'claude-code', 'package_version': '2.1.108-1', 'project_dirname': 'claude-code', 'project_name': 'claude-code', 'project_owner': 'sureclaw', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/sureclaw/claude-code/openeuler-20.03-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'sureclaw/claude-code--sureclaw', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 1, 'submitter': 'sureclaw', 'tags': [], 'task_id': '10326573-openeuler-20.03-x86_64', 'timeout': 7200, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/sureclaw/claude-code/claude-code /var/lib/copr-rpmbuild/workspace/workdir-3iz0i_2q/claude-code --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/sureclaw/claude-code/claude-code', '/var/lib/copr-rpmbuild/workspace/workdir-3iz0i_2q/claude-code', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-3iz0i_2q/claude-code'... Running: git checkout 649fdd2433011327b20c0d4044a967bc248a572d -- cmd: ['git', 'checkout', '649fdd2433011327b20c0d4044a967bc248a572d', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-3iz0i_2q/claude-code rc: 0 stdout: stderr: Note: switching to '649fdd2433011327b20c0d4044a967bc248a572d'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 649fdd2 automatic import of claude-code Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-3iz0i_2q/claude-code rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading claude-code-2.1.108.tgz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -H 'Accept-Encoding: identity' -o claude-code-2.1.108.tgz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/sureclaw/claude-code/claude-code/claude-code-2.1.108.tgz/md5/bc3dbdaf9e07086705dc84787ddc3d0b/claude-code-2.1.108.tgz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 17.7M 100 17.7M 0 0 324M 0 --:--:-- --:--:-- --:--:-- 328M INFO: Reading stdout from command: md5sum claude-code-2.1.108.tgz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=7200): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-3iz0i_2q/claude-code/claude-code.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-3iz0i_2q/claude-code --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1776224480.350278 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.7 starting (python version = 3.14.2, NVR = mock-6.7-1.fc43), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-3iz0i_2q/claude-code/claude-code.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-3iz0i_2q/claude-code --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1776224480.350278 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-3iz0i_2q/claude-code/claude-code.spec) Config(openeuler-20.03-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.7 INFO: Mock Version: 6.7 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/openeuler-20.03-x86_64-bootstrap-1776224480.350278/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using container image: docker.io/openeuler/openeuler:20.03-lts-sp4 INFO: Pulling image: docker.io/openeuler/openeuler:20.03-lts-sp4 INFO: Tagging container image as mock-bootstrap-90f4daf2-934b-4151-92d4-1e99d6452c04 INFO: Checking that 852c6f0e1f5242d3f3080e1949039de1f2e8f9065749212d74d68dac265d20aa image matches host's architecture INFO: Copy content of container 852c6f0e1f5242d3f3080e1949039de1f2e8f9065749212d74d68dac265d20aa to /var/lib/mock/openeuler-20.03-x86_64-bootstrap-1776224480.350278/root INFO: mounting 852c6f0e1f5242d3f3080e1949039de1f2e8f9065749212d74d68dac265d20aa with podman image mount INFO: image 852c6f0e1f5242d3f3080e1949039de1f2e8f9065749212d74d68dac265d20aa as /var/lib/containers/storage/overlay/e2f01626f94db14786bff553ec50d80be91cd622899ac34674dc68e9cfc45396/merged INFO: umounting image 852c6f0e1f5242d3f3080e1949039de1f2e8f9065749212d74d68dac265d20aa (/var/lib/containers/storage/overlay/e2f01626f94db14786bff553ec50d80be91cd622899ac34674dc68e9cfc45396/merged) with podman image umount INFO: Removing image mock-bootstrap-90f4daf2-934b-4151-92d4-1e99d6452c04 INFO: Package manager dnf4 detected and used (fallback) INFO: Bootstrap image not marked ready Start(bootstrap): installing dnf tooling Main config did not have a allow_vendor_change attr. before setopt No matches found for the following disable plugin patterns: local, spacewalk, versionlock Main config did not have a allow_vendor_change attr. before setopt Copr repository 585 B/s | 257 B 00:00 OS 470 kB/s | 3.4 MB 00:07 everything 2.0 MB/s | 15 MB 00:07 EPOL 278 kB/s | 4.1 MB 00:15 update 3.2 MB/s | 86 MB 00:26 Package python3-dnf-4.2.23-11.oe2003sp4.noarch is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing: python3-dnf-plugins-core noarch 4.0.17-3.oe2003sp4 OS 182 k Installing dependencies: python3-dateutil noarch 1:2.8.1-4.oe2003sp4 OS 282 k python3-distro noarch 1.5.0-1.oe2003sp4 OS 36 k python3-setuptools noarch 44.1.1-3.oe2003sp4 update 523 k python3-six noarch 1.15.0-2.oe2003sp4 OS 36 k Transaction Summary ================================================================================ Install 5 Packages Total download size: 1.0 M Installed size: 4.2 M Downloading Packages: (1/5): python3-distro-1.5.0-1.oe2003sp4.noarch. 14 kB/s | 36 kB 00:02 (2/5): python3-dateutil-2.8.1-4.oe2003sp4.noarc 95 kB/s | 282 kB 00:02 (3/5): python3-dnf-plugins-core-4.0.17-3.oe2003 60 kB/s | 182 kB 00:03 (4/5): python3-six-1.15.0-2.oe2003sp4.noarch.rp 58 kB/s | 36 kB 00:00 (5/5): python3-setuptools-44.1.1-3.oe2003sp4.no 184 kB/s | 523 kB 00:02 -------------------------------------------------------------------------------- Total 139 kB/s | 1.0 MB 00:07 OS 2.9 MB/s | 3.0 kB 00:00 Importing GPG key 0xB675600B: Userid : "openeuler " Fingerprint: 8AA1 6BF9 F2CA 5244 010D CA96 3B47 7C60 B675 600B From : /usr/share/distribution-gpg-keys/openeuler/RPM-GPG-KEY-openEuler-EulerMaker Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python3-setuptools-44.1.1-3.oe2003sp4.noarch 1/5 Installing : python3-distro-1.5.0-1.oe2003sp4.noarch 2/5 Installing : python3-six-1.15.0-2.oe2003sp4.noarch 3/5 Installing : python3-dateutil-1:2.8.1-4.oe2003sp4.noarch 4/5 Installing : python3-dnf-plugins-core-4.0.17-3.oe2003sp4.noarch 5/5 Running scriptlet: python3-dnf-plugins-core-4.0.17-3.oe2003sp4.noarch 5/5 Verifying : python3-dateutil-1:2.8.1-4.oe2003sp4.noarch 1/5 Verifying : python3-distro-1.5.0-1.oe2003sp4.noarch 2/5 Verifying : python3-dnf-plugins-core-4.0.17-3.oe2003sp4.noarch 3/5 Verifying : python3-six-1.15.0-2.oe2003sp4.noarch 4/5 Verifying : python3-setuptools-44.1.1-3.oe2003sp4.noarch 5/5 Installed: python3-dateutil-1:2.8.1-4.oe2003sp4.noarch python3-distro-1.5.0-1.oe2003sp4.noarch python3-dnf-plugins-core-4.0.17-3.oe2003sp4.noarch python3-setuptools-44.1.1-3.oe2003sp4.noarch python3-six-1.15.0-2.oe2003sp4.noarch Complete! Finish(bootstrap): installing dnf tooling Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/openeuler-20.03-x86_64-1776224480.350278/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf4 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.15.1-61.oe2003sp4.x86_64 python3-dnf-4.2.23-11.oe2003sp4.noarch python3-dnf-plugins-core-4.0.17-3.oe2003sp4.noarch yum-4.2.23-11.oe2003sp4.noarch Start: installing minimal buildroot with dnf Main config did not have a allow_vendor_change attr. before setopt No matches found for the following disable plugin patterns: local, spacewalk, versionlock Main config did not have a allow_vendor_change attr. before setopt Copr repository 641 B/s | 257 B 00:00 OS 571 kB/s | 3.4 MB 00:06 everything 2.3 MB/s | 15 MB 00:06 EPOL 125 kB/s | 4.1 MB 00:33 update 5.9 B/s | 150 B 00:25 Errors during downloading metadata for repository 'update': - Status code: 504 for https://mirrors.openeuler.org/metalink?repo=20.03LTS_SP4/update&arch=x86_64 (IP: 49.0.229.174) - Status code: 502 for https://mirrors.openeuler.org/metalink?repo=20.03LTS_SP4/update&arch=x86_64 (IP: 49.0.229.174) Error: Failed to download metadata for repo 'update': Cannot prepare internal mirrorlist: Status code: 502 for https://mirrors.openeuler.org/metalink?repo=20.03LTS_SP4/update&arch=x86_64 (IP: 49.0.229.174) WARNING: DNF4 command failed, retrying, attempt #2, sleeping 10s Main config did not have a allow_vendor_change attr. before setopt No matches found for the following disable plugin patterns: local, spacewalk, versionlock Main config did not have a allow_vendor_change attr. before setopt Copr repository 5.0 kB/s | 1.5 kB 00:00 OS 31 B/s | 150 B 00:04 Errors during downloading metadata for repository 'OS': - Status code: 502 for https://mirrors.openeuler.org/metalink?repo=20.03LTS_SP4/OS&arch=x86_64 (IP: 49.0.229.174) Error: Failed to download metadata for repo 'OS': Cannot prepare internal mirrorlist: Status code: 502 for https://mirrors.openeuler.org/metalink?repo=20.03LTS_SP4/OS&arch=x86_64 (IP: 49.0.229.174) WARNING: DNF4 command failed, retrying, attempt #3, sleeping 10s Main config did not have a allow_vendor_change attr. before setopt No matches found for the following disable plugin patterns: local, spacewalk, versionlock Main config did not have a allow_vendor_change attr. before setopt Copr repository 8.7 kB/s | 1.5 kB 00:00 OS 31 B/s | 150 B 00:04 Errors during downloading metadata for repository 'OS': - Status code: 502 for https://mirrors.openeuler.org/metalink?repo=20.03LTS_SP4/OS&arch=x86_64 (IP: 49.0.229.174) Error: Failed to download metadata for repo 'OS': Cannot prepare internal mirrorlist: Status code: 502 for https://mirrors.openeuler.org/metalink?repo=20.03LTS_SP4/OS&arch=x86_64 (IP: 49.0.229.174) INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/openeuler-20.03-x86_64-1776224480.350278/root/var/log/dnf.rpm.log /var/lib/mock/openeuler-20.03-x86_64-1776224480.350278/root/var/log/dnf.librepo.log /var/lib/mock/openeuler-20.03-x86_64-1776224480.350278/root/var/log/dnf.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names ERROR: Exception(/var/lib/copr-rpmbuild/workspace/workdir-3iz0i_2q/claude-code/claude-code.spec) Config(openeuler-20.03-x86_64) 3 minutes 18 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 228e9df3edfa4270a9d5f3d357e8f97d -D /var/lib/mock/openeuler-20.03-x86_64-bootstrap-1776224480.350278/root -a --capability=cap_ipc_lock --capability=cap_ipc_lock --bind=/tmp/mock-resolv.h96cfa9f:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/openeuler-20.03-x86_64-1776224480.350278/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --setenv=SYSTEMD_NSPAWN_TMPFS_TMP=0 --setenv=SYSTEMD_SECCOMP=0 --resolv-conf=off /usr/bin/dnf-3 --installroot /var/lib/mock/openeuler-20.03-x86_64-1776224480.350278/root/ --releasever 20.03LTS_SP4 --setopt=deltarpm=False --setopt=allow_vendor_change=yes --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install tar gcc-c++ openEuler-rpm-config openEuler-release which xz sed make bzip2 gzip gcc coreutils unzip diffutils cpio bash gawk rpm-build info patch util-linux findutils grep --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts Main config did not have a allow_vendor_change attr. before setopt No matches found for the following disable plugin patterns: local, spacewalk, versionlock Main config did not have a allow_vendor_change attr. before setopt Copr repository 8.7 kB/s | 1.5 kB 00:00 OS 31 B/s | 150 B 00:04 Errors during downloading metadata for repository 'OS': - Status code: 502 for https://mirrors.openeuler.org/metalink?repo=20.03LTS_SP4/OS&arch=x86_64 (IP: 49.0.229.174) Error: Failed to download metadata for repo 'OS': Cannot prepare internal mirrorlist: Status code: 502 for https://mirrors.openeuler.org/metalink?repo=20.03LTS_SP4/OS&arch=x86_64 (IP: 49.0.229.174) Copr build error: Build failed