Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-mockito.spec'], chrootPath='/var/lib/mock/f45-build-31697-654/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h6f9j9zm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h6f9j9zm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ecb186f21b124097ac78daaa73e35fa7', '-D', '/var/lib/mock/f45-build-31697-654/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h6f9j9zm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--console=pipe', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-mockito.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/python-mockito-1.5.0-9.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-mockito.spec'], chrootPath='/var/lib/mock/f45-build-31697-654/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h6f9j9zm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h6f9j9zm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9aeb81c90ec346dcbe92cd5b40cc8689', '-D', '/var/lib/mock/f45-build-31697-654/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h6f9j9zm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--console=pipe', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-mockito.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch warning: The %py3_build macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ warning: The %py3_install macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ setting SOURCE_DATE_EPOCH=1784160000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.aP2rnS Creating(rpmbuild.env): /builddir/build/BUILD/python-mockito-1.5.0-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/python-mockito-1.5.0-build" RPM_OPT_FLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 " RPM_ARCH="noarch" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/python-mockito-1.5.0-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="python-mockito" RPM_PACKAGE_VERSION="1.5.0" RPM_PACKAGE_RELEASE="9.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j4dV29 + umask 022 + cd /builddir/build/BUILD/python-mockito-1.5.0-build + cd /builddir/build/BUILD/python-mockito-1.5.0-build + rm -rf mockito-python-1.5.0 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/mockito-python-1.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mockito-python-1.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NYkbec + umask 022 + cd /builddir/build/BUILD/python-mockito-1.5.0-build + CFLAGS='-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mockito-python-1.5.0 + CFLAGS='-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /usr/lib/python3.15/site-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `maintainers` defined outside of `pyproject.toml` is ignored. !! ******************************************************************************** The following seems to be defined outside of `pyproject.toml`: `maintainers = 'herr.kaste'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless `maintainers` is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table To prevent this problem, you can list `maintainers` under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. ******************************************************************************** !! _handle_missing_dynamic(dist, project_table) /usr/lib/python3.15/site-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `classifiers` defined outside of `pyproject.toml` is ignored. !! ******************************************************************************** The following seems to be defined outside of `pyproject.toml`: `classifiers = ['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Topic :: Software Development :: Testing', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12']` According to the spec (see the link below), however, setuptools CANNOT consider this value unless `classifiers` is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table To prevent this problem, you can list `classifiers` under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. ******************************************************************************** !! _handle_missing_dynamic(dist, project_table) /usr/lib/python3.15/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2027-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) running build running build_py creating build/lib/mockito copying mockito/__init__.py -> build/lib/mockito copying mockito/inorder.py -> build/lib/mockito copying mockito/invocation.py -> build/lib/mockito copying mockito/matchers.py -> build/lib/mockito copying mockito/mock_registry.py -> build/lib/mockito copying mockito/mocking.py -> build/lib/mockito copying mockito/mockito.py -> build/lib/mockito copying mockito/signature.py -> build/lib/mockito copying mockito/spying.py -> build/lib/mockito copying mockito/utils.py -> build/lib/mockito copying mockito/verification.py -> build/lib/mockito running egg_info creating mockito.egg-info writing mockito.egg-info/PKG-INFO writing dependency_links to mockito.egg-info/dependency_links.txt writing top-level names to mockito.egg-info/top_level.txt writing manifest file 'mockito.egg-info/SOURCES.txt' reading manifest file 'mockito.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[co]' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'mockito.egg-info/SOURCES.txt' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wCNwb8 + umask 022 + cd /builddir/build/BUILD/python-mockito-1.5.0-build + '[' /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-mockito-1.5.0-build + mkdir /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT + CFLAGS='-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mockito-python-1.5.0 + CFLAGS='-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT --prefix /usr /usr/lib/python3.15/site-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `maintainers` defined outside of `pyproject.toml` is ignored. !! ******************************************************************************** The following seems to be defined outside of `pyproject.toml`: `maintainers = 'herr.kaste'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless `maintainers` is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table To prevent this problem, you can list `maintainers` under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. ******************************************************************************** !! _handle_missing_dynamic(dist, project_table) /usr/lib/python3.15/site-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `classifiers` defined outside of `pyproject.toml` is ignored. !! ******************************************************************************** The following seems to be defined outside of `pyproject.toml`: `classifiers = ['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Topic :: Software Development :: Testing', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12']` According to the spec (see the link below), however, setuptools CANNOT consider this value unless `classifiers` is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table To prevent this problem, you can list `classifiers` under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. ******************************************************************************** !! _handle_missing_dynamic(dist, project_table) /usr/lib/python3.15/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2027-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) running install /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:90: 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. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. 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/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages creating /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito copying build/lib/mockito/__init__.py -> /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito copying build/lib/mockito/inorder.py -> /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito copying build/lib/mockito/invocation.py -> /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito copying build/lib/mockito/matchers.py -> /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito copying build/lib/mockito/mock_registry.py -> /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito copying build/lib/mockito/mocking.py -> /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito copying build/lib/mockito/mockito.py -> /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito copying build/lib/mockito/signature.py -> /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito copying build/lib/mockito/spying.py -> /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito copying build/lib/mockito/utils.py -> /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito copying build/lib/mockito/verification.py -> /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito byte-compiling /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__init__.py to __init__.cpython-315.pyc byte-compiling /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/inorder.py to inorder.cpython-315.pyc byte-compiling /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/invocation.py to invocation.cpython-315.pyc byte-compiling /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/matchers.py to matchers.cpython-315.pyc byte-compiling /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/mock_registry.py to mock_registry.cpython-315.pyc byte-compiling /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/mocking.py to mocking.cpython-315.pyc byte-compiling /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/mockito.py to mockito.cpython-315.pyc byte-compiling /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/signature.py to signature.cpython-315.pyc byte-compiling /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/spying.py to spying.cpython-315.pyc byte-compiling /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/utils.py to utils.cpython-315.pyc byte-compiling /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/verification.py to verification.cpython-315.pyc writing byte-compilation script '/tmp/tmp9odx86uk.py' /usr/bin/python3 /tmp/tmp9odx86uk.py removing /tmp/tmp9odx86uk.py running install_egg_info running egg_info writing mockito.egg-info/PKG-INFO writing dependency_links to mockito.egg-info/dependency_links.txt writing top-level names to mockito.egg-info/top_level.txt reading manifest file 'mockito.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[co]' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'mockito.egg-info/SOURCES.txt' Copying mockito.egg-info to /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito-1.5.0-py3.15.egg-info running install_scripts + rm -rfv /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/bin/__pycache__ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15 using python3.15 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__pycache__/inorder.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__pycache__/__init__.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__pycache__/mock_registry.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__pycache__/spying.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__pycache__/signature.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__pycache__/matchers.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__pycache__/verification.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__pycache__/utils.cpython-315.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__pycache__/utils.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__pycache__/mocking.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__pycache__/invocation.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__pycache__/mockito.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages/mockito/__pycache__/mocking.cpython-315.opt-1.pyc: replacing with normalized version Scanned 8 directories and 37 files, processed 13 inodes, 13 modified (4 replaced + 9 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr Scanned 7 directories and 37 files, considered 37 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.rMHcPc + umask 022 + cd /builddir/build/BUILD/python-mockito-1.5.0-build + CFLAGS='-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mockito-python-1.5.0 + CFLAGS='-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin + PYTHONPATH=/builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib64/python3.15/site-packages:/builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/lib/python3.15/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.15.0rc2, pytest-9.1.1, pluggy-1.6.0 rootdir: /builddir/build/BUILD/python-mockito-1.5.0-build/mockito-python-1.5.0 configfile: pytest.ini collected 1167 items tests/call_original_implem_test.py ......... [ 0%] tests/classmethods_test.py ................. [ 2%] tests/ellipsis_test.py ................................................. [ 6%] .................. [ 7%] tests/instancemethods_test.py ............................xx............ [ 11%] ................... [ 13%] tests/late_imports_test.py ............... [ 14%] tests/matchers_test.py ................................................. [ 18%] ... [ 18%] tests/mocking_properties_test.py .... [ 19%] tests/modulefunctions_test.py ............. [ 20%] tests/my_dict_test.py ...... [ 20%] tests/numpy_test.py .. [ 21%] tests/signatures_test.py ............................................... [ 25%] ........................................................................ [ 31%] ........................................................................ [ 37%] ........................................................................ [ 43%] ........................................................................ [ 49%] ........................................................................ [ 55%] ........................................................................ [ 62%] ........................................................................ [ 68%] ........................................................................ [ 74%] .................................................................... [ 80%] tests/speccing_test.py .............. [ 81%] tests/spying_test.py .x............... [ 82%] tests/staticmethods_test.py ................ [ 84%] tests/stubbing_test.py .......................................... [ 87%] tests/unstub_test.py ........... [ 88%] tests/verification_errors_test.py ............ [ 89%] tests/verifications_test.py ............................................ [ 93%] ............................................ [ 97%] tests/when2_test.py ................. [ 98%] tests/when_interface_test.py ............. [100%] =============================== warnings summary =============================== ../../../../../usr/lib/python3.15/site-packages/_pytest/config/__init__.py:1464 /usr/lib/python3.15/site-packages/_pytest/config/__init__.py:1464: PytestConfigWarning: Unknown config option: asyncio_mode self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================== 1164 passed, 3 xfailed, 1 warning in 4.52s ================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-mockito-1.5.0-9.fc45.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EwBiQQ + umask 022 + cd /builddir/build/BUILD/python-mockito-1.5.0-build + cd mockito-python-1.5.0 + DOCDIR=/builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/share/doc/python3-mockito + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/share/doc/python3-mockito + cp -pr /builddir/build/BUILD/python-mockito-1.5.0-build/mockito-python-1.5.0/AUTHORS /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/share/doc/python3-mockito + cp -pr /builddir/build/BUILD/python-mockito-1.5.0-build/mockito-python-1.5.0/CHANGES.txt /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/share/doc/python3-mockito + cp -pr /builddir/build/BUILD/python-mockito-1.5.0-build/mockito-python-1.5.0/README.rst /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/share/doc/python3-mockito + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.76ywzZ + umask 022 + cd /builddir/build/BUILD/python-mockito-1.5.0-build + cd mockito-python-1.5.0 + LICENSEDIR=/builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/share/licenses/python3-mockito + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/share/licenses/python3-mockito + cp -pr /builddir/build/BUILD/python-mockito-1.5.0-build/mockito-python-1.5.0/LICENSE /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT/usr/share/licenses/python3-mockito + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-mockito = 1.5.0-9.fc45 python3-mockito = 1.5.0-9.fc45 python3.15-mockito = 1.5.0-9.fc45 python3.15dist(mockito) = 1.5 python3dist(mockito) = 1.5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.15 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-mockito-1.5.0-build/BUILDROOT Wrote: /builddir/build/RPMS/python3-mockito-1.5.0-9.fc45.noarch.rpm RPM build warnings: The %py3_build macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ The %py3_install macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ Child return code was: 0