Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/nmstate.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-343843-70064/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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.19-1.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/nmstate.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-343843-70064/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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.KB0Vit + 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: 2 + gpgv2 --keyring ./gpgkey-mantainers.gpg /builddir/build/SOURCES/nmstate-2.2.19.tar.gz.asc /builddir/build/SOURCES/nmstate-2.2.19.tar.gz gpgv: Signature made Wed Nov 15 18:38:55 2023 CST gpgv: using RSA key 48FD6FAE515A77B48436821C8789567B8715CEBC gpgv: Good signature from "Gris Ge " + cd /builddir/build/BUILD + rm -rf nmstate-2.2.19 + /usr/bin/gzip -dc /builddir/build/SOURCES/nmstate-2.2.19.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nmstate-2.2.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd rust ~/build/BUILD/nmstate-2.2.19/rust ~/build/BUILD/nmstate-2.2.19 + /usr/bin/mkdir -p .cargo + cat + /usr/bin/tar -xoaf /builddir/build/SOURCES/nmstate-vendor-2.2.19.tar.xz + cat + rm -rf vendor/libc vendor/nix vendor/nix-0.22.3 vendor/nix-0.26.4 + rm -f Cargo.lock + ln -s /usr/share/cargo/vendor/libc vendor/ + 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/ ++ sed -ne 's/rustflags = "\(.\+\)"/\1/p' .cargo/config.toml + _FLAGS=-Clink-arg=-Wl,-soname=libnmstate.so.2 + sed -i -e 's/rustflags = \[\(.\+\), \]$/rustflags = [\1, "-Clink-arg=-Wl,-soname=libnmstate.so.2"]/' .cargo/config + rm .cargo/config.toml + popd ~/build/BUILD/nmstate-2.2.19 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kKMN8r + umask 022 + cd /builddir/build/BUILD + cd nmstate-2.2.19 + pushd rust/src/python ~/build/BUILD/nmstate-2.2.19/rust/src/python ~/build/BUILD/nmstate-2.2.19 + 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/gen_conf.py -> build/lib/libnmstate copying libnmstate/error.py -> build/lib/libnmstate copying libnmstate/schema.py -> build/lib/libnmstate copying libnmstate/state.py -> build/lib/libnmstate copying libnmstate/netapplier.py -> build/lib/libnmstate copying libnmstate/clib_wrapper.py -> build/lib/libnmstate copying libnmstate/nmpolicy.py -> build/lib/libnmstate copying libnmstate/prettystate.py -> build/lib/libnmstate copying libnmstate/netinfo.py -> build/lib/libnmstate copying libnmstate/iplib.py -> build/lib/libnmstate copying libnmstate/__init__.py -> build/lib/libnmstate + sleep 1 + popd ~/build/BUILD/nmstate-2.2.19 + pushd rust ~/build/BUILD/nmstate-2.2.19/rust ~/build/BUILD/nmstate-2.2.19 + /usr/bin/env CARGO_HOME=.cargo /usr/bin/cargo build --release -j4 error: failed to select a version for the requirement `libc = "^0.2.147"` candidate versions found which didn't match: 0.2.138 location searched: directory source `/builddir/build/BUILD/nmstate-2.2.19/rust/vendor` (which is replacing registry `crates-io`) required by package `nix v0.27.1` ... which satisfies dependency `nix = "^0.27"` of package `ctrlc v3.4.1` ... which satisfies dependency `ctrlc = "^3.2.1"` of package `nmstatectl v2.2.19 (/builddir/build/BUILD/nmstate-2.2.19/rust/src/cli)` perhaps a crate was updated and forgotten to be re-vendored? error: Bad exit status from /var/tmp/rpm-tmp.kKMN8r (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.kKMN8r (%build) Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 loongarch64 --nodeps /builddir/build/SPECS/nmstate.spec