Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-psycopg3.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-601878-26202/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-psycopg3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/python-psycopg3-3.1.8-1.fc38.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-psycopg3.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-601878-26202/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-psycopg3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.slJYp5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf psycopg-3.1.8/psycopg + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/3.1.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd psycopg-3.1.8/psycopg + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -r -i 's/("(black|flake8|pytest-cov)\b.*",)/# \1/' setup.py + sed -r -i 's/("(pproxy)\b.*",)/# \1/' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.c6c8eB + umask 022 + cd /builddir/build/BUILD + cd psycopg-3.1.8/psycopg + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/psycopg-3.1.8/psycopg/pyproject-wheeldir -x test Handling setuptools>=49.2.0 from build-system.requires Requirement not satisfied: setuptools>=49.2.0 Handling wheel>=0.37 from build-system.requires Requirement not satisfied: wheel>=0.37 Exiting dependency generation pass: build backend + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-psycopg3-3.1.8-1.fc38.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-psycopg3.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-601878-26202/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-psycopg3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Nu7N19 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf psycopg-3.1.8/psycopg + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/3.1.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd psycopg-3.1.8/psycopg + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -r -i 's/("(black|flake8|pytest-cov)\b.*",)/# \1/' setup.py + sed -r -i 's/("(pproxy)\b.*",)/# \1/' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.5kmMAb + umask 022 + cd /builddir/build/BUILD + cd psycopg-3.1.8/psycopg + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/psycopg-3.1.8/psycopg/pyproject-wheeldir -x test Handling setuptools>=49.2.0 from build-system.requires Requirement satisfied: setuptools>=49.2.0 (installed: setuptools 65.5.1) Handling wheel>=0.37 from build-system.requires Requirement satisfied: wheel>=0.37 (installed: wheel 0.38.4) HOOK STDOUT: running egg_info HOOK STDOUT: creating psycopg.egg-info HOOK STDOUT: writing psycopg.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to psycopg.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to psycopg.egg-info/requires.txt HOOK STDOUT: writing top-level names to psycopg.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'psycopg.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'psycopg.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'psycopg.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) HOOK STDOUT: running dist_info HOOK STDOUT: writing psycopg.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to psycopg.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to psycopg.egg-info/requires.txt HOOK STDOUT: writing top-level names to psycopg.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'psycopg.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'psycopg.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/psycopg-3.1.8/psycopg/psycopg-3.1.8.dist-info' Handling typing-extensions (>=4.1) from hook generated metadata: Requires-Dist Requirement not satisfied: typing-extensions (>=4.1) Handling backports.zoneinfo (>=0.2.0) ; python_version < "3.9" from hook generated metadata: Requires-Dist Ignoring alien requirement: backports.zoneinfo (>=0.2.0) ; python_version < "3.9" Handling tzdata ; sys_platform == "win32" from hook generated metadata: Requires-Dist Ignoring alien requirement: tzdata ; sys_platform == "win32" Handling psycopg-binary (<=3.1.8,>=3.1.6) ; extra == 'binary' from hook generated metadata: Requires-Dist Ignoring alien requirement: psycopg-binary (<=3.1.8,>=3.1.6) ; extra == 'binary' Handling psycopg-c (<=3.1.8,>=3.1.6) ; extra == 'c' from hook generated metadata: Requires-Dist Ignoring alien requirement: psycopg-c (<=3.1.8,>=3.1.6) ; extra == 'c' Handling dnspython (>=2.1) ; extra == 'dev' from hook generated metadata: Requires-Dist Ignoring alien requirement: dnspython (>=2.1) ; extra == 'dev' Handling mypy (>=0.990) ; extra == 'dev' from hook generated metadata: Requires-Dist Ignoring alien requirement: mypy (>=0.990) ; extra == 'dev' Handling types-setuptools (>=57.4) ; extra == 'dev' from hook generated metadata: Requires-Dist Ignoring alien requirement: types-setuptools (>=57.4) ; extra == 'dev' Handling wheel (>=0.37) ; extra == 'dev' from hook generated metadata: Requires-Dist Ignoring alien requirement: wheel (>=0.37) ; extra == 'dev' Handling Sphinx (>=5.0) ; extra == 'docs' from hook generated metadata: Requires-Dist Ignoring alien requirement: Sphinx (>=5.0) ; extra == 'docs' Handling furo (==2022.6.21) ; extra == 'docs' from hook generated metadata: Requires-Dist Ignoring alien requirement: furo (==2022.6.21) ; extra == 'docs' Handling sphinx-autobuild (>=2021.3.14) ; extra == 'docs' from hook generated metadata: Requires-Dist Ignoring alien requirement: sphinx-autobuild (>=2021.3.14) ; extra == 'docs' Handling sphinx-autodoc-typehints (>=1.12) ; extra == 'docs' from hook generated metadata: Requires-Dist Ignoring alien requirement: sphinx-autodoc-typehints (>=1.12) ; extra == 'docs' Handling psycopg-pool ; extra == 'pool' from hook generated metadata: Requires-Dist Ignoring alien requirement: psycopg-pool ; extra == 'pool' Handling mypy (>=0.990) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement not satisfied: mypy (>=0.990) ; extra == 'test' Handling pytest (>=6.2.5) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement not satisfied: pytest (>=6.2.5) ; extra == 'test' Handling pytest-asyncio (>=0.17) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement not satisfied: pytest-asyncio (>=0.17) ; extra == 'test' Handling pytest-randomly (>=3.5) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement not satisfied: pytest-randomly (>=3.5) ; extra == 'test' + rm -rfv psycopg-3.1.8.dist-info/ removed 'psycopg-3.1.8.dist-info/LICENSE.txt' removed 'psycopg-3.1.8.dist-info/top_level.txt' removed 'psycopg-3.1.8.dist-info/METADATA' removed directory 'psycopg-3.1.8.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-psycopg3-3.1.8-1.fc38.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-psycopg3.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-601878-26202/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-psycopg3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ms6J5T + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf psycopg-3.1.8/psycopg + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/3.1.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd psycopg-3.1.8/psycopg + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -r -i 's/("(black|flake8|pytest-cov)\b.*",)/# \1/' setup.py + sed -r -i 's/("(pproxy)\b.*",)/# \1/' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Jdq6ga + umask 022 + cd /builddir/build/BUILD + cd psycopg-3.1.8/psycopg + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/psycopg-3.1.8/psycopg/pyproject-wheeldir -x test Handling setuptools>=49.2.0 from build-system.requires Requirement satisfied: setuptools>=49.2.0 (installed: setuptools 65.5.1) Handling wheel>=0.37 from build-system.requires Requirement satisfied: wheel>=0.37 (installed: wheel 0.38.4) HOOK STDOUT: running egg_info HOOK STDOUT: creating psycopg.egg-info HOOK STDOUT: writing psycopg.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to psycopg.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to psycopg.egg-info/requires.txt HOOK STDOUT: writing top-level names to psycopg.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'psycopg.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'psycopg.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'psycopg.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) HOOK STDOUT: running dist_info HOOK STDOUT: writing psycopg.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to psycopg.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to psycopg.egg-info/requires.txt HOOK STDOUT: writing top-level names to psycopg.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'psycopg.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'psycopg.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/psycopg-3.1.8/psycopg/psycopg-3.1.8.dist-info' Handling typing-extensions (>=4.1) from hook generated metadata: Requires-Dist Requirement satisfied: typing-extensions (>=4.1) (installed: typing-extensions 4.5.0) Handling backports.zoneinfo (>=0.2.0) ; python_version < "3.9" from hook generated metadata: Requires-Dist Ignoring alien requirement: backports.zoneinfo (>=0.2.0) ; python_version < "3.9" Handling tzdata ; sys_platform == "win32" from hook generated metadata: Requires-Dist Ignoring alien requirement: tzdata ; sys_platform == "win32" Handling psycopg-binary (<=3.1.8,>=3.1.6) ; extra == 'binary' from hook generated metadata: Requires-Dist Ignoring alien requirement: psycopg-binary (<=3.1.8,>=3.1.6) ; extra == 'binary' Handling psycopg-c (<=3.1.8,>=3.1.6) ; extra == 'c' from hook generated metadata: Requires-Dist Ignoring alien requirement: psycopg-c (<=3.1.8,>=3.1.6) ; extra == 'c' Handling dnspython (>=2.1) ; extra == 'dev' from hook generated metadata: Requires-Dist Ignoring alien requirement: dnspython (>=2.1) ; extra == 'dev' Handling mypy (>=0.990) ; extra == 'dev' from hook generated metadata: Requires-Dist Ignoring alien requirement: mypy (>=0.990) ; extra == 'dev' Handling types-setuptools (>=57.4) ; extra == 'dev' from hook generated metadata: Requires-Dist Ignoring alien requirement: types-setuptools (>=57.4) ; extra == 'dev' Handling wheel (>=0.37) ; extra == 'dev' from hook generated metadata: Requires-Dist Ignoring alien requirement: wheel (>=0.37) ; extra == 'dev' Handling Sphinx (>=5.0) ; extra == 'docs' from hook generated metadata: Requires-Dist Ignoring alien requirement: Sphinx (>=5.0) ; extra == 'docs' Handling furo (==2022.6.21) ; extra == 'docs' from hook generated metadata: Requires-Dist Ignoring alien requirement: furo (==2022.6.21) ; extra == 'docs' Handling sphinx-autobuild (>=2021.3.14) ; extra == 'docs' from hook generated metadata: Requires-Dist Ignoring alien requirement: sphinx-autobuild (>=2021.3.14) ; extra == 'docs' Handling sphinx-autodoc-typehints (>=1.12) ; extra == 'docs' from hook generated metadata: Requires-Dist Ignoring alien requirement: sphinx-autodoc-typehints (>=1.12) ; extra == 'docs' Handling psycopg-pool ; extra == 'pool' from hook generated metadata: Requires-Dist Ignoring alien requirement: psycopg-pool ; extra == 'pool' Handling mypy (>=0.990) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: mypy (>=0.990) ; extra == 'test' (installed: mypy 1.2.0) Handling pytest (>=6.2.5) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: pytest (>=6.2.5) ; extra == 'test' (installed: pytest 7.2.2) Handling pytest-asyncio (>=0.17) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: pytest-asyncio (>=0.17) ; extra == 'test' (installed: pytest-asyncio 0.20.3) Handling pytest-randomly (>=3.5) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: pytest-randomly (>=3.5) ; extra == 'test' (installed: pytest-randomly 3.12.0) + rm -rfv psycopg-3.1.8.dist-info/ removed 'psycopg-3.1.8.dist-info/LICENSE.txt' removed 'psycopg-3.1.8.dist-info/top_level.txt' removed 'psycopg-3.1.8.dist-info/METADATA' removed directory 'psycopg-3.1.8.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-psycopg3-3.1.8-1.fc38.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-psycopg3.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-601878-26202/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-psycopg3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674172800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.jIjiwY + umask 022 + cd /builddir/build/BUILD + cd psycopg-3.1.8/psycopg + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/psycopg-3.1.8/psycopg/pyproject-wheeldir -x test Handling setuptools>=49.2.0 from build-system.requires Requirement satisfied: setuptools>=49.2.0 (installed: setuptools 65.5.1) Handling wheel>=0.37 from build-system.requires Requirement satisfied: wheel>=0.37 (installed: wheel 0.38.4) HOOK STDOUT: running egg_info HOOK STDOUT: writing psycopg.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to psycopg.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to psycopg.egg-info/requires.txt HOOK STDOUT: writing top-level names to psycopg.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'psycopg.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'psycopg.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) HOOK STDOUT: running dist_info HOOK STDOUT: writing psycopg.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to psycopg.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to psycopg.egg-info/requires.txt HOOK STDOUT: writing top-level names to psycopg.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'psycopg.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'psycopg.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/psycopg-3.1.8/psycopg/psycopg-3.1.8.dist-info' Handling typing-extensions (>=4.1) from hook generated metadata: Requires-Dist Requirement satisfied: typing-extensions (>=4.1) (installed: typing-extensions 4.5.0) Handling backports.zoneinfo (>=0.2.0) ; python_version < "3.9" from hook generated metadata: Requires-Dist Ignoring alien requirement: backports.zoneinfo (>=0.2.0) ; python_version < "3.9" Handling tzdata ; sys_platform == "win32" from hook generated metadata: Requires-Dist Ignoring alien requirement: tzdata ; sys_platform == "win32" Handling psycopg-binary (<=3.1.8,>=3.1.6) ; extra == 'binary' from hook generated metadata: Requires-Dist Ignoring alien requirement: psycopg-binary (<=3.1.8,>=3.1.6) ; extra == 'binary' Handling psycopg-c (<=3.1.8,>=3.1.6) ; extra == 'c' from hook generated metadata: Requires-Dist Ignoring alien requirement: psycopg-c (<=3.1.8,>=3.1.6) ; extra == 'c' Handling dnspython (>=2.1) ; extra == 'dev' from hook generated metadata: Requires-Dist Ignoring alien requirement: dnspython (>=2.1) ; extra == 'dev' Handling mypy (>=0.990) ; extra == 'dev' from hook generated metadata: Requires-Dist Ignoring alien requirement: mypy (>=0.990) ; extra == 'dev' Handling types-setuptools (>=57.4) ; extra == 'dev' from hook generated metadata: Requires-Dist Ignoring alien requirement: types-setuptools (>=57.4) ; extra == 'dev' Handling wheel (>=0.37) ; extra == 'dev' from hook generated metadata: Requires-Dist Ignoring alien requirement: wheel (>=0.37) ; extra == 'dev' Handling Sphinx (>=5.0) ; extra == 'docs' from hook generated metadata: Requires-Dist Ignoring alien requirement: Sphinx (>=5.0) ; extra == 'docs' Handling furo (==2022.6.21) ; extra == 'docs' from hook generated metadata: Requires-Dist Ignoring alien requirement: furo (==2022.6.21) ; extra == 'docs' Handling sphinx-autobuild (>=2021.3.14) ; extra == 'docs' from hook generated metadata: Requires-Dist Ignoring alien requirement: sphinx-autobuild (>=2021.3.14) ; extra == 'docs' Handling sphinx-autodoc-typehints (>=1.12) ; extra == 'docs' from hook generated metadata: Requires-Dist Ignoring alien requirement: sphinx-autodoc-typehints (>=1.12) ; extra == 'docs' Handling psycopg-pool ; extra == 'pool' from hook generated metadata: Requires-Dist Ignoring alien requirement: psycopg-pool ; extra == 'pool' Handling mypy (>=0.990) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: mypy (>=0.990) ; extra == 'test' (installed: mypy 1.2.0) Handling pytest (>=6.2.5) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: pytest (>=6.2.5) ; extra == 'test' (installed: pytest 7.2.2) Handling pytest-asyncio (>=0.17) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: pytest-asyncio (>=0.17) ; extra == 'test' (installed: pytest-asyncio 0.20.3) Handling pytest-randomly (>=3.5) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: pytest-randomly (>=3.5) ; extra == 'test' (installed: pytest-randomly 3.12.0) + rm -rfv psycopg-3.1.8.dist-info/ removed 'psycopg-3.1.8.dist-info/LICENSE.txt' removed 'psycopg-3.1.8.dist-info/top_level.txt' removed 'psycopg-3.1.8.dist-info/METADATA' removed directory 'psycopg-3.1.8.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nczIev + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 psycopg-3.1.8/psycopg + mkdir -p /builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/psycopg-3.1.8/psycopg/pyproject-wheeldir Processing /builddir/build/BUILD/psycopg-3.1.8/psycopg Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir/pip-modern-metadata-d7dtcmxc/psycopg.egg-info writing /builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir/pip-modern-metadata-d7dtcmxc/psycopg.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir/pip-modern-metadata-d7dtcmxc/psycopg.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir/pip-modern-metadata-d7dtcmxc/psycopg.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir/pip-modern-metadata-d7dtcmxc/psycopg.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir/pip-modern-metadata-d7dtcmxc/psycopg.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir/pip-modern-metadata-d7dtcmxc/psycopg.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file '/builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir/pip-modern-metadata-d7dtcmxc/psycopg.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir/pip-modern-metadata-d7dtcmxc/psycopg-3.1.8.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: psycopg Building wheel for psycopg (pyproject.toml): started Running command Building wheel for psycopg (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/psycopg copying psycopg/sql.py -> build/lib/psycopg copying psycopg/_dns.py -> build/lib/psycopg copying psycopg/cursor.py -> build/lib/psycopg copying psycopg/client_cursor.py -> build/lib/psycopg copying psycopg/abc.py -> build/lib/psycopg copying psycopg/conninfo.py -> build/lib/psycopg copying psycopg/_encodings.py -> build/lib/psycopg copying psycopg/_adapters_map.py -> build/lib/psycopg copying psycopg/rows.py -> build/lib/psycopg copying psycopg/connection.py -> build/lib/psycopg copying psycopg/version.py -> build/lib/psycopg copying psycopg/_struct.py -> build/lib/psycopg copying psycopg/transaction.py -> build/lib/psycopg copying psycopg/errors.py -> build/lib/psycopg copying psycopg/server_cursor.py -> build/lib/psycopg copying psycopg/cursor_async.py -> build/lib/psycopg copying psycopg/_cmodule.py -> build/lib/psycopg copying psycopg/_enums.py -> build/lib/psycopg copying psycopg/_typeinfo.py -> build/lib/psycopg copying psycopg/_tz.py -> build/lib/psycopg copying psycopg/connection_async.py -> build/lib/psycopg copying psycopg/postgres.py -> build/lib/psycopg copying psycopg/_queries.py -> build/lib/psycopg copying psycopg/copy.py -> build/lib/psycopg copying psycopg/_transform.py -> build/lib/psycopg copying psycopg/dbapi20.py -> build/lib/psycopg copying psycopg/_tpc.py -> build/lib/psycopg copying psycopg/_pipeline.py -> build/lib/psycopg copying psycopg/_wrappers.py -> build/lib/psycopg copying psycopg/generators.py -> build/lib/psycopg copying psycopg/waiting.py -> build/lib/psycopg copying psycopg/__init__.py -> build/lib/psycopg copying psycopg/adapt.py -> build/lib/psycopg copying psycopg/_column.py -> build/lib/psycopg copying psycopg/_compat.py -> build/lib/psycopg copying psycopg/_preparing.py -> build/lib/psycopg creating build/lib/psycopg/types copying psycopg/types/none.py -> build/lib/psycopg/types copying psycopg/types/array.py -> build/lib/psycopg/types copying psycopg/types/enum.py -> build/lib/psycopg/types copying psycopg/types/bool.py -> build/lib/psycopg/types copying psycopg/types/datetime.py -> build/lib/psycopg/types copying psycopg/types/hstore.py -> build/lib/psycopg/types copying psycopg/types/composite.py -> build/lib/psycopg/types copying psycopg/types/multirange.py -> build/lib/psycopg/types copying psycopg/types/json.py -> build/lib/psycopg/types copying psycopg/types/shapely.py -> build/lib/psycopg/types copying psycopg/types/numeric.py -> build/lib/psycopg/types copying psycopg/types/uuid.py -> build/lib/psycopg/types copying psycopg/types/string.py -> build/lib/psycopg/types copying psycopg/types/range.py -> build/lib/psycopg/types copying psycopg/types/__init__.py -> build/lib/psycopg/types copying psycopg/types/net.py -> build/lib/psycopg/types creating build/lib/psycopg/pq copying psycopg/pq/misc.py -> build/lib/psycopg/pq copying psycopg/pq/_pq_ctypes.py -> build/lib/psycopg/pq copying psycopg/pq/pq_ctypes.py -> build/lib/psycopg/pq copying psycopg/pq/abc.py -> build/lib/psycopg/pq copying psycopg/pq/_debug.py -> build/lib/psycopg/pq copying psycopg/pq/_enums.py -> build/lib/psycopg/pq copying psycopg/pq/__init__.py -> build/lib/psycopg/pq creating build/lib/psycopg/crdb copying psycopg/crdb/connection.py -> build/lib/psycopg/crdb copying psycopg/crdb/_types.py -> build/lib/psycopg/crdb copying psycopg/crdb/__init__.py -> build/lib/psycopg/crdb copying psycopg/py.typed -> build/lib/psycopg installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/sql.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_dns.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/cursor.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/client_cursor.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/abc.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/conninfo.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_encodings.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_adapters_map.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/rows.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/connection.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/version.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_struct.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/transaction.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/errors.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/server_cursor.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/cursor_async.py -> build/bdist.linux-riscv64/wheel/psycopg creating build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/none.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/array.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/enum.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/bool.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/datetime.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/hstore.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/composite.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/multirange.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/json.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/shapely.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/numeric.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/uuid.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/string.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/range.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/__init__.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/types/net.py -> build/bdist.linux-riscv64/wheel/psycopg/types copying build/lib/psycopg/_cmodule.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_enums.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_typeinfo.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_tz.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/connection_async.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/postgres.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_queries.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/copy.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_transform.py -> build/bdist.linux-riscv64/wheel/psycopg creating build/bdist.linux-riscv64/wheel/psycopg/pq copying build/lib/psycopg/pq/misc.py -> build/bdist.linux-riscv64/wheel/psycopg/pq copying build/lib/psycopg/pq/_pq_ctypes.py -> build/bdist.linux-riscv64/wheel/psycopg/pq copying build/lib/psycopg/pq/pq_ctypes.py -> build/bdist.linux-riscv64/wheel/psycopg/pq copying build/lib/psycopg/pq/abc.py -> build/bdist.linux-riscv64/wheel/psycopg/pq copying build/lib/psycopg/pq/_debug.py -> build/bdist.linux-riscv64/wheel/psycopg/pq copying build/lib/psycopg/pq/_enums.py -> build/bdist.linux-riscv64/wheel/psycopg/pq copying build/lib/psycopg/pq/__init__.py -> build/bdist.linux-riscv64/wheel/psycopg/pq copying build/lib/psycopg/py.typed -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/dbapi20.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_tpc.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_pipeline.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_wrappers.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/generators.py -> build/bdist.linux-riscv64/wheel/psycopg creating build/bdist.linux-riscv64/wheel/psycopg/crdb copying build/lib/psycopg/crdb/connection.py -> build/bdist.linux-riscv64/wheel/psycopg/crdb copying build/lib/psycopg/crdb/_types.py -> build/bdist.linux-riscv64/wheel/psycopg/crdb copying build/lib/psycopg/crdb/__init__.py -> build/bdist.linux-riscv64/wheel/psycopg/crdb copying build/lib/psycopg/waiting.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/__init__.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/adapt.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_column.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_compat.py -> build/bdist.linux-riscv64/wheel/psycopg copying build/lib/psycopg/_preparing.py -> build/bdist.linux-riscv64/wheel/psycopg running install_egg_info running egg_info writing psycopg.egg-info/PKG-INFO writing dependency_links to psycopg.egg-info/dependency_links.txt writing requirements to psycopg.egg-info/requires.txt writing top-level names to psycopg.egg-info/top_level.txt reading manifest file 'psycopg.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file 'psycopg.egg-info/SOURCES.txt' Copying psycopg.egg-info to build/bdist.linux-riscv64/wheel/psycopg-3.1.8-py3.11.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/psycopg-3.1.8.dist-info/WHEEL creating '/builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir/pip-wheel-guri09m4/tmpzipunpd7/psycopg-3.1.8-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'psycopg/__init__.py' adding 'psycopg/_adapters_map.py' adding 'psycopg/_cmodule.py' adding 'psycopg/_column.py' adding 'psycopg/_compat.py' adding 'psycopg/_dns.py' adding 'psycopg/_encodings.py' adding 'psycopg/_enums.py' adding 'psycopg/_pipeline.py' adding 'psycopg/_preparing.py' adding 'psycopg/_queries.py' adding 'psycopg/_struct.py' adding 'psycopg/_tpc.py' adding 'psycopg/_transform.py' adding 'psycopg/_typeinfo.py' adding 'psycopg/_tz.py' adding 'psycopg/_wrappers.py' adding 'psycopg/abc.py' adding 'psycopg/adapt.py' adding 'psycopg/client_cursor.py' adding 'psycopg/connection.py' adding 'psycopg/connection_async.py' adding 'psycopg/conninfo.py' adding 'psycopg/copy.py' adding 'psycopg/cursor.py' adding 'psycopg/cursor_async.py' adding 'psycopg/dbapi20.py' adding 'psycopg/errors.py' adding 'psycopg/generators.py' adding 'psycopg/postgres.py' adding 'psycopg/py.typed' adding 'psycopg/rows.py' adding 'psycopg/server_cursor.py' adding 'psycopg/sql.py' adding 'psycopg/transaction.py' adding 'psycopg/version.py' adding 'psycopg/waiting.py' adding 'psycopg/crdb/__init__.py' adding 'psycopg/crdb/_types.py' adding 'psycopg/crdb/connection.py' adding 'psycopg/pq/__init__.py' adding 'psycopg/pq/_debug.py' adding 'psycopg/pq/_enums.py' adding 'psycopg/pq/_pq_ctypes.py' adding 'psycopg/pq/abc.py' adding 'psycopg/pq/misc.py' adding 'psycopg/pq/pq_ctypes.py' adding 'psycopg/types/__init__.py' adding 'psycopg/types/array.py' adding 'psycopg/types/bool.py' adding 'psycopg/types/composite.py' adding 'psycopg/types/datetime.py' adding 'psycopg/types/enum.py' adding 'psycopg/types/hstore.py' adding 'psycopg/types/json.py' adding 'psycopg/types/multirange.py' adding 'psycopg/types/net.py' adding 'psycopg/types/none.py' adding 'psycopg/types/numeric.py' adding 'psycopg/types/range.py' adding 'psycopg/types/shapely.py' adding 'psycopg/types/string.py' adding 'psycopg/types/uuid.py' adding 'psycopg-3.1.8.dist-info/LICENSE.txt' adding 'psycopg-3.1.8.dist-info/METADATA' adding 'psycopg-3.1.8.dist-info/WHEEL' adding 'psycopg-3.1.8.dist-info/top_level.txt' adding 'psycopg-3.1.8.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Building wheel for psycopg (pyproject.toml): finished with status 'done' Created wheel for psycopg: filename=psycopg-3.1.8-py3-none-any.whl size=167404 sha256=d76b64a3bdfadac6b63b1348ffe43d1f608e9af68cf3f7cf5975758dce9ac1bc Stored in directory: /builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir/pip-ephem-wheel-cache-yxupa08v/wheels/ae/22/30/0275ef7af8cb148f6635b050589833fdd323da9969cf12f051 Successfully built psycopg + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AlXSmD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch ++ dirname /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 psycopg-3.1.8/psycopg ++ xargs basename --multiple ++ ls /builddir/build/BUILD/psycopg-3.1.8/psycopg/pyproject-wheeldir/psycopg-3.1.8-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=psycopg==3.1.8 + TMPDIR=/builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch --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 /builddir/build/BUILD/psycopg-3.1.8/psycopg/pyproject-wheeldir psycopg==3.1.8 Using pip 22.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/psycopg-3.1.8/psycopg/pyproject-wheeldir Processing ./pyproject-wheeldir/psycopg-3.1.8-py3-none-any.whl Installing collected packages: psycopg Successfully installed psycopg-3.1.8 + '[' -d /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/python-psycopg3-3.1.8-1.fc38.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/psycopg-3.1.8.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/lib/python3.11/site-packages/psycopg-3.1.8.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch --record /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/lib/python3.11/site-packages/psycopg-3.1.8.dist-info/RECORD --output /builddir/build/BUILD/python-psycopg3-3.1.8-1.fc38.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/lib/python3.11/site-packages/psycopg-3.1.8.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/lib/python3.11/site-packages/psycopg-3.1.8.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/lib/python3.11/site-packages/psycopg-3.1.8.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/lib/python3.11/site-packages/psycopg-3.1.8.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-psycopg3-3.1.8-1.fc38.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-psycopg3-3.1.8-1.fc38.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-psycopg3-3.1.8-1.fc38.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/python-psycopg3-3.1.8-1.fc38.noarch-pyproject-record --prefix /usr psycopg + pushd ../tests/ ~/build/BUILD/psycopg-3.1.8/tests ~/build/BUILD/psycopg-3.1.8/psycopg + find pool/ '!' -name fix_pool.py -type f -exec rm -f '{}' + + popd ~/build/BUILD/psycopg-3.1.8/psycopg + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.1.8-1.fc38 --unique-debug-suffix -3.1.8-1.fc38.noarch --unique-debug-src-base python-psycopg3-3.1.8-1.fc38.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/psycopg-3.1.8/psycopg find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1iNTmk + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 psycopg-3.1.8/psycopg + export PGTESTS_LOCALE=C.UTF-8 + PGTESTS_LOCALE=C.UTF-8 + . /usr/share/postgresql-setup/postgresql_pkg_tests.sh +++ pwd ++ : /builddir/build/BUILD/psycopg-3.1.8/psycopg/datadir +++ id -u -n ++ : mockbuild ++ : mockbuild ++ : mockbuild +++ try_random_port +++ _port=28306 +++ test -n 28306 +++ eval '_port=$(( $_port + 32000 ))' +++ echo 60306 ++ : 60306 ++ : /tmp ++ : test:test ++ : test:test ++ : : ++ : : ++ : : ++ export PGPORT=60306 ++ PGPORT=60306 ++ export PGHOST=/tmp ++ PGHOST=/tmp ++ : ++ trap __trap_cb EXIT + pgtests_start + unset __TRAP_ACTIONS + : + test -f /builddir/build/BUILD/psycopg-3.1.8/psycopg/datadir/postmaster.pid + test -e /builddir/build/BUILD/psycopg-3.1.8/psycopg/datadir + __pgtests_initdb + initdb /builddir/build/BUILD/psycopg-3.1.8/psycopg/datadir -U mockbuild --auth-local=peer --auth-host=md5 --locale=C.UTF-8 The files belonging to this database system will be owned by user "mockbuild". This user must also own the server process. The database cluster will be initialized with locale "C.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /builddir/build/BUILD/psycopg-3.1.8/psycopg/datadir ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... America/New_York creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok Success. You can now start the database server using: pg_ctl -D /builddir/build/BUILD/psycopg-3.1.8/psycopg/datadir -l logfile start + __TRAP_ACTIONS='pgtests_cleanup ' + __pgtests_start + pg_ctl -D /builddir/build/BUILD/psycopg-3.1.8/psycopg/datadir -l /builddir/build/BUILD/psycopg-3.1.8/psycopg/datadir/start.log start -o '-k /tmp -p 60306' -w waiting for server to start..... done server started + __TRAP_ACTIONS='pgtests_stop pgtests_cleanup ' + __pgtests_create_admins_db + createdb -h /tmp mockbuild --owner mockbuild -p 60306 + __pgtests_passwd mockbuild mockbuild + psql -d postgres --set=user=mockbuild --set=pass=mockbuild -tA ALTER ROLE + for _pgt_user in $PGTESTS_USERS + save_IFS=' ' + IFS=: + _user= + _pass= + for _part in $_pgt_user + test -z '' + _user=test + for _part in $_pgt_user + test -z test + _pass=test + createuser test + __pgtests_passwd test test + psql -d postgres --set=user=test --set=pass=test -tA ALTER ROLE + IFS=' ' + for _pgt_db in $PGTESTS_DATABASES + save_IFS=' ' + IFS=: + _db= + _user= + for _part in $_pgt_db + test -z '' + _user=test + for _part in $_pgt_db + test -z test + _db=test + createdb test --owner test + IFS=' ' + export 'PSYCOPG_TEST_DSN=host=/tmp port=60306 dbname=test' + PSYCOPG_TEST_DSN='host=/tmp port=60306 dbname=test' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-psycopg3-3.1.8-1.fc38.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/psycopg-3.1.8/psycopg/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest ../tests/ -k 'not test_typing and not test_module' ============================= test session starts ============================== platform linux -- Python 3.11.2, pytest-7.2.2, pluggy-1.0.0 Using --randomly-seed=2088853813 default selector: EpollSelector Server version: PostgreSQL 14.3 on riscv64-koji-linux-gnu, compiled by gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4), 64-bit libpq wrapper implementation: python libpq used: 150000 libpq compiled: 150000 rootdir: /builddir/build/BUILD/psycopg-3.1.8, configfile: pyproject.toml plugins: randomly-3.12.0, asyncio-0.20.3 asyncio: mode=Mode.AUTO collected 4481 items / 106 deselected / 1 skipped / 4375 selected ../tests/test_server_cursor.py ......................................... [ 0%] ........... [ 1%] ../tests/test_windows.py s [ 1%] ../tests/test_sql.py ................................................... [ 2%] .......................................... [ 3%] ../tests/types/test_enum.py ............................................ [ 4%] ........................................................................ [ 5%] ........................................................................ [ 7%] ...... [ 7%] ../tests/types/test_numeric.py ......................................... [ 8%] ........................................................................ [ 10%] ........................................................................ [ 12%] ........................................................................ [ 13%] ........................................................................ [ 15%] ....................................... [ 16%] ../tests/test_dns.py s [ 16%] ../tests/types/test_range.py ........................................... [ 17%] ....x...............x................x......................x........... [ 18%] .................................x...................................... [ 20%] .................................x.................................x.... [ 22%] ...x..................... [ 22%] ../tests/test_query.py ............................................ [ 23%] ../tests/test_connection.py ............................................ [ 24%] .....................F............ [ 25%] ../tests/types/test_net.py ................................. [ 26%] ../tests/test_client_cursor.py ......................................... [ 27%] ........................................................... [ 28%] ../tests/test_dns_srv.py ssssssssssssssssssss [ 28%] ../tests/test_conninfo.py ..s..................................s........ [ 30%] ........................................ [ 30%] ../tests/crdb/test_copy.py sssssssssssssssssssss [ 31%] ../tests/crdb/test_conninfo.py ssss [ 31%] ../tests/test_psycopg_dbapi20.py ...................................ssss [ 32%] ssssss....................F............ [ 33%] ../tests/test_client_cursor_async.py ................................... [ 34%] ............................................... [ 35%] ../tests/test_copy.py .................................................s [ 36%] ................................................ [ 37%] ../tests/test_transaction.py .............s............................. [ 38%] .............................................. [ 39%] ../tests/types/test_composite.py ....................................... [ 40%] ..................... [ 40%] ../tests/pq/test_exec.py ............... [ 41%] ../tests/test_errors.py ......................... [ 41%] ../tests/types/test_string.py .......................................... [ 42%] ..x..................................................................... [ 44%] ..................... [ 44%] ../tests/types/test_none.py . [ 44%] ../tests/test_pipeline_async.py ........................................ [ 45%] ... [ 45%] ../tests/crdb/test_connection_async.py ssssssss [ 46%] ../tests/test_tpc.py sssssssssssssssssss..... [ 46%] ../tests/types/test_datetime.py ........................x........x...... [ 47%] ...........x............................................................ [ 49%] ........................................................................ [ 50%] ........................................................................ [ 52%] ........................................................................ [ 54%] .............................x...............x......x..................x [ 55%] ...............x.x.........x..........................x....x............ [ 57%] ................................................................... [ 58%] ../tests/crdb/test_cursor_async.py ss [ 58%] ../tests/test_transaction_async.py .............................s....... [ 59%] .................................................... [ 60%] ../tests/test_adapt.py ................................................. [ 62%] ....s [ 62%] ../tests/pq/test_conninfo.py s... [ 62%] ../tests/test_pipeline.py ........................................... [ 63%] ../tests/types/test_hstore.py s..s..s..s.s..s..ss........ [ 63%] ../tests/test_connection_async.py .....F................................ [ 64%] ............................................ [ 65%] ../tests/test_prepared.py ............................. [ 66%] ../tests/crdb/test_cursor.py ss [ 66%] ../tests/pq/test_copy.py ........ [ 66%] ../tests/pq/test_pgconn.py .....s...............s......s..s........s.... [ 67%] ..... [ 67%] ../tests/test_cursor.py ................................................ [ 68%] ........................................................................ [ 70%] ........................................ [ 71%] ../tests/pq/test_escaping.py ................................ [ 72%] ../tests/test_server_cursor_async.py ................................... [ 72%] ................. [ 73%] ../tests/test_tpc_async.py sssssssssssssssssss.. [ 73%] ../tests/test_concurrency_async.py .....F. [ 74%] ../tests/pq/test_misc.py .... [ 74%] ../tests/crdb/test_copy_async.py sssssssssssssssssssss [ 74%] ../tests/crdb/test_connection.py ssssssss [ 74%] ../tests/types/test_bool.py ............... [ 75%] ../tests/types/test_array.py ........................................... [ 76%] ........................................................................ [ 77%] ....................................... [ 78%] ../tests/types/test_multirange.py ...................................... [ 79%] .................................................xx.....x.........x..... [ 81%] ....................x.......................x............x.............. [ 82%] .....x.......................... [ 83%] ../tests/test_encodings.py ................. [ 83%] ../tests/test_copy_async.py ............................................ [ 84%] .................................................s.... [ 86%] ../tests/pq/test_pipeline.py ....s [ 86%] ../tests/test_generators.py .... [ 86%] ../tests/test_typeinfo.py .............................................. [ 87%] ............ [ 87%] ../tests/crdb/test_adapt.py ssssss [ 87%] ../tests/test_concurrency.py .F....... [ 88%] ../tests/test_rows.py ................. [ 88%] ../tests/test_prepared_async.py ........................ [ 88%] ../tests/types/test_uuid.py ...... [ 89%] ../tests/types/test_json.py ............................................ [ 90%] ........................................................................ [ 91%] ........................................................................ [ 93%] .................................... [ 94%] ../tests/test_cursor_async.py .......................................... [ 95%] ........................................................................ [ 96%] ............................ [ 97%] ../tests/crdb/test_no_crdb.py .s [ 97%] ../tests/pq/test_pgresult.py ......................... [ 98%] ../tests/pq/test_pq.py ..ss.s [ 98%] ../tests/pq/test_async.py ........... [ 98%] ../tests/test_waiting.py .....s..............ss..ss..s....s......s...... [ 99%] s.ss.....s.s..s..... [100%] =================================== FAILURES =================================== _____________________________ test_connect_timeout _____________________________ conn_cls = , deaf_port = 49675 @pytest.mark.slow @pytest.mark.timing def test_connect_timeout(conn_cls, deaf_port): t0 = time.time() with pytest.raises(psycopg.OperationalError, match="timeout expired"): conn_cls.connect(host="localhost", port=deaf_port, connect_timeout=1) elapsed = time.time() - t0 > assert elapsed == pytest.approx(1.0, abs=0.05) E assert 1.189028024673462 == 1.0 ± 5.0e-02 E comparison failed E Obtained: 1.189028024673462 E Expected: 1.0 ± 5.0e-02 ../tests/test_connection.py:47: AssertionError ______________________ test_date_from_ticks[0-1970-01-01] ______________________ ticks = 0, want = [datetime.date(1970, 1, 1)] @pytest.mark.parametrize( "ticks, want", [ (0, "1970-01-01"), # Returned date is local (1273173119.99992, ["2010-05-06", "2010-05-07"]), ], ) def test_date_from_ticks(ticks, want): s = psycopg.DateFromTicks(ticks) if isinstance(want, str): want = [want] want = [dt.datetime.strptime(w, "%Y-%m-%d").date() for w in want] > assert s in want E assert datetime.date(1969, 12, 31) in [datetime.date(1970, 1, 1)] ../tests/test_psycopg_dbapi20.py:107: AssertionError _____________________________ test_connect_timeout _____________________________ aconn_cls = , deaf_port = 38187 @pytest.mark.slow @pytest.mark.timing async def test_connect_timeout(aconn_cls, deaf_port): t0 = time.time() with pytest.raises(psycopg.OperationalError, match="timeout expired"): await aconn_cls.connect(host="localhost", port=deaf_port, connect_timeout=1) elapsed = time.time() - t0 > assert elapsed == pytest.approx(1.0, abs=0.05) E assert 1.1326935291290283 == 1.0 ± 5.0e-02 E comparison failed E Obtained: 1.1326935291290283 E Expected: 1.0 ± 5.0e-02 ../tests/test_connection_async.py:52: AssertionError _________________________________ test_ctrl_c __________________________________ dsn = 'host=/tmp port=60306 dbname=test' @pytest.mark.slow @pytest.mark.subprocess @pytest.mark.skipif( sys.platform == "win32", reason="don't know how to Ctrl-C on Windows" ) @pytest.mark.crdb_skip("cancel") async def test_ctrl_c(dsn): script = f"""\ import signal import asyncio import psycopg async def main(): ctrl_c = False loop = asyncio.get_event_loop() async with await psycopg.AsyncConnection.connect({dsn!r}) as conn: loop.add_signal_handler(signal.SIGINT, conn.cancel) cur = conn.cursor() try: await cur.execute("select pg_sleep(2)") except psycopg.errors.QueryCanceled: ctrl_c = True assert ctrl_c, "ctrl-c not received" assert ( conn.info.transaction_status == psycopg.pq.TransactionStatus.INERROR ), f"transaction status: {{conn.info.transaction_status!r}}" await conn.rollback() assert ( conn.info.transaction_status == psycopg.pq.TransactionStatus.IDLE ), f"transaction status: {{conn.info.transaction_status!r}}" await cur.execute("select 1") assert (await cur.fetchone()) == (1,) asyncio.run(main()) """ if sys.platform == "win32": creationflags = sp.CREATE_NEW_PROCESS_GROUP sig = signal.CTRL_C_EVENT else: creationflags = 0 sig = signal.SIGINT proc = sp.Popen([sys.executable, "-s", "-c", script], creationflags=creationflags) with pytest.raises(sp.TimeoutExpired): outs, errs = proc.communicate(timeout=1) proc.send_signal(sig) proc.communicate() > assert proc.returncode == 0 E AssertionError: assert 1 == 0 E + where 1 = .returncode ../tests/test_concurrency_async.py:242: AssertionError ----------------------------- Captured stderr call ----------------------------- Fatal Python error: init_import_site: Failed to import the site module Python runtime state: initialized Traceback (most recent call last): File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 982, in exec_module File "", line 623, in File "", line 610, in main File "", line 391, in addsitepackages File "", line 226, in addsitedir File "", line 186, in addpackage File "", line 1, in File "", line 1178, in _find_and_load File "", line 1140, in _find_and_load_unlocked File "", line 1080, in _find_spec File "", line 1504, in find_spec File "", line 1476, in _get_spec File "", line 1616, in find_spec File "", line 1659, in _fill_cache KeyboardInterrupt _________________________________ test_ctrl_c __________________________________ dsn = 'host=/tmp port=60306 dbname=test' @pytest.mark.slow @pytest.mark.subprocess @pytest.mark.skipif( sys.platform == "win32", reason="don't know how to Ctrl-C on Windows" ) @pytest.mark.crdb_skip("cancel") def test_ctrl_c(dsn): if sys.platform == "win32": sig = int(signal.CTRL_C_EVENT) # Or pytest will receive the Ctrl-C too creationflags = sp.CREATE_NEW_PROCESS_GROUP else: sig = int(signal.SIGINT) creationflags = 0 script = f"""\ import os import time import psycopg from threading import Thread def tired_of_life(): time.sleep(1) os.kill(os.getpid(), {sig!r}) t = Thread(target=tired_of_life, daemon=True) t.start() with psycopg.connect({dsn!r}) as conn: cur = conn.cursor() ctrl_c = False try: cur.execute("select pg_sleep(2)") except KeyboardInterrupt: ctrl_c = True assert ctrl_c, "ctrl-c not received" assert ( conn.info.transaction_status == psycopg.pq.TransactionStatus.INERROR ), f"transaction status: {{conn.info.transaction_status!r}}" conn.rollback() assert ( conn.info.transaction_status == psycopg.pq.TransactionStatus.IDLE ), f"transaction status: {{conn.info.transaction_status!r}}" cur.execute("select 1") assert cur.fetchone() == (1,) """ t0 = time.time() proc = sp.Popen([sys.executable, "-s", "-c", script], creationflags=creationflags) proc.communicate() t = time.time() - t0 assert proc.returncode == 0 > assert 1 < t < 2 E assert 8.959374189376831 < 2 ../tests/test_concurrency.py:293: AssertionError =========================== short test summary info ============================ FAILED ../tests/test_connection.py::test_connect_timeout - assert 1.189028024... FAILED ../tests/test_psycopg_dbapi20.py::test_date_from_ticks[0-1970-01-01] FAILED ../tests/test_connection_async.py::test_connect_timeout - assert 1.132... FAILED ../tests/test_concurrency_async.py::test_ctrl_c - AssertionError: asse... FAILED ../tests/test_concurrency.py::test_ctrl_c - assert 8.959374189376831 < 2 = 5 failed, 4159 passed, 183 skipped, 106 deselected, 29 xfailed in 5766.08s (1:36:06) = + __trap_cb + IFS=' ' + for __func in $__TRAP_ACTIONS + pgtests_stop + pg_ctl stop -D /builddir/build/BUILD/psycopg-3.1.8/psycopg/datadir -w waiting for server to shut down.... done server stopped + __clean_trap_action pgtests_stop + __new_actions= + for __action in $__TRAP_ACTIONS + test pgtests_stop = pgtests_stop + : + for __action in $__TRAP_ACTIONS + test pgtests_cleanup = pgtests_stop + __new_actions='pgtests_cleanup ' + __TRAP_ACTIONS='pgtests_cleanup ' + for __func in $__TRAP_ACTIONS + pgtests_cleanup + : + rm -r /builddir/build/BUILD/psycopg-3.1.8/psycopg/datadir + __clean_trap_action pgtests_cleanup + __new_actions= + for __action in $__TRAP_ACTIONS + test pgtests_cleanup = pgtests_cleanup + : + __TRAP_ACTIONS= error: Bad exit status from /var/tmp/rpm-tmp.1iNTmk (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.1iNTmk (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-psycopg3.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-psycopg3.spec