Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.spec'], chrootPath='/var/lib/mock/f41-build-2589789-25554/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=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '77cccacfef164d8ab20110a56d3eedfb', '-D', '/var/lib/mock/f41-build-2589789-25554/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1722988800 Wrote: /builddir/build/SRPMS/python-dunamai-1.22.0-1.fc41.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-dunamai.spec'], chrootPath='/var/lib/mock/f41-build-2589789-25554/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=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'f2c8e8ffe64b4d89bb1951616d12733c', '-D', '/var/lib/mock/f41-build-2589789-25554/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1722988800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qRGPdO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dunamai-1.22.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-dunamai-1.22.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dunamai-1.22.0 + rm -rf /builddir/build/BUILD/dunamai-1.22.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/dunamai-1.22.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Uelb4I + umask 022 + cd /builddir/build/BUILD + cd dunamai-1.22.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 --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/dunamai-1.22.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -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/dunamai-1.22.0/.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/dunamai-1.22.0/pyproject-wheeldir --output /builddir/build/BUILD/python-dunamai-1.22.0-1.fc41.noarch-pyproject-buildrequires Handling poetry-core>=1.0.0 from build-system.requires Requirement not satisfied: poetry-core>=1.0.0 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-dunamai-1.22.0-1.fc41.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-dunamai-1.22.0-1.fc41.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 --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.spec'], chrootPath='/var/lib/mock/f41-build-2589789-25554/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=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'd7e1c59b80f14e59b113ca82e09e5b28', '-D', '/var/lib/mock/f41-build-2589789-25554/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1722988800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.LsOfxt + umask 022 + cd /builddir/build/BUILD + cd dunamai-1.22.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 --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/dunamai-1.22.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -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/dunamai-1.22.0/.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/dunamai-1.22.0/pyproject-wheeldir --output /builddir/build/BUILD/python-dunamai-1.22.0-1.fc41.noarch-pyproject-buildrequires Handling poetry-core>=1.0.0 from build-system.requires Requirement satisfied: poetry-core>=1.0.0 (installed: poetry-core 1.9.0) Handling importlib-metadata (>=1.6.0) ; python_version < "3.8" from hook generated metadata: Requires-Dist (dunamai) Ignoring alien requirement: importlib-metadata (>=1.6.0) ; python_version < "3.8" Handling packaging (>=20.9) from hook generated metadata: Requires-Dist (dunamai) Requirement satisfied: packaging (>=20.9) (installed: packaging 24.1) + cat /builddir/build/BUILD/python-dunamai-1.22.0-1.fc41.noarch-pyproject-buildrequires + rm -rfv dunamai-1.22.0.dist-info/ removed 'dunamai-1.22.0.dist-info/METADATA' removed 'dunamai-1.22.0.dist-info/LICENSE' removed 'dunamai-1.22.0.dist-info/WHEEL' removed 'dunamai-1.22.0.dist-info/entry_points.txt' removed directory 'dunamai-1.22.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-dunamai-1.22.0-1.fc41.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-dunamai.spec'], chrootPath='/var/lib/mock/f41-build-2589789-25554/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=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '569a8249cedc4cecbe372776a0988664', '-D', '/var/lib/mock/f41-build-2589789-25554/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1722988800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.IvUOod + umask 022 + cd /builddir/build/BUILD + cd dunamai-1.22.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 --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/dunamai-1.22.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -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/dunamai-1.22.0/.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/dunamai-1.22.0/pyproject-wheeldir --output /builddir/build/BUILD/python-dunamai-1.22.0-1.fc41.noarch-pyproject-buildrequires Handling poetry-core>=1.0.0 from build-system.requires Requirement satisfied: poetry-core>=1.0.0 (installed: poetry-core 1.9.0) Handling importlib-metadata (>=1.6.0) ; python_version < "3.8" from hook generated metadata: Requires-Dist (dunamai) Ignoring alien requirement: importlib-metadata (>=1.6.0) ; python_version < "3.8" Handling packaging (>=20.9) from hook generated metadata: Requires-Dist (dunamai) Requirement satisfied: packaging (>=20.9) (installed: packaging 24.1) + cat /builddir/build/BUILD/python-dunamai-1.22.0-1.fc41.noarch-pyproject-buildrequires + rm -rfv dunamai-1.22.0.dist-info/ removed 'dunamai-1.22.0.dist-info/METADATA' removed 'dunamai-1.22.0.dist-info/LICENSE' removed 'dunamai-1.22.0.dist-info/WHEEL' removed 'dunamai-1.22.0.dist-info/entry_points.txt' removed directory 'dunamai-1.22.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AyqQL1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 --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 dunamai-1.22.0 + mkdir -p /builddir/build/BUILD/dunamai-1.22.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -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/dunamai-1.22.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/dunamai-1.22.0/pyproject-wheeldir Processing /builddir/build/BUILD/dunamai-1.22.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: dunamai Building wheel for dunamai (pyproject.toml): started Running command Building wheel for dunamai (pyproject.toml) Building wheel for dunamai (pyproject.toml): finished with status 'done' Created wheel for dunamai: filename=dunamai-1.22.0-py3-none-any.whl size=26163 sha256=05e42fc605531d5ad050bb7672bef4516281b7770dbed1ffe1114a31913b734d Stored in directory: /builddir/.cache/pip/wheels/98/66/1d/8defd49b6eade70ed8fe34d2bd256359f048a254a953c5458f Successfully built dunamai + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SsEQvl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch ++ dirname /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 --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 dunamai-1.22.0 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/dunamai-1.22.0/pyproject-wheeldir/dunamai-1.22.0-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=dunamai==1.22.0 + '[' -z dunamai==1.22.0 ']' + TMPDIR=/builddir/build/BUILD/dunamai-1.22.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.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/dunamai-1.22.0/pyproject-wheeldir dunamai==1.22.0 Using pip 24.1.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/dunamai-1.22.0/pyproject-wheeldir Processing ./pyproject-wheeldir/dunamai-1.22.0-py3-none-any.whl Installing collected packages: dunamai Creating /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/bin/dunamai to 755 Successfully installed dunamai-1.22.0 + '[' -d /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/bin/dunamai /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/bin/dunamai: updating + rm -rfv /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-dunamai-1.22.0-1.fc41.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/dunamai-1.22.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/lib/python3.12/site-packages/dunamai-1.22.0.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-dunamai-1.22.0-1.fc41.noarch --record /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/lib/python3.12/site-packages/dunamai-1.22.0.dist-info/RECORD --output /builddir/build/BUILD/python-dunamai-1.22.0-1.fc41.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/lib/python3.12/site-packages/dunamai-1.22.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/lib/python3.12/site-packages/dunamai-1.22.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/lib/python3.12/site-packages/dunamai-1.22.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/lib/python3.12/site-packages/dunamai-1.22.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-dunamai-1.22.0-1.fc41.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-dunamai-1.22.0-1.fc41.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-dunamai-1.22.0-1.fc41.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.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-dunamai-1.22.0-1.fc41.noarch-pyproject-record --prefix /usr dunamai + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai + echo 'Generating man page for dunamai' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/bin/ + help2man --no-info --no-discard-stderr --name=dunamai '--version-string=dunamai 1.22.0' --output=dunamai.1 dunamai + cat dunamai.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "August 2024" "dunamai 1.22.0" "User Commands" .SH NAME dunamai \- dunamai .SH DESCRIPTION usage: dunamai [\-h] {from,check} ... .PP Generate dynamic versions .SS "positional arguments:" .IP {from,check} .TP from Generate version from a particular VCS .TP check Check if a version is valid for a style .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit + install -t /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/share/man/man1 -p -m 0644 -D dunamai.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai-/check + echo 'Generating man page for dunamai-/check' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai check' '--version-string=dunamai check 1.22.0' --output=dunamai-check.1 'dunamai check' + cat dunamai-check.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "August 2024" "dunamai check 1.22.0" "User Commands" .SH NAME dunamai \- dunamai check .SH DESCRIPTION usage: dunamai check [\-h] [\-\-style {pep440,semver,pvp}] [version] .PP Check if a version is valid for a style .SS "positional arguments:" .TP version Version to check; may be piped in (default: None) .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-style\fR {pep440,semver,pvp} Style against which to check (default: pep440) + install -t /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-check.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai-/from + echo 'Generating man page for dunamai-/from' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from' '--version-string=dunamai from 1.22.0' --output=dunamai-from.1 'dunamai from' + cat dunamai-from.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "August 2024" "dunamai from 1.22.0" "User Commands" .SH NAME dunamai \- dunamai from .SH DESCRIPTION usage: dunamai from [\-h] .TP {any,git,mercurial,darcs,subversion,bazaar,fossil,pijul} \&... .PP Generate version from a particular VCS .SS "positional arguments:" .IP {any,git,mercurial,darcs,subversion,bazaar,fossil,pijul} .TP any Generate version from any detected VCS .TP git Generate version from Git .TP mercurial Generate version from Mercurial .TP darcs Generate version from Darcs .TP subversion Generate version from Subversion .TP bazaar Generate version from Bazaar .TP fossil Generate version from Fossil .TP pijul Generate version from Pijul .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit + install -t /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" + echo 'Generating man page for dunamai-/from-/any' Generating man page for dunamai-/from-/any + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from any' '--version-string=dunamai from any 1.22.0' --output=dunamai-from-any.1 'dunamai from any' + cat dunamai-from-any.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "August 2024" "dunamai from any 1.22.0" "User Commands" .SH NAME dunamai \- dunamai from any .SH DESCRIPTION usage: dunamai from any [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-ignore\-untracked] [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-pattern\-prefix PATTERN_PREFIX] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] [\-\-full\-commit] [\-\-commit\-length COMMIT_LENGTH] [\-\-tag\-branch TAG_BRANCH] [\-\-tag\-dir TAG_DIR] .PP Generate version from any detected VCS .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-ignore\-untracked\fR Ignore untracked files when determining whether the repository is dirty (only: Git) (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-pattern\-prefix\fR PATTERN_PREFIX Insert this after the pattern's start anchor (`^`). (default: None) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) .TP \fB\-\-full\-commit\fR Get the full commit hash instead of the short form (only: Git, Mercurial) (default: False) .TP \fB\-\-commit\-length\fR COMMIT_LENGTH Use this many characters from the start of the full commit hash (default: None) .TP \fB\-\-tag\-branch\fR TAG_BRANCH Branch on which to find tags, if different than the current branch (only: Git) (default: None) .TP \fB\-\-tag\-dir\fR TAG_DIR Location of tags relative to the root (only: Subversion) (default: tags) + install -t /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-any.1 Generating man page for dunamai-/from-/bazaar + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" + echo 'Generating man page for dunamai-/from-/bazaar' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from bazaar' '--version-string=dunamai from bazaar 1.22.0' --output=dunamai-from-bazaar.1 'dunamai from bazaar' + cat dunamai-from-bazaar.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "August 2024" "dunamai from bazaar 1.22.0" "User Commands" .SH NAME dunamai \- dunamai from bazaar .SH DESCRIPTION usage: dunamai from bazaar [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-pattern\-prefix PATTERN_PREFIX] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] [\-\-commit\-length COMMIT_LENGTH] .PP Generate version from Bazaar .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-pattern\-prefix\fR PATTERN_PREFIX Insert this after the pattern's start anchor (`^`). (default: None) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) .TP \fB\-\-commit\-length\fR COMMIT_LENGTH Use this many characters from the start of the full commit hash (default: None) + install -t /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-bazaar.1 Generating man page for dunamai-/from-/darcs + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" + echo 'Generating man page for dunamai-/from-/darcs' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from darcs' '--version-string=dunamai from darcs 1.22.0' --output=dunamai-from-darcs.1 'dunamai from darcs' + cat dunamai-from-darcs.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "August 2024" "dunamai from darcs 1.22.0" "User Commands" .SH NAME dunamai \- dunamai from darcs .SH DESCRIPTION usage: dunamai from darcs [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-pattern\-prefix PATTERN_PREFIX] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] [\-\-commit\-length COMMIT_LENGTH] .PP Generate version from Darcs .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-pattern\-prefix\fR PATTERN_PREFIX Insert this after the pattern's start anchor (`^`). (default: None) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) .TP \fB\-\-commit\-length\fR COMMIT_LENGTH Use this many characters from the start of the full commit hash (default: None) + install -t /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-darcs.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai-/from-/fossil + echo 'Generating man page for dunamai-/from-/fossil' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from fossil' '--version-string=dunamai from fossil 1.22.0' --output=dunamai-from-fossil.1 'dunamai from fossil' + cat dunamai-from-fossil.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "August 2024" "dunamai from fossil 1.22.0" "User Commands" .SH NAME dunamai \- dunamai from fossil .SH DESCRIPTION usage: dunamai from fossil [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-pattern\-prefix PATTERN_PREFIX] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] [\-\-commit\-length COMMIT_LENGTH] .PP Generate version from Fossil .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-pattern\-prefix\fR PATTERN_PREFIX Insert this after the pattern's start anchor (`^`). (default: None) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) .TP \fB\-\-commit\-length\fR COMMIT_LENGTH Use this many characters from the start of the full commit hash (default: None) + install -t /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-fossil.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai-/from-/git + echo 'Generating man page for dunamai-/from-/git' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from git' '--version-string=dunamai from git 1.22.0' --output=dunamai-from-git.1 'dunamai from git' + cat dunamai-from-git.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "August 2024" "dunamai from git 1.22.0" "User Commands" .SH NAME dunamai \- dunamai from git .SH DESCRIPTION usage: dunamai from git [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-ignore\-untracked] [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-pattern\-prefix PATTERN_PREFIX] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] [\-\-full\-commit] [\-\-commit\-length COMMIT_LENGTH] [\-\-tag\-branch TAG_BRANCH] .PP Generate version from Git .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-ignore\-untracked\fR Ignore untracked files when determining whether the repository is dirty (only: Git) (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-pattern\-prefix\fR PATTERN_PREFIX Insert this after the pattern's start anchor (`^`). (default: None) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) .TP \fB\-\-full\-commit\fR Get the full commit hash instead of the short form (only: Git, Mercurial) (default: False) .TP \fB\-\-commit\-length\fR COMMIT_LENGTH Use this many characters from the start of the full commit hash (default: None) .TP \fB\-\-tag\-branch\fR TAG_BRANCH Branch on which to find tags, if different than the current branch (only: Git) (default: None) + install -t /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-git.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai-/from-/mercurial + echo 'Generating man page for dunamai-/from-/mercurial' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from mercurial' '--version-string=dunamai from mercurial 1.22.0' --output=dunamai-from-mercurial.1 'dunamai from mercurial' + cat dunamai-from-mercurial.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "August 2024" "dunamai from mercurial 1.22.0" "User Commands" .SH NAME dunamai \- dunamai from mercurial .SH DESCRIPTION usage: dunamai from mercurial [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-pattern\-prefix PATTERN_PREFIX] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] [\-\-full\-commit] [\-\-commit\-length COMMIT_LENGTH] .PP Generate version from Mercurial .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-pattern\-prefix\fR PATTERN_PREFIX Insert this after the pattern's start anchor (`^`). (default: None) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) .TP \fB\-\-full\-commit\fR Get the full commit hash instead of the short form (only: Git, Mercurial) (default: False) .TP \fB\-\-commit\-length\fR COMMIT_LENGTH Use this many characters from the start of the full commit hash (default: None) + install -t /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-mercurial.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai-/from-/pijul + echo 'Generating man page for dunamai-/from-/pijul' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from pijul' '--version-string=dunamai from pijul 1.22.0' --output=dunamai-from-pijul.1 'dunamai from pijul' + cat dunamai-from-pijul.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "August 2024" "dunamai from pijul 1.22.0" "User Commands" .SH NAME dunamai \- dunamai from pijul .SH DESCRIPTION usage: dunamai from pijul [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-pattern\-prefix PATTERN_PREFIX] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] [\-\-commit\-length COMMIT_LENGTH] .PP Generate version from Pijul .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-pattern\-prefix\fR PATTERN_PREFIX Insert this after the pattern's start anchor (`^`). (default: None) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) .TP \fB\-\-commit\-length\fR COMMIT_LENGTH Use this many characters from the start of the full commit hash (default: None) + install -t /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-pijul.1 + for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion" Generating man page for dunamai-/from-/subversion + echo 'Generating man page for dunamai-/from-/subversion' + PYTHONPATH=:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/lib/python3.12/site-packages/ + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch//usr/bin/ + help2man --no-info --no-discard-stderr '--name=dunamai from subversion' '--version-string=dunamai from subversion 1.22.0' --output=dunamai-from-subversion.1 'dunamai from subversion' + cat dunamai-from-subversion.1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH DUNAMAI "1" "August 2024" "dunamai from subversion 1.22.0" "User Commands" .SH NAME dunamai \- dunamai from subversion .SH DESCRIPTION usage: dunamai from subversion [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty] .TP [\-\-tagged\-metadata] [\-\-pattern PATTERN] [\-\-pattern\-prefix PATTERN_PREFIX] [\-\-format FORMAT] [\-\-style {pep440,semver,pvp}] [\-\-latest\-tag] [\-\-strict] [\-\-path PATH] [\-\-debug] [\-\-bump] [\-\-commit\-length COMMIT_LENGTH] [\-\-tag\-dir TAG_DIR] .PP Generate version from Subversion .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-metadata\fR Always include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-no\-metadata\fR Never include metadata. Ignored when \fB\-\-format\fR is used (default: None) .TP \fB\-\-dirty\fR Include dirty flag if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-tagged\-metadata\fR Include tagged metadata if applicable. Ignored when \fB\-\-format\fR is used (default: False) .TP \fB\-\-pattern\fR PATTERN Regular expression matched against the version source. This must contain one capture group named `base` corresponding to the release segment of the source. Optionally, it may contain another two groups named `stage` and `revision` corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in \&'alpha\-2' or 'rc3'). It may also contain a group named `tagged_metadata` corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named `epoch` for the PEP 440 concept. If the `base` group is not present, then instead this will be interpreted as a named preset, which may be one of the following: `default`, `default\-unprefixed` (default: (?x) (?# ignore whitespace) ^v((?P\ed+)!)?(?P\ed+(\e.\ed+)*) (?# v1.2.3 or v1!2000.1.2) ([\-._]?((?P[a\-zA\-Z]+)[\- \&._]?(?P\ed+)?))? (?# b0) (\e+(?P.+))?$ (?# +linux)) .TP \fB\-\-pattern\-prefix\fR PATTERN_PREFIX Insert this after the pattern's start anchor (`^`). (default: None) .TP \fB\-\-format\fR FORMAT Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp} (default: None) .TP \fB\-\-style\fR {pep440,semver,pvp} Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) .TP \fB\-\-latest\-tag\fR Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) .TP \fB\-\-strict\fR Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) .TP \fB\-\-path\fR PATH Directory to inspect, if not the current working directory (default: None) .TP \fB\-\-debug\fR Display additional information on stderr for troubleshooting (default: False) .TP \fB\-\-bump\fR Increment the last part of the version `base` by 1, unless the `stage` is set, in which case increment the `revision` by 1 or set it to a default of 2 if there was no `revision` Does nothing when on a commit with a version tag. (default: False) .TP \fB\-\-commit\-length\fR COMMIT_LENGTH Use this many characters from the start of the full commit hash (default: None) .TP \fB\-\-tag\-dir\fR TAG_DIR Location of tags relative to the root (only: Subversion) (default: tags) + install -t /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/share/man/man1 -p -m 0644 -D dunamai-from-subversion.1 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.22.0-1.fc41 --unique-debug-suffix -1.22.0-1.fc41.noarch --unique-debug-src-base python-dunamai-1.22.0-1.fc41.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dunamai-1.22.0 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 -j32 Bytecompiling .py files below /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j32 /builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch Cannot initialize handler pyc: ModuleNotFoundError: No module named 'marshalparser' [src/multiprocess.rs:66:9] &cmd = Command { program: "/usr/bin/add-determinism", args: [ "/usr/bin/add-determinism", "--socket", "3", "--brp", "--handler", "ar,jar,javadoc", ], env: CommandEnv { clear: false, vars: { "SOURCE_DATE_EPOCH": Some( "1722988800", ), }, }, create_pidfd: false, } Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Kh0fGf + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 --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 dunamai-1.22.0 + git config --global user.email you@example.com + git config --global user.name 'Your Name' + brz whoami 'Your Name ' + export 'DARCS_EMAIL=Yep something ' + DARCS_EMAIL='Yep something ' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -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-dunamai-1.22.0-1.fc41.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-dunamai-1.22.0-1.fc41.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/dunamai-1.22.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=32 + /usr/bin/pytest -n auto -v -k 'not test__version__from_git__shallow' ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/dunamai-1.22.0 plugins: xdist-3.6.1 created: 32/32 workers 32 workers [60 items] scheduling tests via LoadScheduling tests/integration/test_dunamai.py::test__version__from_git__archival_tagged_post tests/integration/test_dunamai.py::test__version__from_bazaar tests/integration/test_dunamai.py::test__version__from_fossil tests/integration/test_dunamai.py::test__version__from_darcs tests/integration/test_dunamai.py::test__version__from_pijul tests/unit/test_dunamai.py::test__version__init tests/unit/test_dunamai.py::test__version__repr tests/unit/test_dunamai.py::test__version__serialize__pvp tests/unit/test_dunamai.py::test__version__serialize__pep440 tests/unit/test_dunamai.py::test__pattern__parse tests/integration/test_dunamai.py::test__version__from_subversion tests/unit/test_dunamai.py::test__pattern__regex tests/unit/test_dunamai.py::test__version__serialize__semver tests/unit/test_dunamai.py::test__version__serialize__pep440_metadata tests/unit/test_dunamai.py::test__version__serialize__pvp_with_metadata tests/unit/test_dunamai.py::test__version__serialize__semver_with_metadata tests/integration/test_dunamai.py::test__version__from_git__broken_ref [gw18] [ 1%] SKIPPED tests/integration/test_dunamai.py::test__version__from_pijul tests/integration/test_dunamai.py::test__version__from_mercurial tests/integration/test_dunamai.py::test__version__from_git__gitflow tests/integration/test_dunamai.py::test__version__from_git__with_annotated_tags tests/integration/test_dunamai.py::test__version__not_a_repository tests/unit/test_dunamai.py::test__version__str [gw28] [ 3%] PASSED tests/unit/test_dunamai.py::test__version__serialize__pep440_metadata tests/integration/test_dunamai.py::test__version__from_git__with_nonchronological_commits tests/unit/test_dunamai.py::test__version__ordering [gw23] [ 5%] PASSED tests/unit/test_dunamai.py::test__version__repr [gw20] [ 6%] PASSED tests/unit/test_dunamai.py::test__pattern__parse tests/integration/test_dunamai.py::test__version__from_git__exclude_decoration tests/integration/test_dunamai.py::test__version__from_git__with_lightweight_tags tests/integration/test_dunamai.py::test__version__from_mercurial__archival_tagged tests/integration/test_dunamai.py::test__version__from_mercurial__archival_untagged tests/integration/test_dunamai.py::test__version__from_git__archival_untagged [gw19] [ 8%] PASSED tests/unit/test_dunamai.py::test__pattern__regex [gw25] [ 10%] PASSED tests/unit/test_dunamai.py::test__version__serialize__pep440 tests/integration/test_dunamai.py::test__version__from_git__archival_tagged tests/integration/test_dunamai.py::test__version__from_git__with_mixed_tags [gw27] [ 11%] PASSED tests/unit/test_dunamai.py::test__version__serialize__pvp [gw26] [ 13%] PASSED tests/unit/test_dunamai.py::test__version__serialize__semver [gw7] [ 15%] PASSED tests/integration/test_dunamai.py::test__version__from_git__archival_tagged_post [gw21] [ 16%] PASSED tests/unit/test_dunamai.py::test__version__init tests/unit/test_dunamai.py::test__version__serialize__pep440_with_dirty [gw29] [ 18%] PASSED tests/unit/test_dunamai.py::test__version__serialize__semver_with_metadata [gw13] [ 20%] PASSED tests/integration/test_dunamai.py::test__version__from_mercurial__archival_tagged [gw24] [ 21%] PASSED tests/unit/test_dunamai.py::test__version__ordering [gw22] [ 23%] PASSED tests/unit/test_dunamai.py::test__version__str [gw30] [ 25%] PASSED tests/unit/test_dunamai.py::test__version__serialize__pvp_with_metadata [gw12] [ 26%] PASSED tests/integration/test_dunamai.py::test__version__from_mercurial__archival_untagged tests/unit/test_dunamai.py::test__check_version__semver [gw5] [ 28%] PASSED tests/integration/test_dunamai.py::test__version__from_git__archival_untagged [gw6] [ 30%] PASSED tests/integration/test_dunamai.py::test__version__from_git__archival_tagged [gw31] [ 31%] PASSED tests/unit/test_dunamai.py::test__version__serialize__pep440_with_dirty tests/unit/test_dunamai.py::test__default_version_pattern tests/unit/test_dunamai.py::test__serialize_pvp [gw18] [ 33%] PASSED tests/unit/test_dunamai.py::test__check_version__semver tests/unit/test_dunamai.py::test__check_version__pvp tests/unit/test_main.py::test__parse_args__from tests/unit/test_main.py::test__cli_check tests/unit/test_main.py::test__parse_args__check tests/unit/test_dunamai.py::test__get_version__first_choice tests/unit/test_dunamai.py::test__serialize_pep440 tests/unit/test_dunamai.py::test__get_version__first_choice__ignore__with_commit tests/unit/test_dunamai.py::test__get_version__from_name tests/unit/test_dunamai.py::test__serialize_semver [gw20] [ 35%] PASSED tests/unit/test_dunamai.py::test__default_version_pattern [gw23] [ 36%] PASSED tests/unit/test_dunamai.py::test__serialize_pvp tests/unit/test_dunamai.py::test__get_version__first_choice__ignore_with_distance tests/unit/test_dunamai.py::test__version__parse [gw19] [ 38%] PASSED tests/unit/test_dunamai.py::test__check_version__pvp tests/unit/test_dunamai.py::test__bump_version [gw7] [ 40%] PASSED tests/unit/test_dunamai.py::test__get_version__first_choice [gw21] [ 41%] PASSED tests/unit/test_dunamai.py::test__serialize_pep440 [gw13] [ 43%] PASSED tests/unit/test_dunamai.py::test__get_version__first_choice__ignore__with_commit [gw6] [ 45%] PASSED tests/unit/test_dunamai.py::test__get_version__from_name [gw22] [ 46%] PASSED tests/unit/test_dunamai.py::test__serialize_semver [gw12] [ 48%] PASSED tests/unit/test_dunamai.py::test__get_version__first_choice__ignore_with_distance [gw5] [ 50%] PASSED tests/unit/test_dunamai.py::test__version__parse [gw24] [ 51%] PASSED tests/unit/test_dunamai.py::test__bump_version [gw26] [ 53%] PASSED tests/unit/test_main.py::test__parse_args__check [gw8] [ 55%] PASSED tests/integration/test_dunamai.py::test__version__from_git__exclude_decoration [gw9] [ 56%] PASSED tests/integration/test_dunamai.py::test__version__from_git__broken_ref tests/unit/test_dunamai.py::test__get_version__third_choice tests/unit/test_dunamai.py::test__get_version__fallback [gw8] [ 58%] PASSED tests/unit/test_dunamai.py::test__get_version__third_choice [gw9] [ 60%] PASSED tests/unit/test_dunamai.py::test__get_version__fallback [gw10] [ 61%] PASSED tests/integration/test_dunamai.py::test__version__not_a_repository tests/unit/test_dunamai.py::test__get_version__from_name__ignore [gw25] [ 63%] PASSED tests/unit/test_main.py::test__parse_args__from [gw10] [ 65%] PASSED tests/unit/test_dunamai.py::test__get_version__from_name__ignore [gw3] [ 66%] PASSED tests/integration/test_dunamai.py::test__version__from_git__with_nonchronological_commits tests/unit/test_dunamai.py::test__version__serialize__format_as_callable [gw3] [ 68%] PASSED tests/unit/test_dunamai.py::test__version__serialize__format_as_callable [gw2] [ 70%] PASSED tests/integration/test_dunamai.py::test__version__from_git__with_mixed_tags tests/unit/test_dunamai.py::test__version__serialize__format_as_str [gw2] [ 71%] PASSED tests/unit/test_dunamai.py::test__version__serialize__format_as_str [gw27] [ 73%] PASSED tests/unit/test_main.py::test__cli_check [gw1] [ 75%] PASSED tests/integration/test_dunamai.py::test__version__from_git__with_lightweight_tags tests/unit/test_dunamai.py::test__version__serialize__pvp_with_dirty [gw1] [ 76%] PASSED tests/unit/test_dunamai.py::test__version__serialize__pvp_with_dirty [gw4] [ 78%] PASSED tests/integration/test_dunamai.py::test__version__from_git__gitflow tests/unit/test_dunamai.py::test__version__bump [gw4] [ 80%] PASSED tests/unit/test_dunamai.py::test__version__bump [gw14] [ 81%] PASSED tests/integration/test_dunamai.py::test__version__from_darcs tests/unit/test_dunamai.py::test__get_version__first_choice__ignore__without_commit [gw14] [ 83%] PASSED tests/unit/test_dunamai.py::test__get_version__first_choice__ignore__without_commit [gw15] [ 85%] PASSED tests/integration/test_dunamai.py::test__version__from_subversion tests/unit/test_dunamai.py::test__get_version__third_choice__ignore [gw15] [ 86%] PASSED tests/unit/test_dunamai.py::test__get_version__third_choice__ignore [gw17] [ 88%] FAILED tests/integration/test_dunamai.py::test__version__from_fossil tests/unit/test_dunamai.py::test__check_version__pep440 [gw17] [ 90%] PASSED tests/unit/test_dunamai.py::test__check_version__pep440 [gw0] [ 91%] FAILED tests/integration/test_dunamai.py::test__version__from_git__with_annotated_tags tests/unit/test_dunamai.py::test__version__serialize__semver_with_dirty [gw0] [ 93%] PASSED tests/unit/test_dunamai.py::test__version__serialize__semver_with_dirty [gw16] [ 95%] FAILED tests/integration/test_dunamai.py::test__version__from_bazaar tests/unit/test_dunamai.py::test__version__from_any_vcs [gw16] [ 96%] PASSED tests/unit/test_dunamai.py::test__version__from_any_vcs [gw11] [ 98%] FAILED tests/integration/test_dunamai.py::test__version__from_mercurial tests/unit/test_dunamai.py::test__get_version__first_choice__ignore [gw11] [100%] PASSED tests/unit/test_dunamai.py::test__get_version__first_choice__ignore =================================== FAILURES =================================== __________________________ test__version__from_fossil __________________________ [gw17] linux -- Python 3.12.3 /usr/bin/python3 tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw17/test__version__from_fossil0') @pytest.mark.skipif(shutil.which("fossil") is None, reason="Requires Fossil") def test__version__from_fossil(tmp_path) -> None: vcs = tmp_path / "dunamai-fossil" vcs.mkdir() run = make_run_callback(vcs) from_vcs = make_from_callback(Version.from_fossil) b = "trunk" if sys.platform != "win32": set_missing_env("FOSSIL_HOME", str(REPO / "tests"), ["HOME", "XDG_CONFIG_HOME"]) set_missing_env("USER", "dunamai") with chdir(vcs): run("fossil init repo") run("fossil open repo --force") assert from_vcs() == Version("0.0.0", distance=0, dirty=False, branch=b) assert from_vcs().vcs == Vcs.Fossil (vcs / "foo.txt").write_text("hi") assert from_vcs() == Version("0.0.0", distance=0, dirty=True, branch=b) run("fossil add .") run('fossil commit -m "Initial commit"') assert from_vcs() == Version("0.0.0", distance=1, dirty=False, branch=b) run("fossil tag add v0.1.0 trunk") assert from_vcs() == Version("0.1.0", dirty=False, branch=b) assert from_vcs(latest_tag=True) == Version("0.1.0", dirty=False, branch=b) assert run("dunamai from fossil") == "0.1.0" assert run("dunamai from any") == "0.1.0" (vcs / "foo.txt").write_text("bye") assert from_vcs() == Version("0.1.0", dirty=True, branch=b) run("fossil add .") run('fossil commit -m "Second"') assert from_vcs() == Version("0.1.0", distance=1, dirty=False, branch=b) assert from_any_vcs() == Version("0.1.0", distance=1, dirty=False, branch=b) run("fossil tag add unmatched trunk") assert from_vcs() == Version("0.1.0", distance=1, dirty=False, branch=b) with pytest.raises(ValueError): from_vcs(latest_tag=True) (vcs / "foo.txt").write_text("third") run("fossil add .") run("fossil commit --tag v0.2.0 -m 'Third'") assert from_vcs() == Version("0.2.0", dirty=False, branch=b) assert from_vcs(latest_tag=True) == Version("0.2.0", dirty=False, branch=b) run("fossil tag add v0.1.1 v0.1.0") assert from_vcs() == Version("0.2.0", dirty=False, branch=b) assert from_vcs(latest_tag=True) == Version("0.2.0", dirty=False, branch=b) run("fossil checkout v0.1.0") > assert from_vcs() == Version("0.1.1", dirty=False, branch=b) tests/integration/test_dunamai.py:864: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fresh = False, args = (), kwargs = {} version = Version(base='0.1.1', stage=None, revision=None, distance=0, commit='5845d47bebdae5970c50858e5c98b0b4c1994ee37df86a68b...ta=None, epoch=None, branch='trunk', timestamp=datetime.datetime(2024, 9, 3, 11, 12, 21, tzinfo=datetime.timezone.utc)) @py_assert4 = True, @py_assert3 = False @py_assert2 = datetime.datetime(2024, 9, 3, 11, 12, 21, 547489, tzinfo=datetime.timezone.utc) @py_assert5 = None def inner(*args, fresh: bool = False, **kwargs): version = function(*args, **kwargs) if fresh: assert version.commit is None assert version.timestamp is None else: assert isinstance(version.commit, str) assert len(version.commit) > 0 if chronological: assert isinstance(version.timestamp, dt.datetime) now = dt.datetime.utcnow().replace(tzinfo=dt.timezone.utc) delta = dt.timedelta(minutes=1) > assert now - delta <= version.timestamp <= now + delta E AssertionError: assert (datetime.datetime(2024, 9, 3, 11, 13, 21, 547489, tzinfo=datetime.timezone.utc) - datetime.timedelta(seconds=60)) <= datetime.datetime(2024, 9, 3, 11, 12, 21, tzinfo=datetime.timezone.utc) E + where datetime.datetime(2024, 9, 3, 11, 12, 21, tzinfo=datetime.timezone.utc) = Version(base='0.1.1', stage=None, revision=None, distance=0, commit='5845d47bebdae5970c50858e5c98b0b4c1994ee37df86a68b66c9ce3296501ed', dirty=False, tagged_metadata=None, epoch=None, branch='trunk', timestamp=datetime.datetime(2024, 9, 3, 11, 12, 21, tzinfo=datetime.timezone.utc)).timestamp tests/integration/test_dunamai.py:76: AssertionError _________________ test__version__from_git__with_annotated_tags _________________ [gw0] linux -- Python 3.12.3 /usr/bin/python3 tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0/test__version__from_git__with_0') @pytest.mark.skipif(shutil.which("git") is None, reason="Requires Git") def test__version__from_git__with_annotated_tags(tmp_path) -> None: vcs = tmp_path / "dunamai-git-annotated" vcs.mkdir() run = make_run_callback(vcs) from_vcs = make_from_callback(Version.from_git) b = "master" legacy = is_git_legacy() with chdir(vcs): run("git init") try: # Compatibility for newer Git versions: run("git branch -m master") except Exception: pass assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=True, branch=b) assert from_vcs(fresh=True).vcs == Vcs.Git # Additional one-off check not in other VCS integration tests: # strict mode requires there to be a tag with pytest.raises(RuntimeError): from_vcs(strict=True) (vcs / "foo.txt").write_text("hi") assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=True, branch=b) assert from_vcs(fresh=True).concerns == set() run("git add .") run('git commit --no-gpg-sign -m "Initial commit"') assert from_vcs() == Version("0.0.0", distance=1, dirty=False, branch=b) # Detect dirty if untracked files (vcs / "bar.txt").write_text("bye") assert from_vcs() == Version("0.0.0", distance=1, dirty=True, branch=b) assert from_vcs(ignore_untracked=True) == Version("0.0.0", distance=1, dirty=False, branch=b) # Once the untracked file is removed we are no longer dirty (vcs / "bar.txt").unlink() assert from_vcs() == Version("0.0.0", distance=1, dirty=False, branch=b) # Additional one-off check not in other VCS integration tests: # when the only tag in the repository does not match the pattern. run("git tag other -m Annotated") assert from_vcs() == Version("0.0.0", distance=1, dirty=False, branch=b) with pytest.raises(ValueError): from_vcs(strict=True) avoid_identical_ref_timestamps() run("git tag v0.1.0 -m Annotated") assert from_vcs() == Version("0.1.0", dirty=False, branch=b) assert from_vcs(latest_tag=True) == Version("0.1.0", dirty=False, branch=b) assert run("dunamai from git") == "0.1.0" assert run("dunamai from any") == "0.1.0" # Additional one-off checks not in other VCS integration tests: assert run(r'dunamai from any --pattern "(?P\d\.\d\.\d)"') == "0.1.0" run(r'dunamai from any --pattern "(\d\.\d\.\d)"', 1) assert run('dunamai from any --format "v{base}"') == "v0.1.0" assert run('dunamai from any --style "semver"') == "0.1.0" assert ( run('dunamai from any --format "v{base}" --style "semver"', 1) == "Version 'v0.1.0' does not conform to the Semantic Versioning style" ) assert run("dunamai from any --latest-tag") == "0.1.0" assert from_explicit_vcs(Vcs.Any) == Version("0.1.0", dirty=False, branch=b) assert from_explicit_vcs(Vcs.Git) == Version("0.1.0", dirty=False, branch=b) assert run("dunamai from any --bump") == "0.1.0" assert run('dunamai from git --format "{commit}"') != run('dunamai from git --format "{commit}" --full-commit') assert run('dunamai from any --format "{commit}"') != run('dunamai from any --format "{commit}" --full-commit') if not legacy: # Verify tags with '/' work run("git tag test/v0.1.0") assert run(r'dunamai from any --pattern "^test/v(?P\d\.\d\.\d)"') == "0.1.0" assert run('dunamai from any --pattern-prefix "test/"') == "0.1.0" (vcs / "foo.txt").write_text("bye") > assert from_vcs() == Version("0.1.0", dirty=True, branch=b) tests/integration/test_dunamai.py:168: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fresh = False, args = (), kwargs = {} version = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='66e5645', dirty=True, tagged_metadata=None, epoch=None, branch='master', timestamp=datetime.datetime(2024, 9, 3, 11, 12, 14, tzinfo=datetime.timezone.utc)) @py_assert4 = True, @py_assert3 = False @py_assert2 = datetime.datetime(2024, 9, 3, 11, 12, 29, 763001, tzinfo=datetime.timezone.utc) @py_assert5 = None def inner(*args, fresh: bool = False, **kwargs): version = function(*args, **kwargs) if fresh: assert version.commit is None assert version.timestamp is None else: assert isinstance(version.commit, str) assert len(version.commit) > 0 if chronological: assert isinstance(version.timestamp, dt.datetime) now = dt.datetime.utcnow().replace(tzinfo=dt.timezone.utc) delta = dt.timedelta(minutes=1) > assert now - delta <= version.timestamp <= now + delta E AssertionError: assert (datetime.datetime(2024, 9, 3, 11, 13, 29, 763001, tzinfo=datetime.timezone.utc) - datetime.timedelta(seconds=60)) <= datetime.datetime(2024, 9, 3, 11, 12, 14, tzinfo=datetime.timezone.utc) E + where datetime.datetime(2024, 9, 3, 11, 12, 14, tzinfo=datetime.timezone.utc) = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='66e5645', dirty=True, tagged_metadata=None, epoch=None, branch='master', timestamp=datetime.datetime(2024, 9, 3, 11, 12, 14, tzinfo=datetime.timezone.utc)).timestamp tests/integration/test_dunamai.py:76: AssertionError __________________________ test__version__from_bazaar __________________________ [gw16] linux -- Python 3.12.3 /usr/bin/python3 tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw16/test__version__from_bazaar0') @pytest.mark.skipif(shutil.which("bzr") is None, reason="Requires Bazaar") def test__version__from_bazaar(tmp_path) -> None: vcs = tmp_path / "dunamai-bzr" vcs.mkdir() run = make_run_callback(vcs) from_vcs = make_from_callback(Version.from_bazaar, clear=False) b = "dunamai-bzr" with chdir(vcs): run("bzr init") assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=False) assert from_vcs(fresh=True).vcs == Vcs.Bazaar (vcs / "foo.txt").write_text("hi") assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=True) run("bzr add .") run('bzr commit -m "Initial commit"') assert from_vcs() == Version("0.0.0", distance=1, commit="1", dirty=False, branch=b) run("bzr tag v0.1.0") assert from_vcs() == Version("0.1.0", commit="1", dirty=False, branch=b) assert from_vcs(latest_tag=True) == Version("0.1.0", commit="1", dirty=False, branch=b) assert run("dunamai from bazaar") == "0.1.0" assert run("dunamai from any") == "0.1.0" (vcs / "foo.txt").write_text("bye") > assert from_vcs() == Version("0.1.0", commit="1", dirty=True, branch=b) tests/integration/test_dunamai.py:772: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fresh = False, args = (), kwargs = {} version = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='1', dirty=True, tagged_metadata=None, epoch=None, branch='dunamai-bzr', timestamp=datetime.datetime(2024, 9, 3, 11, 13, 17, tzinfo=datetime.timezone.utc)) @py_assert4 = True, @py_assert3 = False @py_assert2 = datetime.datetime(2024, 9, 3, 11, 14, 9, 18782, tzinfo=datetime.timezone.utc) @py_assert5 = None def inner(*args, fresh: bool = False, **kwargs): version = function(*args, **kwargs) if fresh: assert version.commit is None assert version.timestamp is None else: assert isinstance(version.commit, str) assert len(version.commit) > 0 if chronological: assert isinstance(version.timestamp, dt.datetime) now = dt.datetime.utcnow().replace(tzinfo=dt.timezone.utc) delta = dt.timedelta(minutes=1) > assert now - delta <= version.timestamp <= now + delta E AssertionError: assert (datetime.datetime(2024, 9, 3, 11, 15, 9, 18782, tzinfo=datetime.timezone.utc) - datetime.timedelta(seconds=60)) <= datetime.datetime(2024, 9, 3, 11, 13, 17, tzinfo=datetime.timezone.utc) E + where datetime.datetime(2024, 9, 3, 11, 13, 17, tzinfo=datetime.timezone.utc) = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='1', dirty=True, tagged_metadata=None, epoch=None, branch='dunamai-bzr', timestamp=datetime.datetime(2024, 9, 3, 11, 13, 17, tzinfo=datetime.timezone.utc)).timestamp tests/integration/test_dunamai.py:76: AssertionError ________________________ test__version__from_mercurial _________________________ [gw11] linux -- Python 3.12.3 /usr/bin/python3 tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw11/test__version__from_mercurial0') @pytest.mark.skipif(shutil.which("hg") is None, reason="Requires Mercurial") def test__version__from_mercurial(tmp_path) -> None: vcs = tmp_path / "dunamai-hg" vcs.mkdir() run = make_run_callback(vcs) from_vcs = make_from_callback(Version.from_mercurial) b = "default" with chdir(vcs): run("hg init") assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=False, branch=b) assert from_vcs(fresh=True).vcs == Vcs.Mercurial (vcs / "foo.txt").write_text("hi") assert from_vcs(fresh=True) == Version("0.0.0", distance=0, dirty=True, branch=b) run("hg add .") run('hg commit -m "Initial commit"') assert from_vcs() == Version("0.0.0", distance=1, dirty=False, branch=b) assert run('dunamai from mercurial --format "{commit}"') != run( 'dunamai from mercurial --format "{commit}" --full-commit' ) assert run('dunamai from any --format "{commit}"') != run('dunamai from any --format "{commit}" --full-commit') run("hg tag v0.1.0") assert from_vcs() == Version("0.1.0", dirty=False, branch=b) > assert from_vcs(latest_tag=True) == Version("0.1.0", dirty=False, branch=b) tests/integration/test_dunamai.py:546: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fresh = False, args = (), kwargs = {'latest_tag': True} version = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='c5f59a89c1e8', dirty=False, tagged_metadata=None, epoch=None, branch='default', timestamp=datetime.datetime(2024, 9, 3, 11, 17, 17, tzinfo=datetime.timezone.utc)) @py_assert4 = True, @py_assert3 = False @py_assert2 = datetime.datetime(2024, 9, 3, 11, 17, 23, 577143, tzinfo=datetime.timezone.utc) @py_assert5 = None def inner(*args, fresh: bool = False, **kwargs): version = function(*args, **kwargs) if fresh: assert version.commit is None assert version.timestamp is None else: assert isinstance(version.commit, str) assert len(version.commit) > 0 if chronological: assert isinstance(version.timestamp, dt.datetime) now = dt.datetime.utcnow().replace(tzinfo=dt.timezone.utc) delta = dt.timedelta(minutes=1) > assert now - delta <= version.timestamp <= now + delta E AssertionError: assert (datetime.datetime(2024, 9, 3, 11, 18, 23, 577143, tzinfo=datetime.timezone.utc) - datetime.timedelta(seconds=60)) <= datetime.datetime(2024, 9, 3, 11, 17, 17, tzinfo=datetime.timezone.utc) E + where datetime.datetime(2024, 9, 3, 11, 17, 17, tzinfo=datetime.timezone.utc) = Version(base='0.1.0', stage=None, revision=None, distance=0, commit='c5f59a89c1e8', dirty=False, tagged_metadata=None, epoch=None, branch='default', timestamp=datetime.datetime(2024, 9, 3, 11, 17, 17, tzinfo=datetime.timezone.utc)).timestamp tests/integration/test_dunamai.py:76: AssertionError =============================== warnings summary =============================== tests/integration/test_dunamai.py: 80 warnings /builddir/build/BUILD/dunamai-1.22.0/tests/integration/test_dunamai.py:74: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = dt.datetime.utcnow().replace(tzinfo=dt.timezone.utc) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/integration/test_dunamai.py::test__version__from_fossil - Assert... FAILED tests/integration/test_dunamai.py::test__version__from_git__with_annotated_tags FAILED tests/integration/test_dunamai.py::test__version__from_bazaar - Assert... FAILED tests/integration/test_dunamai.py::test__version__from_mercurial - Ass... ======= 4 failed, 55 passed, 1 skipped, 80 warnings in 431.99s (0:07:11) ======= error: Bad exit status from /var/tmp/rpm-tmp.Kh0fGf (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Kh0fGf (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 569a8249cedc4cecbe372776a0988664 -D /var/lib/mock/f41-build-2589789-25554/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 569a8249cedc4cecbe372776a0988664 -D /var/lib/mock/f41-build-2589789-25554/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.aym7kyng:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-dunamai.spec'