Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/dracut.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-119526-8507/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/dracut.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/dracut-059-6.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dracut.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-119526-8507/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dracut.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jhYOIg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dracut-059 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dracut-059.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dracut-059 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'dracut-059 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1521-Never-enable-the-bluetooth-module-by-default.patch + /usr/bin/git apply --index --reject -p1 - Checking patch modules.d/62bluetooth/module-setup.sh... Applied patch modules.d/62bluetooth/module-setup.sh cleanly. + /usr/bin/git commit -q -m 1521-Never-enable-the-bluetooth-module-by-default.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1825-Skip-creating-initrd-when-initrd-is-provided.patch + /usr/bin/git apply --index --reject -p1 - Checking patch install.d/50-dracut.install... Checking patch install.d/51-dracut-rescue.install... Checking patch install.d/50-dracut.install... Applied patch install.d/50-dracut.install cleanly. Applied patch install.d/51-dracut-rescue.install cleanly. Applied patch install.d/50-dracut.install cleanly. + /usr/bin/git commit -q -m 1825-Skip-creating-initrd-when-initrd-is-provided.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/2218-add-module-driver-support-for-macbook-keyboards.patch + /usr/bin/git apply --index --reject -p1 - Checking patch modules.d/90kernel-modules/module-setup.sh... Hunk #1 succeeded at 54 (offset -1 lines). Applied patch modules.d/90kernel-modules/module-setup.sh cleanly. + /usr/bin/git commit -q -m 2218-add-module-driver-support-for-macbook-keyboards.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/2233-dmsquash-live-restore-compatibility.patch + /usr/bin/git apply --index --reject -p1 - Checking patch modules.d/90dmsquash-live/dmsquash-live-root.sh... Applied patch modules.d/90dmsquash-live/dmsquash-live-root.sh cleanly. + /usr/bin/git commit -q -m 2233-dmsquash-live-restore-compatibility.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/2237-kmoddir-fix-trailing-forwardslash-handling.patch + /usr/bin/git apply --index --reject -p1 - Checking patch dracut.sh... Hunk #1 succeeded at 1032 (offset -1 lines). Applied patch dracut.sh cleanly. + /usr/bin/git commit -q -m 2237-kmoddir-fix-trailing-forwardslash-handling.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/2134-revert-avoid-restarting-NetworkManager.patch + /usr/bin/git apply --index --reject -p1 - Checking patch modules.d/35network-manager/nm-run.sh... Applied patch modules.d/35network-manager/nm-run.sh cleanly. + /usr/bin/git commit -q -m 2134-revert-avoid-restarting-NetworkManager.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/2224-network-include-default-mac-none-link.patch + /usr/bin/git apply --index --reject -p1 - Checking patch modules.d/01systemd-networkd/module-setup.sh... Checking patch modules.d/35network-legacy/module-setup.sh... Hunk #1 succeeded at 22 (offset -1 lines). Checking patch modules.d/35network-manager/module-setup.sh... Applied patch modules.d/01systemd-networkd/module-setup.sh cleanly. Applied patch modules.d/35network-legacy/module-setup.sh cleanly. Applied patch modules.d/35network-manager/module-setup.sh cleanly. + /usr/bin/git commit -q -m 2224-network-include-default-mac-none-link.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/2290-remove-dependency-on-multipathd-socket.patch + /usr/bin/git apply --index --reject -p1 - Checking patch modules.d/90multipath/module-setup.sh... Checking patch modules.d/90multipath/multipathd.service... Applied patch modules.d/90multipath/module-setup.sh cleanly. Applied patch modules.d/90multipath/multipathd.service cleanly. + /usr/bin/git commit -q -m 2290-remove-dependency-on-multipathd-socket.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/2377-fix-kernel-modules-add-interconnect-drivers.patch + /usr/bin/git apply --index --reject -p1 - Checking patch modules.d/90kernel-modules/module-setup.sh... Hunk #1 succeeded at 70 (offset -1 lines). Applied patch modules.d/90kernel-modules/module-setup.sh cleanly. + /usr/bin/git commit -q -m 2377-fix-kernel-modules-add-interconnect-drivers.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/2184-add-nvmeof-module.patch + /usr/bin/git apply --index --reject -p1 - Checking patch man/dracut.cmdline.7.asc... Checking patch modules.d/95nvmf/module-setup.sh... Checking patch modules.d/95nvmf/nbftroot.sh... Checking patch modules.d/95nvmf/nvmf-autoconnect.sh... Checking patch modules.d/95nvmf/parse-nvmf-boot-connections.sh... Applied patch man/dracut.cmdline.7.asc cleanly. Applied patch modules.d/95nvmf/module-setup.sh cleanly. Applied patch modules.d/95nvmf/nbftroot.sh cleanly. Applied patch modules.d/95nvmf/nvmf-autoconnect.sh cleanly. Applied patch modules.d/95nvmf/parse-nvmf-boot-connections.sh cleanly. + /usr/bin/git commit -q -m 2184-add-nvmeof-module.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-fix-dracut.sh-use-dynamically-uefi-s-sections-offset.patch + /usr/bin/git apply --index --reject -p1 - Checking patch dracut-functions.sh... Checking patch dracut.sh... Applied patch dracut-functions.sh cleanly. Applied patch dracut.sh cleanly. + /usr/bin/git commit -q -m 0001-fix-dracut.sh-use-dynamically-uefi-s-sections-offset.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-rootfs-generator.patch + /usr/bin/git apply --index --reject -p1 - Checking patch modules.d/98dracut-systemd/module-setup.sh... Checking patch modules.d/98dracut-systemd/parse-root.sh... Checking patch modules.d/98dracut-systemd/rootfs-generator.sh... Applied patch modules.d/98dracut-systemd/module-setup.sh cleanly. Applied patch modules.d/98dracut-systemd/parse-root.sh cleanly. Applied patch modules.d/98dracut-systemd/rootfs-generator.sh cleanly. + /usr/bin/git commit -q -m fix-rootfs-generator.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/remove-microcode-check.patch + /usr/bin/git apply --index --reject -p1 - Checking patch dracut.sh... Hunk #1 succeeded at 1492 (offset -69 lines). Applied patch dracut.sh cleanly. + /usr/bin/git commit -q -m remove-microcode-check.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/backport-feat-systemd-install-systemd-executor.patch + /usr/bin/git apply --index --reject -p1 - Checking patch modules.d/00systemd/module-setup.sh... Applied patch modules.d/00systemd/module-setup.sh cleanly. + /usr/bin/git commit -q -m backport-feat-systemd-install-systemd-executor.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-rename-systemd-pcrphase-binary-to-systemd-pcrextend.patch + /usr/bin/git apply --index --reject -p1 - Checking patch modules.d/01systemd-pcrphase/module-setup.sh... Applied patch modules.d/01systemd-pcrphase/module-setup.sh cleanly. + /usr/bin/git commit -q -m 0001-rename-systemd-pcrphase-binary-to-systemd-pcrextend.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-add-new-systemd-hibernate-resume.service.patch + /usr/bin/git apply --index --reject -p1 - Checking patch modules.d/95resume/module-setup.sh... error: while searching for: if dracut_module_included "systemd" && [[ -x $dracutsysrootdir$systemdutildir/systemd-hibernate-resume ]]; then inst_multiple -o \ "$systemdutildir"/system-generators/systemd-hibernate-resume-generator \ "$systemdsystemunitdir"/systemd-hibernate-resume@.service \ "$systemdutildir"/systemd-hibernate-resume return 0 error: patch failed: modules.d/95resume/module-setup.sh:44 Applying patch modules.d/95resume/module-setup.sh with 1 reject... Rejected hunk #1. error: Bad exit status from /var/tmp/rpm-tmp.jhYOIg (%prep) Bad exit status from /var/tmp/rpm-tmp.jhYOIg (%prep) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dracut.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dracut.spec