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 x86_64 --nodeps /builddir/build/SPECS/nmstate.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-290460-65010/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/nmstate-2.2.12-1.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/nmstate.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-290460-65010/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.s6KnkE + 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.12.tar.gz.asc /builddir/build/SOURCES/nmstate-2.2.12.tar.gz gpgv: Signature made Thu Jun 1 16:36:10 2023 CST gpgv: using RSA key 2B5F3B2028801E15F57AAA309906C97AA15D984F gpgv: Good signature from "Fernando Fernandez Mancera " + cd /builddir/build/BUILD + rm -rf nmstate-2.2.12 + /usr/bin/gzip -dc /builddir/build/SOURCES/nmstate-2.2.12.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nmstate-2.2.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/Fix_SRIOV_timeout.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + pushd rust ~/build/BUILD/nmstate-2.2.12/rust ~/build/BUILD/nmstate-2.2.12 + /usr/bin/mkdir -p .cargo + cat + /usr/bin/tar -xoaf /builddir/build/SOURCES/nmstate-vendor-2.2.12.tar.xz + cat ++ 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.12 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.N5Zsqu + umask 022 ~/build/BUILD/nmstate-2.2.12/rust/src/python ~/build/BUILD/nmstate-2.2.12 + cd /builddir/build/BUILD + cd nmstate-2.2.12 + pushd rust/src/python + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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/state.py -> build/lib/libnmstate copying libnmstate/schema.py -> build/lib/libnmstate copying libnmstate/prettystate.py -> build/lib/libnmstate copying libnmstate/nmpolicy.py -> build/lib/libnmstate copying libnmstate/netinfo.py -> build/lib/libnmstate copying libnmstate/netapplier.py -> build/lib/libnmstate copying libnmstate/iplib.py -> build/lib/libnmstate copying libnmstate/gen_conf.py -> build/lib/libnmstate copying libnmstate/error.py -> build/lib/libnmstate copying libnmstate/clib_wrapper.py -> build/lib/libnmstate copying libnmstate/__init__.py -> build/lib/libnmstate + sleep 1 + popd + pushd rust ~/build/BUILD/nmstate-2.2.12 ~/build/BUILD/nmstate-2.2.12/rust ~/build/BUILD/nmstate-2.2.12 + /usr/bin/env CARGO_HOME=.cargo /usr/bin/cargo build --release -j80 error: failed to get `chrono` as a dependency of package `nmstatectl v2.2.12 (/builddir/build/BUILD/nmstate-2.2.12/rust/src/cli)` Caused by: failed to load source for dependency `chrono` Caused by: Unable to update registry `crates-io` Caused by: failed to update replaced source registry `crates-io` Caused by: failed to parse manifest at `/builddir/build/BUILD/nmstate-2.2.12/rust/vendor/winnow/Cargo.toml` Caused by: namespaced features with the `dep:` prefix are only allowed on the nightly channel and requires the `-Z namespaced-features` flag on the command-line error: Bad exit status from /var/tmp/rpm-tmp.N5Zsqu (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.N5Zsqu (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --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 x86_64 --nodeps /builddir/build/SPECS/nmstate.spec