D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: /home/pterjan/rpmbuild/SPECS/python-mysql.spec line 60: autopatch: no matching patches in range Installing /home/pterjan/rpmbuild/SRPMS/python-mysql-2.2.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vMLdeP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + test -d /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.weY2dd + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + rm -rf mysqlclient-2.2.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mysqlclient-2.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mysqlclient-2.2.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 /home/pterjan/rpmbuild/tmp/rpm-tmp.TTxQax + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + cd mysqlclient-2.2.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + : + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + true + for f in pyproject.toml setup.py setup.cfg + '[' -f pyproject.toml ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' pyproject.toml + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' pyproject.toml + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' pyproject.toml + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' pyproject.toml + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' pyproject.toml + sed -i -e 's/~=/>=/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' pyproject.toml + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' pyproject.toml + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.py ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.py + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.py + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.py + sed -i -e 's/~=/>=/g' setup.py + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.py + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.py + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.cfg ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.cfg + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.cfg + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.cfg + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.cfg + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.cfg + sed -i -e 's/~=/>=/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.cfg + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.cfg + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/python-mysql-2.2.0-1.mga10.x86_64-pyproject-buildrequires Handling setuptools>=61 from build-system.requires Requirement satisfied: setuptools>=61 (installed: setuptools 75.6.0) Trying pkg-config --exists mysqlclient Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1. Trying pkg-config --exists mariadb # Options for building extention module: extra_compile_args: ['-I/usr/include/mysql', '-std=c99'] extra_link_args: ['-lmariadb', '-lz', '-ldl', '-lm', '-lssl', '-lcrypto'] define_macros: [('version_info', (2, 2, 0, 'final', 0)), ('__version__', '2.2.0')] running egg_info writing src/mysqlclient.egg-info/PKG-INFO writing dependency_links to src/mysqlclient.egg-info/dependency_links.txt writing top-level names to src/mysqlclient.egg-info/top_level.txt reading manifest file 'src/mysqlclient.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/mysqlclient.egg-info/SOURCES.txt' Trying pkg-config --exists mysqlclient Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1. Trying pkg-config --exists mariadb # Options for building extention module: extra_compile_args: ['-I/usr/include/mysql', '-std=c99'] extra_link_args: ['-lmariadb', '-lz', '-ldl', '-lm', '-lssl', '-lcrypto'] define_macros: [('version_info', (2, 2, 0, 'final', 0)), ('__version__', '2.2.0')] running dist_info creating mysqlclient.egg-info writing mysqlclient.egg-info/PKG-INFO writing dependency_links to mysqlclient.egg-info/dependency_links.txt writing top-level names to mysqlclient.egg-info/top_level.txt writing manifest file 'mysqlclient.egg-info/SOURCES.txt' reading manifest file 'mysqlclient.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'mysqlclient.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/mysqlclient-2.2.0.dist-info' + cat /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/python-mysql-2.2.0-1.mga10.x86_64-pyproject-buildrequires + rm -rfv mysqlclient-2.2.0.dist-info/ removed 'mysqlclient-2.2.0.dist-info/top_level.txt' removed 'mysqlclient-2.2.0.dist-info/METADATA' removed 'mysqlclient-2.2.0.dist-info/LICENSE' removed directory 'mysqlclient-2.2.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1e2Znh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + cd mysqlclient-2.2.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Trying pkg-config --exists mysqlclient Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1. Trying pkg-config --exists mariadb # Options for building extention module: extra_compile_args: ['-I/usr/include/mysql', '-std=c99'] extra_link_args: ['-lmariadb', '-lz', '-ldl', '-lm', '-lssl', '-lcrypto'] define_macros: [('version_info', (2, 2, 0, 'final', 0)), ('__version__', '2.2.0')] running dist_info creating /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir/pip-modern-metadata-wh7rry6z/mysqlclient.egg-info writing /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir/pip-modern-metadata-wh7rry6z/mysqlclient.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir/pip-modern-metadata-wh7rry6z/mysqlclient.egg-info/dependency_links.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir/pip-modern-metadata-wh7rry6z/mysqlclient.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir/pip-modern-metadata-wh7rry6z/mysqlclient.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir/pip-modern-metadata-wh7rry6z/mysqlclient.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir/pip-modern-metadata-wh7rry6z/mysqlclient.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir/pip-modern-metadata-wh7rry6z/mysqlclient-2.2.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: mysqlclient Building wheel for mysqlclient (pyproject.toml): started Running command Building wheel for mysqlclient (pyproject.toml) Trying pkg-config --exists mysqlclient Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1. Trying pkg-config --exists mariadb # Options for building extention module: extra_compile_args: ['-I/usr/include/mysql', '-std=c99'] extra_link_args: ['-lmariadb', '-lz', '-ldl', '-lm', '-lssl', '-lcrypto'] define_macros: [('version_info', (2, 2, 0, 'final', 0)), ('__version__', '2.2.0')] running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-312/MySQLdb copying src/MySQLdb/_exceptions.py -> build/lib.linux-x86_64-cpython-312/MySQLdb copying src/MySQLdb/times.py -> build/lib.linux-x86_64-cpython-312/MySQLdb copying src/MySQLdb/cursors.py -> build/lib.linux-x86_64-cpython-312/MySQLdb copying src/MySQLdb/release.py -> build/lib.linux-x86_64-cpython-312/MySQLdb copying src/MySQLdb/__init__.py -> build/lib.linux-x86_64-cpython-312/MySQLdb copying src/MySQLdb/converters.py -> build/lib.linux-x86_64-cpython-312/MySQLdb copying src/MySQLdb/connections.py -> build/lib.linux-x86_64-cpython-312/MySQLdb creating build/lib.linux-x86_64-cpython-312/MySQLdb/constants copying src/MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-cpython-312/MySQLdb/constants copying src/MySQLdb/constants/ER.py -> build/lib.linux-x86_64-cpython-312/MySQLdb/constants copying src/MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-cpython-312/MySQLdb/constants copying src/MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-cpython-312/MySQLdb/constants copying src/MySQLdb/constants/CR.py -> build/lib.linux-x86_64-cpython-312/MySQLdb/constants copying src/MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-cpython-312/MySQLdb/constants running egg_info writing src/mysqlclient.egg-info/PKG-INFO writing dependency_links to src/mysqlclient.egg-info/dependency_links.txt writing top-level names to src/mysqlclient.egg-info/top_level.txt reading manifest file 'src/mysqlclient.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/mysqlclient.egg-info/SOURCES.txt' copying src/MySQLdb/_mysql.c -> build/lib.linux-x86_64-cpython-312/MySQLdb running build_ext building 'MySQLdb._mysql' extension creating build/temp.linux-x86_64-cpython-312/src/MySQLdb gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC "-Dversion_info=(2, 2, 0, 'final', 0)" -D__version__=2.2.0 -I/usr/include/python3.12 -c src/MySQLdb/_mysql.c -o build/temp.linux-x86_64-cpython-312/src/MySQLdb/_mysql.o -I/usr/include/mysql -std=c99 In file included from /usr/include/python3.12/Python.h:87, from src/MySQLdb/_mysql.c:46: /usr/include/python3.12/cpython/pytime.h:216:60: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 216 | PyAPI_FUNC(int) _PyTime_FromTimespec(_PyTime_t *tp, struct timespec *ts); | ^~~~~~~~ /usr/include/python3.12/cpython/pytime.h:221:56: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 221 | PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts); | ^~~~~~~~ /usr/include/python3.12/cpython/pytime.h:225:63: warning: ‘struct timespec’ declared inside parameter list will not be visible outside of this definition or declaration 225 | PyAPI_FUNC(void) _PyTime_AsTimespec_clamp(_PyTime_t t, struct timespec *ts); | ^~~~~~~~ gcc -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full build/temp.linux-x86_64-cpython-312/src/MySQLdb/_mysql.o -L/usr/lib64 -lpython3.12 -o build/lib.linux-x86_64-cpython-312/MySQLdb/_mysql.cpython-312-x86_64-linux-gnu.so -lmariadb -lz -ldl -lm -lssl -lcrypto installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/MySQLdb copying build/lib.linux-x86_64-cpython-312/MySQLdb/_exceptions.py -> build/bdist.linux-x86_64/wheel/./MySQLdb copying build/lib.linux-x86_64-cpython-312/MySQLdb/times.py -> build/bdist.linux-x86_64/wheel/./MySQLdb copying build/lib.linux-x86_64-cpython-312/MySQLdb/cursors.py -> build/bdist.linux-x86_64/wheel/./MySQLdb creating build/bdist.linux-x86_64/wheel/MySQLdb/constants copying build/lib.linux-x86_64-cpython-312/MySQLdb/constants/FLAG.py -> build/bdist.linux-x86_64/wheel/./MySQLdb/constants copying build/lib.linux-x86_64-cpython-312/MySQLdb/constants/ER.py -> build/bdist.linux-x86_64/wheel/./MySQLdb/constants copying build/lib.linux-x86_64-cpython-312/MySQLdb/constants/CLIENT.py -> build/bdist.linux-x86_64/wheel/./MySQLdb/constants copying build/lib.linux-x86_64-cpython-312/MySQLdb/constants/FIELD_TYPE.py -> build/bdist.linux-x86_64/wheel/./MySQLdb/constants copying build/lib.linux-x86_64-cpython-312/MySQLdb/constants/CR.py -> build/bdist.linux-x86_64/wheel/./MySQLdb/constants copying build/lib.linux-x86_64-cpython-312/MySQLdb/constants/__init__.py -> build/bdist.linux-x86_64/wheel/./MySQLdb/constants copying build/lib.linux-x86_64-cpython-312/MySQLdb/release.py -> build/bdist.linux-x86_64/wheel/./MySQLdb copying build/lib.linux-x86_64-cpython-312/MySQLdb/__init__.py -> build/bdist.linux-x86_64/wheel/./MySQLdb copying build/lib.linux-x86_64-cpython-312/MySQLdb/_mysql.cpython-312-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/./MySQLdb copying build/lib.linux-x86_64-cpython-312/MySQLdb/_mysql.c -> build/bdist.linux-x86_64/wheel/./MySQLdb copying build/lib.linux-x86_64-cpython-312/MySQLdb/converters.py -> build/bdist.linux-x86_64/wheel/./MySQLdb copying build/lib.linux-x86_64-cpython-312/MySQLdb/connections.py -> build/bdist.linux-x86_64/wheel/./MySQLdb running install_egg_info Copying src/mysqlclient.egg-info to build/bdist.linux-x86_64/wheel/./mysqlclient-2.2.0-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/mysqlclient-2.2.0.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir/pip-wheel-xp_wzlfm/.tmp-nmrc7djh/mysqlclient-2.2.0-cp312-cp312-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'MySQLdb/__init__.py' adding 'MySQLdb/_exceptions.py' adding 'MySQLdb/_mysql.c' adding 'MySQLdb/_mysql.cpython-312-x86_64-linux-gnu.so' adding 'MySQLdb/connections.py' adding 'MySQLdb/converters.py' adding 'MySQLdb/cursors.py' adding 'MySQLdb/release.py' adding 'MySQLdb/times.py' adding 'MySQLdb/constants/CLIENT.py' adding 'MySQLdb/constants/CR.py' adding 'MySQLdb/constants/ER.py' adding 'MySQLdb/constants/FIELD_TYPE.py' adding 'MySQLdb/constants/FLAG.py' adding 'MySQLdb/constants/__init__.py' adding 'mysqlclient-2.2.0.dist-info/LICENSE' adding 'mysqlclient-2.2.0.dist-info/METADATA' adding 'mysqlclient-2.2.0.dist-info/WHEEL' adding 'mysqlclient-2.2.0.dist-info/top_level.txt' adding 'mysqlclient-2.2.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for mysqlclient (pyproject.toml): finished with status 'done' Created wheel for mysqlclient: filename=mysqlclient-2.2.0-cp312-cp312-linux_x86_64.whl size=134486 sha256=7f57c7433a55653b57cb0224a3f3cf44aa84ed0e807375e0c137fbdeb212374c Stored in directory: /home/pterjan/.cache/pip/wheels/7f/3f/74/dc1012676ae5d0f956f48e942198ef42f408a0724d13600839 Successfully built mysqlclient + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.p2VTxE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + mkdir /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT + cd mysqlclient-2.2.0 + '[' 1 -eq 1 ']' ++ xargs basename --multiple ++ ls /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/pyproject-wheeldir/mysqlclient-2.2.0-cp312-cp312-linux_x86_64.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=mysqlclient==2.2.0 + '[' -z mysqlclient==2.2.0 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.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 /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/pyproject-wheeldir mysqlclient==2.2.0 Using pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/pyproject-wheeldir Processing ./pyproject-wheeldir/mysqlclient-2.2.0-cp312-cp312-linux_x86_64.whl Installing collected packages: mysqlclient Successfully installed mysqlclient-2.2.0 + '[' -d /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/python-mysql-2.2.0-1.mga10.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/lib64/python3.12/site-packages ']' + site_dirs+=("/usr/lib64/python3.12/site-packages") + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib64/python3.12/site-packages/mysqlclient-2.2.0.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/mysqlclient-2.2.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/mysqlclient-2.2.0.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/python-mysql-2.2.0-1.mga10.x86_64-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/mysqlclient-2.2.0.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/mysqlclient-2.2.0.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/mysqlclient-2.2.0.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/mysqlclient-2.2.0.dist-info/REQUESTED' ++ cut -f1 '-d ' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/python-mysql-2.2.0-1.mga10.x86_64-pyproject-ghost-distinfo + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/python-mysql-2.2.0-1.mga10.x86_64-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/python-mysql-2.2.0-1.mga10.x86_64-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/python-mysql-2.2.0-1.mga10.x86_64-pyproject-record --prefix /usr MySQLdb + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.2.0-1.mga10 --unique-debug-suffix -2.2.0-1.mga10.x86_64 --unique-debug-src-base python-mysql-2.2.0-1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/python-mysql-2.2.0-1.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/lib64/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/lib/debug/usr/lib64/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: python3-mysql-2.2.0-1.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bQkj2B + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + cd mysqlclient-2.2.0 + DOCDIR=/home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/share/doc/python3-mysql + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/share/doc/python3-mysql + cp -pr /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/README.md /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/share/doc/python3-mysql + cp -pr /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/doc/FAQ.rst /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/share/doc/python3-mysql + cp -pr /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/doc/MySQLdb.constants.rst /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/share/doc/python3-mysql + cp -pr /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/doc/MySQLdb.rst /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/share/doc/python3-mysql + cp -pr /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/doc/conf.py /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/share/doc/python3-mysql + cp -pr /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/doc/index.rst /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/share/doc/python3-mysql + cp -pr /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/doc/user_guide.rst /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/share/doc/python3-mysql + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7NrZ7F + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + cd mysqlclient-2.2.0 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/share/licenses/python3-mysql + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/share/licenses/python3-mysql + cp -pr /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/mysqlclient-2.2.0/LICENSE /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT/usr/share/licenses/python3-mysql + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-mysql = 2.2.0-1.mga10 python3-mysql = 2.2.0-1.mga10 python3-mysql(x86-64) = 2.2.0-1.mga10 python3.12-mysql = 2.2.0-1.mga10 python3.12dist(mysqlclient) = 2.2 python3dist(mysqlclient) = 2.2 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmariadb_3)(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libpython3.12.so.1.0()(64bit) python(abi) = 3.12 Obsoletes: python-mysql < 2.2.0-1.mga10 Processing files: python-mysql-debugsource-2.2.0-1.mga10.x86_64 Provides: python-mysql-debugsource = 2.2.0-1.mga10 python-mysql-debugsource(x86-64) = 2.2.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-mysql-debuginfo-2.2.0-1.mga10.x86_64 Provides: debuginfo(build-id) = 10c96a2f56964ee9459b1c0941beab4bfc73647f python-mysql-debuginfo = 2.2.0-1.mga10 python3-mysql-debuginfo = 2.2.0-1.mga10 python3-mysql-debuginfo(x86-64) = 2.2.0-1.mga10 python3.12-mysql-debuginfo = 2.2.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-mysql-debugsource(x86-64) = 2.2.0-1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/python-mysql-debugsource-2.2.0-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/python3-mysql-debuginfo-2.2.0-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/python3-mysql-2.2.0-1.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bDGd4z + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + test -d /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/python-mysql-2.2.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: /home/pterjan/rpmbuild/SPECS/python-mysql.spec line 60: autopatch: no matching patches in range D: [iurt_root_command] Success!