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/python-orderedset.spec'], chrootPath='/var/lib/mock/f40-build-773394-127027/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/python-orderedset.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=1686614400 Wrote: /builddir/build/SRPMS/python-orderedset-2.0.3-11.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-orderedset.spec'], chrootPath='/var/lib/mock/f40-build-773394-127027/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/python-orderedset.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=1686614400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.efqjTm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf orderedset-2.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/orderedset-2.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd orderedset-2.0.3 + rm -rf /builddir/build/BUILD/orderedset-2.0.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/orderedset-2.0.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-orderedset-comparison.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's/pyx'\''])/&, compiler_directives={'\''language_level'\'': 3}/' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5p3QKx + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + 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 ' + 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 -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 -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 orderedset-2.0.3 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + 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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' Compiling lib/orderedset/_orderedset.pyx because it changed. [1/1] Cythonizing lib/orderedset/_orderedset.pyx running build running build_py creating build creating build/lib.linux-riscv64-cpython-312 creating build/lib.linux-riscv64-cpython-312/orderedset copying lib/orderedset/__init__.py -> build/lib.linux-riscv64-cpython-312/orderedset running build_ext building 'orderedset._orderedset' extension creating build/temp.linux-riscv64-cpython-312 creating build/temp.linux-riscv64-cpython-312/lib creating build/temp.linux-riscv64-cpython-312/lib/orderedset gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -I/usr/include/python3.12 -c lib/orderedset/_orderedset.c -o build/temp.linux-riscv64-cpython-312/lib/orderedset/_orderedset.o gcc -shared -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 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 build/temp.linux-riscv64-cpython-312/lib/orderedset/_orderedset.o -L/usr/lib64 -o build/lib.linux-riscv64-cpython-312/orderedset/_orderedset.cpython-312-riscv64-linux-gnu.so + rst2html --no-datestamp AUTHORS.rst AUTHORS.html + rst2html --no-datestamp HISTORY.rst HISTORY.html + rst2html --no-datestamp README.rst README.html + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VVlCSv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + 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 ' + 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 -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 -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 orderedset-2.0.3 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + 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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64 --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64/usr creating /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64/usr/lib64/python3.12 creating /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64/usr/lib64/python3.12/site-packages creating /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64/usr/lib64/python3.12/site-packages/orderedset copying build/lib.linux-riscv64-cpython-312/orderedset/_orderedset.cpython-312-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64/usr/lib64/python3.12/site-packages/orderedset copying build/lib.linux-riscv64-cpython-312/orderedset/__init__.py -> /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64/usr/lib64/python3.12/site-packages/orderedset byte-compiling /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64/usr/lib64/python3.12/site-packages/orderedset/__init__.py to __init__.cpython-312.pyc writing byte-compilation script '/tmp/tmp755hvol8.py' /usr/bin/python3 /tmp/tmp755hvol8.py removing /tmp/tmp755hvol8.py running install_egg_info running egg_info writing lib/orderedset.egg-info/PKG-INFO writing dependency_links to lib/orderedset.egg-info/dependency_links.txt writing top-level names to lib/orderedset.egg-info/top_level.txt reading manifest file 'lib/orderedset.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS.html' adding license file 'AUTHORS.rst' writing manifest file 'lib/orderedset.egg-info/SOURCES.txt' Copying lib/orderedset.egg-info to /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64/usr/lib64/python3.12/site-packages/orderedset-2.0.3-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64/usr/bin/__pycache__ + chmod 0755 /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64/usr/lib64/python3.12/site-packages/orderedset/_orderedset.cpython-312-riscv64-linux-gnu.so + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.0.3-11.fc40 --unique-debug-suffix -2.0.3-11.fc40.riscv64 --unique-debug-src-base python-orderedset-2.0.3-11.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/orderedset-2.0.3 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/python-orderedset-2.0.3-11.fc40.riscv64 2231 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64/usr/lib64/python3.12 using python3.12 Bytecompiling .py files below /builddir/build/BUILDROOT/python-orderedset-2.0.3-11.fc40.riscv64/usr/lib/debug/usr/lib64/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BDrLOy + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + 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 ' + 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 -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 -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 orderedset-2.0.3 + PYTHONPATH=/builddir/build/BUILD/orderedset-2.0.3 + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. /usr/lib/python3.12/site-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! ir_d = dist.fetch_build_eggs(dist.install_requires) WARNING: The wheel package is not available. /usr/lib/python3.12/site-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! tr_d = dist.fetch_build_eggs(dist.tests_require or []) WARNING: The wheel package is not available. /usr/lib/python3.12/site-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! er_d = dist.fetch_build_eggs( WARNING: The wheel package is not available. running egg_info writing lib/orderedset.egg-info/PKG-INFO writing dependency_links to lib/orderedset.egg-info/dependency_links.txt writing top-level names to lib/orderedset.egg-info/top_level.txt reading manifest file 'lib/orderedset.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS.html' adding license file 'AUTHORS.rst' writing manifest file 'lib/orderedset.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-riscv64-cpython-312/orderedset/_orderedset.cpython-312-riscv64-linux-gnu.so -> lib/orderedset test_add_existing (tests.test_orderedset.TestOrderedset.test_add_existing) ... ok test_add_new (tests.test_orderedset.TestOrderedset.test_add_new) ... ok test_clear (tests.test_orderedset.TestOrderedset.test_clear) ... ok test_contains (tests.test_orderedset.TestOrderedset.test_contains) ... ok test_copy (tests.test_orderedset.TestOrderedset.test_copy) ... ok test_difference_and_update (tests.test_orderedset.TestOrderedset.test_difference_and_update) ... ok test_difference_with_iterable (tests.test_orderedset.TestOrderedset.test_difference_with_iterable) ... ERROR test_discard (tests.test_orderedset.TestOrderedset.test_discard) ... ok test_eq (tests.test_orderedset.TestOrderedset.test_eq) ... ok test_getitem (tests.test_orderedset.TestOrderedset.test_getitem) ... ok test_getitem_slice (tests.test_orderedset.TestOrderedset.test_getitem_slice) ... ok test_index (tests.test_orderedset.TestOrderedset.test_index) ... ok test_intersection_and_update (tests.test_orderedset.TestOrderedset.test_intersection_and_update) ... ok test_intersection_with_iterable (tests.test_orderedset.TestOrderedset.test_intersection_with_iterable) ... ERROR test_isdisjoint (tests.test_orderedset.TestOrderedset.test_isdisjoint) ... ok test_issubset (tests.test_orderedset.TestOrderedset.test_issubset) ... ok test_issuperset (tests.test_orderedset.TestOrderedset.test_issuperset) ... ok test_iter_and_valid_order (tests.test_orderedset.TestOrderedset.test_iter_and_valid_order) ... ok test_iter_mutated (tests.test_orderedset.TestOrderedset.test_iter_mutated) ... ok test_len (tests.test_orderedset.TestOrderedset.test_len) ... ok test_orderedsubset (tests.test_orderedset.TestOrderedset.test_orderedsubset) ... ok test_orderedsuperset (tests.test_orderedset.TestOrderedset.test_orderedsuperset) ... ok test_ordering (tests.test_orderedset.TestOrderedset.test_ordering) ... ok test_pop (tests.test_orderedset.TestOrderedset.test_pop) ... ok test_reduce (tests.test_orderedset.TestOrderedset.test_reduce) ... ok test_remove (tests.test_orderedset.TestOrderedset.test_remove) ... ok test_repr (tests.test_orderedset.TestOrderedset.test_repr) ... ok test_reverse_order (tests.test_orderedset.TestOrderedset.test_reverse_order) ... ok test_symmetric_difference_and_update (tests.test_orderedset.TestOrderedset.test_symmetric_difference_and_update) ... ok test_symmetric_difference_with_iterable (tests.test_orderedset.TestOrderedset.test_symmetric_difference_with_iterable) ... ERROR test_union_and_update (tests.test_orderedset.TestOrderedset.test_union_and_update) ... ok test_union_with_iterable (tests.test_orderedset.TestOrderedset.test_union_with_iterable) ... ERROR ====================================================================== ERROR: test_difference_with_iterable (tests.test_orderedset.TestOrderedset.test_difference_with_iterable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/orderedset-2.0.3/tests/test_orderedset.py", line 276, in test_difference_with_iterable self.assertEqual([3, 2, 4, 1] - OrderedSet([2, 4]), OrderedSet([3, 1])) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ TypeError: unsupported operand type(s) for -: 'list' and 'OrderedSet' ====================================================================== ERROR: test_intersection_with_iterable (tests.test_orderedset.TestOrderedset.test_intersection_with_iterable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/orderedset-2.0.3/tests/test_orderedset.py", line 271, in test_intersection_with_iterable self.assertEqual([1, 2, 3] & OrderedSet([3, 2]), OrderedSet([2, 3])) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ TypeError: unsupported operand type(s) for &: 'list' and 'OrderedSet' ====================================================================== ERROR: test_symmetric_difference_with_iterable (tests.test_orderedset.TestOrderedset.test_symmetric_difference_with_iterable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/orderedset-2.0.3/tests/test_orderedset.py", line 261, in test_symmetric_difference_with_iterable self.assertEqual(oset1 ^ [1], OrderedSet([])) ~~~~~~^~~~~ File "lib/orderedset/_orderedset.pyx", line 323, in orderedset._orderedset._OrderedSet.__xor__ return (self - other) | (other - self) TypeError: unsupported operand type(s) for -: 'list' and 'OrderedSet' ====================================================================== ERROR: test_union_with_iterable (tests.test_orderedset.TestOrderedset.test_union_with_iterable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/orderedset-2.0.3/tests/test_orderedset.py", line 251, in test_union_with_iterable self.assertEqual([2] | oset1, OrderedSet([2, 1])) ~~~~^~~~~~~ TypeError: unsupported operand type(s) for |: 'list' and 'OrderedSet' ---------------------------------------------------------------------- Ran 32 tests in 0.158s FAILED (errors=4) Test failed: error: Test failed: error: Bad exit status from /var/tmp/rpm-tmp.BDrLOy (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.BDrLOy (%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/python-orderedset.spec