/Lib/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/tmp/tmp0j4h4ut8/bin/python', '-c', '\nimport runpy\nimport sys\nsys.path = [\'/tmp/tmpl5_g_hzx/setuptools-49.1.3-py3-none-any.whl\', \'/tmp/tmpl5_g_hzx/pip-20.1.1-py2.py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'/tmp/tmpl5_g_hzx\', \'--upgrade\', \'setuptools\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1. ---------------------------------------------------------------------- Ran 19 tests in 32.059s FAILED (failures=1, skipped=2) 1 test failed again: test_venv == Tests result: FAILURE then FAILURE == 403 tests OK. 10 slowest tests: - test_peg_generator: 24 min 25 sec - test_asyncio: 13 min 23 sec - test_concurrent_futures: 13 min - test_multiprocessing_spawn: 11 min 37 sec - test_pickle: 9 min 17 sec - test_lib2to3: 6 min 13 sec - test_multiprocessing_forkserver: 5 min 52 sec - test_regrtest: 5 min 34 sec - test_weakref: 5 min 14 sec - test_buffer: 5 min 1 test failed: test_venv 21 tests skipped: test_curses test_devpoll test_gdb test_ioctl test_kqueue test_msilib test_ossaudiodev test_smtpnet test_socketserver test_startfile test_timeout test_tix test_tk test_ttk_guionly test_urllib2net test_urllibnet test_winconsoleio test_winreg test_winsound test_xmlrpc_net test_zipfile64 1 re-run test: test_venv Total duration: 48 min 15 sec Tests result: FAILURE then FAILURE RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.2fROXv (%check) 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 1175: %endif # with debug_build extra tokens at the end of %endif directive in line 1178: %endif # with tests extra tokens at the end of %endif directive in line 1652: %endif # with debug_build Bad exit status from /var/tmp/rpm-tmp.2fROXv (%check) 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 776, 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 eac85f3ea2354060a2cb0c549d5b2ba0 -D /var/lib/mock/f33-build-342497-58734/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.8e65yf6q:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --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=C.UTF-8 bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python3.9.spec