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-fastbencode.spec'], chrootPath='/var/lib/mock/f40-build-735723-106446/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-fastbencode.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=1689897600 Wrote: /builddir/build/SRPMS/python-fastbencode-0.0.9-6.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-fastbencode.spec'], chrootPath='/var/lib/mock/f40-build-735723-106446/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-fastbencode.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=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CzeAFL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fastbencode-0.0.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fastbencode-0.0.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fastbencode-0.0.9 + rm -rf /builddir/build/BUILD/fastbencode-0.0.9-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/fastbencode-0.0.9-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Skip-failing-test-with-Python-3.12.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ksOI4s + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -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 fastbencode-0.0.9 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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' /builddir/build/BUILD/fastbencode-0.0.9/setup.py:23: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. cython_version_info = LooseVersion(cython_version) /builddir/build/BUILD/fastbencode-0.0.9/setup.py:24: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if cython_version_info < LooseVersion(minimum_cython_version): running build running build_py creating build creating build/lib.linux-riscv64-cpython-312 creating build/lib.linux-riscv64-cpython-312/fastbencode copying fastbencode/__init__.py -> build/lib.linux-riscv64-cpython-312/fastbencode copying fastbencode/_bencode_py.py -> build/lib.linux-riscv64-cpython-312/fastbencode running build_ext Compiling fastbencode/_bencode_pyx.pyx because it changed. [1/1] Cythonizing fastbencode/_bencode_pyx.pyx building 'fastbencode._bencode_pyx' extension creating build/temp.linux-riscv64-cpython-312 creating build/temp.linux-riscv64-cpython-312/fastbencode gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -flto=auto -ffat-lto-objects -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 -Ifastbencode -I/usr/include/python3.12 -c fastbencode/_bencode_pyx.c -o build/temp.linux-riscv64-cpython-312/fastbencode/_bencode_pyx.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 -flto=auto -ffat-lto-objects -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/fastbencode/_bencode_pyx.o -L/usr/lib64 -o build/lib.linux-riscv64-cpython-312/fastbencode/_bencode_pyx.cpython-312-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qLbbJX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -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 fastbencode-0.0.9 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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-fastbencode-0.0.9-6.fc40.riscv64 --prefix /usr /builddir/build/BUILD/fastbencode-0.0.9/setup.py:23: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. cython_version_info = LooseVersion(cython_version) /builddir/build/BUILD/fastbencode-0.0.9/setup.py:24: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if cython_version_info < LooseVersion(minimum_cython_version): 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-fastbencode-0.0.9-6.fc40.riscv64/usr creating /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64/usr/lib64/python3.12 creating /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64/usr/lib64/python3.12/site-packages creating /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64/usr/lib64/python3.12/site-packages/fastbencode copying build/lib.linux-riscv64-cpython-312/fastbencode/__init__.py -> /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64/usr/lib64/python3.12/site-packages/fastbencode copying build/lib.linux-riscv64-cpython-312/fastbencode/_bencode_pyx.cpython-312-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64/usr/lib64/python3.12/site-packages/fastbencode copying build/lib.linux-riscv64-cpython-312/fastbencode/_bencode_py.py -> /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64/usr/lib64/python3.12/site-packages/fastbencode byte-compiling /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64/usr/lib64/python3.12/site-packages/fastbencode/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64/usr/lib64/python3.12/site-packages/fastbencode/_bencode_py.py to _bencode_py.cpython-312.pyc writing byte-compilation script '/tmp/tmpz2xbd2f3.py' /usr/bin/python3 /tmp/tmpz2xbd2f3.py removing /tmp/tmpz2xbd2f3.py running install_egg_info running egg_info creating fastbencode.egg-info writing fastbencode.egg-info/PKG-INFO writing dependency_links to fastbencode.egg-info/dependency_links.txt writing requirements to fastbencode.egg-info/requires.txt writing top-level names to fastbencode.egg-info/top_level.txt writing manifest file 'fastbencode.egg-info/SOURCES.txt' reading manifest file 'fastbencode.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.pxd' under directory 'fastbencode' adding license file 'COPYING' writing manifest file 'fastbencode.egg-info/SOURCES.txt' Copying fastbencode.egg-info to /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64/usr/lib64/python3.12/site-packages/fastbencode-0.0.9-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.fc40.riscv64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.0.9-6.fc40 --unique-debug-suffix -0.0.9-6.fc40.riscv64 --unique-debug-src-base python-fastbencode-0.0.9-6.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/fastbencode-0.0.9 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-fastbencode-0.0.9-6.fc40.riscv64 1337 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-fastbencode-0.0.9-6.fc40.riscv64/usr/lib64/python3.12 using python3.12 Bytecompiling .py files below /builddir/build/BUILDROOT/python-fastbencode-0.0.9-6.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.CSs30P + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -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 fastbencode-0.0.9 + /usr/bin/python3 setup.py test /builddir/build/BUILD/fastbencode-0.0.9/setup.py:23: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. cython_version_info = LooseVersion(cython_version) /builddir/build/BUILD/fastbencode-0.0.9/setup.py:24: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if cython_version_info < LooseVersion(minimum_cython_version): 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 fastbencode.egg-info/PKG-INFO writing dependency_links to fastbencode.egg-info/dependency_links.txt writing requirements to fastbencode.egg-info/requires.txt writing top-level names to fastbencode.egg-info/top_level.txt reading manifest file 'fastbencode.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.pxd' under directory 'fastbencode' adding license file 'COPYING' writing manifest file 'fastbencode.egg-info/SOURCES.txt' running build_ext building 'fastbencode._bencode_pyx' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -flto=auto -ffat-lto-objects -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 -Ifastbencode -I/usr/include/python3.12 -c fastbencode/_bencode_pyx.c -o build/temp.linux-riscv64-cpython-312/fastbencode/_bencode_pyx.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 -flto=auto -ffat-lto-objects -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/fastbencode/_bencode_pyx.o -L/usr/lib64 -o /builddir/build/BUILD/fastbencode-0.0.9/fastbencode/_bencode_pyx.cpython-312-riscv64-linux-gnu.so test_decoder_type_error (fastbencode.tests.test_bencode.TestBencodeDecode.test_decoder_type_error) ... ok test_decoder_type_error (fastbencode.tests.test_bencode.TestBencodeDecode.test_decoder_type_error) ... ok test_dict (fastbencode.tests.test_bencode.TestBencodeDecode.test_dict) ... ok test_dict (fastbencode.tests.test_bencode.TestBencodeDecode.test_dict) ... ok test_dict_deepnested (fastbencode.tests.test_bencode.TestBencodeDecode.test_dict_deepnested) ... ok test_dict_deepnested (fastbencode.tests.test_bencode.TestBencodeDecode.test_dict_deepnested) ... FAIL test_empty_string (fastbencode.tests.test_bencode.TestBencodeDecode.test_empty_string) ... ok test_empty_string (fastbencode.tests.test_bencode.TestBencodeDecode.test_empty_string) ... ok test_int (fastbencode.tests.test_bencode.TestBencodeDecode.test_int) ... ok test_int (fastbencode.tests.test_bencode.TestBencodeDecode.test_int) ... ok test_junk (fastbencode.tests.test_bencode.TestBencodeDecode.test_junk) ... ok test_junk (fastbencode.tests.test_bencode.TestBencodeDecode.test_junk) ... ok test_large_string (fastbencode.tests.test_bencode.TestBencodeDecode.test_large_string) ... ok test_large_string (fastbencode.tests.test_bencode.TestBencodeDecode.test_large_string) ... ok test_list (fastbencode.tests.test_bencode.TestBencodeDecode.test_list) ... ok test_list (fastbencode.tests.test_bencode.TestBencodeDecode.test_list) ... ok test_list_deepnested (fastbencode.tests.test_bencode.TestBencodeDecode.test_list_deepnested) ... skipped 'The test fails with Python 3.12' test_list_deepnested (fastbencode.tests.test_bencode.TestBencodeDecode.test_list_deepnested) ... skipped 'The test fails with Python 3.12' test_long (fastbencode.tests.test_bencode.TestBencodeDecode.test_long) ... ok test_long (fastbencode.tests.test_bencode.TestBencodeDecode.test_long) ... ok test_malformed_dict (fastbencode.tests.test_bencode.TestBencodeDecode.test_malformed_dict) ... ok test_malformed_dict (fastbencode.tests.test_bencode.TestBencodeDecode.test_malformed_dict) ... ok test_malformed_int (fastbencode.tests.test_bencode.TestBencodeDecode.test_malformed_int) ... ok test_malformed_int (fastbencode.tests.test_bencode.TestBencodeDecode.test_malformed_int) ... ok test_malformed_list (fastbencode.tests.test_bencode.TestBencodeDecode.test_malformed_list) ... ok test_malformed_list (fastbencode.tests.test_bencode.TestBencodeDecode.test_malformed_list) ... ok test_malformed_string (fastbencode.tests.test_bencode.TestBencodeDecode.test_malformed_string) ... ok test_malformed_string (fastbencode.tests.test_bencode.TestBencodeDecode.test_malformed_string) ... ok test_string (fastbencode.tests.test_bencode.TestBencodeDecode.test_string) ... ok test_string (fastbencode.tests.test_bencode.TestBencodeDecode.test_string) ... ok test_unknown_object (fastbencode.tests.test_bencode.TestBencodeDecode.test_unknown_object) ... ok test_unknown_object (fastbencode.tests.test_bencode.TestBencodeDecode.test_unknown_object) ... ok test_unsupported_type (fastbencode.tests.test_bencode.TestBencodeDecode.test_unsupported_type) ... ok test_unsupported_type (fastbencode.tests.test_bencode.TestBencodeDecode.test_unsupported_type) ... ok test_bencached (fastbencode.tests.test_bencode.TestBencodeEncode.test_bencached) ... ok test_bencached (fastbencode.tests.test_bencode.TestBencodeEncode.test_bencached) ... ok test_bool (fastbencode.tests.test_bencode.TestBencodeEncode.test_bool) ... ok test_bool (fastbencode.tests.test_bencode.TestBencodeEncode.test_bool) ... ok test_dict (fastbencode.tests.test_bencode.TestBencodeEncode.test_dict) ... ok test_dict (fastbencode.tests.test_bencode.TestBencodeEncode.test_dict) ... ok test_dict_deep_nested (fastbencode.tests.test_bencode.TestBencodeEncode.test_dict_deep_nested) ... ok test_dict_deep_nested (fastbencode.tests.test_bencode.TestBencodeEncode.test_dict_deep_nested) ... FAIL test_int (fastbencode.tests.test_bencode.TestBencodeEncode.test_int) ... ok test_int (fastbencode.tests.test_bencode.TestBencodeEncode.test_int) ... ok test_invalid_dict (fastbencode.tests.test_bencode.TestBencodeEncode.test_invalid_dict) ... ok test_invalid_dict (fastbencode.tests.test_bencode.TestBencodeEncode.test_invalid_dict) ... ok test_list (fastbencode.tests.test_bencode.TestBencodeEncode.test_list) ... ok test_list (fastbencode.tests.test_bencode.TestBencodeEncode.test_list) ... ok test_list_as_tuple (fastbencode.tests.test_bencode.TestBencodeEncode.test_list_as_tuple) ... ok test_list_as_tuple (fastbencode.tests.test_bencode.TestBencodeEncode.test_list_as_tuple) ... ok test_list_deep_nested (fastbencode.tests.test_bencode.TestBencodeEncode.test_list_deep_nested) ... ok test_list_deep_nested (fastbencode.tests.test_bencode.TestBencodeEncode.test_list_deep_nested) ... FAIL test_long (fastbencode.tests.test_bencode.TestBencodeEncode.test_long) ... ok test_long (fastbencode.tests.test_bencode.TestBencodeEncode.test_long) ... ok test_string (fastbencode.tests.test_bencode.TestBencodeEncode.test_string) ... ok test_string (fastbencode.tests.test_bencode.TestBencodeEncode.test_string) ... ok ====================================================================== FAIL: test_dict_deepnested (fastbencode.tests.test_bencode.TestBencodeDecode.test_dict_deepnested) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/fastbencode-0.0.9/fastbencode/tests/test_bencode.py", line 317, in test_dict_deepnested self._run_check_error( File "/builddir/build/BUILD/fastbencode-0.0.9/fastbencode/tests/test_bencode.py", line 238, in _run_check_error self.assertRaises(exc, self.module.bdecode, bad) AssertionError: RuntimeError not raised by bdecode ====================================================================== FAIL: test_dict_deep_nested (fastbencode.tests.test_bencode.TestBencodeEncode.test_dict_deep_nested) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/fastbencode-0.0.9/fastbencode/tests/test_bencode.py", line 406, in test_dict_deep_nested self.assertRaises(RuntimeError, self.module.bencode, top) AssertionError: RuntimeError not raised by bencode ====================================================================== FAIL: test_list_deep_nested (fastbencode.tests.test_bencode.TestBencodeEncode.test_list_deep_nested) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/fastbencode-0.0.9/fastbencode/tests/test_bencode.py", line 392, in test_list_deep_nested self.assertRaises(RuntimeError, self.module.bencode, top) AssertionError: RuntimeError not raised by bencode ---------------------------------------------------------------------- Ran 56 tests in 0.071s FAILED (failures=3, skipped=2) Test failed: error: Test failed: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.CSs30P (%check) Bad exit status from /var/tmp/rpm-tmp.CSs30P (%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-fastbencode.spec