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-httpcore.spec'], chrootPath='/var/lib/mock/f40-build-2477252-61594/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-httpcore.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=1709164800 Wrote: /builddir/build/SRPMS/python-httpcore-1.0.2-1.fc40.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-httpcore.spec'], chrootPath='/var/lib/mock/f40-build-2477252-61594/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-httpcore.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=1709164800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qc8X2G + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpcore-1.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/httpcore-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd httpcore-1.0.2 + rm -rf /builddir/build/BUILD/httpcore-1.0.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/httpcore-1.0.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf httpcore.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.rzsSqt + umask 022 + cd /builddir/build/BUILD + cd httpcore-1.0.2 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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/httpcore-1.0.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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/httpcore-1.0.2/.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/httpcore-1.0.2/pyproject-wheeldir --output /builddir/build/BUILD/python-httpcore-1.0.2-1.fc40.noarch-pyproject-buildrequires -x http2,socks Handling hatchling from build-system.requires Requirement not satisfied: hatchling Handling hatch-fancy-pypi-readme from build-system.requires Requirement not satisfied: hatch-fancy-pypi-readme Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-httpcore-1.0.2-1.fc40.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-httpcore-1.0.2-1.fc40.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-httpcore.spec'], chrootPath='/var/lib/mock/f40-build-2477252-61594/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-httpcore.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=1709164800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xV1kHm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpcore-1.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/httpcore-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd httpcore-1.0.2 + rm -rf /builddir/build/BUILD/httpcore-1.0.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/httpcore-1.0.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf httpcore.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.JZTMdn + umask 022 + cd /builddir/build/BUILD + cd httpcore-1.0.2 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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/httpcore-1.0.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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/httpcore-1.0.2/.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/httpcore-1.0.2/pyproject-wheeldir --output /builddir/build/BUILD/python-httpcore-1.0.2-1.fc40.noarch-pyproject-buildrequires -x http2,socks Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.21.1) Handling hatch-fancy-pypi-readme from build-system.requires Requirement satisfied: hatch-fancy-pypi-readme (installed: hatch-fancy-pypi-readme 24.1.0) Handling certifi from hook generated metadata: Requires-Dist (httpcore) Requirement not satisfied: certifi Handling h11<0.15,>=0.13 from hook generated metadata: Requires-Dist (httpcore) Requirement not satisfied: h11<0.15,>=0.13 Handling anyio<5.0,>=4.0; extra == 'asyncio' from hook generated metadata: Requires-Dist (httpcore) Ignoring alien requirement: anyio<5.0,>=4.0; extra == 'asyncio' Handling h2<5,>=3; extra == 'http2' from hook generated metadata: Requires-Dist (httpcore) Requirement not satisfied: h2<5,>=3; extra == 'http2' Handling socksio==1.*; extra == 'socks' from hook generated metadata: Requires-Dist (httpcore) Requirement not satisfied: socksio==1.*; extra == 'socks' Handling trio<0.23.0,>=0.22.0; extra == 'trio' from hook generated metadata: Requires-Dist (httpcore) Ignoring alien requirement: trio<0.23.0,>=0.22.0; extra == 'trio' + cat /builddir/build/BUILD/python-httpcore-1.0.2-1.fc40.noarch-pyproject-buildrequires + rm -rfv httpcore-1.0.2.dist-info/ removed 'httpcore-1.0.2.dist-info/METADATA' removed directory 'httpcore-1.0.2.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-httpcore-1.0.2-1.fc40.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-httpcore.spec'], chrootPath='/var/lib/mock/f40-build-2477252-61594/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-httpcore.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=1709164800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EUr4Jg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpcore-1.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/httpcore-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd httpcore-1.0.2 + rm -rf /builddir/build/BUILD/httpcore-1.0.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/httpcore-1.0.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf httpcore.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.MYufgT + umask 022 + cd /builddir/build/BUILD + cd httpcore-1.0.2 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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/httpcore-1.0.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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/httpcore-1.0.2/.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/httpcore-1.0.2/pyproject-wheeldir --output /builddir/build/BUILD/python-httpcore-1.0.2-1.fc40.noarch-pyproject-buildrequires -x http2,socks Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.21.1) Handling hatch-fancy-pypi-readme from build-system.requires Requirement satisfied: hatch-fancy-pypi-readme (installed: hatch-fancy-pypi-readme 24.1.0) Handling certifi from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: certifi (installed: certifi 2023.5.7) Handling h11<0.15,>=0.13 from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: h11<0.15,>=0.13 (installed: h11 0.14.0) Handling anyio<5.0,>=4.0; extra == 'asyncio' from hook generated metadata: Requires-Dist (httpcore) Ignoring alien requirement: anyio<5.0,>=4.0; extra == 'asyncio' Handling h2<5,>=3; extra == 'http2' from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: h2<5,>=3; extra == 'http2' (installed: h2 4.1.0) Handling socksio==1.*; extra == 'socks' from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: socksio==1.*; extra == 'socks' (installed: socksio 1.0.0) Handling trio<0.23.0,>=0.22.0; extra == 'trio' from hook generated metadata: Requires-Dist (httpcore) Ignoring alien requirement: trio<0.23.0,>=0.22.0; extra == 'trio' + cat /builddir/build/BUILD/python-httpcore-1.0.2-1.fc40.noarch-pyproject-buildrequires + rm -rfv httpcore-1.0.2.dist-info/ removed 'httpcore-1.0.2.dist-info/METADATA' removed directory 'httpcore-1.0.2.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-httpcore-1.0.2-1.fc40.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-httpcore.spec'], chrootPath='/var/lib/mock/f40-build-2477252-61594/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-httpcore.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=1709164800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.y4gVEd + umask 022 + cd /builddir/build/BUILD + cd httpcore-1.0.2 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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/httpcore-1.0.2/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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/httpcore-1.0.2/.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/httpcore-1.0.2/pyproject-wheeldir --output /builddir/build/BUILD/python-httpcore-1.0.2-1.fc40.noarch-pyproject-buildrequires -x http2,socks Handling hatchling from build-system.requires Requirement satisfied: hatchling (installed: hatchling 1.21.1) Handling hatch-fancy-pypi-readme from build-system.requires Requirement satisfied: hatch-fancy-pypi-readme (installed: hatch-fancy-pypi-readme 24.1.0) Handling certifi from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: certifi (installed: certifi 2023.5.7) Handling h11<0.15,>=0.13 from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: h11<0.15,>=0.13 (installed: h11 0.14.0) Handling anyio<5.0,>=4.0; extra == 'asyncio' from hook generated metadata: Requires-Dist (httpcore) Ignoring alien requirement: anyio<5.0,>=4.0; extra == 'asyncio' Handling h2<5,>=3; extra == 'http2' from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: h2<5,>=3; extra == 'http2' (installed: h2 4.1.0) Handling socksio==1.*; extra == 'socks' from hook generated metadata: Requires-Dist (httpcore) Requirement satisfied: socksio==1.*; extra == 'socks' (installed: socksio 1.0.0) Handling trio<0.23.0,>=0.22.0; extra == 'trio' from hook generated metadata: Requires-Dist (httpcore) Ignoring alien requirement: trio<0.23.0,>=0.22.0; extra == 'trio' + cat /builddir/build/BUILD/python-httpcore-1.0.2-1.fc40.noarch-pyproject-buildrequires + rm -rfv httpcore-1.0.2.dist-info/ removed 'httpcore-1.0.2.dist-info/METADATA' removed directory 'httpcore-1.0.2.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.S4Krqv + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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 httpcore-1.0.2 + mkdir -p /builddir/build/BUILD/httpcore-1.0.2/.pyproject-builddir + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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/httpcore-1.0.2/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/httpcore-1.0.2/pyproject-wheeldir Processing /builddir/build/BUILD/httpcore-1.0.2 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: httpcore Building wheel for httpcore (pyproject.toml): started Running command Building wheel for httpcore (pyproject.toml) Building wheel for httpcore (pyproject.toml): finished with status 'done' Created wheel for httpcore: filename=httpcore-1.0.2-py3-none-any.whl size=76586 sha256=ae29911ecf9c2c4677474775feb219d8533d5590549095fa66be4edb974377b7 Stored in directory: /builddir/.cache/pip/wheels/a1/c1/f2/effa608aa8b6c2fef50df431ff35926ecff7e95742a40ec733 Successfully built httpcore + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.l8Ge9w + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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 httpcore-1.0.2 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/httpcore-1.0.2/pyproject-wheeldir/httpcore-1.0.2-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=httpcore==1.0.2 + '[' -z httpcore==1.0.2 ']' + TMPDIR=/builddir/build/BUILD/httpcore-1.0.2/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.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/httpcore-1.0.2/pyproject-wheeldir httpcore==1.0.2 Using pip 23.3.2 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/httpcore-1.0.2/pyproject-wheeldir Processing ./pyproject-wheeldir/httpcore-1.0.2-py3-none-any.whl Installing collected packages: httpcore Successfully installed httpcore-1.0.2 + '[' -d /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/python-httpcore-1.0.2-1.fc40.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/httpcore-1.0.2.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/httpcore-1.0.2.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-httpcore-1.0.2-1.fc40.noarch --record /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/httpcore-1.0.2.dist-info/RECORD --output /builddir/build/BUILD/python-httpcore-1.0.2-1.fc40.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/httpcore-1.0.2.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/httpcore-1.0.2.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/httpcore-1.0.2.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/httpcore-1.0.2.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-httpcore-1.0.2-1.fc40.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + 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-httpcore-1.0.2-1.fc40.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-httpcore-1.0.2-1.fc40.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.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-httpcore-1.0.2-1.fc40.noarch-pyproject-record --prefix /usr httpcore + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.0.2-1.fc40 --unique-debug-suffix -1.0.2-1.fc40.noarch --unique-debug-src-base python-httpcore-1.0.2-1.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/httpcore-1.0.2 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-httpcore-1.0.2-1.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.F6QDoK + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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 httpcore-1.0.2 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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-httpcore-1.0.2-1.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-httpcore-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/httpcore-1.0.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -Wdefault ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.3.0 rootdir: /builddir/build/BUILD/httpcore-1.0.2 configfile: pyproject.toml plugins: asyncio-0.21.0, anyio-3.7.0, httpbin-2.0.0, trio-0.8.0 asyncio: mode=Mode.STRICT collected 213 items tests/test_api.py ... [ 1%] tests/test_cancellations.py FF......XXxXxx [ 7%] tests/test_models.py ............. [ 14%] tests/_async/test_connection.py .................. [ 22%] tests/_async/test_connection_pool.py ................................. [ 38%] tests/_async/test_http11.py ........................ [ 49%] tests/_async/test_http2.py .................... [ 58%] tests/_async/test_http_proxy.py .......... [ 63%] tests/_async/test_integration.py ..FF.. [ 66%] tests/_async/test_socks_proxy.py .......... [ 70%] tests/_sync/test_connection.py ......... [ 75%] tests/_sync/test_connection_pool.py .................. [ 83%] tests/_sync/test_http11.py ............ [ 89%] tests/_sync/test_http2.py .......... [ 93%] tests/_sync/test_http_proxy.py ..... [ 96%] tests/_sync/test_integration.py ... [ 97%] tests/_sync/test_socks_proxy.py ..... [100%] =================================== FAILURES =================================== _____________ test_connection_pool_timeout_during_request[asyncio] _____________ @pytest.mark.anyio async def test_connection_pool_timeout_during_request(): """ An async timeout when writing an HTTP/1.1 response on the connection pool should leave the pool in a consistent state. In this case, that means the connection will become closed, and no longer remain in the pool. """ network_backend = SlowWriteBackend() async with httpcore.AsyncConnectionPool(network_backend=network_backend) as pool: with anyio.move_on_after(0.01): await pool.request("GET", "http://example.com") > assert not pool.connections E AssertionError: assert not [] E + where [] = .connections tests/test_cancellations.py:111: AssertionError ______________ test_connection_pool_timeout_during_request[trio] _______________ @pytest.mark.anyio async def test_connection_pool_timeout_during_request(): """ An async timeout when writing an HTTP/1.1 response on the connection pool should leave the pool in a consistent state. In this case, that means the connection will become closed, and no longer remain in the pool. """ network_backend = SlowWriteBackend() async with httpcore.AsyncConnectionPool(network_backend=network_backend) as pool: with anyio.move_on_after(0.01): await pool.request("GET", "http://example.com") > assert not pool.connections E AssertionError: assert not [] E + where [] = .connections tests/test_cancellations.py:111: AssertionError __________________________ test_ssl_request[asyncio] ___________________________ self = <_SelectorSocketTransport closed fd=16> data = b'\x17\x03\x03\x00:\xa2\x97v\x9fS\x1c\xe0\xb3\x1c|MF\x85\x7f0\xe0\xc9}J\x1b\x9c9nN\x83\xb36\xfe;\xa1\x9d\xf2\xf9I\xe7\xe1\xaa2*\xbbb\x8a\rZ7\x19\x8a\xdbeh\x01\xde\x86A\x89<\x9a\xdd' def write(self, data): if not isinstance(data, (bytes, bytearray, memoryview)): raise TypeError(f'data argument must be a bytes-like object, ' f'not {type(data).__name__!r}') if self._eof: raise RuntimeError('Cannot call write() after write_eof()') if self._empty_waiter is not None: raise RuntimeError('unable to write; sendfile is in progress') if not data: return if self._conn_lost: if self._conn_lost >= constants.LOG_THRESHOLD_FOR_CONNLOST_WRITES: logger.warning('socket.send() raised exception.') self._conn_lost += 1 return if not self._buffer: # Optimization: try to send now. try: > n = self._sock.send(data) E BrokenPipeError: [Errno 32] Broken pipe /usr/lib64/python3.12/asyncio/selector_events.py:1071: BrokenPipeError The above exception was the direct cause of the following exception: map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: > yield httpcore/_exceptions.py:10: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = max_bytes = 65536, timeout = None async def read( self, max_bytes: int, timeout: typing.Optional[float] = None ) -> bytes: exc_map = { TimeoutError: ReadTimeout, anyio.BrokenResourceError: ReadError, anyio.ClosedResourceError: ReadError, } with map_exceptions(exc_map): with anyio.fail_after(timeout): try: > return await self._stream.receive(max_bytes=max_bytes) httpcore/_backends/anyio.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLSStream(transport_stream=, standard_compatible=Fal...601e20>, _read_bio=<_ssl.MemoryBIO object at 0xffffffbc601ff0>, _write_bio=<_ssl.MemoryBIO object at 0xffffffbc602260>) max_bytes = 65536 async def receive(self, max_bytes: int = 65536) -> bytes: > data = await self._call_sslobject_method(self._ssl_object.read, max_bytes) /usr/lib/python3.12/site-packages/anyio/streams/tls.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = TLSStream(transport_stream=, standard_compatible=Fal...601e20>, _read_bio=<_ssl.MemoryBIO object at 0xffffffbc601ff0>, _write_bio=<_ssl.MemoryBIO object at 0xffffffbc602260>) func = > args = (65536,) async def _call_sslobject_method( self, func: Callable[..., T_Retval], *args: object ) -> T_Retval: while True: try: result = func(*args) except ssl.SSLWantReadError: try: # Flush any pending writes first if self._write_bio.pending: await self.transport_stream.send(self._write_bio.read()) > data = await self.transport_stream.receive() /usr/lib/python3.12/site-packages/anyio/streams/tls.py:138: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = max_bytes = 65536 async def receive(self, max_bytes: int = 65536) -> bytes: with self._receive_guard: await checkpoint() if ( not self._protocol.read_event.is_set() and not self._transport.is_closing() ): self._transport.resume_reading() await self._protocol.read_event.wait() self._transport.pause_reading() try: chunk = self._protocol.read_queue.popleft() except IndexError: if self._closed: raise ClosedResourceError from None elif self._protocol.exception: > raise self._protocol.exception E anyio.BrokenResourceError /usr/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:1212: BrokenResourceError The above exception was the direct cause of the following exception: httpbin_secure = @pytest.mark.anyio async def test_ssl_request(httpbin_secure): ssl_context = ssl.create_default_context() ssl_context.check_hostname = False ssl_context.verify_mode = ssl.CERT_NONE async with httpcore.AsyncConnectionPool(ssl_context=ssl_context) as pool: > response = await pool.request("GET", httpbin_secure.url) tests/_async/test_integration.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ httpcore/_async/interfaces.py:43: in request response = await self.handle_async_request(request) httpcore/_async/connection_pool.py:268: in handle_async_request raise exc httpcore/_async/connection_pool.py:251: in handle_async_request response = await connection.handle_async_request(request) httpcore/_async/connection.py:103: in handle_async_request return await self._connection.handle_async_request(request) httpcore/_async/http11.py:133: in handle_async_request raise exc httpcore/_async/http11.py:111: in handle_async_request ) = await self._receive_response_headers(**kwargs) httpcore/_async/http11.py:176: in _receive_response_headers event = await self._receive_event(timeout=timeout) httpcore/_async/http11.py:212: in _receive_event data = await self._network_stream.read( httpcore/_backends/anyio.py:31: in read with map_exceptions(exc_map): /usr/lib64/python3.12/contextlib.py:155: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ReadError httpcore/_exceptions.py:14: ReadError ----------------------------- Captured stdout call ----------------------------- pytest-httpbin server hit an exception serving request: _ssl.c:983: The handshake operation timed out attempting to ignore so the rest of the tests can run ____________________________ test_ssl_request[trio] ____________________________ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: > yield httpcore/_exceptions.py:10: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = max_bytes = 65536, timeout = None async def read( self, max_bytes: int, timeout: typing.Optional[float] = None ) -> bytes: timeout_or_inf = float("inf") if timeout is None else timeout exc_map: ExceptionMapping = { trio.TooSlowError: ReadTimeout, trio.BrokenResourceError: ReadError, trio.ClosedResourceError: ReadError, } with map_exceptions(exc_map): with trio.fail_after(timeout_or_inf): > data: bytes = await self._stream.receive_some(max_bytes=max_bytes) httpcore/_backends/trio.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , max_bytes = 65536 async def receive_some(self, max_bytes: int | None = None) -> bytes | bytearray: """Read some data from the underlying transport, decrypt it, and return it. See :meth:`trio.abc.ReceiveStream.receive_some` for details. .. warning:: If this method is cancelled while the initial handshake or a renegotiation are in progress, then it may leave the :class:`SSLStream` in an unusable state. If this happens then any future attempt to use the object will raise :exc:`trio.BrokenResourceError`. """ with self._outer_recv_conflict_detector: > self._check_status() /usr/lib/python3.12/site-packages/trio/_ssl.py:680: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _check_status(self) -> None: if self._state is _State.OK: return elif self._state is _State.BROKEN: > raise trio.BrokenResourceError E trio.BrokenResourceError /usr/lib/python3.12/site-packages/trio/_ssl.py:436: BrokenResourceError The above exception was the direct cause of the following exception: httpbin_secure = @pytest.mark.anyio async def test_ssl_request(httpbin_secure): ssl_context = ssl.create_default_context() ssl_context.check_hostname = False ssl_context.verify_mode = ssl.CERT_NONE async with httpcore.AsyncConnectionPool(ssl_context=ssl_context) as pool: > response = await pool.request("GET", httpbin_secure.url) tests/_async/test_integration.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ httpcore/_async/interfaces.py:43: in request response = await self.handle_async_request(request) httpcore/_async/connection_pool.py:268: in handle_async_request raise exc httpcore/_async/connection_pool.py:251: in handle_async_request response = await connection.handle_async_request(request) httpcore/_async/connection.py:103: in handle_async_request return await self._connection.handle_async_request(request) httpcore/_async/http11.py:133: in handle_async_request raise exc httpcore/_async/http11.py:111: in handle_async_request ) = await self._receive_response_headers(**kwargs) httpcore/_async/http11.py:176: in _receive_response_headers event = await self._receive_event(timeout=timeout) httpcore/_async/http11.py:212: in _receive_event data = await self._network_stream.read( httpcore/_backends/trio.py:32: in read with map_exceptions(exc_map): /usr/lib64/python3.12/contextlib.py:155: in __exit__ self.gen.throw(value) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ map = {: , : , : } @contextlib.contextmanager def map_exceptions(map: ExceptionMapping) -> Iterator[None]: try: yield except Exception as exc: # noqa: PIE786 for from_exc, to_exc in map.items(): if isinstance(exc, from_exc): > raise to_exc(exc) from exc E httpcore.ReadError httpcore/_exceptions.py:14: ReadError ----------------------------- Captured stdout call ----------------------------- pytest-httpbin server hit an exception serving request: _ssl.c:983: The handshake operation timed out attempting to ignore so the rest of the tests can run =============================== warnings summary =============================== tests/test_cancellations.py::test_connection_pool_timeout_during_request[trio] /usr/lib/python3.12/site-packages/anyio/_backends/_trio.py:162: TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (https://github.com/python-trio/trio/issues/2211) class ExceptionGroup(BaseExceptionGroup, trio.MultiError): tests/_async/test_connection.py::test_write_error_with_response_sent[trio] tests/_async/test_connection.py::test_write_error_without_response_sent[trio] /builddir/build/BUILD/httpcore-1.0.2/httpcore/_async/http11.py:156: ResourceWarning: Async generator 'httpcore._models.ByteStream.__aiter__' was garbage collected before it had been exhausted. Surround its use in 'async with aclosing(...):' to ensure that it gets cleaned up as soon as you're done using it. await self._send_event(event, timeout=timeout) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ XFAIL tests/test_cancellations.py::test_h2_timeout_during_request[asyncio] XFAIL tests/test_cancellations.py::test_h2_timeout_during_response[asyncio] XFAIL tests/test_cancellations.py::test_h2_timeout_during_response[trio] XPASS tests/test_cancellations.py::test_h2_timeout_during_handshake[asyncio] XPASS tests/test_cancellations.py::test_h2_timeout_during_handshake[trio] XPASS tests/test_cancellations.py::test_h2_timeout_during_request[trio] = 4 failed, 203 passed, 3 xfailed, 3 xpassed, 3 warnings in 1022.25s (0:17:02) = error: Bad exit status from /var/tmp/rpm-tmp.F6QDoK (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.F6QDoK (%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-httpcore.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-httpcore.spec