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-minimock.spec'], chrootPath='/var/lib/mock/f45-build-31577-652/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.mvox9odn:/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.mvox9odn:/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', '3c1bab860e3a4232baf4578db66d431a', '-D', '/var/lib/mock/f45-build-31577-652/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mvox9odn:/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-minimock.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-minimock-1.3.0-9.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-minimock.spec'], chrootPath='/var/lib/mock/f45-build-31577-652/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=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mvox9odn:/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.mvox9odn:/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', '8157054e4d4f422d9a39cf224b226e57', '-D', '/var/lib/mock/f45-build-31577-652/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mvox9odn:/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 -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-minimock.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 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.AztNnj Creating(rpmbuild.env): /builddir/build/BUILD/python-minimock-1.3.0-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/python-minimock-1.3.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-minimock-1.3.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-minimock" RPM_PACKAGE_VERSION="1.3.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-minimock-1.3.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.DsxUhO + umask 022 + cd /builddir/build/BUILD/python-minimock-1.3.0-build + cd /builddir/build/BUILD/python-minimock-1.3.0-build + rm -rf minimock-1.3.0 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/minimock-1.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd minimock-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.IAT5Dv + umask 022 + cd /builddir/build/BUILD/python-minimock-1.3.0-build + cd minimock-1.3.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir + echo -n + 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 ' + 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 ' + 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 ' + 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 ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + 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 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=45 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-minimock-1.3.0-build/pyproject-wheeldir --output /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-dep-overrides Handling setuptools>=40.8.0 from build-system.requires Requirement not satisfied: setuptools>=40.8.0 Handling wheel from build-system.requires Requirement not satisfied: wheel Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-minimock-1.3.0-9.fc45.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-minimock.spec'], chrootPath='/var/lib/mock/f45-build-31577-652/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=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mvox9odn:/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.mvox9odn:/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', '7ff4be09023e4a18b8dc68aad241ea3e', '-D', '/var/lib/mock/f45-build-31577-652/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mvox9odn:/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 -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-minimock.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 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.XIc2ov + umask 022 + cd /builddir/build/BUILD/python-minimock-1.3.0-build + cd minimock-1.3.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir + echo -n + 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 ' + 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 ' + 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 ' + 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 ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + 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 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=45 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-minimock-1.3.0-build/pyproject-wheeldir --output /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-dep-overrides Handling setuptools>=40.8.0 from build-system.requires Requirement satisfied: setuptools>=40.8.0 (installed: setuptools 83.0.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.48.0) /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running egg_info creating minimock.egg-info writing minimock.egg-info/PKG-INFO writing dependency_links to minimock.egg-info/dependency_links.txt writing requirements to minimock.egg-info/requires.txt writing top-level names to minimock.egg-info/top_level.txt writing manifest file 'minimock.egg-info/SOURCES.txt' reading manifest file 'minimock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'minimock.egg-info/SOURCES.txt' running dist_info writing minimock.egg-info/PKG-INFO writing dependency_links to minimock.egg-info/dependency_links.txt writing requirements to minimock.egg-info/requires.txt writing top-level names to minimock.egg-info/top_level.txt reading manifest file 'minimock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'minimock.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-minimock-1.3.0-build/minimock-1.3.0/minimock-1.2.10.dev0.dist-info' /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:119: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() Handling pytest; extra == "test" from hook generated metadata: Requires-Dist (minimock) Ignoring alien requirement: pytest; extra == "test" Handling pytest-flake8; extra == "test" from hook generated metadata: Requires-Dist (minimock) Ignoring alien requirement: pytest-flake8; extra == "test" Handling pytest-cov; extra == "test" from hook generated metadata: Requires-Dist (minimock) Ignoring alien requirement: pytest-cov; extra == "test" Handling coverage; extra == "cov" from hook generated metadata: Requires-Dist (minimock) Ignoring alien requirement: coverage; extra == "cov" Handling coverage_python_version; extra == "cov" from hook generated metadata: Requires-Dist (minimock) Ignoring alien requirement: coverage_python_version; extra == "cov" + cat /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-buildrequires + rm -rfv minimock-1.2.10.dev0.dist-info/ removed 'minimock-1.2.10.dev0.dist-info/zip-safe' removed 'minimock-1.2.10.dev0.dist-info/top_level.txt' removed 'minimock-1.2.10.dev0.dist-info/METADATA' removed 'minimock-1.2.10.dev0.dist-info/licenses/LICENSE.txt' removed directory 'minimock-1.2.10.dev0.dist-info/licenses' removed directory 'minimock-1.2.10.dev0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-minimock-1.3.0-9.fc45.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-minimock.spec'], chrootPath='/var/lib/mock/f45-build-31577-652/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.mvox9odn:/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.mvox9odn:/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', '6f195559e3124449933e6d3275921204', '-D', '/var/lib/mock/f45-build-31577-652/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mvox9odn:/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 -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-minimock.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 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.FTpGIR + umask 022 + cd /builddir/build/BUILD/python-minimock-1.3.0-build + cd minimock-1.3.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir + echo -n + 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 ' + 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 ' + 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 ' + 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 ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + 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 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir + RPM_TOXENV=py315 + FEDORA=45 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-minimock-1.3.0-build/pyproject-wheeldir --output /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-dep-overrides Handling setuptools>=40.8.0 from build-system.requires Requirement satisfied: setuptools>=40.8.0 (installed: setuptools 83.0.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.48.0) /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running egg_info writing minimock.egg-info/PKG-INFO writing dependency_links to minimock.egg-info/dependency_links.txt writing requirements to minimock.egg-info/requires.txt writing top-level names to minimock.egg-info/top_level.txt reading manifest file 'minimock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'minimock.egg-info/SOURCES.txt' running dist_info writing minimock.egg-info/PKG-INFO writing dependency_links to minimock.egg-info/dependency_links.txt writing requirements to minimock.egg-info/requires.txt writing top-level names to minimock.egg-info/top_level.txt reading manifest file 'minimock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'minimock.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-minimock-1.3.0-build/minimock-1.3.0/minimock-1.2.10.dev0.dist-info' /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:119: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() Handling pytest; extra == "test" from hook generated metadata: Requires-Dist (minimock) Ignoring alien requirement: pytest; extra == "test" Handling pytest-flake8; extra == "test" from hook generated metadata: Requires-Dist (minimock) Ignoring alien requirement: pytest-flake8; extra == "test" Handling pytest-cov; extra == "test" from hook generated metadata: Requires-Dist (minimock) Ignoring alien requirement: pytest-cov; extra == "test" Handling coverage; extra == "cov" from hook generated metadata: Requires-Dist (minimock) Ignoring alien requirement: coverage; extra == "cov" Handling coverage_python_version; extra == "cov" from hook generated metadata: Requires-Dist (minimock) Ignoring alien requirement: coverage_python_version; extra == "cov" + cat /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-buildrequires + rm -rfv minimock-1.2.10.dev0.dist-info/ removed 'minimock-1.2.10.dev0.dist-info/zip-safe' removed 'minimock-1.2.10.dev0.dist-info/top_level.txt' removed 'minimock-1.2.10.dev0.dist-info/METADATA' removed 'minimock-1.2.10.dev0.dist-info/licenses/LICENSE.txt' removed directory 'minimock-1.2.10.dev0.dist-info/licenses' removed directory 'minimock-1.2.10.dev0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.q3Xort + umask 022 + cd /builddir/build/BUILD/python-minimock-1.3.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 minimock-1.3.0 + mkdir -p /builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir + 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 ' + 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 ' + 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 ' + 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 ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + 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 ' + LT_SYS_LIBRARY_PATH=/usr/lib: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-minimock-1.3.0-build/pyproject-wheeldir Processing ./. Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running dist_info creating /builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir/pip-modern-metadata-p7zaq9gr/minimock.egg-info writing /builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir/pip-modern-metadata-p7zaq9gr/minimock.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir/pip-modern-metadata-p7zaq9gr/minimock.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir/pip-modern-metadata-p7zaq9gr/minimock.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir/pip-modern-metadata-p7zaq9gr/minimock.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir/pip-modern-metadata-p7zaq9gr/minimock.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir/pip-modern-metadata-p7zaq9gr/minimock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file '/builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir/pip-modern-metadata-p7zaq9gr/minimock.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir/pip-modern-metadata-p7zaq9gr/minimock-1.2.10.dev0.dist-info' /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:119: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: minimock Building wheel for minimock (pyproject.toml): started Running command Building wheel for minimock (pyproject.toml) /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:119: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib copying minimock.py -> build/lib installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64/wheel copying build/lib/minimock.py -> build/bdist.linux-riscv64/wheel/. running install_egg_info running egg_info writing minimock.egg-info/PKG-INFO writing dependency_links to minimock.egg-info/dependency_links.txt writing requirements to minimock.egg-info/requires.txt writing top-level names to minimock.egg-info/top_level.txt reading manifest file 'minimock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'minimock.egg-info/SOURCES.txt' Copying minimock.egg-info to build/bdist.linux-riscv64/wheel/./minimock-1.2.10.dev0-py3.15.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/minimock-1.2.10.dev0.dist-info/WHEEL creating '/builddir/.cache/pip/wheels/dd/1e/cb/bf420a65f6afe5dd952a4bfe75a5b756c8d07d52d2c93c4812/tmp5qskwvn1/.tmp-a3pijxnx/minimock-1.2.10.dev0-py2.py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'minimock.py' adding 'minimock-1.2.10.dev0.dist-info/licenses/LICENSE.txt' adding 'minimock-1.2.10.dev0.dist-info/METADATA' adding 'minimock-1.2.10.dev0.dist-info/WHEEL' adding 'minimock-1.2.10.dev0.dist-info/top_level.txt' adding 'minimock-1.2.10.dev0.dist-info/zip-safe' adding 'minimock-1.2.10.dev0.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Building wheel for minimock (pyproject.toml): finished with status 'done' Created wheel for minimock: filename=minimock-1.2.10.dev0-py2.py3-none-any.whl size=10766 sha256=41ab0027d7dd33f2f77d56a5233fe50bee5b372651eb276e8d24a2b2004d467f Stored in directory: /builddir/.cache/pip/wheels/dd/1e/cb/bf420a65f6afe5dd952a4bfe75a5b756c8d07d52d2c93c4812 Successfully built minimock + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wEmnEK + umask 022 + cd /builddir/build/BUILD/python-minimock-1.3.0-build + '[' /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-minimock-1.3.0-build + mkdir /builddir/build/BUILD/python-minimock-1.3.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 minimock-1.3.0 ++ ls /builddir/build/BUILD/python-minimock-1.3.0-build/pyproject-wheeldir/minimock-1.2.10.dev0-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=minimock==1.2.10.dev0 + '[' -z minimock==1.2.10.dev0 ']' + PIP_CONFIG_FILE=/dev/null + TMPDIR=/builddir/build/BUILD/python-minimock-1.3.0-build/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/python-minimock-1.3.0-build/pyproject-wheeldir minimock==1.2.10.dev0 Using pip 26.1.2 from /usr/lib/python3.15/site-packages/pip (python 3.15) Looking in links: /builddir/build/BUILD/python-minimock-1.3.0-build/pyproject-wheeldir Processing /builddir/build/BUILD/python-minimock-1.3.0-build/pyproject-wheeldir/minimock-1.2.10.dev0-py2.py3-none-any.whl Installing collected packages: minimock Successfully installed minimock-1.2.10.dev0 + '[' -d /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/bin ']' + rm -f /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/lib/python3.15/site-packages ']' + site_dirs+=("/usr/lib/python3.15/site-packages") + '[' /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/lib64/python3.15/site-packages '!=' /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/lib/python3.15/site-packages ']' + '[' -d /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/lib64/python3.15/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost %dir /usr/lib/python3.15/site-packages/minimock-1.2.10.dev0.dist-info' +++ basename /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/lib/python3.15/site-packages/minimock-1.2.10.dev0.dist-info ++ PYTHONPATH=/usr/lib/rpm/redhat ++ /usr/bin/python3 -sBc 'import sys; from pyproject_save_files import canonical_name_from_distinfo; print(canonical_name_from_distinfo(sys.argv[1]))' minimock-1.2.10.dev0.dist-info + _normalized=minimock + echo '%ghost %dir /usr/lib/python3.15/site-packages/minimock-1.2.10.dev0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/lib/python3.15/site-packages/minimock-1.2.10.dev0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT --record /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/lib/python3.15/site-packages/minimock-1.2.10.dev0.dist-info/RECORD --output /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-record + rm -fv /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/lib/python3.15/site-packages/minimock-1.2.10.dev0.dist-info/RECORD removed '/builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/lib/python3.15/site-packages/minimock-1.2.10.dev0.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/lib/python3.15/site-packages/minimock-1.2.10.dev0.dist-info/REQUESTED removed '/builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/lib/python3.15/site-packages/minimock-1.2.10.dev0.dist-info/REQUESTED' + '[' -f /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-dep-overrides ']' ++ wc -l /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-modules --buildroot /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT --sitelib /usr/lib/python3.15/site-packages --sitearch /usr/lib64/python3.15/site-packages --python-version 3.15 --pyproject-record /builddir/build/BUILD/python-minimock-1.3.0-build/python-minimock-1.3.0-9.fc45.noarch-pyproject-record --prefix /usr 'minimock*' + /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-minimock-1.3.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-minimock-1.3.0-build/BUILDROOT /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/lib/python3.15/site-packages/__pycache__/minimock.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/lib/python3.15/site-packages/__pycache__/minimock.cpython-315.opt-1.pyc: replacing with normalized version Scanned 8 directories and 9 files, processed 2 inodes, 2 modified (2 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr Scanned 7 directories and 9 files, considered 9 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.MT0aux + umask 022 + cd /builddir/build/BUILD/python-minimock-1.3.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 minimock-1.3.0 + /usr/bin/python3 minimock.py -v Trying: import smtplib Expecting nothing ok Trying: def send_email(from_addr, to_addr, subject, body): conn = smtplib.SMTP('localhost') msg = 'To: %s\nFrom: %s\nSubject: %s\n\n%s' % ( to_addr, from_addr, subject, body) conn.sendmail(from_addr, [to_addr], msg) conn.quit() Expecting nothing ok Trying: smtplib.SMTP = Mock('smtplib.SMTP') Expecting nothing ok Trying: smtplib.SMTP.mock_returns = Mock('smtp_connection') Expecting nothing ok Trying: send_email('ianb@colorstudy.com', 'joe@example.com', 'Hi there!', 'How is it going?') Expecting: Called smtplib.SMTP('localhost') Called smtp_connection.sendmail( 'ianb@colorstudy.com', ['joe@example.com'], 'To: joe@example.com\nFrom: ianb@colorstudy.com\nSubject: Hi there!\n\nHow is it going?') Called smtp_connection.quit() ok Trying: z = Mock('z', show_attrs=True) Expecting nothing ok Trying: z.a = 2 Expecting: Set z.a = 2 ok Trying: tt = TraceTracker() Expecting nothing ok Trying: m = Mock('mock_obj', tracker=tt) Expecting nothing ok Trying: m.some_meth('arg1') Expecting nothing ok Trying: tt.check("Called mock_obj.some_meth('arg1')") Expecting: True ok Trying: tt.clear() Expecting nothing ok Trying: m.some_meth('arg2') Expecting nothing ok Trying: tt.check("does not match") Expecting: False ok Trying: tt = TraceTracker() Expecting nothing ok Trying: m = Mock('mock_obj', tracker=tt) Expecting nothing ok Trying: m.some_meth('dummy argument') Expecting nothing ok Trying: tt.diff("does not match") Expecting: "Expected:\n does not match\nGot:\n Called mock_obj.some_meth('dummy argument')\n" ok Trying: tt.diff("Called mock_obj.some_meth('dummy argument')") Expecting: '' ok Trying: tt = TraceTracker() Expecting nothing ok Trying: m = Mock('mock_obj', tracker=tt) Expecting nothing ok Trying: m.some_meth('dummy argument') Expecting nothing ok Trying: tt.dump() Expecting: "Called mock_obj.some_meth('dummy argument')\n" ok Trying: m = Mock('mock_obj', tracker=None) Expecting nothing ok Trying: m.mock_returns = 42 Expecting nothing ok Trying: m() Expecting: 42 ok Trying: m.mock_returns = None Expecting nothing ok Trying: m.mock_returns_func = lambda x: x*x Expecting nothing ok Trying: m(3) Expecting: 9 ok Trying: m.mock_returns_func = None Expecting nothing ok Trying: m.mock_returns_iter = [True, False] Expecting nothing ok Trying: m() Expecting: True ok Trying: m() Expecting: False ok Trying: m.mock_returns_iter = None Expecting nothing ok Trying: m.mock_raises = ValueError Expecting nothing ok Trying: try: m() except ValueError: pass else: raise AssertionError('m() should have raised ValueError') Expecting nothing ok Trying: m.mock_tracker = Printer(sys.stdout) Expecting nothing ok Trying: m.mock_show_attrs = True Expecting nothing ok Trying: m.a = 2 Expecting: Set mock_obj.a = 2 ok Trying: import os Expecting nothing ok Trying: rename = os.rename Expecting nothing ok Trying: orig_id = id(rename) Expecting nothing ok Trying: mock("rename") Expecting nothing ok Trying: mock_id = id(rename) Expecting nothing ok Trying: mock("rename") Expecting nothing ok Trying: mock_id != id(rename) Expecting: True ok Trying: restore() Expecting nothing ok Trying: orig_id == id(rename) == id(os.rename) Expecting: True ok Trying: import smtplib Expecting nothing ok Trying: def send_email(from_addr, to_addr, subject, body): conn = smtplib.SMTP('localhost') msg = 'To: %s\nFrom: %s\nSubject: %s\n\n%s' % ( to_addr, from_addr, subject, body) conn.sendmail(from_addr, [to_addr], msg) conn.quit() Expecting nothing ok Trying: mock("smtplib.SMTP", returns=Mock('smtp_connection')) Expecting nothing ok Trying: send_email('ianb@colorstudy.com', 'joe@example.com', 'Hi there!', 'How is it going?') Expecting: Called smtplib.SMTP('localhost') Called smtp_connection.sendmail( 'ianb@colorstudy.com', ['joe@example.com'], 'To: joe@example.com\nFrom: ianb@colorstudy.com\nSubject: Hi there!\n\nHow is it going?') Called smtp_connection.quit() ok Trying: restore() Expecting nothing ok Trying: tt = TraceTracker() Expecting nothing ok Trying: m = Mock('mock_obj', tracker=tt) Expecting nothing ok Trying: m.some_meth('dummy argument') Expecting nothing ok Trying: assert_same_trace(tt, "Called mock_obj.some_meth('dummy argument')\n") Expecting nothing ok Trying: assert_same_trace(tt, "Non-matching trace") # doctest: +ELLIPSIS Expecting: Traceback (most recent call last): ... AssertionError... ok Trying: import os Expecting nothing ok Trying: nsdict, obj_name, attrs = lookup_by_name("os.path.basename", (locals(),)) Expecting nothing ok Trying: obj_name, attrs Expecting: ('os', ['path', 'basename']) ok Trying: getattr(getattr(nsdict[obj_name], attrs[0]), attrs[1]) # doctest: +ELLIPSIS Expecting: ok Trying: lookup_by_name("os.monkey", (locals(),)) Expecting: Traceback (most recent call last): ... NameError: name 'os.monkey' is not defined ok Trying: import os Expecting nothing ok Trying: os.path.isfile # doctest: +ELLIPSIS Expecting: ok Trying: isfile_id = id(os.path.isfile) Expecting nothing ok Trying: mock("os.path.isfile", returns=True) Expecting nothing ok Trying: os.path.isfile # doctest: +ELLIPSIS Expecting: ok Trying: os.path.isfile("/foo/bar/baz") Expecting: Called os.path.isfile('/foo/bar/baz') True ok Trying: mock_id = id(os.path.isfile) Expecting nothing ok Trying: mock_id != isfile_id Expecting: True ok Trying: mock("os.path.isfile", returns=False) Expecting nothing ok Trying: mock_id != id(os.path.isfile) Expecting: True ok Trying: restore() Expecting nothing ok Trying: os.path.isfile # doctest: +ELLIPSIS Expecting: ok Trying: isfile_id == id(os.path.isfile) Expecting: True ok Trying: try: input = raw_input except NameError: pass # for Python 3 Expecting nothing ok Trying: mock("input", returns="okay") Expecting nothing ok Trying: input() Expecting: Called input() 'okay' ok Trying: restore() Expecting nothing ok Trying: class Test(object): @classmethod def cm(cls): return 'cm' @staticmethod def sm(): return 'sm' Expecting nothing ok Trying: mock('Test.cm', returns='mocked') Expecting nothing ok Trying: mock('Test.sm', returns='mocked') Expecting nothing ok Trying: Test.cm() Expecting: Called Test.cm() 'mocked' ok Trying: Test.sm() Expecting: Called Test.sm() 'mocked' ok Trying: restore() Expecting nothing ok Trying: Test.cm() Expecting: 'cm' ok Trying: Test.sm() Expecting: 'sm' ok Trying: class Proxy(object): def __init__(self, obj): self._obj = obj def __getattr__(self, name): return getattr(self._obj, name) Expecting nothing ok Trying: import os Expecting nothing ok Trying: os = Proxy(os) Expecting nothing ok Trying: os.path.isfile # doctest: +ELLIPSIS Expecting: ok Trying: mock('os.path.isfile') Expecting nothing ok Trying: os.path.isfile # doctest: +ELLIPSIS Expecting: ok Trying: restore() Expecting nothing ok Trying: tt = TraceTracker() Expecting nothing ok Trying: foo = Mock("foo", tracker=tt) Expecting nothing ok Trying: expect_mock_output = '''\ Called foo.bar('baz') ''' Expecting nothing ok Trying: foo.bar('baz') Expecting nothing ok Trying: tt.check(expect_mock_output) Expecting: True ok Trying: tt.clear() Expecting nothing ok Trying: expect_mock_output = '''\ Called foo.bar( 'baz') ''' Expecting nothing ok Trying: foo.bar('baz') Expecting nothing ok Trying: tt.check(expect_mock_output) Expecting: True ok 20 items had no tests: __main__.AbstractTracker __main__.AbstractTracker.__init__ __main__.AbstractTracker.call __main__.AbstractTracker.set __main__.MinimockOutputChecker __main__.MinimockOutputChecker.check_output __main__.Mock __main__.Mock.__call__ __main__.Mock.__getattr__ __main__.Mock.__init__ __main__.Mock.__repr__ __main__.Mock.__setattr__ __main__.Mock._mock_return __main__.Printer __main__.Printer.__init__ __main__.Printer.call __main__.TraceTracker __main__.TraceTracker.__init__ __main__.TraceTracker.clear __main__.restore 11 items passed all tests: 5 tests in __main__ 2 tests in __main__.Printer.set 7 tests in __main__.TraceTracker.check 5 tests in __main__.TraceTracker.diff 4 tests in __main__.TraceTracker.dump 16 tests in __main__.__test__.Mock 14 tests in __main__.__test__.mock 5 tests in __main__.assert_same_trace 5 tests in __main__.lookup_by_name 32 tests in __main__.mock 9 tests in __main__.normalize_function_parameters 104 tests in 31 items. 104 passed. Test passed. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-minimock-1.3.0-9.fc45.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ySF8Wi + umask 022 + cd /builddir/build/BUILD/python-minimock-1.3.0-build + cd minimock-1.3.0 + DOCDIR=/builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/share/doc/python3-minimock + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/share/doc/python3-minimock + cp -pr /builddir/build/BUILD/python-minimock-1.3.0-build/minimock-1.3.0/README.rst /builddir/build/BUILD/python-minimock-1.3.0-build/BUILDROOT/usr/share/doc/python3-minimock + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-minimock = 1.3.0-9.fc45 python3-minimock = 1.3.0-9.fc45 python3.15-minimock = 1.3.0-9.fc45 python3.15dist(minimock) = 1.2.10~~dev0 python3dist(minimock) = 1.2.10~~dev0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-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-minimock-1.3.0-build/BUILDROOT Wrote: /builddir/build/SRPMS/python-minimock-1.3.0-9.fc45.src.rpm Wrote: /builddir/build/RPMS/python3-minimock-1.3.0-9.fc45.noarch.rpm Child return code was: 0