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/etckeeper.spec'], chrootPath='/var/lib/mock/f41-build-50503919-6046063/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.haji5qyu:/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.haji5qyu:/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', 'daff47149da643a2b921fd15529919b6', '-D', '/var/lib/mock/f41-build-50503919-6046063/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.haji5qyu:/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/etckeeper.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 warning: extra tokens at the end of %endif directive in line 49: %endif # dnf_is_mandatory warning: extra tokens at the end of %endif directive in line 82: %endif # with_bzr warning: extra tokens at the end of %endif directive in line 97: %endif # with_brz warning: extra tokens at the end of %endif directive in line 107: %endif # dnf_uses_python3 warning: extra tokens at the end of %endif directive in line 156: %endif # with_bzr warning: extra tokens at the end of %endif directive in line 163: %endif # with_brz warning: extra tokens at the end of %endif directive in line 171: %endif # dnf_uses_python3 warning: extra tokens at the end of %endif directive in line 185: %endif # with_bzr warning: extra tokens at the end of %endif directive in line 192: %endif # with_brz warning: extra tokens at the end of %endif directive in line 200: %endif # dnf_uses_python3 warning: extra tokens at the end of %endif directive in line 206: %endif # dnf_is_mandatory warning: extra tokens at the end of %endif directive in line 251: %endif # with_yum warning: extra tokens at the end of %endif directive in line 262: %endif # with_bzr warning: extra tokens at the end of %endif directive in line 274: %endif # with_brz warning: extra tokens at the end of %endif directive in line 290: %endif # dnf_uses_python3 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706054400 Wrote: /builddir/build/SRPMS/etckeeper-1.18.20-5.fc41.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 49: %endif # dnf_is_mandatory extra tokens at the end of %endif directive in line 82: %endif # with_bzr extra tokens at the end of %endif directive in line 97: %endif # with_brz extra tokens at the end of %endif directive in line 107: %endif # dnf_uses_python3 extra tokens at the end of %endif directive in line 156: %endif # with_bzr extra tokens at the end of %endif directive in line 163: %endif # with_brz extra tokens at the end of %endif directive in line 171: %endif # dnf_uses_python3 extra tokens at the end of %endif directive in line 185: %endif # with_bzr extra tokens at the end of %endif directive in line 192: %endif # with_brz extra tokens at the end of %endif directive in line 200: %endif # dnf_uses_python3 extra tokens at the end of %endif directive in line 206: %endif # dnf_is_mandatory extra tokens at the end of %endif directive in line 251: %endif # with_yum extra tokens at the end of %endif directive in line 262: %endif # with_bzr extra tokens at the end of %endif directive in line 274: %endif # with_brz extra tokens at the end of %endif directive in line 290: %endif # dnf_uses_python3 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/etckeeper.spec'], chrootPath='/var/lib/mock/f41-build-50503919-6046063/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.haji5qyu:/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.haji5qyu:/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', 'b4d1a04e43ab41be9c1925a7a501f086', '-D', '/var/lib/mock/f41-build-50503919-6046063/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.haji5qyu:/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 -bb --noclean --target noarch --nodeps /builddir/build/SPECS/etckeeper.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 warning: extra tokens at the end of %endif directive in line 49: %endif # dnf_is_mandatory warning: extra tokens at the end of %endif directive in line 82: %endif # with_bzr warning: extra tokens at the end of %endif directive in line 97: %endif # with_brz warning: extra tokens at the end of %endif directive in line 107: %endif # dnf_uses_python3 warning: extra tokens at the end of %endif directive in line 156: %endif # with_bzr warning: extra tokens at the end of %endif directive in line 163: %endif # with_brz warning: extra tokens at the end of %endif directive in line 171: %endif # dnf_uses_python3 warning: extra tokens at the end of %endif directive in line 185: %endif # with_bzr warning: extra tokens at the end of %endif directive in line 192: %endif # with_brz warning: extra tokens at the end of %endif directive in line 200: %endif # dnf_uses_python3 warning: extra tokens at the end of %endif directive in line 206: %endif # dnf_is_mandatory warning: extra tokens at the end of %endif directive in line 251: %endif # with_yum warning: extra tokens at the end of %endif directive in line 262: %endif # with_bzr warning: extra tokens at the end of %endif directive in line 274: %endif # with_brz warning: extra tokens at the end of %endif directive in line 290: %endif # dnf_uses_python3 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706054400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wXAw19 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf etckeeper-1.18.20 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/etckeeper-1.18.20.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd etckeeper-1.18.20 + rm -rf /builddir/build/BUILD/etckeeper-1.18.20-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/etckeeper-1.18.20-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/etckeeper-makefile-remove-python-plugins.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/etckeeper-1.18.7-fix-rpm-ignores.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/etckeeper-1.18.18-fix-hg-warnings.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/etckeeper-add-breezy-python3-plugin.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/etckeeper-1.18.18-fix-output-for-ansible.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -e 's|HIGHLEVEL_PACKAGE_MANAGER=.*|HIGHLEVEL_PACKAGE_MANAGER=dnf|' -e 's|LOWLEVEL_PACKAGE_MANAGER=.*|LOWLEVEL_PACKAGE_MANAGER=rpm|' -i etckeeper.conf + sed -e 's|^prefix=.*|prefix=/usr|' -e 's|^bindir=.*|bindir=/usr/bin|' -e 's|^etcdir=.*|etcdir=/etc|' -e 's|^mandir=.*|mandir=/usr/share/man|' -e 's|^vardir=.*|vardir=/var|' -e 's|^INSTALL=.*|INSTALL=install -p|' -e 's|^CP=.*|CP=cp -pR|' -e 's|^systemddir=.*|systemddir=/usr/lib/systemd/system|' -i Makefile + mkdir bzr-plugin + mv etckeeper-bzr bzr-plugin + mkdir brz-plugin + mv etckeeper-brz brz-plugin + mkdir dnf-plugin + mv etckeeper-dnf dnf-plugin + cp -av /builddir/build/SOURCES/README.fedora . '/builddir/build/SOURCES/README.fedora' -> './README.fedora' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0qLrnR + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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-errors -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 etckeeper-1.18.20 + /usr/bin/make -O -j48 V=1 VERBOSE=1 sed -i~ "s/Version:.*/Version: $(perl -e '$_=<>;m/\((.*?)(-.*)?\)/;print $1;';m/\((.*?)(-.*)?\)/;print $1;' ;m/\((.*?)(-.*)?\)/;print $1;'