Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-send2trash.spec'], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=0uid=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-send2trash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1626998400 Wrote: /builddir/build/SRPMS/python-send2trash-1.7.1-2.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-send2trash.spec'], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=0uid=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-send2trash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1626998400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.54PuJ4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf send2trash-1.7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/Send2Trash-1.7.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd send2trash-1.7.1 + /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.B9egx9 + umask 022 + cd /builddir/build/BUILD + cd send2trash-1.7.1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/send2trash copying send2trash/plat_win_legacy.py -> build/lib/send2trash copying send2trash/plat_win.py -> build/lib/send2trash copying send2trash/plat_osx_pyobjc.py -> build/lib/send2trash copying send2trash/plat_osx_ctypes.py -> build/lib/send2trash copying send2trash/IFileOperationProgressSink.py -> build/lib/send2trash copying send2trash/__init__.py -> build/lib/send2trash copying send2trash/exceptions.py -> build/lib/send2trash copying send2trash/plat_other.py -> build/lib/send2trash copying send2trash/plat_win_modern.py -> build/lib/send2trash copying send2trash/plat_gio.py -> build/lib/send2trash copying send2trash/plat_osx.py -> build/lib/send2trash copying send2trash/compat.py -> build/lib/send2trash copying send2trash/__main__.py -> build/lib/send2trash + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rtx40h + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64 + cd send2trash-1.7.1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr creating /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash copying build/lib/send2trash/plat_win_legacy.py -> /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash copying build/lib/send2trash/plat_win.py -> /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash copying build/lib/send2trash/plat_osx_pyobjc.py -> /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash copying build/lib/send2trash/plat_osx_ctypes.py -> /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash copying build/lib/send2trash/IFileOperationProgressSink.py -> /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash copying build/lib/send2trash/__init__.py -> /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash copying build/lib/send2trash/exceptions.py -> /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash copying build/lib/send2trash/plat_other.py -> /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash copying build/lib/send2trash/plat_win_modern.py -> /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash copying build/lib/send2trash/plat_gio.py -> /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash copying build/lib/send2trash/plat_osx.py -> /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash copying build/lib/send2trash/compat.py -> /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash copying build/lib/send2trash/__main__.py -> /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash byte-compiling /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash/plat_win_legacy.py to plat_win_legacy.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash/plat_win.py to plat_win.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash/plat_osx_pyobjc.py to plat_osx_pyobjc.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash/plat_osx_ctypes.py to plat_osx_ctypes.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash/IFileOperationProgressSink.py to IFileOperationProgressSink.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash/exceptions.py to exceptions.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash/plat_other.py to plat_other.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash/plat_win_modern.py to plat_win_modern.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash/plat_gio.py to plat_gio.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash/plat_osx.py to plat_osx.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash/compat.py to compat.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/send2trash/__main__.py to __main__.cpython-39.pyc writing byte-compilation script '/tmp/tmpwmly6ljs.py' /usr/bin/python3 /tmp/tmpwmly6ljs.py removing /tmp/tmpwmly6ljs.py running install_egg_info running egg_info creating Send2Trash.egg-info writing Send2Trash.egg-info/PKG-INFO writing dependency_links to Send2Trash.egg-info/dependency_links.txt writing entry points to Send2Trash.egg-info/entry_points.txt writing requirements to Send2Trash.egg-info/requires.txt writing top-level names to Send2Trash.egg-info/top_level.txt writing manifest file 'Send2Trash.egg-info/SOURCES.txt' reading manifest file 'Send2Trash.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'Send2Trash.egg-info/SOURCES.txt' Copying Send2Trash.egg-info to /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages/Send2Trash-1.7.1-py3.9.egg-info running install_scripts Installing send2trash script to /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wWoeFQ + umask 022 + cd /builddir/build/BUILD + cd send2trash-1.7.1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + PATH=/builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/lib/python3.9/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.9.10, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 rootdir: /builddir/build/BUILD/send2trash-1.7.1 collected 10 items / 1 skipped / 9 selected tests/test_plat_other.py ........ [ 80%] tests/test_script_main.py .. [100%] ======================== 10 passed, 1 skipped in 0.08s ========================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-send2trash-1.7.1-2.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LdcAwF + umask 022 + cd /builddir/build/BUILD + cd send2trash-1.7.1 + DOCDIR=/builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/share/doc/python3-send2trash + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/share/doc/python3-send2trash + cp -pr README.rst /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/share/doc/python3-send2trash + cp -pr CHANGES.rst /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/share/doc/python3-send2trash + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.STMX0j + umask 022 + cd /builddir/build/BUILD + cd send2trash-1.7.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/share/licenses/python3-send2trash + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/share/licenses/python3-send2trash + cp -pr LICENSE /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64/usr/share/licenses/python3-send2trash + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-Send2Trash = 1.7.1-2.el9 python-send2trash = 1.7.1-2.el9 python3-Send2Trash = 1.7.1-2.el9 python3-send2trash = 1.7.1-2.el9 python3.9-Send2Trash = 1.7.1-2.el9 python3.9-send2trash = 1.7.1-2.el9 python3.9dist(send2trash) = 1.7.1 python3dist(send2trash) = 1.7.1 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: /usr/bin/python3 python(abi) = 3.9 python3.9dist(setuptools) Obsoletes: python-Send2Trash < 1.7.1-2.el9 python-send2trash < 1.7.1-2.el9 python39-send2trash < 1.7.1-2.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64 Wrote: /builddir/build/RPMS/python3-send2trash-1.7.1-2.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Vys3td + umask 022 + cd /builddir/build/BUILD + cd send2trash-1.7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-send2trash-1.7.1-2.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0