Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 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/f39-build-2246995-53811/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=1691366400 Wrote: /builddir/build/SRPMS/python-psycopg3-3.1.10-1.fc39.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/f39-build-2246995-53811/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=1691366400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.s4rzhB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf psycopg-3.1.10/psycopg + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/3.1.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd psycopg-3.1.10/psycopg + rm -rf /builddir/build/BUILD/psycopg-3.1.10/psycopg-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/psycopg-3.1.10/psycopg-SPECPARTS + /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 + sed -i 's/\(anyio\).*$/\1",/' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.46ajvS + umask 022 + cd /builddir/build/BUILD + cd psycopg-3.1.10/psycopg + CFLAGS='-O2 -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir + echo -n + CFLAGS='-O2 -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.10/psycopg/.pyproject-builddir + RPM_TOXENV=py312 + 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.10/psycopg/pyproject-wheeldir --output /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-buildrequires -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 + cat /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-psycopg3-3.1.10-1.fc39.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/f39-build-2246995-53811/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=1691366400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KtCf1E + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf psycopg-3.1.10/psycopg + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/3.1.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd psycopg-3.1.10/psycopg + rm -rf /builddir/build/BUILD/psycopg-3.1.10/psycopg-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/psycopg-3.1.10/psycopg-SPECPARTS + /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 + sed -i 's/\(anyio\).*$/\1",/' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.DWOTH1 + umask 022 + cd /builddir/build/BUILD + cd psycopg-3.1.10/psycopg + CFLAGS='-O2 -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir + echo -n + CFLAGS='-O2 -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.10/psycopg/.pyproject-builddir + RPM_TOXENV=py312 + 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.10/psycopg/pyproject-wheeldir --output /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-buildrequires -x test Handling setuptools>=49.2.0 from build-system.requires Requirement satisfied: setuptools>=49.2.0 (installed: setuptools 67.7.2) Handling wheel>=0.37 from build-system.requires Requirement satisfied: wheel>=0.37 (installed: wheel 0.40.0) running egg_info creating psycopg.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 writing manifest file 'psycopg.egg-info/SOURCES.txt' reading manifest file 'psycopg.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file 'psycopg.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.40.0) running dist_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' creating '/builddir/build/BUILD/psycopg-3.1.10/psycopg/psycopg-3.1.10.dist-info' Handling typing-extensions (>=4.1) from hook generated metadata: Requires-Dist (psycopg) Requirement not satisfied: typing-extensions (>=4.1) Handling backports.zoneinfo (>=0.2.0) ; python_version < "3.9" from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: backports.zoneinfo (>=0.2.0) ; python_version < "3.9" Handling tzdata ; sys_platform == "win32" from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: tzdata ; sys_platform == "win32" Handling psycopg-binary (==3.1.10) ; extra == 'binary' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: psycopg-binary (==3.1.10) ; extra == 'binary' Handling psycopg-c (==3.1.10) ; extra == 'c' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: psycopg-c (==3.1.10) ; extra == 'c' Handling dnspython (>=2.1) ; extra == 'dev' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: dnspython (>=2.1) ; extra == 'dev' Handling mypy (>=1.4.1) ; extra == 'dev' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: mypy (>=1.4.1) ; extra == 'dev' Handling types-setuptools (>=57.4) ; extra == 'dev' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: types-setuptools (>=57.4) ; extra == 'dev' Handling wheel (>=0.37) ; extra == 'dev' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: wheel (>=0.37) ; extra == 'dev' Handling Sphinx (>=5.0) ; extra == 'docs' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: Sphinx (>=5.0) ; extra == 'docs' Handling furo (==2022.6.21) ; extra == 'docs' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: furo (==2022.6.21) ; extra == 'docs' Handling sphinx-autobuild (>=2021.3.14) ; extra == 'docs' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: sphinx-autobuild (>=2021.3.14) ; extra == 'docs' Handling sphinx-autodoc-typehints (>=1.12) ; extra == 'docs' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: sphinx-autodoc-typehints (>=1.12) ; extra == 'docs' Handling psycopg-pool ; extra == 'pool' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: psycopg-pool ; extra == 'pool' Handling anyio ; extra == 'test' from hook generated metadata: Requires-Dist (psycopg) Requirement not satisfied: anyio ; extra == 'test' Handling mypy (>=1.4.1) ; extra == 'test' from hook generated metadata: Requires-Dist (psycopg) Requirement not satisfied: mypy (>=1.4.1) ; extra == 'test' Handling pytest (>=6.2.5) ; extra == 'test' from hook generated metadata: Requires-Dist (psycopg) Requirement not satisfied: pytest (>=6.2.5) ; extra == 'test' Handling pytest-randomly (>=3.5) ; extra == 'test' from hook generated metadata: Requires-Dist (psycopg) Requirement not satisfied: pytest-randomly (>=3.5) ; extra == 'test' + cat /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-buildrequires + rm -rfv psycopg-3.1.10.dist-info/ removed 'psycopg-3.1.10.dist-info/LICENSE.txt' removed 'psycopg-3.1.10.dist-info/top_level.txt' removed 'psycopg-3.1.10.dist-info/METADATA' removed directory 'psycopg-3.1.10.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-psycopg3-3.1.10-1.fc39.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/f39-build-2246995-53811/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=1691366400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0PjVbC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf psycopg-3.1.10/psycopg + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/3.1.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd psycopg-3.1.10/psycopg + rm -rf /builddir/build/BUILD/psycopg-3.1.10/psycopg-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/psycopg-3.1.10/psycopg-SPECPARTS + /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 + sed -i 's/\(anyio\).*$/\1",/' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.zWWaZa + umask 022 + cd /builddir/build/BUILD + cd psycopg-3.1.10/psycopg + CFLAGS='-O2 -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir + echo -n + CFLAGS='-O2 -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.10/psycopg/.pyproject-builddir + RPM_TOXENV=py312 + 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.10/psycopg/pyproject-wheeldir --output /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-buildrequires -x test Handling setuptools>=49.2.0 from build-system.requires Requirement satisfied: setuptools>=49.2.0 (installed: setuptools 67.7.2) Handling wheel>=0.37 from build-system.requires Requirement satisfied: wheel>=0.37 (installed: wheel 0.40.0) running egg_info creating psycopg.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 writing manifest file 'psycopg.egg-info/SOURCES.txt' reading manifest file 'psycopg.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file 'psycopg.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.40.0) running dist_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' creating '/builddir/build/BUILD/psycopg-3.1.10/psycopg/psycopg-3.1.10.dist-info' Handling typing-extensions (>=4.1) from hook generated metadata: Requires-Dist (psycopg) Requirement satisfied: typing-extensions (>=4.1) (installed: typing-extensions 4.8.0) Handling backports.zoneinfo (>=0.2.0) ; python_version < "3.9" from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: backports.zoneinfo (>=0.2.0) ; python_version < "3.9" Handling tzdata ; sys_platform == "win32" from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: tzdata ; sys_platform == "win32" Handling psycopg-binary (==3.1.10) ; extra == 'binary' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: psycopg-binary (==3.1.10) ; extra == 'binary' Handling psycopg-c (==3.1.10) ; extra == 'c' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: psycopg-c (==3.1.10) ; extra == 'c' Handling dnspython (>=2.1) ; extra == 'dev' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: dnspython (>=2.1) ; extra == 'dev' Handling mypy (>=1.4.1) ; extra == 'dev' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: mypy (>=1.4.1) ; extra == 'dev' Handling types-setuptools (>=57.4) ; extra == 'dev' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: types-setuptools (>=57.4) ; extra == 'dev' Handling wheel (>=0.37) ; extra == 'dev' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: wheel (>=0.37) ; extra == 'dev' Handling Sphinx (>=5.0) ; extra == 'docs' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: Sphinx (>=5.0) ; extra == 'docs' Handling furo (==2022.6.21) ; extra == 'docs' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: furo (==2022.6.21) ; extra == 'docs' Handling sphinx-autobuild (>=2021.3.14) ; extra == 'docs' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: sphinx-autobuild (>=2021.3.14) ; extra == 'docs' Handling sphinx-autodoc-typehints (>=1.12) ; extra == 'docs' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: sphinx-autodoc-typehints (>=1.12) ; extra == 'docs' Handling psycopg-pool ; extra == 'pool' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: psycopg-pool ; extra == 'pool' Handling anyio ; extra == 'test' from hook generated metadata: Requires-Dist (psycopg) Requirement satisfied: anyio ; extra == 'test' (installed: anyio 3.7.0) Handling mypy (>=1.4.1) ; extra == 'test' from hook generated metadata: Requires-Dist (psycopg) Requirement satisfied: mypy (>=1.4.1) ; extra == 'test' (installed: mypy 1.8.0) Handling pytest (>=6.2.5) ; extra == 'test' from hook generated metadata: Requires-Dist (psycopg) Requirement satisfied: pytest (>=6.2.5) ; extra == 'test' (installed: pytest 7.3.2) Handling pytest-randomly (>=3.5) ; extra == 'test' from hook generated metadata: Requires-Dist (psycopg) Requirement satisfied: pytest-randomly (>=3.5) ; extra == 'test' (installed: pytest-randomly 3.13.0) + cat /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-buildrequires + rm -rfv psycopg-3.1.10.dist-info/ removed 'psycopg-3.1.10.dist-info/LICENSE.txt' removed 'psycopg-3.1.10.dist-info/top_level.txt' removed 'psycopg-3.1.10.dist-info/METADATA' removed directory 'psycopg-3.1.10.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-psycopg3-3.1.10-1.fc39.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/f39-build-2246995-53811/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=1691366400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.LKdD8s + umask 022 + cd /builddir/build/BUILD + cd psycopg-3.1.10/psycopg + CFLAGS='-O2 -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir + echo -n + CFLAGS='-O2 -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.10/psycopg/.pyproject-builddir + RPM_TOXENV=py312 + 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.10/psycopg/pyproject-wheeldir --output /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-buildrequires -x test Handling setuptools>=49.2.0 from build-system.requires Requirement satisfied: setuptools>=49.2.0 (installed: setuptools 67.7.2) Handling wheel>=0.37 from build-system.requires Requirement satisfied: wheel>=0.37 (installed: wheel 0.40.0) 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' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.40.0) running dist_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' creating '/builddir/build/BUILD/psycopg-3.1.10/psycopg/psycopg-3.1.10.dist-info' Handling typing-extensions (>=4.1) from hook generated metadata: Requires-Dist (psycopg) Requirement satisfied: typing-extensions (>=4.1) (installed: typing-extensions 4.8.0) Handling backports.zoneinfo (>=0.2.0) ; python_version < "3.9" from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: backports.zoneinfo (>=0.2.0) ; python_version < "3.9" Handling tzdata ; sys_platform == "win32" from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: tzdata ; sys_platform == "win32" Handling psycopg-binary (==3.1.10) ; extra == 'binary' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: psycopg-binary (==3.1.10) ; extra == 'binary' Handling psycopg-c (==3.1.10) ; extra == 'c' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: psycopg-c (==3.1.10) ; extra == 'c' Handling dnspython (>=2.1) ; extra == 'dev' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: dnspython (>=2.1) ; extra == 'dev' Handling mypy (>=1.4.1) ; extra == 'dev' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: mypy (>=1.4.1) ; extra == 'dev' Handling types-setuptools (>=57.4) ; extra == 'dev' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: types-setuptools (>=57.4) ; extra == 'dev' Handling wheel (>=0.37) ; extra == 'dev' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: wheel (>=0.37) ; extra == 'dev' Handling Sphinx (>=5.0) ; extra == 'docs' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: Sphinx (>=5.0) ; extra == 'docs' Handling furo (==2022.6.21) ; extra == 'docs' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: furo (==2022.6.21) ; extra == 'docs' Handling sphinx-autobuild (>=2021.3.14) ; extra == 'docs' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: sphinx-autobuild (>=2021.3.14) ; extra == 'docs' Handling sphinx-autodoc-typehints (>=1.12) ; extra == 'docs' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: sphinx-autodoc-typehints (>=1.12) ; extra == 'docs' Handling psycopg-pool ; extra == 'pool' from hook generated metadata: Requires-Dist (psycopg) Ignoring alien requirement: psycopg-pool ; extra == 'pool' Handling anyio ; extra == 'test' from hook generated metadata: Requires-Dist (psycopg) Requirement satisfied: anyio ; extra == 'test' (installed: anyio 3.7.0) Handling mypy (>=1.4.1) ; extra == 'test' from hook generated metadata: Requires-Dist (psycopg) Requirement satisfied: mypy (>=1.4.1) ; extra == 'test' (installed: mypy 1.8.0) Handling pytest (>=6.2.5) ; extra == 'test' from hook generated metadata: Requires-Dist (psycopg) Requirement satisfied: pytest (>=6.2.5) ; extra == 'test' (installed: pytest 7.3.2) Handling pytest-randomly (>=3.5) ; extra == 'test' from hook generated metadata: Requires-Dist (psycopg) Requirement satisfied: pytest-randomly (>=3.5) ; extra == 'test' (installed: pytest-randomly 3.13.0) + cat /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-buildrequires + rm -rfv psycopg-3.1.10.dist-info/ removed 'psycopg-3.1.10.dist-info/LICENSE.txt' removed 'psycopg-3.1.10.dist-info/top_level.txt' removed 'psycopg-3.1.10.dist-info/METADATA' removed directory 'psycopg-3.1.10.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VH7Lld + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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.10/psycopg + mkdir -p /builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir + CFLAGS='-O2 -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.10/psycopg/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/psycopg-3.1.10/psycopg/pyproject-wheeldir Processing /builddir/build/BUILD/psycopg-3.1.10/psycopg Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir/pip-modern-metadata-9rvfcuc1/psycopg.egg-info writing /builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir/pip-modern-metadata-9rvfcuc1/psycopg.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir/pip-modern-metadata-9rvfcuc1/psycopg.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir/pip-modern-metadata-9rvfcuc1/psycopg.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir/pip-modern-metadata-9rvfcuc1/psycopg.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir/pip-modern-metadata-9rvfcuc1/psycopg.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir/pip-modern-metadata-9rvfcuc1/psycopg.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file '/builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir/pip-modern-metadata-9rvfcuc1/psycopg.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir/pip-modern-metadata-9rvfcuc1/psycopg-3.1.10.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.10-py3.12.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/psycopg-3.1.10.dist-info/WHEEL creating '/builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir/pip-wheel-sw9d25_g/.tmp-p5txqt5b/psycopg-3.1.10-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.10.dist-info/LICENSE.txt' adding 'psycopg-3.1.10.dist-info/METADATA' adding 'psycopg-3.1.10.dist-info/WHEEL' adding 'psycopg-3.1.10.dist-info/top_level.txt' adding 'psycopg-3.1.10.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.10-py3-none-any.whl size=168910 sha256=175f5c3a94a4095a1d6483bdf6adb5b51cbe97e53862f885dc469d433369b47f Stored in directory: /builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir/pip-ephem-wheel-cache-vzysdgcr/wheels/80/8d/83/fb6bf50f7d51004aa1d30ddfe0a8d9f1b517814b08f388820e Successfully built psycopg + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KK6HdO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch ++ dirname /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch + CFLAGS='-O2 -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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.10/psycopg ++ ls /builddir/build/BUILD/psycopg-3.1.10/psycopg/pyproject-wheeldir/psycopg-3.1.10-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=psycopg==3.1.10 + '[' -z psycopg==3.1.10 ']' + TMPDIR=/builddir/build/BUILD/psycopg-3.1.10/psycopg/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.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.10/psycopg/pyproject-wheeldir psycopg==3.1.10 Using pip 23.2.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/psycopg-3.1.10/psycopg/pyproject-wheeldir Processing ./pyproject-wheeldir/psycopg-3.1.10-py3-none-any.whl Installing collected packages: psycopg Successfully installed psycopg-3.1.10 + '[' -d /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/psycopg-3.1.10.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib/python3.12/site-packages/psycopg-3.1.10.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.10-1.fc39.noarch --record /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib/python3.12/site-packages/psycopg-3.1.10.dist-info/RECORD --output /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib/python3.12/site-packages/psycopg-3.1.10.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib/python3.12/site-packages/psycopg-3.1.10.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib/python3.12/site-packages/psycopg-3.1.10.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib/python3.12/site-packages/psycopg-3.1.10.dist-info/REQUESTED' ++ cut -f1 '-d ' ++ wc -l /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-ghost-distinfo + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-psycopg3-3.1.10-1.fc39.noarch-pyproject-record --prefix /usr psycopg ~/build/BUILD/psycopg-3.1.10/tests ~/build/BUILD/psycopg-3.1.10/psycopg + pushd ../tests/ + find pool/ '!' -name fix_pool.py -type f -exec rm -f '{}' + + popd ~/build/BUILD/psycopg-3.1.10/psycopg + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.1.10-1.fc39 --unique-debug-suffix -3.1.10-1.fc39.noarch --unique-debug-src-base python-psycopg3-3.1.10-1.fc39.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/psycopg-3.1.10/psycopg find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /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.10-1.fc39.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1iWEHd + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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.10/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.10/psycopg/datadir +++ id -u -n ++ : mockbuild ++ : mockbuild ++ : mockbuild +++ try_random_port +++ _port=17583 +++ test -n 17583 +++ eval '_port=$(( $_port + 32000 ))' +++ echo 49583 ++ : 49583 ++ : /tmp ++ : test:test ++ : test:test ++ : : ++ : : ++ : : ++ export PGPORT=49583 ++ PGPORT=49583 ++ export PGHOST=/tmp ++ PGHOST=/tmp ++ : ++ trap __trap_cb EXIT + pgtests_start + unset __TRAP_ACTIONS + : + test -f /builddir/build/BUILD/psycopg-3.1.10/psycopg/datadir/postmaster.pid + test -e /builddir/build/BUILD/psycopg-3.1.10/psycopg/datadir + __pgtests_initdb + initdb /builddir/build/BUILD/psycopg-3.1.10/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.10/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.10/psycopg/datadir -l logfile start + __TRAP_ACTIONS='pgtests_cleanup ' + __pgtests_start + pg_ctl -D /builddir/build/BUILD/psycopg-3.1.10/psycopg/datadir -l /builddir/build/BUILD/psycopg-3.1.10/psycopg/datadir/start.log start -o '-k /tmp -p 49583' -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 49583 + __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=49583 dbname=test' + PSYCOPG_TEST_DSN='host=/tmp port=49583 dbname=test' + CFLAGS='-O2 -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.10-1.fc39.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/psycopg-3.1.10/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.12.0, pytest-7.3.2, pluggy-1.2.0 Using --randomly-seed=964752582 default selector: EpollSelector Server version: PostgreSQL 15.4 on riscv64-koji-linux-gnu, compiled by gcc (GCC) 13.2.1 20231011 (Red Hat 13.2.1-4), 64-bit libpq wrapper implementation: python libpq used: 150003 libpq compiled: 150003 rootdir: /builddir/build/BUILD/psycopg-3.1.10 configfile: pyproject.toml plugins: randomly-3.13.0, anyio-3.7.0 collected 4544 items / 106 deselected / 1 skipped / 4438 selected ../tests/test_transaction.py ........................................s.. [ 0%] .............................................. [ 2%] ../tests/test_encodings.py ................. [ 2%] ../tests/test_tpc_async.py ..sssssssssssssssssss [ 2%] ../tests/test_windows.py s [ 2%] ../tests/test_connection_async.py .......................F.............. [ 3%] ............................................... [ 4%] ../tests/types/test_range.py ..... [ 4%] ../tests/test_typeinfo.py ...................................... [ 5%] ../tests/test_client_cursor_async.py ................................... [ 6%] ............................................... [ 7%] ../tests/types/test_multirange.py ..... [ 7%] ../tests/crdb/test_cursor_async.py ss [ 7%] ../tests/test_copy_async.py ............................................ [ 8%] .................s.................................... [ 9%] ../tests/test_server_cursor_async.py ................................... [ 10%] ................. [ 11%] ../tests/test_waiting.py ...F....... [ 11%] ../tests/crdb/test_copy_async.py sssssssssssssssssssss [ 11%] ../tests/test_concurrency_async.py F.FF.F [ 12%] ../tests/test_dns_srv.py ssssssssss [ 12%] ../tests/test_cursor_async.py .......................................... [ 13%] ........................................................................ [ 14%] ............................ [ 15%] ../tests/test_conninfo.py .................. [ 15%] ../tests/types/test_composite.py .... [ 15%] ../tests/test_prepared_async.py ........................ [ 16%] ../tests/crdb/test_connection_async.py ssssssss [ 16%] ../tests/types/test_enum.py . [ 16%] ../tests/test_pipeline_async.py ........................................ [ 17%] ..... [ 17%] ../tests/test_errors.py . [ 17%] ../tests/test_dns.py s [ 17%] ../tests/test_transaction_async.py ...............s..................... [ 18%] .................................................... [ 19%] ../tests/types/test_none.py . [ 19%] ../tests/types/test_range.py x.......................................... [ 20%] ........................................................................ [ 22%] .................x...........x.......................................... [ 23%] ............................x..........x.................x......x...x... [ 25%] .................... [ 26%] ../tests/test_connection.py ............................................ [ 27%] ...........F......................... [ 27%] ../tests/test_typeinfo.py .............................................. [ 28%] .. [ 28%] ../tests/types/test_multirange.py .x..............................x..... [ 29%] .......................x...x............................................ [ 31%] ......x.........................................x.x.......x............. [ 33%] ........................... [ 33%] ../tests/pq/test_async.py ........... [ 33%] ../tests/test_sql.py ................................................... [ 35%] .......................................... [ 36%] ../tests/test_pipeline.py ............................................. [ 37%] ../tests/test_cursor.py ................................................ [ 38%] ........................................................................ [ 39%] ........................................ [ 40%] ../tests/types/test_net.py ................................. [ 41%] ../tests/test_generators.py ..s.. [ 41%] ../tests/test_server_cursor.py ......................................... [ 42%] ........... [ 42%] ../tests/pq/test_exec.py ............... [ 42%] ../tests/crdb/test_connection.py ssssssss [ 43%] ../tests/types/test_json.py ............................................ [ 44%] ........................................................................ [ 45%] ........................................................................ [ 47%] .............................................. [ 48%] ../tests/test_waiting.py .s..s........s.........s...ss...s...s.s...s...s [ 49%] s...ss..F [ 49%] ../tests/pq/test_pq.py s...ss [ 49%] ../tests/test_rows.py ................. [ 50%] ../tests/pq/test_conninfo.py ..s. [ 50%] ../tests/pq/test_pgresult.py ......................... [ 50%] ../tests/test_concurrency_async.py FF [ 50%] ../tests/pq/test_pgconn.py s........s....s..........s..........s........ [ 51%] ..... [ 52%] ../tests/test_dns_srv.py ssssssssss [ 52%] ../tests/test_copy.py .................................................. [ 53%] ............................................s... [ 54%] ../tests/pq/test_escaping.py ................................ [ 55%] ../tests/test_concurrency.py FFFFF.FF.. [ 55%] ../tests/test_conninfo.py .............................................. [ 56%] ....s.....s........... [ 56%] ../tests/crdb/test_adapt.py ssssss [ 57%] ../tests/test_client_cursor.py ......................................... [ 58%] ........................................................... [ 59%] ../tests/crdb/test_cursor.py ss [ 59%] ../tests/types/test_numeric.py ......................................... [ 60%] ........................................................................ [ 61%] ........................................................................ [ 63%] ........................................................................ [ 65%] ........................................................................ [ 66%] ....................................... [ 67%] ../tests/types/test_composite.py ....................................... [ 68%] .......................... [ 69%] ../tests/test_query.py ............................................ [ 70%] ../tests/types/test_hstore.py ...s..ss......s..s.s.s.s..ss. [ 70%] ../tests/crdb/test_no_crdb.py .s [ 70%] ../tests/types/test_array.py ........................................... [ 71%] ........................................................................ [ 73%] ....................................... [ 74%] ../tests/pq/test_misc.py .... [ 74%] ../tests/test_tpc.py ..sssssssssssssssssss... [ 74%] ../tests/test_adapt.py .....................................s........... [ 76%] ..... [ 76%] ../tests/pq/test_copy.py ........ [ 76%] ../tests/test_prepared.py ............................. [ 76%] ../tests/crdb/test_copy.py sssssssssssssssssssss [ 77%] ../tests/types/test_enum.py ............................................ [ 78%] ........................................................................ [ 80%] ........................................................................ [ 81%] ..... [ 81%] ../tests/crdb/test_conninfo.py ssss [ 81%] ../tests/types/test_uuid.py ...... [ 82%] ../tests/types/test_bool.py ............... [ 82%] ../tests/test_errors.py ......................... [ 82%] ../tests/pq/test_pipeline.py .s... [ 83%] ../tests/test_psycopg_dbapi20.py ................................Fssssss [ 83%] ssss................................... [ 84%] ../tests/types/test_datetime.py ........................................ [ 85%] ........................................................................ [ 87%] ........................................................................ [ 88%] ............................x.......x....x...x.....x......x............. [ 90%] ..............x............................x..........x................. [ 92%] ........................................................................ [ 93%] ........................................................................ [ 95%] .............x..........x................x......................... [ 96%] ../tests/types/test_string.py .......................................... [ 97%] ........................................................................ [ 99%] .......x............. [100%] =================================== FAILURES =================================== ________________________ test_connect_timeout[asyncio] _________________________ aconn_cls = , deaf_port = 37129 @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 2.196538209915161 == 1.0 ± 5.0e-02 E comparison failed E Obtained: 2.196538209915161 E Expected: 1.0 ± 5.0e-02 ../tests/test_connection_async.py:52: AssertionError ______________________ test_wait_conn_async[asyncio-0.2] _______________________ fut = , timeout = 0.2 async def wait_for(fut, timeout): """Wait for the single Future or coroutine to complete, with timeout. Coroutine will be wrapped in Task. Returns result of the Future or coroutine. When a timeout occurs, it cancels the task and raises TimeoutError. To avoid the task cancellation, wrap it in shield(). If the wait is cancelled, the task is also cancelled. If the task supresses the cancellation and returns a value instead, that value is returned. This function is a coroutine. """ # The special case for timeout <= 0 is for the following case: # # async def test_waitfor(): # func_started = False # # async def func(): # nonlocal func_started # func_started = True # # try: # await asyncio.wait_for(func(), 0) # except asyncio.TimeoutError: # assert not func_started # else: # assert False # # asyncio.run(test_waitfor()) if timeout is not None and timeout <= 0: fut = ensure_future(fut) if fut.done(): return fut.result() await _cancel_and_wait(fut) try: return fut.result() except exceptions.CancelledError as exc: raise TimeoutError from exc async with timeouts.timeout(timeout): > return await fut /usr/lib64/python3.12/asyncio/tasks.py:510: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = async def wait(self): """Block until the internal flag is true. If the internal flag is true on entry, return True immediately. Otherwise, block until another coroutine calls set() to set the flag to true, then return True. """ if self._value: return True fut = self._get_loop().create_future() self._waiters.append(fut) try: > await fut E asyncio.exceptions.CancelledError /usr/lib64/python3.12/asyncio/locks.py:212: CancelledError The above exception was the direct cause of the following exception: gen = , timeout = 0.2 async def wait_conn_async(gen: PQGenConn[RV], timeout: Optional[float] = None) -> RV: """ Coroutine waiting for a connection generator to complete. :param gen: a generator performing database operations and yielding (fd, `Ready`) pairs when it would block. :param timeout: timeout (in seconds) to check for other interrupt, e.g. to allow Ctrl-C. If zero or None, wait indefinitely. :return: whatever `!gen` returns on completion. Behave like in `wait()`, but take the fileno to wait from the generator itself, which might change during processing. """ # Use an event to block and restart after the fd state changes. # Not sure this is the best implementation but it's a start. ev = Event() loop = get_event_loop() ready: Ready s: Wait def wakeup(state: Ready) -> None: nonlocal ready ready = state ev.set() try: fileno, s = next(gen) if not timeout: timeout = None while True: reader = s & WAIT_R writer = s & WAIT_W if not reader and not writer: raise e.InternalError(f"bad poll status: {s}") ev.clear() ready = 0 # type: ignore[assignment] if reader: loop.add_reader(fileno, wakeup, READY_R) if writer: loop.add_writer(fileno, wakeup, READY_W) try: > await wait_for(ev.wait(), timeout) ../../../BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib/python3.12/site-packages/psycopg/waiting.py:190: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fut = , timeout = 0.2 async def wait_for(fut, timeout): """Wait for the single Future or coroutine to complete, with timeout. Coroutine will be wrapped in Task. Returns result of the Future or coroutine. When a timeout occurs, it cancels the task and raises TimeoutError. To avoid the task cancellation, wrap it in shield(). If the wait is cancelled, the task is also cancelled. If the task supresses the cancellation and returns a value instead, that value is returned. This function is a coroutine. """ # The special case for timeout <= 0 is for the following case: # # async def test_waitfor(): # func_started = False # # async def func(): # nonlocal func_started # func_started = True # # try: # await asyncio.wait_for(func(), 0) # except asyncio.TimeoutError: # assert not func_started # else: # assert False # # asyncio.run(test_waitfor()) if timeout is not None and timeout <= 0: fut = ensure_future(fut) if fut.done(): return fut.result() await _cancel_and_wait(fut) try: return fut.result() except exceptions.CancelledError as exc: raise TimeoutError from exc > async with timeouts.timeout(timeout): /usr/lib64/python3.12/asyncio/tasks.py:509: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = exc_type = exc_val = CancelledError(), exc_tb = async def __aexit__( self, exc_type: Optional[Type[BaseException]], exc_val: Optional[BaseException], exc_tb: Optional[TracebackType], ) -> Optional[bool]: assert self._state in (_State.ENTERED, _State.EXPIRING) if self._timeout_handler is not None: self._timeout_handler.cancel() self._timeout_handler = None if self._state is _State.EXPIRING: self._state = _State.EXPIRED if self._task.uncancel() <= self._cancelling and exc_type is exceptions.CancelledError: # Since there are no new cancel requests, we're # handling this. > raise TimeoutError from exc_val E TimeoutError /usr/lib64/python3.12/asyncio/timeouts.py:111: TimeoutError During handling of the above exception, another exception occurred: dsn = 'host=/tmp port=49583 dbname=test', timeout = {'timeout': 0.2} @pytest.mark.parametrize("timeout", timeouts) @pytest.mark.anyio async def test_wait_conn_async(dsn, timeout): gen = generators.connect(dsn) > conn = await waiting.wait_conn_async(gen, **timeout) ../tests/test_waiting.py:120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ gen = , timeout = 0.2 async def wait_conn_async(gen: PQGenConn[RV], timeout: Optional[float] = None) -> RV: """ Coroutine waiting for a connection generator to complete. :param gen: a generator performing database operations and yielding (fd, `Ready`) pairs when it would block. :param timeout: timeout (in seconds) to check for other interrupt, e.g. to allow Ctrl-C. If zero or None, wait indefinitely. :return: whatever `!gen` returns on completion. Behave like in `wait()`, but take the fileno to wait from the generator itself, which might change during processing. """ # Use an event to block and restart after the fd state changes. # Not sure this is the best implementation but it's a start. ev = Event() loop = get_event_loop() ready: Ready s: Wait def wakeup(state: Ready) -> None: nonlocal ready ready = state ev.set() try: fileno, s = next(gen) if not timeout: timeout = None while True: reader = s & WAIT_R writer = s & WAIT_W if not reader and not writer: raise e.InternalError(f"bad poll status: {s}") ev.clear() ready = 0 # type: ignore[assignment] if reader: loop.add_reader(fileno, wakeup, READY_R) if writer: loop.add_writer(fileno, wakeup, READY_W) try: await wait_for(ev.wait(), timeout) finally: if reader: loop.remove_reader(fileno) if writer: loop.remove_writer(fileno) fileno, s = gen.send(ready) except TimeoutError: > raise e.ConnectionTimeout("connection timeout expired") E psycopg.errors.ConnectionTimeout: connection timeout expired ../../../BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib/python3.12/site-packages/psycopg/waiting.py:199: ConnectionTimeout _________________________ test_cancel_stream[asyncio] __________________________ aconn = @pytest.mark.slow @pytest.mark.crdb_skip("cancel") async def test_cancel_stream(aconn): async def worker(): cur = aconn.cursor() with pytest.raises(e.QueryCanceled): async for row in cur.stream("select pg_sleep(2)"): pass errors: List[Exception] = [] workers = [worker(), canceller(aconn, errors)] t0 = time.time() await asyncio.gather(*workers) t1 = time.time() assert not errors > assert 0.0 < t1 - t0 < 1.0 E assert (1705342291.641006 - 1705342290.1909487) < 1.0 ../tests/test_concurrency_async.py:155: AssertionError ______________________ test_concurrent_execution[asyncio] ______________________ aconn_cls = dsn = 'host=/tmp port=49583 dbname=test' @pytest.mark.slow async def test_concurrent_execution(aconn_cls, dsn): async def worker(): cnn = await aconn_cls.connect(dsn) cur = cnn.cursor() await cur.execute("select pg_sleep(0.5)") await cur.close() await cnn.close() workers = [worker(), worker()] t0 = time.time() await asyncio.gather(*workers) > assert time.time() - t0 < 0.8, "something broken in concurrency" E AssertionError: something broken in concurrency E assert (1705342406.5969563 - 1705342405.4257944) < 0.8 E + where 1705342406.5969563 = () E + where = time.time ../tests/test_concurrency_async.py:58: AssertionError ____________________________ test_notifies[asyncio] ____________________________ aconn_cls = aconn = dsn = 'host=/tmp port=49583 dbname=test' @pytest.mark.slow @pytest.mark.timing @pytest.mark.crdb_skip("notify") async def test_notifies(aconn_cls, aconn, dsn): nconn = await aconn_cls.connect(dsn, autocommit=True) npid = nconn.pgconn.backend_pid async def notifier(): cur = nconn.cursor() await asyncio.sleep(0.25) await cur.execute("notify foo, '1'") await asyncio.sleep(0.25) await cur.execute("notify foo, '2'") await nconn.close() async def receiver(): await aconn.set_autocommit(True) cur = aconn.cursor() await cur.execute("listen foo") gen = aconn.notifies() async for n in gen: ns.append((n, time.time())) if len(ns) >= 2: await gen.aclose() ns: List[Tuple[psycopg.Notify, float]] = [] t0 = time.time() workers = [notifier(), receiver()] await asyncio.gather(*workers) assert len(ns) == 2 n, t1 = ns[0] assert n.pid == npid assert n.channel == "foo" assert n.payload == "1" > assert t1 - t0 == pytest.approx(0.25, abs=0.05) E assert 0.6881611347198486 == 0.25 ± 5.0e-02 E comparison failed E Obtained: 0.6881611347198486 E Expected: 0.25 ± 5.0e-02 ../tests/test_concurrency_async.py:96: AssertionError ________________________ test_identify_closure[asyncio] ________________________ aconn_cls = dsn = 'host=/tmp port=49583 dbname=test' @pytest.mark.slow @pytest.mark.crdb_skip("pg_terminate_backend") async def test_identify_closure(aconn_cls, dsn): async def closer(): await asyncio.sleep(0.2) await conn2.execute( "select pg_terminate_backend(%s)", [aconn.pgconn.backend_pid] ) aconn = await aconn_cls.connect(dsn) conn2 = await aconn_cls.connect(dsn) try: t = create_task(closer()) t0 = time.time() try: with pytest.raises(psycopg.OperationalError): await aconn.execute("select pg_sleep(1.0)") t1 = time.time() > assert 0.2 < t1 - t0 < 0.4 E assert (1705342416.210073 - 1705342415.429672) < 0.4 ../tests/test_concurrency_async.py:182: AssertionError _____________________________ test_connect_timeout _____________________________ conn_cls = , deaf_port = 40037 @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.7732937335968018 == 1.0 ± 5.0e-02 E comparison failed E Obtained: 1.7732937335968018 E Expected: 1.0 ± 5.0e-02 ../tests/test_connection.py:48: AssertionError _____________________________ test_wait_conn[0.2] ______________________________ dsn = 'host=/tmp port=49583 dbname=test', timeout = {'timeout': 0.2} @pytest.mark.parametrize("timeout", timeouts) def test_wait_conn(dsn, timeout): gen = generators.connect(dsn) > conn = waiting.wait_conn(gen, **timeout) ../tests/test_waiting.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ gen = , timeout = 0.2 def wait_conn(gen: PQGenConn[RV], timeout: Optional[float] = None) -> RV: """ Wait for a connection generator using the best strategy available. :param gen: a generator performing database operations and yielding (fd, `Ready`) pairs when it would block. :param timeout: timeout (in seconds) to check for other interrupt, e.g. to allow Ctrl-C. If zero or None, wait indefinitely. :type timeout: float :return: whatever `!gen` returns on completion. Behave like in `wait()`, but take the fileno to wait from the generator itself, which might change during processing. """ try: fileno, s = next(gen) if not timeout: timeout = None with DefaultSelector() as sel: while True: sel.register(fileno, s) rlist = sel.select(timeout=timeout) sel.unregister(fileno) if not rlist: > raise e.ConnectionTimeout("connection timeout expired") E psycopg.errors.ConnectionTimeout: connection timeout expired ../../../BUILDROOT/python-psycopg3-3.1.10-1.fc39.noarch/usr/lib/python3.12/site-packages/psycopg/waiting.py:90: ConnectionTimeout _____________________________ test_ctrl_c_handler ______________________________ dsn = 'host=/tmp port=49583 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.timing @pytest.mark.crdb_skip("cancel") def test_ctrl_c_handler(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 -2 == 0 E + where -2 = .returncode ../tests/test_concurrency_async.py:242: AssertionError _________________________________ test_ctrl_c __________________________________ conn = dsn = 'host=/tmp port=49583 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") def test_ctrl_c(conn, dsn): # https://github.com/psycopg/psycopg/issues/543 conn.autocommit = True APPNAME = "test_ctrl_c" script = f"""\ import asyncio import psycopg async def main(): async with await psycopg.AsyncConnection.connect( {dsn!r}, application_name={APPNAME!r} ) as conn: await conn.execute("select pg_sleep(5)") 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 = None def run_process(): nonlocal proc proc = sp.Popen( [sys.executable, "-s", "-c", script], creationflags=creationflags, stderr=sp.PIPE, ) proc.communicate() t = threading.Thread(target=run_process) t.start() for i in range(20): cur = conn.execute( "select pid from pg_stat_activity where application_name = %s", (APPNAME,) ) rec = cur.fetchone() if rec: pid = rec[0] break time.sleep(0.1) else: > assert False, "process didn't start?" E AssertionError: process didn't start? E assert False ../tests/test_concurrency_async.py:299: AssertionError ____________________________ test_identify_closure _____________________________ conn_cls = dsn = 'host=/tmp port=49583 dbname=test' @pytest.mark.crdb_skip("pg_terminate_backend") @pytest.mark.slow def test_identify_closure(conn_cls, dsn): def closer(): time.sleep(0.2) conn2.execute("select pg_terminate_backend(%s)", [conn.pgconn.backend_pid]) conn = conn_cls.connect(dsn) conn2 = conn_cls.connect(dsn) try: t = threading.Thread(target=closer) t.start() t0 = time.time() try: with pytest.raises(psycopg.OperationalError): conn.execute("select pg_sleep(1.0)") t1 = time.time() > assert 0.2 < t1 - t0 < 0.4 E assert (1705357566.2324827 - 1705357565.404807) < 0.4 ../tests/test_concurrency.py:231: AssertionError _________________________________ test_ctrl_c __________________________________ conn = dsn = 'host=/tmp port=49583 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") def test_ctrl_c(conn, dsn): conn.autocommit = True APPNAME = "test_ctrl_c" script = f"""\ import psycopg with psycopg.connect({dsn!r}, application_name={APPNAME!r}) as conn: conn.execute("select pg_sleep(60)") """ if sys.platform == "win32": creationflags = sp.CREATE_NEW_PROCESS_GROUP sig = signal.CTRL_C_EVENT else: creationflags = 0 sig = signal.SIGINT proc = None def run_process(): nonlocal proc proc = sp.Popen( [sys.executable, "-s", "-c", script], creationflags=creationflags, ) proc.communicate() t = threading.Thread(target=run_process) t.start() for i in range(20): cur = conn.execute( "select pid from pg_stat_activity where application_name = %s", (APPNAME,) ) rec = cur.fetchone() if rec: pid = rec[0] break time.sleep(0.1) else: > assert False, "process didn't start?" E AssertionError: process didn't start? E assert False ../tests/test_concurrency.py:344: AssertionError _____________________________ test_ctrl_c_handler ______________________________ dsn = 'host=/tmp port=49583 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.timing @pytest.mark.crdb_skip("cancel") def test_ctrl_c_handler(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 67.89418244361877 < 2 ../tests/test_concurrency.py:294: AssertionError __________________________ test_concurrent_execution ___________________________ conn_cls = dsn = 'host=/tmp port=49583 dbname=test' @pytest.mark.slow def test_concurrent_execution(conn_cls, dsn): def worker(): cnn = conn_cls.connect(dsn) cur = cnn.cursor() cur.execute("select pg_sleep(0.5)") cur.close() cnn.close() t1 = threading.Thread(target=worker) t2 = threading.Thread(target=worker) t0 = time.time() t1.start() t2.start() t1.join() t2.join() > assert time.time() - t0 < 0.8, "something broken in concurrency" E AssertionError: something broken in concurrency E assert (1705357655.8152742 - 1705357654.042193) < 0.8 E + where 1705357655.8152742 = () E + where = time.time ../tests/test_concurrency.py:37: AssertionError _________________________ test_segfault_on_fork_close __________________________ dsn = 'host=/tmp port=49583 dbname=test' @pytest.mark.slow @pytest.mark.subprocess @pytest.mark.skipif( multiprocessing.get_all_start_methods()[0] != "fork", reason="problematic behavior only exhibited via fork", ) def test_segfault_on_fork_close(dsn): # https://github.com/psycopg/psycopg/issues/300 script = f"""\ import gc import psycopg from multiprocessing import Pool def test(arg): conn1 = psycopg.connect({dsn!r}) conn1.close() conn1 = None gc.collect() return 1 if __name__ == '__main__': conn = psycopg.connect({dsn!r}) with Pool(2) as p: pool_result = p.map_async(test, [1, 2]) pool_result.wait(timeout=5) if pool_result.ready(): print(pool_result.get(timeout=1)) """ env = dict(os.environ) env["PYTHONFAULTHANDLER"] = "1" out = sp.check_output([sys.executable, "-s", "-c", script], env=env) > assert out.decode().rstrip() == "[1, 1]" E AssertionError: assert '' == '[1, 1]' E - [1, 1] ../tests/test_concurrency.py:394: AssertionError ________________________________ test_notifies _________________________________ conn_cls = conn = dsn = 'host=/tmp port=49583 dbname=test' @pytest.mark.slow @pytest.mark.timing @pytest.mark.crdb_skip("notify") def test_notifies(conn_cls, conn, dsn): nconn = conn_cls.connect(dsn, autocommit=True) npid = nconn.pgconn.backend_pid def notifier(): time.sleep(0.25) nconn.cursor().execute("notify foo, '1'") time.sleep(0.25) nconn.cursor().execute("notify foo, '2'") nconn.close() conn.autocommit = True conn.cursor().execute("listen foo") t0 = time.time() t = threading.Thread(target=notifier) t.start() ns = [] gen = conn.notifies() for n in gen: ns.append((n, time.time())) if len(ns) >= 2: gen.close() assert len(ns) == 2 n, t1 = ns[0] assert isinstance(n, psycopg.Notify) assert n.pid == npid assert n.channel == "foo" assert n.payload == "1" > assert t1 - t0 == pytest.approx(0.25, abs=0.05) E assert 0.6132733821868896 == 0.25 ± 5.0e-02 E comparison failed E Obtained: 0.6132733821868896 E Expected: 0.25 ± 5.0e-02 ../tests/test_concurrency.py:146: AssertionError ______________________________ test_cancel_stream ______________________________ conn = @pytest.mark.slow @pytest.mark.crdb_skip("cancel") def test_cancel_stream(conn): errors: List[Exception] = [] cur = conn.cursor() t = threading.Thread(target=canceller, args=(conn, errors)) t0 = time.time() t.start() with pytest.raises(e.QueryCanceled): for row in cur.stream("select pg_sleep(2)"): pass t1 = time.time() assert not errors > assert 0.0 < t1 - t0 < 1.0 E assert (1705357752.8571472 - 1705357751.0870275) < 1.0 ../tests/test_concurrency.py:205: 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 =========================== short test summary info ============================ FAILED ../tests/test_connection_async.py::test_connect_timeout[asyncio] - ass... FAILED ../tests/test_waiting.py::test_wait_conn_async[asyncio-0.2] - psycopg.... FAILED ../tests/test_concurrency_async.py::test_cancel_stream[asyncio] - asse... FAILED ../tests/test_concurrency_async.py::test_concurrent_execution[asyncio] FAILED ../tests/test_concurrency_async.py::test_notifies[asyncio] - assert 0.... FAILED ../tests/test_concurrency_async.py::test_identify_closure[asyncio] - a... FAILED ../tests/test_connection.py::test_connect_timeout - assert 1.773293733... FAILED ../tests/test_waiting.py::test_wait_conn[0.2] - psycopg.errors.Connect... FAILED ../tests/test_concurrency_async.py::test_ctrl_c_handler - AssertionErr... FAILED ../tests/test_concurrency_async.py::test_ctrl_c - AssertionError: proc... FAILED ../tests/test_concurrency.py::test_identify_closure - assert (17053575... FAILED ../tests/test_concurrency.py::test_ctrl_c - AssertionError: process di... FAILED ../tests/test_concurrency.py::test_ctrl_c_handler - assert 67.89418244... FAILED ../tests/test_concurrency.py::test_concurrent_execution - AssertionErr... FAILED ../tests/test_concurrency.py::test_segfault_on_fork_close - AssertionE... FAILED ../tests/test_concurrency.py::test_notifies - assert 0.613273382186889... FAILED ../tests/test_concurrency.py::test_cancel_stream - assert (1705357752.... FAILED ../tests/test_psycopg_dbapi20.py::test_date_from_ticks[0-1970-01-01] = 18 failed, 4206 passed, 186 skipped, 106 deselected, 29 xfailed in 29444.32s (8:10:44) = + __trap_cb + IFS=' ' + for __func in $__TRAP_ACTIONS + pgtests_stop + pg_ctl stop -D /builddir/build/BUILD/psycopg-3.1.10/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.10/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.1iWEHd (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.1iWEHd (%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 597, 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