n File "/builddir/build/BUILD/Python-3.9.0/Lib/unittest/suite.py", line 84 in __call__ File "/builddir/build/BUILD/Python-3.9.0/Lib/unittest/suite.py", line 122 in run File "/builddir/build/BUILD/Python-3.9.0/Lib/unittest/suite.py", line 84 in __call__ File "/builddir/build/BUILD/Python-3.9.0/Lib/unittest/runner.py", line 176 in run File "/builddir/build/BUILD/Python-3.9.0/Lib/test/support/__init__.py", line 1796 in _run_suite File "/builddir/build/BUILD/Python-3.9.0/Lib/test/support/__init__.py", line 1918 in run_unittest File "/builddir/build/BUILD/Python-3.9.0/Lib/test/libregrtest/runtest.py", line 209 in _test_module File "/builddir/build/BUILD/Python-3.9.0/Lib/test/libregrtest/runtest.py", line 234 in _runtest_inner2 File "/builddir/build/BUILD/Python-3.9.0/Lib/test/libregrtest/runtest.py", line 270 in _runtest_inner File "/builddir/build/BUILD/Python-3.9.0/Lib/test/libregrtest/runtest.py", line 153 in _runtest File "/builddir/build/BUILD/Python-3.9.0/Lib/test/libregrtest/runtest.py", line 193 in runtest File "/builddir/build/BUILD/Python-3.9.0/Lib/test/libregrtest/main.py", line 318 in rerun_failed_tests File "/builddir/build/BUILD/Python-3.9.0/Lib/test/libregrtest/main.py", line 695 in _main File "/builddir/build/BUILD/Python-3.9.0/Lib/test/libregrtest/main.py", line 638 in main File "/builddir/build/BUILD/Python-3.9.0/Lib/test/libregrtest/main.py", line 716 in main File "/builddir/build/BUILD/Python-3.9.0/Lib/test/regrtest.py", line 43 in _main File "/builddir/build/BUILD/Python-3.9.0/Lib/test/regrtest.py", line 47 in File "/builddir/build/BUILD/Python-3.9.0/Lib/runpy.py", line 87 in _run_code File "/builddir/build/BUILD/Python-3.9.0/Lib/runpy.py", line 197 in _run_module_as_main error: Bad exit status from /var/tmp/rpm-tmp.PbrHUw (%check) RPM build errors: line 397: It's not recommended to have unversioned Obsoletes: Obsoletes: python3.9 extra tokens at the end of %endif directive in line 478: %endif # with main_python extra tokens at the end of %endif directive in line 644: %endif # with debug_build extra tokens at the end of %else directive in line 646: %else # with flatpackage extra tokens at the end of %endif directive in line 679: %endif # with flatpackage extra tokens at the end of %endif directive in line 828: %endif # with debug_build extra tokens at the end of %endif directive in line 865: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 900: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 935: %endif # with debug_build extra tokens at the end of %endif directive in line 1178: %endif # with debug_build extra tokens at the end of %endif directive in line 1181: %endif # with tests extra tokens at the end of %endif directive in line 1655: %endif # with debug_build Bad exit status from /var/tmp/rpm-tmp.PbrHUw (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 416ba1a35fb640af9bbee6b2e8499ab8 -D /var/lib/mock/f33-build-342573-58774/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.l8exhb7p:/etc/resolv.conf --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python3.9.spec