Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cosmic-comp.spec'], chrootPath='/var/lib/mock/f41-build-831421-156871/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cosmic-comp.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1715644800 Wrote: /builddir/build/SRPMS/cosmic-comp-0.1.0~git20240514.00.36bf611-4.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cosmic-comp.spec'], chrootPath='/var/lib/mock/f41-build-831421-156871/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cosmic-comp.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1715644800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.grT1KV + umask 022 + cd /builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build + test -d /builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build + /usr/bin/rm -rf /builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build + /usr/bin/mkdir -p /builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build + /usr/bin/mkdir -p /builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KuTkcT + umask 022 + cd /builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build + cd /builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build + rm -rf cosmic-comp-36bf611bac75bdf4fdff6e0eda673367745c7bd7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cosmic-comp-36bf611bac75bdf4fdff6e0eda673367745c7bd7.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd cosmic-comp-36bf611bac75bdf4fdff6e0eda673367745c7bd7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cosmic-comp-36bf611bac75bdf4fdff6e0eda673367745c7bd7-vendor.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.toml.orig + cat .vendor/config.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Otbgyg + umask 022 + cd /builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cosmic-comp-36bf611bac75bdf4fdff6e0eda673367745c7bd7 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j4 -Z avoid-dev-deps --profile rpm warning: both `/builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build/cosmic-comp-36bf611bac75bdf4fdff6e0eda673367745c7bd7/.cargo/config` and `/builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build/cosmic-comp-36bf611bac75bdf4fdff6e0eda673367745c7bd7/.cargo/config.toml` exist. Using `/builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build/cosmic-comp-36bf611bac75bdf4fdff6e0eda673367745c7bd7/.cargo/config` warning: both `/builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build/cosmic-comp-36bf611bac75bdf4fdff6e0eda673367745c7bd7/.cargo/config` and `/builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build/cosmic-comp-36bf611bac75bdf4fdff6e0eda673367745c7bd7/.cargo/config.toml` exist. Using `/builddir/build/BUILD/cosmic-comp-0.1.0_git20240514.00.36bf611-build/cosmic-comp-36bf611bac75bdf4fdff6e0eda673367745c7bd7/.cargo/config` error: profile `rpm` is not defined error: Bad exit status from /var/tmp/rpm-tmp.Otbgyg (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Otbgyg (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 riscv64 --nodeps /builddir/build/SPECS/cosmic-comp.spec