Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python3.12-PyMySQL.spec'], chrootPath='/var/lib/mock/dist-circle8_10-updates-build-117273-79093/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python3.12-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 sh: /usr/bin/python3.12: No such file or directory sh: /usr/bin/python3.12: No such file or directory sh: /usr/bin/python3.12: No such file or directory Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python3.12-PyMySQL-1.1.0-3.el8_10.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python3.12-PyMySQL.spec'], chrootPath='/var/lib/mock/dist-circle8_10-updates-build-117273-79093/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python3.12-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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MKarY8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyMySQL-1.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyMySQL-1.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyMySQL-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/CVE-2024-36039.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -rf PyMySQL.egg-info + rm -rf tests + cp /builddir/build/SOURCES/setup.py . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Na67Ut + umask 022 + cd /builddir/build/BUILD + cd PyMySQL-1.1.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.12 setup.py build '--executable=/usr/bin/python3.12 -sP' running build running build_py creating build creating build/lib creating build/lib/pymysql copying pymysql/_auth.py -> build/lib/pymysql copying pymysql/times.py -> build/lib/pymysql copying pymysql/converters.py -> build/lib/pymysql copying pymysql/optionfile.py -> build/lib/pymysql copying pymysql/__init__.py -> build/lib/pymysql copying pymysql/protocol.py -> build/lib/pymysql copying pymysql/charset.py -> build/lib/pymysql copying pymysql/connections.py -> build/lib/pymysql copying pymysql/cursors.py -> build/lib/pymysql copying pymysql/err.py -> build/lib/pymysql creating build/lib/pymysql/constants copying pymysql/constants/CR.py -> build/lib/pymysql/constants copying pymysql/constants/FLAG.py -> build/lib/pymysql/constants copying pymysql/constants/FIELD_TYPE.py -> build/lib/pymysql/constants copying pymysql/constants/__init__.py -> build/lib/pymysql/constants copying pymysql/constants/SERVER_STATUS.py -> build/lib/pymysql/constants copying pymysql/constants/ER.py -> build/lib/pymysql/constants copying pymysql/constants/CLIENT.py -> build/lib/pymysql/constants copying pymysql/constants/COMMAND.py -> build/lib/pymysql/constants 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' adding license file 'LICENSE' writing manifest file 'PyMySQL.egg-info/SOURCES.txt' + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tYjH0M + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch ++ dirname /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch + cd PyMySQL-1.1.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.12 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr creating /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib creating /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql copying build/lib/pymysql/_auth.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql copying build/lib/pymysql/times.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql copying build/lib/pymysql/converters.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql copying build/lib/pymysql/optionfile.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql copying build/lib/pymysql/__init__.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql copying build/lib/pymysql/protocol.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql copying build/lib/pymysql/charset.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql copying build/lib/pymysql/connections.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql copying build/lib/pymysql/cursors.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql creating /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants copying build/lib/pymysql/constants/CR.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants copying build/lib/pymysql/constants/FLAG.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants copying build/lib/pymysql/constants/FIELD_TYPE.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants copying build/lib/pymysql/constants/__init__.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants copying build/lib/pymysql/constants/SERVER_STATUS.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants copying build/lib/pymysql/constants/ER.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants copying build/lib/pymysql/constants/CLIENT.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants copying build/lib/pymysql/constants/COMMAND.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants copying build/lib/pymysql/err.py -> /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/_auth.py to _auth.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/times.py to times.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/converters.py to converters.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/optionfile.py to optionfile.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/protocol.py to protocol.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/charset.py to charset.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/connections.py to connections.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/cursors.py to cursors.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants/CR.py to CR.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants/FLAG.py to FLAG.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants/FIELD_TYPE.py to FIELD_TYPE.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants/SERVER_STATUS.py to SERVER_STATUS.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants/ER.py to ER.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants/CLIENT.py to CLIENT.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/constants/COMMAND.py to COMMAND.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/pymysql/err.py to err.cpython-312.pyc writing byte-compilation script '/tmp/tmp294oupo7.py' /usr/bin/python3.12 /tmp/tmp294oupo7.py removing /tmp/tmp294oupo7.py running install_egg_info running 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 reading manifest file 'PyMySQL.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'PyMySQL.egg-info/SOURCES.txt' Copying PyMySQL.egg-info to /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages/PyMySQL-1.1.0-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 1.1.0-3.el8_10 --unique-debug-suffix -1.1.0-3.el8_10.noarch --unique-debug-src-base python3.12-PyMySQL-1.1.0-3.el8_10.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/PyMySQL-1.1.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12 using /usr/bin/python3.12 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.12 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.tRo0gn + umask 022 + cd /builddir/build/BUILD + cd PyMySQL-1.1.0 + PATH=/builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages + _PYTHONSITE=/builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/python3.12 -sP /usr/lib/rpm/redhat/import_all_modules_py3_12.py pymysql Check import: pymysql + exit 0 Processing files: python3.12-PyMySQL-1.1.0-3.el8_10.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BLGfx4 + umask 022 + cd /builddir/build/BUILD + cd PyMySQL-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/share/doc/python3.12-PyMySQL + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/share/doc/python3.12-PyMySQL + cp -pr README.md /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/share/doc/python3.12-PyMySQL + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.moHU0X + umask 022 + cd /builddir/build/BUILD + cd PyMySQL-1.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/share/licenses/python3.12-PyMySQL + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/share/licenses/python3.12-PyMySQL + cp -pr LICENSE /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch/usr/share/licenses/python3.12-PyMySQL + exit 0 Provides: python3.12-PyMySQL = 1.1.0-3.el8_10 python3.12dist(pymysql) = 1.1.0 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.12 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch Wrote: /builddir/build/RPMS/python3.12-PyMySQL-1.1.0-3.el8_10.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jfCUUQ + umask 022 + cd /builddir/build/BUILD + cd PyMySQL-1.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python3.12-PyMySQL-1.1.0-3.el8_10.noarch + exit 0 Child return code was: 0