Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-hgapi.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674308892.822942/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.od1b0kzd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.od1b0kzd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '29b702a407ea403c869f325a5c9f30bb', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674308892.822942/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.od1b0kzd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-hgapi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/python-hgapi-1.7.4-20.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-hgapi.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674308892.822942/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.od1b0kzd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.od1b0kzd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '15fc43432f934cb290f691b1a9ac97c9', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674308892.822942/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.od1b0kzd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-hgapi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6op7gs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hgapi-1.7.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hgapi-1.7.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hgapi-1.7.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/LICENSE . + rm -r hgapi.egg-info + sed -i 's/\r$//' hgapi/testhgapi.py + sed -i 's/\r$//' README.rst + rm -rf /builddir/build/BUILD/python3-python-hgapi-1.7.4-20.fc38 + cp -a . /builddir/build/BUILD/python3-python-hgapi-1.7.4-20.fc38 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Xu5vv1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hgapi-1.7.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/hgapi copying hgapi/testhgapi.py -> build/lib/hgapi copying hgapi/hgapi.py -> build/lib/hgapi copying hgapi/__init__.py -> build/lib/hgapi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iyVtWF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hgapi-1.7.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64 --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-hgapi-1.7.4-20.fc38.x86_64/usr creating /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/lib/python3.11/site-packages/hgapi copying build/lib/hgapi/__init__.py -> /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/lib/python3.11/site-packages/hgapi copying build/lib/hgapi/hgapi.py -> /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/lib/python3.11/site-packages/hgapi copying build/lib/hgapi/testhgapi.py -> /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/lib/python3.11/site-packages/hgapi byte-compiling /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/lib/python3.11/site-packages/hgapi/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/lib/python3.11/site-packages/hgapi/hgapi.py to hgapi.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/lib/python3.11/site-packages/hgapi/testhgapi.py to testhgapi.cpython-311.pyc writing byte-compilation script '/tmp/tmpo5i6sjrn.py' /usr/bin/python3 /tmp/tmpo5i6sjrn.py removing /tmp/tmpo5i6sjrn.py running install_egg_info running egg_info creating hgapi.egg-info writing hgapi.egg-info/PKG-INFO writing dependency_links to hgapi.egg-info/dependency_links.txt writing top-level names to hgapi.egg-info/top_level.txt writing manifest file 'hgapi.egg-info/SOURCES.txt' reading manifest file 'hgapi.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'hgapi.egg-info/SOURCES.txt' Copying hgapi.egg-info to /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/lib/python3.11/site-packages/hgapi-1.7.4-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.7.4-20.fc38 --unique-debug-suffix -1.7.4-20.fc38.x86_64 --unique-debug-src-base python-hgapi-1.7.4-20.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/hgapi-1.7.4 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4Z7cyi + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hgapi-1.7.4 + /usr/bin/python3 setup.py test running test running egg_info WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. writing hgapi.egg-info/PKG-INFO writing dependency_links to hgapi.egg-info/dependency_links.txt writing top-level names to hgapi.egg-info/top_level.txt reading manifest file 'hgapi.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'hgapi.egg-info/SOURCES.txt' running build_ext test_000_Init (hgapi.testhgapi.TestHgAPI.test_000_Init) ... ok test_010_Identity (hgapi.testhgapi.TestHgAPI.test_010_Identity) ... ok test_020_Add (hgapi.testhgapi.TestHgAPI.test_020_Add) ... ok test_021_Add (hgapi.testhgapi.TestHgAPI.test_021_Add) ... ok test_030_Commit (hgapi.testhgapi.TestHgAPI.test_030_Commit) ... ERROR test_040_Log (hgapi.testhgapi.TestHgAPI.test_040_Log) ... ok test_050_Update (hgapi.testhgapi.TestHgAPI.test_050_Update) ... ERROR test_060_Heads (hgapi.testhgapi.TestHgAPI.test_060_Heads) ... FAIL test_070_Config (hgapi.testhgapi.TestHgAPI.test_070_Config) ... ok test_071_ConfigBool (hgapi.testhgapi.TestHgAPI.test_071_ConfigBool) ... ok test_072_ConfigList (hgapi.testhgapi.TestHgAPI.test_072_ConfigList) ... ok test_080_LogBreakage (hgapi.testhgapi.TestHgAPI.test_080_LogBreakage) Some log messages/users could possibly break ... ok test_090_ModifiedStatus (hgapi.testhgapi.TestHgAPI.test_090_ModifiedStatus) ... ok test_100_CleanStatus (hgapi.testhgapi.TestHgAPI.test_100_CleanStatus) ... ok test_110_UntrackedStatus (hgapi.testhgapi.TestHgAPI.test_110_UntrackedStatus) ... ok test_120_AddedStatus (hgapi.testhgapi.TestHgAPI.test_120_AddedStatus) ... ok test_130_MissingStatus (hgapi.testhgapi.TestHgAPI.test_130_MissingStatus) ... ok test_140_EmptyStatus (hgapi.testhgapi.TestHgAPI.test_140_EmptyStatus) ... ok test_140_RemovedStatus (hgapi.testhgapi.TestHgAPI.test_140_RemovedStatus) ... ok test_150_ForkAndMerge (hgapi.testhgapi.TestHgAPI.test_150_ForkAndMerge) ... FAIL test_160_CommitFiles (hgapi.testhgapi.TestHgAPI.test_160_CommitFiles) ... ok test_170_Indexing (hgapi.testhgapi.TestHgAPI.test_170_Indexing) ... ok test_180_Slicing (hgapi.testhgapi.TestHgAPI.test_180_Slicing) ... FAIL test_190_Branches (hgapi.testhgapi.TestHgAPI.test_190_Branches) ... ok test_200_CommitWithDates (hgapi.testhgapi.TestHgAPI.test_200_CommitWithDates) ... ok test_210_Tags (hgapi.testhgapi.TestHgAPI.test_210_Tags) ... ok test_220_LogWithBranch (hgapi.testhgapi.TestHgAPI.test_220_LogWithBranch) ... ok test_230_BasicDiff (hgapi.testhgapi.TestHgAPI.test_230_BasicDiff) ... ok test_240_DiffFile (hgapi.testhgapi.TestHgAPI.test_240_DiffFile) ... ok test_250_ExitCode (hgapi.testhgapi.TestHgAPI.test_250_ExitCode) ... ok test_260_EmptyDiff (hgapi.testhgapi.TestHgAPI.test_260_EmptyDiff) ... ok test_270_Move (hgapi.testhgapi.TestHgAPI.test_270_Move) ... ok test_280_AddRemove (hgapi.testhgapi.TestHgAPI.test_280_AddRemove) ... ok test_300_clone (hgapi.testhgapi.TestHgAPI.test_300_clone) ... ok test_310_pull (hgapi.testhgapi.TestHgAPI.test_310_pull) ... ok test_320_push (hgapi.testhgapi.TestHgAPI.test_320_push) ... ok test_400_version (hgapi.testhgapi.TestHgAPI.test_400_version) ... ok test_410_root (hgapi.testhgapi.TestHgAPI.test_410_root) ... FAIL test_411_paths (hgapi.testhgapi.TestHgAPI.test_411_paths) ... ok test_412_outgoing (hgapi.testhgapi.TestHgAPI.test_412_outgoing) ... ok test_413_incoming (hgapi.testhgapi.TestHgAPI.test_413_incoming) ... ok test_420_CommitWithNonAsciiCharacters (hgapi.testhgapi.TestHgAPI.test_420_CommitWithNonAsciiCharacters) ... ok test_430_Bookmarks (hgapi.testhgapi.TestHgAPI.test_430_Bookmarks) ... FAIL test_500_Archive (hgapi.testhgapi.TestHgAPI.test_500_Archive) ... FAIL ====================================================================== ERROR: test_030_Commit (hgapi.testhgapi.TestHgAPI.test_030_Commit) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/hgapi-1.7.4/hgapi/testhgapi.py", line 88, in test_030_Commit commit_file.write("modifying") File "/usr/lib64/python3.11/tempfile.py", line 483, in func_wrapper return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ TypeError: a bytes-like object is required, not 'str' ====================================================================== ERROR: test_050_Update (hgapi.testhgapi.TestHgAPI.test_050_Update) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/hgapi-1.7.4/hgapi/testhgapi.py", line 107, in test_050_Update self.repo.hg_update(1) File "/builddir/build/BUILD/hgapi-1.7.4/hgapi/hgapi.py", line 178, in hg_update self.hg_command(*cmd) File "/builddir/build/BUILD/hgapi-1.7.4/hgapi/hgapi.py", line 118, in hg_command return Repo.command(self.path, self._env, *args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/hgapi-1.7.4/hgapi/hgapi.py", line 95, in command raise HgException("Error running %s:\n" hgapi.hgapi.HgException: Error running hg --cwd ./test --encoding UTF-8 update 1: Err: abort: unknown revision '1' Out: Exit: 255 ====================================================================== FAIL: test_060_Heads (hgapi.testhgapi.TestHgAPI.test_060_Heads) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/hgapi-1.7.4/hgapi/testhgapi.py", line 123, in test_060_Heads self.assertEquals(len(heads), 2) AssertionError: 1 != 2 ====================================================================== FAIL: test_150_ForkAndMerge (hgapi.testhgapi.TestHgAPI.test_150_ForkAndMerge) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/hgapi-1.7.4/hgapi/testhgapi.py", line 248, in test_150_ForkAndMerge self.assertEquals(len(heads), 2) AssertionError: 1 != 2 ====================================================================== FAIL: test_180_Slicing (hgapi.testhgapi.TestHgAPI.test_180_Slicing) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/hgapi-1.7.4/hgapi/testhgapi.py", line 284, in test_180_Slicing self.assertEquals(len(all_revs), 12) AssertionError: 9 != 12 ====================================================================== FAIL: test_410_root (hgapi.testhgapi.TestHgAPI.test_410_root) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/hgapi-1.7.4/hgapi/testhgapi.py", line 464, in test_410_root self.assertTrue(reply.endswith("/hgapi/test")) AssertionError: False is not true ====================================================================== FAIL: test_430_Bookmarks (hgapi.testhgapi.TestHgAPI.test_430_Bookmarks) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/hgapi-1.7.4/hgapi/testhgapi.py", line 540, in test_430_Bookmarks self.assertTrue('25:' in self.repo.hg_bookmarks()[0][2]) AssertionError: False is not true ====================================================================== FAIL: test_500_Archive (hgapi.testhgapi.TestHgAPI.test_500_Archive) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/hgapi-1.7.4/hgapi/testhgapi.py", line 581, in test_500_Archive self.assertFalse(os.path.exists(ghent)) AssertionError: True is not false ---------------------------------------------------------------------- Ran 44 tests in 18.422s FAILED (failures=6, errors=2) Test failed: error: Test failed: + true + RPM_EC=0 ++ jobs -p Processing files: python3-hgapi-1.7.4-20.fc38.noarch + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.P0jy38 + umask 022 + cd /builddir/build/BUILD + cd hgapi-1.7.4 + DOCDIR=/builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/share/doc/python3-hgapi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/share/doc/python3-hgapi + cp -pr README.rst /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/share/doc/python3-hgapi + cp -pr LICENSE /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64/usr/share/doc/python3-hgapi + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-hgapi = 1.7.4-20.fc38 python3-hgapi = 1.7.4-20.fc38 python3.11-hgapi = 1.7.4-20.fc38 python3.11dist(hgapi) = 1.7.4 python3dist(hgapi) = 1.7.4 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-hgapi < 1.7.4-20.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64 Wrote: /builddir/build/RPMS/python3-hgapi-1.7.4-20.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tlcdh3 + umask 022 + cd /builddir/build/BUILD + cd hgapi-1.7.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-hgapi-1.7.4-20.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ZYDqM0 + umask 022 + cd /builddir/build/BUILD + rm -rf hgapi-1.7.4 hgapi-1.7.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0