Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-PyMySQL.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/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=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-PyMySQL.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=1628553600 Wrote: /builddir/build/SRPMS/python-PyMySQL-0.10.1-4.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-PyMySQL.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/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=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-PyMySQL.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=1628553600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PZ1qzz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyMySQL-0.10.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyMySQL-0.10.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyMySQL-0.10.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf PyMySQL.egg-info + rm -rf tests + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ASauh5 + umask 022 + cd /builddir/build/BUILD + cd PyMySQL-0.10.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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/pymysql copying pymysql/__init__.py -> build/lib/pymysql copying pymysql/_auth.py -> build/lib/pymysql copying pymysql/_compat.py -> build/lib/pymysql copying pymysql/_socketio.py -> build/lib/pymysql copying pymysql/charset.py -> build/lib/pymysql copying pymysql/connections.py -> build/lib/pymysql copying pymysql/converters.py -> build/lib/pymysql copying pymysql/cursors.py -> build/lib/pymysql copying pymysql/err.py -> build/lib/pymysql copying pymysql/optionfile.py -> build/lib/pymysql copying pymysql/protocol.py -> build/lib/pymysql copying pymysql/times.py -> build/lib/pymysql copying pymysql/util.py -> build/lib/pymysql creating build/lib/pymysql/constants copying pymysql/constants/CLIENT.py -> build/lib/pymysql/constants copying pymysql/constants/COMMAND.py -> build/lib/pymysql/constants copying pymysql/constants/CR.py -> build/lib/pymysql/constants copying pymysql/constants/ER.py -> build/lib/pymysql/constants copying pymysql/constants/FIELD_TYPE.py -> build/lib/pymysql/constants copying pymysql/constants/FLAG.py -> build/lib/pymysql/constants copying pymysql/constants/SERVER_STATUS.py -> build/lib/pymysql/constants copying pymysql/constants/__init__.py -> build/lib/pymysql/constants + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AILQTf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64 + cd PyMySQL-0.10.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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-PyMySQL-0.10.1-4.el9.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr creating /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql copying build/lib/pymysql/__init__.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql copying build/lib/pymysql/_auth.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql copying build/lib/pymysql/_compat.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql copying build/lib/pymysql/_socketio.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql copying build/lib/pymysql/charset.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql copying build/lib/pymysql/connections.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql copying build/lib/pymysql/converters.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql copying build/lib/pymysql/cursors.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql copying build/lib/pymysql/err.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql copying build/lib/pymysql/optionfile.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql copying build/lib/pymysql/protocol.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql copying build/lib/pymysql/times.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql copying build/lib/pymysql/util.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql creating /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants copying build/lib/pymysql/constants/CLIENT.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants copying build/lib/pymysql/constants/COMMAND.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants copying build/lib/pymysql/constants/CR.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants copying build/lib/pymysql/constants/ER.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants copying build/lib/pymysql/constants/FIELD_TYPE.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants copying build/lib/pymysql/constants/FLAG.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants copying build/lib/pymysql/constants/SERVER_STATUS.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants copying build/lib/pymysql/constants/__init__.py -> /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/_auth.py to _auth.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/_compat.py to _compat.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/_socketio.py to _socketio.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/charset.py to charset.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/connections.py to connections.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/converters.py to converters.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/cursors.py to cursors.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/err.py to err.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/optionfile.py to optionfile.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/protocol.py to protocol.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/times.py to times.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/util.py to util.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants/CLIENT.py to CLIENT.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants/COMMAND.py to COMMAND.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants/CR.py to CR.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants/ER.py to ER.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants/FIELD_TYPE.py to FIELD_TYPE.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants/FLAG.py to FLAG.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants/SERVER_STATUS.py to SERVER_STATUS.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/pymysql/constants/__init__.py to __init__.cpython-39.pyc writing byte-compilation script '/tmp/tmpxhv_alvq.py' /usr/bin/python3 /tmp/tmpxhv_alvq.py removing /tmp/tmpxhv_alvq.py running install_egg_info running egg_info creating PyMySQL.egg-info writing PyMySQL.egg-info/PKG-INFO writing dependency_links to PyMySQL.egg-info/dependency_links.txt writing requirements to PyMySQL.egg-info/requires.txt writing top-level names to PyMySQL.egg-info/top_level.txt writing manifest file 'PyMySQL.egg-info/SOURCES.txt' reading manifest file 'PyMySQL.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'PyMySQL.egg-info/SOURCES.txt' Copying PyMySQL.egg-info to /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/lib/python3.9/site-packages/PyMySQL-0.10.1-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.10.1-4.el9 --unique-debug-suffix -0.10.1-4.el9.x86_64 --unique-debug-src-base python-PyMySQL-0.10.1-4.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/PyMySQL-0.10.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.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.dPV2EJ + umask 022 + cd /builddir/build/BUILD + cd PyMySQL-0.10.1 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-PyMySQL-0.10.1-4.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dDVzkR + umask 022 + cd /builddir/build/BUILD + cd PyMySQL-0.10.1 + DOCDIR=/builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/share/doc/python3-PyMySQL + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/share/doc/python3-PyMySQL + cp -pr README.rst /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/share/doc/python3-PyMySQL + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Nbq1T0 + umask 022 + cd /builddir/build/BUILD + cd PyMySQL-0.10.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/share/licenses/python3-PyMySQL + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/share/licenses/python3-PyMySQL + cp -pr LICENSE /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64/usr/share/licenses/python3-PyMySQL + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-PyMySQL = 0.10.1-4.el9 python3-PyMySQL = 0.10.1-4.el9 python3.9-PyMySQL = 0.10.1-4.el9 python3.9dist(pymysql) = 0.10.1 python3dist(pymysql) = 0.10.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: python(abi) = 3.9 Obsoletes: python-PyMySQL < 0.10.1-4.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64 Wrote: /builddir/build/RPMS/python3-PyMySQL-0.10.1-4.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.icR86o + umask 022 + cd /builddir/build/BUILD + cd PyMySQL-0.10.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-PyMySQL-0.10.1-4.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0