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 noarch --nodeps /builddir/build/SPECS/python-geoip2.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50323-2149/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '57c9ec4e394040168d0825b7f0f4ddb9', '-D', '/var/lib/mock/dist-ocs23-python311-build-50323-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-geoip2.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-geoip2-4.6.0-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-geoip2.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50323-2149/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '075c7d5006bc4c18b6833809cb2fed15', '-D', '/var/lib/mock/dist-ocs23-python311-build-50323-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-geoip2.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SGHG37 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf GeoIP2-python-4.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/GeoIP2-python-4.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd GeoIP2-python-4.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/MaxMind-DB-2b37923df61aa3b5fb6c7edfbf4dc5fafa10258a.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rmdir tests/data + mv -f MaxMind-DB-2b37923df61aa3b5fb6c7edfbf4dc5fafa10258a tests/data + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0ms4E4 + umask 022 + cd /builddir/build/BUILD + cd GeoIP2-python-4.6.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Import error: No module named 'packaging' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-geoip2-4.6.0-2.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-geoip2.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50323-2149/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5eb6b5db4f884c6aa5e5da3b949d945b', '-D', '/var/lib/mock/dist-ocs23-python311-build-50323-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-geoip2.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lzGQgm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf GeoIP2-python-4.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/GeoIP2-python-4.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd GeoIP2-python-4.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/MaxMind-DB-2b37923df61aa3b5fb6c7edfbf4dc5fafa10258a.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rmdir tests/data + mv -f MaxMind-DB-2b37923df61aa3b5fb6c7edfbf4dc5fafa10258a tests/data + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.H1mzHC + umask 022 + cd /builddir/build/BUILD + cd GeoIP2-python-4.6.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) warning: no directories found matching 'docs/html' HOOK STDOUT: running egg_info HOOK STDOUT: creating geoip2.egg-info HOOK STDOUT: writing geoip2.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to geoip2.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to geoip2.egg-info/requires.txt HOOK STDOUT: writing top-level names to geoip2.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'geoip2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'geoip2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'geoip2.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) warning: no directories found matching 'docs/html' The [wheel] section is deprecated. Use [bdist_wheel] instead. HOOK STDOUT: running dist_info HOOK STDOUT: writing geoip2.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to geoip2.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to geoip2.egg-info/requires.txt HOOK STDOUT: writing top-level names to geoip2.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'geoip2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'geoip2.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/GeoIP2-python-4.6.0/geoip2-4.6.0.dist-info' HOOK STDOUT: adding license file "LICENSE" (matched pattern "LICEN[CS]E*") Handling aiohttp (<4.0.0,>=3.6.2) from wheel metadata: Requires-Dist Requirement not satisfied: aiohttp (<4.0.0,>=3.6.2) Handling maxminddb (<3.0.0,>=2.2.0) from wheel metadata: Requires-Dist Requirement not satisfied: maxminddb (<3.0.0,>=2.2.0) Handling requests (<3.0.0,>=2.24.0) from wheel metadata: Requires-Dist Requirement satisfied: requests (<3.0.0,>=2.24.0) (installed: requests 2.28.1) Handling urllib3 (<2.0.0,>=1.25.2) from wheel metadata: Requires-Dist Requirement satisfied: urllib3 (<2.0.0,>=1.25.2) (installed: urllib3 1.26.12) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-geoip2-4.6.0-2.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-geoip2.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50323-2149/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bb7c6af244e247d28c6c944142097ee7', '-D', '/var/lib/mock/dist-ocs23-python311-build-50323-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-geoip2.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.O4ifnB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf GeoIP2-python-4.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/GeoIP2-python-4.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd GeoIP2-python-4.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/MaxMind-DB-2b37923df61aa3b5fb6c7edfbf4dc5fafa10258a.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rmdir tests/data + mv -f MaxMind-DB-2b37923df61aa3b5fb6c7edfbf4dc5fafa10258a tests/data + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.VxkyDt + umask 022 + cd /builddir/build/BUILD + cd GeoIP2-python-4.6.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) warning: no directories found matching 'docs/html' HOOK STDOUT: running egg_info HOOK STDOUT: creating geoip2.egg-info HOOK STDOUT: writing geoip2.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to geoip2.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to geoip2.egg-info/requires.txt HOOK STDOUT: writing top-level names to geoip2.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'geoip2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'geoip2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'geoip2.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) warning: no directories found matching 'docs/html' The [wheel] section is deprecated. Use [bdist_wheel] instead. HOOK STDOUT: running dist_info HOOK STDOUT: writing geoip2.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to geoip2.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to geoip2.egg-info/requires.txt HOOK STDOUT: writing top-level names to geoip2.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'geoip2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'geoip2.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/GeoIP2-python-4.6.0/geoip2-4.6.0.dist-info' HOOK STDOUT: adding license file "LICENSE" (matched pattern "LICEN[CS]E*") Handling aiohttp (<4.0.0,>=3.6.2) from wheel metadata: Requires-Dist Requirement not satisfied: aiohttp (<4.0.0,>=3.6.2) Handling maxminddb (<3.0.0,>=2.2.0) from wheel metadata: Requires-Dist Requirement not satisfied: maxminddb (<3.0.0,>=2.2.0) Handling requests (<3.0.0,>=2.24.0) from wheel metadata: Requires-Dist Requirement satisfied: requests (<3.0.0,>=2.24.0) (installed: requests 2.28.1) Handling urllib3 (<2.0.0,>=1.25.2) from wheel metadata: Requires-Dist Requirement satisfied: urllib3 (<2.0.0,>=1.25.2) (installed: urllib3 1.26.12) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-geoip2-4.6.0-2.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-geoip2.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50323-2149/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2e966353641142b497e1d89be011a505', '-D', '/var/lib/mock/dist-ocs23-python311-build-50323-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-geoip2.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.2oTj9U + umask 022 + cd /builddir/build/BUILD + cd GeoIP2-python-4.6.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv geoip2-4.6.0.dist-info/ removed 'geoip2-4.6.0.dist-info/METADATA' removed 'geoip2-4.6.0.dist-info/top_level.txt' removed 'geoip2-4.6.0.dist-info/LICENSE' removed directory 'geoip2-4.6.0.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) warning: no directories found matching 'docs/html' HOOK STDOUT: running egg_info HOOK STDOUT: writing geoip2.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to geoip2.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to geoip2.egg-info/requires.txt HOOK STDOUT: writing top-level names to geoip2.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'geoip2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'geoip2.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) warning: no directories found matching 'docs/html' The [wheel] section is deprecated. Use [bdist_wheel] instead. HOOK STDOUT: running dist_info HOOK STDOUT: writing geoip2.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to geoip2.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to geoip2.egg-info/requires.txt HOOK STDOUT: writing top-level names to geoip2.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'geoip2.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'geoip2.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/GeoIP2-python-4.6.0/geoip2-4.6.0.dist-info' HOOK STDOUT: adding license file "LICENSE" (matched pattern "LICEN[CS]E*") Handling aiohttp (<4.0.0,>=3.6.2) from wheel metadata: Requires-Dist Requirement not satisfied: aiohttp (<4.0.0,>=3.6.2) Handling maxminddb (<3.0.0,>=2.2.0) from wheel metadata: Requires-Dist Requirement not satisfied: maxminddb (<3.0.0,>=2.2.0) Handling requests (<3.0.0,>=2.24.0) from wheel metadata: Requires-Dist Requirement satisfied: requests (<3.0.0,>=2.24.0) (installed: requests 2.28.1) Handling urllib3 (<2.0.0,>=1.25.2) from wheel metadata: Requires-Dist Requirement satisfied: urllib3 (<2.0.0,>=1.25.2) (installed: urllib3 1.26.12) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EOSHSH + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd GeoIP2-python-4.6.0 + mkdir -p /builddir/build/BUILD/GeoIP2-python-4.6.0/.pyproject-builddir + 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 -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/GeoIP2-python-4.6.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/GeoIP2-python-4.6.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/GeoIP2-python-4.6.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/GeoIP2-python-4.6.0/.pyproject-builddir/pip-modern-metadata-y5foh2il/geoip2.egg-info writing /builddir/build/BUILD/GeoIP2-python-4.6.0/.pyproject-builddir/pip-modern-metadata-y5foh2il/geoip2.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/GeoIP2-python-4.6.0/.pyproject-builddir/pip-modern-metadata-y5foh2il/geoip2.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/GeoIP2-python-4.6.0/.pyproject-builddir/pip-modern-metadata-y5foh2il/geoip2.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/GeoIP2-python-4.6.0/.pyproject-builddir/pip-modern-metadata-y5foh2il/geoip2.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/GeoIP2-python-4.6.0/.pyproject-builddir/pip-modern-metadata-y5foh2il/geoip2.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/GeoIP2-python-4.6.0/.pyproject-builddir/pip-modern-metadata-y5foh2il/geoip2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'docs/html' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/GeoIP2-python-4.6.0/.pyproject-builddir/pip-modern-metadata-y5foh2il/geoip2.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/GeoIP2-python-4.6.0/.pyproject-builddir/pip-modern-metadata-y5foh2il/geoip2-4.6.0.dist-info' The [wheel] section is deprecated. Use [bdist_wheel] instead. adding license file "LICENSE" (matched pattern "LICEN[CS]E*") Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: geoip2 Building wheel for geoip2 (pyproject.toml): started Running command Building wheel for geoip2 (pyproject.toml) running bdist_wheel The [wheel] section is deprecated. Use [bdist_wheel] instead. running build running build_py creating build creating build/lib creating build/lib/geoip2 copying geoip2/mixins.py -> build/lib/geoip2 copying geoip2/models.py -> build/lib/geoip2 copying geoip2/__init__.py -> build/lib/geoip2 copying geoip2/webservice.py -> build/lib/geoip2 copying geoip2/database.py -> build/lib/geoip2 copying geoip2/records.py -> build/lib/geoip2 copying geoip2/errors.py -> build/lib/geoip2 copying geoip2/types.py -> build/lib/geoip2 running egg_info writing geoip2.egg-info/PKG-INFO writing dependency_links to geoip2.egg-info/dependency_links.txt writing requirements to geoip2.egg-info/requires.txt writing top-level names to geoip2.egg-info/top_level.txt reading manifest file 'geoip2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'docs/html' adding license file 'LICENSE' writing manifest file 'geoip2.egg-info/SOURCES.txt' copying geoip2/py.typed -> build/lib/geoip2 installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/geoip2 copying build/lib/geoip2/mixins.py -> build/bdist.linux-x86_64/wheel/geoip2 copying build/lib/geoip2/models.py -> build/bdist.linux-x86_64/wheel/geoip2 copying build/lib/geoip2/__init__.py -> build/bdist.linux-x86_64/wheel/geoip2 copying build/lib/geoip2/webservice.py -> build/bdist.linux-x86_64/wheel/geoip2 copying build/lib/geoip2/py.typed -> build/bdist.linux-x86_64/wheel/geoip2 copying build/lib/geoip2/database.py -> build/bdist.linux-x86_64/wheel/geoip2 copying build/lib/geoip2/records.py -> build/bdist.linux-x86_64/wheel/geoip2 copying build/lib/geoip2/errors.py -> build/bdist.linux-x86_64/wheel/geoip2 copying build/lib/geoip2/types.py -> build/bdist.linux-x86_64/wheel/geoip2 running install_egg_info Copying geoip2.egg-info to build/bdist.linux-x86_64/wheel/geoip2-4.6.0-py3.11.egg-info running install_scripts adding license file "LICENSE" (matched pattern "LICEN[CS]E*") creating build/bdist.linux-x86_64/wheel/geoip2-4.6.0.dist-info/WHEEL creating '/builddir/build/BUILD/GeoIP2-python-4.6.0/.pyproject-builddir/pip-wheel-hysg6tq7/tmpcla74exa/geoip2-4.6.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'geoip2/__init__.py' adding 'geoip2/database.py' adding 'geoip2/errors.py' adding 'geoip2/mixins.py' adding 'geoip2/models.py' adding 'geoip2/py.typed' adding 'geoip2/records.py' adding 'geoip2/types.py' adding 'geoip2/webservice.py' adding 'geoip2-4.6.0.dist-info/LICENSE' adding 'geoip2-4.6.0.dist-info/METADATA' adding 'geoip2-4.6.0.dist-info/WHEEL' adding 'geoip2-4.6.0.dist-info/top_level.txt' adding 'geoip2-4.6.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for geoip2 (pyproject.toml): finished with status 'done' Created wheel for geoip2: filename=geoip2-4.6.0-py2.py3-none-any.whl size=26832 sha256=61b4ed5bc687faa9764d29ac8ab82017a236165dc086f514cd0e8e6265632d31 Stored in directory: /builddir/.cache/pip/wheels/9c/3a/06/35084ab9cdb53e97e11bc09bc91875e34e72ae367375c10e48 Successfully built geoip2 + sphinx-build -b html docs html Running Sphinx v4.3.1 making output directory... done WARNING: html_static_path entry '_static' does not exist loading intersphinx inventory from http://docs.python.org/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable due to : HTTPConnectionPool(host='docs.python.org', port=80): Max retries exceeded with url: /objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) building [mo]: targets for 0 po files that are out of date building [html]: targets for 1 source files that are out of date updating environment: [new config] 1 added, 0 changed, 0 removed reading sources... [100%] index /builddir/build/BUILD/GeoIP2-python-4.6.0/geoip2/records.py:docstring of geoip2.records.Traits.network:1: WARNING: duplicate object description of geoip2.records.Traits.network, other instance in index, use :noindex: for one of them /builddir/build/BUILD/GeoIP2-python-4.6.0/geoip2/errors.py:docstring of geoip2.errors.AddressNotFoundError.network:1: WARNING: duplicate object description of geoip2.errors.AddressNotFoundError.network, other instance in index, use :noindex: for one of them looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [100%] index generating indices... genindex py-modindex 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, 4 warnings. The HTML pages are in html. + rm -rf html/.buildinfo html/.doctrees + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eEhmSE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch + cd GeoIP2-python-4.6.0 ++ ls /builddir/build/BUILD/GeoIP2-python-4.6.0/pyproject-wheeldir/geoip2-4.6.0-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=geoip2==4.6.0 + TMPDIR=/builddir/build/BUILD/GeoIP2-python-4.6.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/GeoIP2-python-4.6.0/pyproject-wheeldir geoip2==4.6.0 Using pip 22.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/GeoIP2-python-4.6.0/pyproject-wheeldir Processing ./pyproject-wheeldir/geoip2-4.6.0-py2.py3-none-any.whl Installing collected packages: geoip2 Successfully installed geoip2-4.6.0 + '[' -d /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/geoip2-4.6.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/geoip2-4.6.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch --record /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/geoip2-4.6.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/geoip2-4.6.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/geoip2-4.6.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/geoip2-4.6.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/geoip2-4.6.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr geoip2 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 4.6.0-2.ocs23 --unique-debug-suffix -4.6.0-2.ocs23.noarch --unique-debug-src-base python-geoip2-4.6.0-2.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/GeoIP2-python-4.6.0 find: 'debug': No such file or directory + /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-geoip2-4.6.0-2.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.VR9fRw + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd GeoIP2-python-4.6.0 + PYTHONPATH=/builddir/build/BUILDROOT/python-geoip2-4.6.0-2.ocs23.noarch/usr/lib/python3.11/site-packages + /usr/bin/python3 -m unittest tests/database_test.py tests/models_test.py E......... ====================================================================== ERROR: database_test (unittest.loader._FailedTest.database_test) ---------------------------------------------------------------------- ImportError: Failed to import test module: database_test Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/GeoIP2-python-4.6.0/tests/database_test.py", line 12, in import geoip2.database File "/builddir/build/BUILD/GeoIP2-python-4.6.0/geoip2/database.py", line 11, in import maxminddb ModuleNotFoundError: No module named 'maxminddb' ---------------------------------------------------------------------- Ran 10 tests in 0.001s FAILED (errors=1) error: Bad exit status from /var/tmp/rpm-tmp.VR9fRw (%check) Bad exit status from /var/tmp/rpm-tmp.VR9fRw (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 2e966353641142b497e1d89be011a505 -D /var/lib/mock/dist-ocs23-python311-build-50323-2149/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-geoip2.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 2e966353641142b497e1d89be011a505 -D /var/lib/mock/dist-ocs23-python311-build-50323-2149/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ghh6aht1:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-geoip2.spec