=========================================== ERROR: test_quiet (distutils.tests.test_bdist_rpm.BuildRpmTestCase.test_quiet) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/Python-3.11.0rc1/Lib/distutils/tests/test_bdist_rpm.py", line 80, in test_quiet cmd.run() File "/builddir/build/BUILD/Python-3.11.0rc1/Lib/distutils/command/bdist_rpm.py", line 362, in run self.spawn(rpm_cmd) File "/builddir/build/BUILD/Python-3.11.0rc1/Lib/distutils/cmd.py", line 365, in spawn spawn(cmd, search_path, dry_run=self.dry_run) File "/builddir/build/BUILD/Python-3.11.0rc1/Lib/distutils/spawn.py", line 91, in spawn raise DistutilsExecError( distutils.errors.DistutilsExecError: command '/usr/bin/rpmbuild' failed with exit code 1 ---------------------------------------------------------------------- Ran 2 tests in 7.052s FAILED (errors=2) test test_distutils failed 1 test failed again: test_distutils == Tests result: FAILURE then FAILURE == 413 tests OK. 10 slowest tests: - test_multiprocessing_spawn: 10 min 47 sec - test_asyncio: 9 min 29 sec - test_signal: 7 min 59 sec - test_concurrent_futures: 7 min 4 sec - test_multiprocessing_forkserver: 5 min 9 sec - test_multiprocessing_fork: 3 min 47 sec - test_compileall: 2 min 59 sec - test_largefile: 2 min 17 sec - test_cppext: 2 min 2 sec - test_pickle: 2 min 1 sec 1 test failed: test_distutils 20 tests skipped: test_curses test_devpoll test_ioctl test_kqueue test_launcher test_msilib test_ossaudiodev test_smtpnet test_socketserver test_startfile 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_distutils Total duration: 22 min 11 sec Tests result: FAILURE then FAILURE RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.20UuSO (%check) line 363: It's not recommended to have unversioned Obsoletes: Obsoletes: python3.11 extra tokens at the end of %endif directive in line 440: %endif # with main_python line 454: It's not recommended to have unversioned Obsoletes: Obsoletes: python3.11-libs line 487: It's not recommended to have unversioned Obsoletes: Obsoletes: python3.11-devel line 523: It's not recommended to have unversioned Obsoletes: Obsoletes: python3.11-idle line 550: It's not recommended to have unversioned Obsoletes: Obsoletes: python3.11-tkinter line 566: It's not recommended to have unversioned Obsoletes: Obsoletes: python3.11-test line 590: It's not recommended to have unversioned Obsoletes: Obsoletes: python3.11-debug extra tokens at the end of %endif directive in line 607: %endif # with debug_build extra tokens at the end of %endif directive in line 755: %endif # with debug_build extra tokens at the end of %endif directive in line 792: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 827: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 860: %endif # with debug_build extra tokens at the end of %endif directive in line 1104: %endif # with debug_build extra tokens at the end of %endif directive in line 1107: %endif # with tests extra tokens at the end of %endif directive in line 1584: %endif # with debug_build Bad exit status from /var/tmp/rpm-tmp.20UuSO (%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 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/python3.11.spec