Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/nmstate.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-379485-71722/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=86400uid=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/nmstate.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/nmstate-2.2.27-2.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/nmstate.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-379485-71722/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=86400uid=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/nmstate.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.onZwfc + umask 022 + cd /builddir/build/BUILD + gpg2 --import --import-options import-export,import-minimal /builddir/build/SOURCES/nmstate.gpg gpg: directory '/builddir/.gnupg' created gpg: keybox '/builddir/.gnupg/pubring.kbx' created gpg: Total number processed: 3 + gpgv2 --keyring ./gpgkey-mantainers.gpg /builddir/build/SOURCES/nmstate-2.2.27.tar.gz.asc /builddir/build/SOURCES/nmstate-2.2.27.tar.gz gpgv: Signature made Wed Mar 20 19:42:28 2024 CST gpgv: using RSA key 48FD6FAE515A77B48436821C8789567B8715CEBC gpgv: Good signature from "Gris Ge " + cd /builddir/build/BUILD + rm -rf nmstate-2.2.27 + /usr/bin/gzip -dc /builddir/build/SOURCES/nmstate-2.2.27.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nmstate-2.2.27 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd rust ~/build/BUILD/nmstate-2.2.27/rust ~/build/BUILD/nmstate-2.2.27 + /usr/bin/mkdir -p .cargo + cat + /usr/bin/tar -xoaf /builddir/build/SOURCES/nmstate-vendor-2.2.27.tar.xz + cat + rm -rf vendor/nix vendor/nix-0.22.3 vendor/nix-0.26.4 vendor/nix-0.27.1 + rm -f Cargo.lock + ln -s /usr/share/cargo/vendor/nix-0.14.1 /usr/share/cargo/vendor/nix-0.20.0 /usr/share/cargo/vendor/nix-0.22.0 /usr/share/cargo/vendor/nix-0.22.3 /usr/share/cargo/vendor/nix-0.23.1 /usr/share/cargo/vendor/nix-0.24.2 /usr/share/cargo/vendor/nix-0.26.2 /usr/share/cargo/vendor/nix-0.27.1 vendor/ + popd ~/build/BUILD/nmstate-2.2.27 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.m8WNbc + umask 022 ~/build/BUILD/nmstate-2.2.27/rust/src/python ~/build/BUILD/nmstate-2.2.27 + cd /builddir/build/BUILD + cd nmstate-2.2.27 + pushd rust/src/python + CFLAGS='-O2 -g' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib creating build/lib/libnmstate copying libnmstate/__init__.py -> build/lib/libnmstate copying libnmstate/clib_wrapper.py -> build/lib/libnmstate copying libnmstate/error.py -> build/lib/libnmstate copying libnmstate/gen_conf.py -> build/lib/libnmstate copying libnmstate/iplib.py -> build/lib/libnmstate copying libnmstate/netapplier.py -> build/lib/libnmstate copying libnmstate/netinfo.py -> build/lib/libnmstate copying libnmstate/nmpolicy.py -> build/lib/libnmstate copying libnmstate/prettystate.py -> build/lib/libnmstate copying libnmstate/schema.py -> build/lib/libnmstate copying libnmstate/state.py -> build/lib/libnmstate + sleep 1 + popd ~/build/BUILD/nmstate-2.2.27 ~/build/BUILD/nmstate-2.2.27/rust ~/build/BUILD/nmstate-2.2.27 + pushd rust + /usr/bin/env CARGO_HOME=.cargo /usr/bin/cargo build --release -j16 error: failed to select a version for the requirement `nix = "^0.28"` candidate versions found which didn't match: 0.27.1, 0.26.2, 0.24.2, ... location searched: directory source `/builddir/build/BUILD/nmstate-2.2.27/rust/vendor` (which is replacing registry `crates-io`) required by package `ctrlc v3.4.4` ... which satisfies dependency `ctrlc = "^3.2.1"` of package `nmstatectl v2.2.27 (/builddir/build/BUILD/nmstate-2.2.27/rust/src/cli)` perhaps a crate was updated and forgotten to be re-vendored? error: Bad exit status from /var/tmp/rpm-tmp.m8WNbc (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.m8WNbc (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/nmstate.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/nmstate.spec