Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/etckeeper.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674260800.979368/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1goz02ad:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1goz02ad:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'adf799766cd140178c2aa0416771fa81', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674260800.979368/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1goz02ad:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/etckeeper-1.18.18-2.fc38.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 --target x86_64 --nodeps /builddir/build/SPECS/etckeeper.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674260800.979368/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1goz02ad:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1goz02ad:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9d818b380d094319abaae0d8a1072716', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674260800.979368/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1goz02ad:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EAeUor + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf etckeeper-1.18.18 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/etckeeper-1.18.18.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd etckeeper-1.18.18 + /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.cPOjLM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd etckeeper-1.18.18 + /usr/bin/make -O -j2 V=1 VERBOSE=1 sed -i~ "s/Version:.*/Version: $(perl -e '$_=<>;m/\((.*?)(-.*)?\)/;print $1;';m/\((.*?)(-.*)?\)/;print $1;' build/lib/breezy/plugins/etckeeper + popd + pushd dnf-plugin ~/build/BUILD/etckeeper-1.18.18 ~/build/BUILD/etckeeper-1.18.18/dnf-plugin ~/build/BUILD/etckeeper-1.18.18 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 etckeeper-dnf/etckeeper.py build build '--executable=/usr/bin/python3 -sP' /builddir/build/BUILD/etckeeper-1.18.18/dnf-plugin/etckeeper-dnf/etckeeper.py:40: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup running build running build_py creating build creating build/lib creating build/lib/dnf-plugins copying etckeeper-dnf/etckeeper.py -> build/lib/dnf-plugins copying etckeeper-dnf/__init__.py -> build/lib/dnf-plugins + popd ~/build/BUILD/etckeeper-1.18.18 + markdown_py -f README.html README.md + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0HwV7Y + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd etckeeper-1.18.18 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64 'INSTALL=/usr/bin/install -p' sed -i~ "s/Version:.*/Version: $(perl -e '$_=<>;m/\((.*?)(-.*)?\)/;print $1;' /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/lib/python3.11/site-packages/breezy/plugins/etckeeper byte-compiling /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/lib/python3.11/site-packages/breezy/plugins/etckeeper/__init__.py to __init__.cpython-311.pyc writing byte-compilation script '/tmp/tmpwnyn1c2b.py' /usr/bin/python3 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmpwnyn1c2b.py removing /tmp/tmpwnyn1c2b.py running install_egg_info Writing /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/lib/python3.11/site-packages/brz_etckeeper-0.0.0-py3.11.egg-info + rm -rfv /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/bin/__pycache__ + popd + pushd dnf-plugin ~/build/BUILD/etckeeper-1.18.18 ~/build/BUILD/etckeeper-1.18.18/dnf-plugin ~/build/BUILD/etckeeper-1.18.18 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 etckeeper-dnf/etckeeper.py build install -O1 --skip-build --root /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64 --prefix /usr /builddir/build/BUILD/etckeeper-1.18.18/dnf-plugin/etckeeper-dnf/etckeeper.py:40: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup running build running build_py running install running install_lib creating /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/lib/python3.11/site-packages/dnf-plugins copying build/lib/dnf-plugins/__init__.py -> /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/lib/python3.11/site-packages/dnf-plugins copying build/lib/dnf-plugins/etckeeper.py -> /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/lib/python3.11/site-packages/dnf-plugins byte-compiling /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/lib/python3.11/site-packages/dnf-plugins/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/lib/python3.11/site-packages/dnf-plugins/etckeeper.py to etckeeper.cpython-311.pyc writing byte-compilation script '/tmp/tmphjbvydn2.py' /usr/bin/python3 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmphjbvydn2.py removing /tmp/tmphjbvydn2.py running install_egg_info Writing /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/lib/python3.11/site-packages/dnf_etckeeper-0.0.0-py3.11.egg-info + rm -rfv /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/bin/__pycache__ + popd ~/build/BUILD/etckeeper-1.18.18 + sed -e 's|HIGHLEVEL_PACKAGE_MANAGER=.*|HIGHLEVEL_PACKAGE_MANAGER=dnf|' -i /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/etc/etckeeper/etckeeper.conf + install -D -p /builddir/build/SOURCES/cron.daily /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/etc/cron.daily/etckeeper + install -d /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/var/cache/etckeeper + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.18.18-2.fc38 --unique-debug-suffix -1.18.18-2.fc38.x86_64 --unique-debug-src-base etckeeper-1.18.18-2.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/etckeeper-1.18.18 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/etckeeper from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/cron.daily/etckeeper from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/daily from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/vcs.d/50vcs-cmd from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/update-ignore.d/01update-ignore from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/uninit.d/50vcs-uninit from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/uninit.d/50remove-metadata from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/uninit.d/01prompt from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/unclean.d/50test from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/pre-install.d/50uncommitted-changes from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/pre-install.d/10packagelist from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/pre-commit.d/20warn-problem-files from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/pre-commit.d/30store-metadata from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/post-install.d/50vcs-commit from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/list-installed.d/50list-installed from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/init.d/70vcs-add from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/init.d/60darcs-deleted-symlinks from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/init.d/50vcs-pre-commit-hook from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/init.d/50vcs-perm from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/init.d/50vcs-ignore from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/init.d/40vcs-init from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/init.d/20restore-etckeeper from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/init.d/10restore-metadata from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/commit.d/99push from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/commit.d/50vcs-commit from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/commit.d/30hg-addremove from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/commit.d/30git-add from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/commit.d/30darcs-add from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/commit.d/30bzr-add from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/etckeeper/commit.d/10vcs-test from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: etckeeper-1.18.18-2.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9IoR9V + umask 022 + cd /builddir/build/BUILD + cd etckeeper-1.18.18 + DOCDIR=/builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/share/doc/etckeeper + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/share/doc/etckeeper + cp -pr README.html /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/share/doc/etckeeper + cp -pr README.fedora /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/share/doc/etckeeper + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.eKDA4n + umask 022 + cd /builddir/build/BUILD + cd etckeeper-1.18.18 + LICENSEDIR=/builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/share/licenses/etckeeper + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/share/licenses/etckeeper + cp -pr GPL /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64/usr/share/licenses/etckeeper + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(etckeeper) = 1.18.18-2.fc38 etckeeper = 1.18.18-2.fc38 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/sh Processing files: etckeeper-brz-1.18.18-2.fc38.noarch Provides: etckeeper-brz = 1.18.18-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 Processing files: etckeeper-dnf-1.18.18-2.fc38.noarch Provides: etckeeper-dnf = 1.18.18-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64 Wrote: /builddir/build/RPMS/etckeeper-dnf-1.18.18-2.fc38.noarch.rpm Wrote: /builddir/build/RPMS/etckeeper-1.18.18-2.fc38.noarch.rpm Wrote: /builddir/build/RPMS/etckeeper-brz-1.18.18-2.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aRrA00 + umask 022 + cd /builddir/build/BUILD + cd etckeeper-1.18.18 + /usr/bin/rm -rf /builddir/build/BUILDROOT/etckeeper-1.18.18-2.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.AhAgpw + umask 022 + cd /builddir/build/BUILD + rm -rf etckeeper-1.18.18 etckeeper-1.18.18.gemspec + RPM_EC=0 ++ jobs -p + exit 0 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