Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-rfc3987.spec'], chrootPath='/var/lib/mock/f37-build-side-28-python-devel-96175-5149/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 --target noarch --nodeps /builddir/build/SPECS/python-rfc3987.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=1658448000 Wrote: /builddir/build/SRPMS/python-rfc3987-1.3.7-21.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-rfc3987.spec'], chrootPath='/var/lib/mock/f37-build-side-28-python-devel-96175-5149/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 -bb --target noarch --nodeps /builddir/build/SPECS/python-rfc3987.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=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pqjtOG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rfc3987-1.3.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rfc3987-1.3.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rfc3987-1.3.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf rfc3987.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RWnThO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + 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 rfc3987-1.3.7 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib copying rfc3987.py -> build/lib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QttLtM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch ++ dirname /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + 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 rfc3987-1.3.7 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch --prefix /usr running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr creating /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/lib creating /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/lib/python3.11/site-packages copying build/lib/rfc3987.py -> /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/lib/python3.11/site-packages byte-compiling /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/lib/python3.11/site-packages/rfc3987.py to rfc3987.cpython-311.pyc writing byte-compilation script '/tmp/tmp_4mk0m8p.py' /usr/bin/python3 /tmp/tmp_4mk0m8p.py removing /tmp/tmp_4mk0m8p.py running install_egg_info running egg_info creating rfc3987.egg-info writing rfc3987.egg-info/PKG-INFO writing dependency_links to rfc3987.egg-info/dependency_links.txt writing top-level names to rfc3987.egg-info/top_level.txt writing manifest file 'rfc3987.egg-info/SOURCES.txt' reading manifest file 'rfc3987.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING.txt' writing manifest file 'rfc3987.egg-info/SOURCES.txt' Copying rfc3987.egg-info to /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/lib/python3.11/site-packages/rfc3987-1.3.7-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/bin/__pycache__ + sed -i -e '/^#!\//, 1d' /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/lib/python3.11/site-packages/rfc3987.py + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.3.7-21.fc37 --unique-debug-suffix -1.3.7-21.fc37.noarch --unique-debug-src-base python-rfc3987-1.3.7-21.fc37.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rfc3987-1.3.7 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.OVXge4 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + 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 rfc3987-1.3.7 + /usr/bin/python3 -m doctest -v rfc3987.py Trying: assert match('::0:0:0:0:0.0.0.0', 'IPv6address') Expecting nothing ok Trying: uri = get_compiled_pattern('^%(URI)s$') Expecting nothing ok Trying: assert uri.match('http://tools.ietf.org/html/rfc3986#appendix-A') Expecting nothing ok Trying: assert not get_compiled_pattern('^%(relative_ref)s$').match('#f#g') Expecting nothing ok Trying: from unicodedata import lookup Expecting nothing ok Trying: smp = 'urn:' + lookup('OLD ITALIC LETTER A') # U+00010300 Expecting nothing ok Trying: assert not uri.match(smp) Expecting nothing ok Trying: m = get_compiled_pattern('^%(IRI)s$').match(smp) Expecting nothing ok Trying: assert NARROW_BUILD == (not m) Expecting nothing ok Trying: match = uri.match('http://tools.ietf.org/html/rfc3986#appendix-A') Expecting nothing ok Trying: d = match.groupdict() Expecting nothing ok Trying: if REGEX: assert all([ d['scheme'] == 'http', d['authority'] == 'tools.ietf.org', d['path'] == '/html/rfc3986', d['query'] == None, d['fragment'] == 'appendix-A' ]) Expecting nothing ok Trying: for r in patterns.keys(): assert get_compiled_pattern(r) Expecting nothing ok Trying: assert match('%C7X', 'pct_encoded') is None Expecting nothing ok Trying: assert match('%C7', 'pct_encoded') Expecting nothing ok Trying: assert match('%c7', 'pct_encoded') Expecting nothing ok Trying: d = parse('http://tools.ietf.org/html/rfc3986#appendix-A', rule='URI') Expecting nothing ok Trying: assert all([ d['scheme'] == 'http', d['authority'] == 'tools.ietf.org', d['path'] == '/html/rfc3986', d['query'] == None, d['fragment'] == 'appendix-A' ]) Expecting nothing ok Trying: base = resolve.test_cases_base Expecting nothing ok Trying: for relative, resolved in resolve.test_cases.items(): assert resolve(base, relative) == resolved Expecting nothing ok Trying: assert resolve('urn:rootless', '../../name') == 'urn:name' Expecting nothing ok Trying: assert resolve('urn:root/less', '../../name') == 'urn:/name' Expecting nothing ok Trying: assert resolve('http://a/b', 'http:g') == 'http:g' Expecting nothing ok Trying: assert resolve('http://a/b', 'http:g', strict=False) == 'http://a/g' Expecting nothing ok 7 items had no tests: rfc3987._bmp rfc3987._i2u rfc3987._interpret_unicode_escapes rfc3987._remove_dot_segments rfc3987.compose rfc3987.format_patterns rfc3987.normalize 5 items passed all tests: 1 tests in rfc3987 12 tests in rfc3987.get_compiled_pattern 3 tests in rfc3987.match 2 tests in rfc3987.parse 6 tests in rfc3987.resolve 24 tests in 12 items. 24 passed and 0 failed. Test passed. Processing files: python3-rfc3987-1.3.7-21.fc37.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PJEHBC + umask 022 + cd /builddir/build/BUILD + cd rfc3987-1.3.7 + DOCDIR=/builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/share/doc/python3-rfc3987 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/share/doc/python3-rfc3987 + cp -pr README.txt /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/share/doc/python3-rfc3987 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.aApIAm + umask 022 + cd /builddir/build/BUILD + cd rfc3987-1.3.7 + LICENSEDIR=/builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/share/licenses/python3-rfc3987 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/share/licenses/python3-rfc3987 + cp -pr COPYING.txt /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch/usr/share/licenses/python3-rfc3987 + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-rfc3987 = 1.3.7-21.fc37 python3-rfc3987 = 1.3.7-21.fc37 python3.11-rfc3987 = 1.3.7-21.fc37 python3.11dist(rfc3987) = 1.3.7 python3dist(rfc3987) = 1.3.7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 Obsoletes: python-rfc3987 < 1.3.7-21.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch Wrote: /builddir/build/RPMS/python3-rfc3987-1.3.7-21.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kseAYG + umask 022 + cd /builddir/build/BUILD + cd rfc3987-1.3.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-rfc3987-1.3.7-21.fc37.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.GVFWpb + umask 022 + cd /builddir/build/BUILD + rm -rf rfc3987-1.3.7 rfc3987-1.3.7.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0