Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-mysqlclient.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-33617-1542/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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-mysqlclient.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-mysqlclient-2.1.1-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-mysqlclient.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-33617-1542/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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-mysqlclient.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jE4ZAM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mysqlclient-2.1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mysqlclient-2.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mysqlclient-2.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf mysqlclient.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lxyku5 + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mysqlclient-2.1.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' mysql_config --version ['10.8.8'] mysql_config --libs ['-L/usr/lib64/', '-lmariadb'] mysql_config --cflags ['-I/usr/include/mysql', '-I/usr/include/mysql/mysql'] ext_options: library_dirs: ['/usr/lib64/'] libraries: ['mariadb'] extra_compile_args: ['-std=c99'] extra_link_args: [] include_dirs: ['/usr/include/mysql', '/usr/include/mysql/mysql'] extra_objects: [] define_macros: [('version_info', "(2,1,1,'final',0)"), ('__version__', '2.1.1')] running build running build_py creating build creating build/lib.linux-aarch64-cpython-310 creating build/lib.linux-aarch64-cpython-310/MySQLdb copying MySQLdb/__init__.py -> build/lib.linux-aarch64-cpython-310/MySQLdb copying MySQLdb/_exceptions.py -> build/lib.linux-aarch64-cpython-310/MySQLdb copying MySQLdb/connections.py -> build/lib.linux-aarch64-cpython-310/MySQLdb copying MySQLdb/converters.py -> build/lib.linux-aarch64-cpython-310/MySQLdb copying MySQLdb/cursors.py -> build/lib.linux-aarch64-cpython-310/MySQLdb copying MySQLdb/release.py -> build/lib.linux-aarch64-cpython-310/MySQLdb copying MySQLdb/times.py -> build/lib.linux-aarch64-cpython-310/MySQLdb creating build/lib.linux-aarch64-cpython-310/MySQLdb/constants copying MySQLdb/constants/__init__.py -> build/lib.linux-aarch64-cpython-310/MySQLdb/constants copying MySQLdb/constants/CLIENT.py -> build/lib.linux-aarch64-cpython-310/MySQLdb/constants copying MySQLdb/constants/CR.py -> build/lib.linux-aarch64-cpython-310/MySQLdb/constants copying MySQLdb/constants/ER.py -> build/lib.linux-aarch64-cpython-310/MySQLdb/constants copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-aarch64-cpython-310/MySQLdb/constants copying MySQLdb/constants/FLAG.py -> build/lib.linux-aarch64-cpython-310/MySQLdb/constants running build_ext building 'MySQLdb._mysql' extension creating build/temp.linux-aarch64-cpython-310 creating build/temp.linux-aarch64-cpython-310/MySQLdb gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Dversion_info=(2,1,1,'final',0) -D__version__=2.1.1 -I/usr/include/mysql -I/usr/include/mysql/mysql -I/usr/include/python3.10 -c MySQLdb/_mysql.c -o build/temp.linux-aarch64-cpython-310/MySQLdb/_mysql.o -std=c99 gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-aarch64-cpython-310/MySQLdb/_mysql.o -L/usr/lib64/ -L/usr/lib64 -lmariadb -o build/lib.linux-aarch64-cpython-310/MySQLdb/_mysql.cpython-310-aarch64-linux-gnu.so + PYTHONPATH=/builddir/build/BUILD/mysqlclient-2.1.1 + sphinx-build-3 doc html Running Sphinx v4.3.1 making output directory... done WARNING: html_static_path entry '_static' does not exist building [mo]: targets for 0 po files that are out of date building [html]: targets for 5 source files that are out of date updating environment: [new config] 5 added, 0 changed, 0 removed reading sources... [ 20%] FAQ reading sources... [ 40%] MySQLdb reading sources... [ 60%] MySQLdb.constants reading sources... [ 80%] index reading sources... [100%] user_guide WARNING: autodoc: failed to import module 'MySQLdb'; the following exception was raised: Traceback (most recent call last): File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 18, in from . import _mysql ImportError: cannot import name '_mysql' from partially initialized module 'MySQLdb' (most likely due to a circular import) (/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module return importlib.import_module(modname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 24, in version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined looking for now-outdated files... none found pickling environment... WARNING: autodoc: failed to import module 'connections' from module 'MySQLdb'; the following exception was raised: Traceback (most recent call last): File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 18, in from . import _mysql ImportError: cannot import name '_mysql' from partially initialized module 'MySQLdb' (most likely due to a circular import) (/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module return importlib.import_module(modname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 24, in version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined WARNING: autodoc: failed to import module 'converters' from module 'MySQLdb'; the following exception was raised: Traceback (most recent call last): File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 18, in from . import _mysql ImportError: cannot import name '_mysql' from partially initialized module 'MySQLdb' (most likely due to a circular import) (/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module return importlib.import_module(modname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 24, in version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined WARNING: autodoc: failed to import module 'cursors' from module 'MySQLdb'; the following exception was raised: Traceback (most recent call last): File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 18, in from . import _mysql ImportError: cannot import name '_mysql' from partially initialized module 'MySQLdb' (most likely due to a circular import) (/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module return importlib.import_module(modname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 24, in version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined WARNING: autodoc: failed to import module 'times' from module 'MySQLdb'; the following exception was raised: Traceback (most recent call last): File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 18, in from . import _mysql ImportError: cannot import name '_mysql' from partially initialized module 'MySQLdb' (most likely due to a circular import) (/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module return importlib.import_module(modname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 24, in version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined WARNING: autodoc: failed to import module '_mysql' from module 'MySQLdb'; the following exception was raised: Traceback (most recent call last): File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 18, in from . import _mysql ImportError: cannot import name '_mysql' from partially initialized module 'MySQLdb' (most likely due to a circular import) (/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module return importlib.import_module(modname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 24, in version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined WARNING: autodoc: failed to import module '_exceptions' from module 'MySQLdb'; the following exception was raised: Traceback (most recent call last): File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 18, in from . import _mysql ImportError: cannot import name '_mysql' from partially initialized module 'MySQLdb' (most likely due to a circular import) (/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module return importlib.import_module(modname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 24, in version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined WARNING: autodoc: failed to import module 'constants' from module 'MySQLdb'; the following exception was raised: Traceback (most recent call last): File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 18, in from . import _mysql ImportError: cannot import name '_mysql' from partially initialized module 'MySQLdb' (most likely due to a circular import) (/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module return importlib.import_module(modname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 24, in version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined WARNING: autodoc: failed to import module 'constants.CLIENT' from module 'MySQLdb'; the following exception was raised: Traceback (most recent call last): File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 18, in from . import _mysql ImportError: cannot import name '_mysql' from partially initialized module 'MySQLdb' (most likely due to a circular import) (/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module return importlib.import_module(modname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 24, in version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined WARNING: autodoc: failed to import module 'constants.CR' from module 'MySQLdb'; the following exception was raised: Traceback (most recent call last): File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 18, in from . import _mysql ImportError: cannot import name '_mysql' from partially initialized module 'MySQLdb' (most likely due to a circular import) (/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module return importlib.import_module(modname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 24, in version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined WARNING: autodoc: failed to import module 'constants.ER' from module 'MySQLdb'; the following exception was raised: Traceback (most recent call last): File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 18, in from . import _mysql ImportError: cannot import name '_mysql' from partially initialized module 'MySQLdb' (most likely due to a circular import) (/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module return importlib.import_module(modname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 24, in version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined WARNING: autodoc: failed to import module 'constants.FIELD_TYPE' from module 'MySQLdb'; the following exception was raised: Traceback (most recent call last): File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 18, in from . import _mysql ImportError: cannot import name '_mysql' from partially initialized module 'MySQLdb' (most likely due to a circular import) (/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module return importlib.import_module(modname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 24, in version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined WARNING: autodoc: failed to import module 'constants.FLAG' from module 'MySQLdb'; the following exception was raised: Traceback (most recent call last): File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 18, in from . import _mysql ImportError: cannot import name '_mysql' from partially initialized module 'MySQLdb' (most likely due to a circular import) (/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module return importlib.import_module(modname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/mysqlclient-2.1.1/MySQLdb/__init__.py", line 24, in version_info, _mysql.version_info, _mysql.__file__ NameError: name '_mysql' is not defined done checking consistency... done preparing documents... done writing output... [ 20%] FAQ writing output... [ 40%] MySQLdb writing output... [ 60%] MySQLdb.constants writing output... [ 80%] index writing output... [100%] user_guide generating indices... genindex done writing additional pages... search done copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 14 warnings. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1SiDVb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64 + cd mysqlclient-2.1.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64 mysql_config --version ['10.8.8'] mysql_config --libs ['-L/usr/lib64/', '-lmariadb'] mysql_config --cflags ['-I/usr/include/mysql', '-I/usr/include/mysql/mysql'] ext_options: library_dirs: ['/usr/lib64/'] libraries: ['mariadb'] extra_compile_args: ['-std=c99'] extra_link_args: [] include_dirs: ['/usr/include/mysql', '/usr/include/mysql/mysql'] extra_objects: [] define_macros: [('version_info', "(2,1,1,'final',0)"), ('__version__', '2.1.1')] running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr creating /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64 creating /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10 creating /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages creating /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb copying build/lib.linux-aarch64-cpython-310/MySQLdb/times.py -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb copying build/lib.linux-aarch64-cpython-310/MySQLdb/connections.py -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb copying build/lib.linux-aarch64-cpython-310/MySQLdb/converters.py -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb creating /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/constants copying build/lib.linux-aarch64-cpython-310/MySQLdb/constants/ER.py -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/constants copying build/lib.linux-aarch64-cpython-310/MySQLdb/constants/FLAG.py -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/constants copying build/lib.linux-aarch64-cpython-310/MySQLdb/constants/__init__.py -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/constants copying build/lib.linux-aarch64-cpython-310/MySQLdb/constants/FIELD_TYPE.py -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/constants copying build/lib.linux-aarch64-cpython-310/MySQLdb/constants/CR.py -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/constants copying build/lib.linux-aarch64-cpython-310/MySQLdb/constants/CLIENT.py -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/constants copying build/lib.linux-aarch64-cpython-310/MySQLdb/__init__.py -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb copying build/lib.linux-aarch64-cpython-310/MySQLdb/cursors.py -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb copying build/lib.linux-aarch64-cpython-310/MySQLdb/_mysql.cpython-310-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb copying build/lib.linux-aarch64-cpython-310/MySQLdb/release.py -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb copying build/lib.linux-aarch64-cpython-310/MySQLdb/_exceptions.py -> /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb byte-compiling /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/times.py to times.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/connections.py to connections.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/converters.py to converters.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/constants/ER.py to ER.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/constants/FLAG.py to FLAG.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/constants/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/constants/FIELD_TYPE.py to FIELD_TYPE.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/constants/CR.py to CR.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/constants/CLIENT.py to CLIENT.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/cursors.py to cursors.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/release.py to release.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/_exceptions.py to _exceptions.cpython-310.pyc writing byte-compilation script '/tmp/tmpdgh0y078.py' /usr/bin/python3 /tmp/tmpdgh0y078.py removing /tmp/tmpdgh0y078.py running install_egg_info running egg_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' Copying mysqlclient.egg-info to /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/mysqlclient-2.1.1-py3.10.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.1.1-3.ocs23 --unique-debug-suffix -2.1.1-3.ocs23.aarch64 --unique-debug-src-base python-mysqlclient-2.1.1-3.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/mysqlclient-2.1.1 extracting debug info from /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10/site-packages/MySQLdb/_mysql.cpython-310-aarch64-linux-gnu.so Support for debuginfod is not compiled into GDB. 156 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib64/python3.10 using python3.10 Bytecompiling .py files below /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/lib/debug/usr/lib64/python3.10 using python3.10 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: python3-mysqlclient-2.1.1-3.ocs23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NgRAKe + umask 022 + cd /builddir/build/BUILD + cd mysqlclient-2.1.1 + DOCDIR=/builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/share/doc/python3-mysqlclient + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/share/doc/python3-mysqlclient + cp -pr README.md /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/share/doc/python3-mysqlclient + cp -pr HISTORY.rst /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/share/doc/python3-mysqlclient + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.T3mrlz + umask 022 + cd /builddir/build/BUILD + cd mysqlclient-2.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/share/licenses/python3-mysqlclient + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/share/licenses/python3-mysqlclient + cp -pr LICENSE /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/share/licenses/python3-mysqlclient + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-mysqlclient = 2.1.1-3.ocs23 python3-mysql = 2.1.1-3.ocs23 python3-mysqlclient = 2.1.1-3.ocs23 python3-mysqlclient(aarch-64) = 2.1.1-3.ocs23 python3.10-mysqlclient = 2.1.1-3.ocs23 python3.10dist(mysqlclient) = 2.1.1 python3dist(mysqlclient) = 2.1.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: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) python(abi) = 3.10 rtld(GNU_HASH) Obsoletes: python3.10-mysqlclient < 2.1.1-3.ocs23 Processing files: python-mysqlclient-doc-2.1.1-3.ocs23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zHHWyc + umask 022 + cd /builddir/build/BUILD + cd mysqlclient-2.1.1 + DOCDIR=/builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/share/doc/python-mysqlclient-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/share/doc/python-mysqlclient-doc + cp -pr html /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/share/doc/python-mysqlclient-doc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.59pE9m + umask 022 + cd /builddir/build/BUILD + cd mysqlclient-2.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/share/licenses/python-mysqlclient-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/share/licenses/python-mysqlclient-doc + cp -pr LICENSE /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64/usr/share/licenses/python-mysqlclient-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-mysqlclient-doc = 2.1.1-3.ocs23 python-mysqlclient-doc(aarch-64) = 2.1.1-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python-mysqlclient-debugsource-2.1.1-3.ocs23.aarch64 Provides: python-mysqlclient-debugsource = 2.1.1-3.ocs23 python-mysqlclient-debugsource(aarch-64) = 2.1.1-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-mysqlclient-debuginfo-2.1.1-3.ocs23.aarch64 Provides: debuginfo(build-id) = 473bbdedb13017f59b8efb10a30d1b2b89f3079a python-mysqlclient-debuginfo = 2.1.1-3.ocs23 python3-mysqlclient-debuginfo = 2.1.1-3.ocs23 python3-mysqlclient-debuginfo(aarch-64) = 2.1.1-3.ocs23 python3.10-mysqlclient-debuginfo = 2.1.1-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-mysqlclient-debugsource(aarch-64) = 2.1.1-3.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-mysqlclient-2.1.1-3.ocs23.aarch64 Wrote: /builddir/build/RPMS/python-mysqlclient-debugsource-2.1.1-3.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/python3-mysqlclient-debuginfo-2.1.1-3.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/python3-mysqlclient-2.1.1-3.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/python-mysqlclient-doc-2.1.1-3.ocs23.aarch64.rpm Child return code was: 0