Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.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.9-build-394770-72152/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.33-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.9-build-394770-72152/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.2ReQLm + 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: 1 + gpgv2 --keyring ./gpgkey-mantainers.gpg /builddir/build/SOURCES/nmstate-2.2.33.tar.gz.asc /builddir/build/SOURCES/nmstate-2.2.33.tar.gz gpgv: Signature made Thu Jun 13 13:05:48 2024 CST gpgv: using RSA key 48FD6FAE515A77B48436821C8789567B8715CEBC gpgv: Good signature from "Gris Ge " + cd /builddir/build/BUILD + rm -rf nmstate-2.2.33 + /usr/bin/gzip -dc /builddir/build/SOURCES/nmstate-2.2.33.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nmstate-2.2.33 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd rust ~/build/BUILD/nmstate-2.2.33/rust ~/build/BUILD/nmstate-2.2.33 + /usr/bin/mkdir -p .cargo + cat + /usr/bin/tar -xoaf /builddir/build/SOURCES/nmstate-vendor-2.2.33.tar.xz + cat + popd ~/build/BUILD/nmstate-2.2.33 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uVnh1P + umask 022 ~/build/BUILD/nmstate-2.2.33/rust/src/python ~/build/BUILD/nmstate-2.2.33 + cd /builddir/build/BUILD + cd nmstate-2.2.33 + 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/__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/gen_diff.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.33 ~/build/BUILD/nmstate-2.2.33/rust ~/build/BUILD/nmstate-2.2.33 + pushd rust + /usr/bin/env CARGO_HOME=.cargo 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 %{expr:0 && ("x86_64" != "ppc64le" && "x86_64" != "s390x" && "x86_64" != "i386") ? "-Cforce-frame-pointers=yes" : ""} %[0 ? "-Clink-arg=%_package_note_flags" : ""]' /usr/bin/cargo build -j80 --release error: failed to run `rustc` to learn about target-specific information Caused by: process didn't exit successfully: `/usr/bin/rustc - --crate-name ___ --print=file-names -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 '%{expr:0' '&&' '("x86_64"' ''\!'=' '"ppc64le"' '&&' '"x86_64"' ''\!'=' '"s390x"' '&&' '"x86_64"' ''\!'=' '"i386")' '?' '"-Cforce-frame-pointers=yes"' ':' '""}' '%[0' '?' '"-Clink-arg=%_package_note_flags"' ':' '""]' --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1) --- stderr error: multiple input filenames provided (first two filenames are `-` and `%{expr:0`) error: Bad exit status from /var/tmp/rpm-tmp.uVnh1P (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.uVnh1P (%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 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), 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'