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/grub2.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41519-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/grub2.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/grub2-2.06-3.oc9.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/grub2.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41519-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/grub2.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.AM0w9f + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf grub-2.06 + /usr/bin/tar -xof - + /usr/bin/xz -dc /builddir/build/SOURCES/grub-2.06.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd grub-2.06 + /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 'grub2-2.06 base' + /usr/bin/git branch rpm-build + /usr/bin/git checkout rpm-build Switched to branch 'rpm-build' + /usr/bin/git branch --set-upstream-to=master branch 'rpm-build' set up to track 'master'. + rm -fv docs/grub-dev.info docs/grub.info removed 'docs/grub-dev.info' removed 'docs/grub.info' + cp /builddir/build/SOURCES/bootstrap bootstrap + cp /builddir/build/SOURCES/bootstrap.conf bootstrap.conf + cp /builddir/build/SOURCES/gnulib-9f48fb992a3d7e96610c4ce8be969cff2d61a01b.tar.gz gnulib-9f48fb992a3d7e96610c4ce8be969cff2d61a01b.tar.gz + tar -zxf gnulib-9f48fb992a3d7e96610c4ce8be969cff2d61a01b.tar.gz + mv gnulib-9f48fb992a3d7e96610c4ce8be969cff2d61a01b gnulib + git add . + git commit -aqm 'modify done' + /usr/bin/cat /builddir/build/SOURCES/0002-Revert-templates-Properly-disable-the-os-prober-by-d.patch + /usr/bin/git am --reject -q -p1 Checking patch util/grub-mkconfig.in... Checking patch util/grub.d/30_os-prober.in... Applied patch util/grub-mkconfig.in cleanly. Applied patch util/grub.d/30_os-prober.in cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0003-Revert-templates-Disable-the-os-prober-by-default.patch Checking patch docs/grub.texi... Checking patch util/grub.d/30_os-prober.in... Applied patch docs/grub.texi cleanly. Applied patch util/grub.d/30_os-prober.in cleanly. + /usr/bin/cat /builddir/build/SOURCES/0004-Add-support-for-Linux-EFI-stub-loading.patch + /usr/bin/git am --reject -q -p1 Checking patch grub-core/Makefile.core.def... Checking patch grub-core/kern/dl.c... Checking patch grub-core/kern/efi/efi.c... Checking patch grub-core/kern/efi/mm.c... Checking patch grub-core/loader/arm64/linux.c... Checking patch grub-core/loader/arm64/xen_boot.c... Checking patch grub-core/loader/efi/linux.c... Checking patch grub-core/loader/i386/efi/linux.c... Checking patch grub-core/loader/i386/pc/linux.c... Checking patch include/grub/arm/linux.h... Checking patch include/grub/arm64/linux.h... Checking patch include/grub/efi/efi.h... Checking patch include/grub/efi/linux.h... Applied patch grub-core/Makefile.core.def cleanly. Applied patch grub-core/kern/dl.c cleanly. Applied patch grub-core/kern/efi/efi.c cleanly. Applied patch grub-core/kern/efi/mm.c cleanly. Applied patch grub-core/loader/arm64/linux.c cleanly. Applied patch grub-core/loader/arm64/xen_boot.c cleanly. Applied patch grub-core/loader/efi/linux.c cleanly. Applied patch grub-core/loader/i386/efi/linux.c cleanly. Applied patch grub-core/loader/i386/pc/linux.c cleanly. Applied patch include/grub/arm/linux.h cleanly. Applied patch include/grub/arm64/linux.h cleanly. Applied patch include/grub/efi/efi.h cleanly. Applied patch include/grub/efi/linux.h cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0005-Rework-linux-command.patch Checking patch grub-core/loader/i386/linux.c... Applied patch grub-core/loader/i386/linux.c cleanly. + /usr/bin/cat /builddir/build/SOURCES/0006-Rework-linux16-command.patch + /usr/bin/git am --reject -q -p1 Checking patch grub-core/loader/i386/pc/linux.c... Applied patch grub-core/loader/i386/pc/linux.c cleanly. + /usr/bin/cat /builddir/build/SOURCES/0007-Add-secureboot-support-on-efi-chainloader.patch + /usr/bin/git am --reject -q -p1 Checking patch grub-core/kern/efi/efi.c... Checking patch grub-core/loader/arm64/linux.c... Checking patch grub-core/loader/efi/chainloader.c... Checking patch grub-core/loader/efi/linux.c... Checking patch grub-core/loader/i386/efi/linux.c... Checking patch include/grub/efi/linux.h... Checking patch include/grub/efi/pe32.h... Applied patch grub-core/kern/efi/efi.c cleanly. Applied patch grub-core/loader/arm64/linux.c cleanly. Applied patch grub-core/loader/efi/chainloader.c cleanly. Applied patch grub-core/loader/efi/linux.c cleanly. Applied patch grub-core/loader/i386/efi/linux.c cleanly. Applied patch include/grub/efi/linux.h cleanly. Applied patch include/grub/efi/pe32.h cleanly. + /usr/bin/cat /builddir/build/SOURCES/0008-Make-any-of-the-loaders-that-link-in-efi-mode-honor-.patch + /usr/bin/git am --reject -q -p1 Checking patch grub-core/commands/iorw.c... Checking patch grub-core/commands/memrw.c... Checking patch grub-core/kern/dl.c... Checking patch grub-core/kern/efi/efi.c... Checking patch grub-core/loader/efi/appleloader.c... Checking patch grub-core/loader/efi/chainloader.c... Checking patch grub-core/loader/i386/bsd.c... Checking patch grub-core/loader/i386/linux.c... Checking patch grub-core/loader/i386/pc/linux.c... Checking patch grub-core/loader/multiboot.c... Checking patch grub-core/loader/xnu.c... Checking patch include/grub/efi/efi.h... Checking patch include/grub/ia64/linux.h... Checking patch include/grub/mips/linux.h... Checking patch include/grub/powerpc/linux.h... Checking patch include/grub/sparc64/linux.h... Applied patch grub-core/commands/iorw.c cleanly. Applied patch grub-core/commands/memrw.c cleanly. Applied patch grub-core/kern/dl.c cleanly. Applied patch grub-core/kern/efi/efi.c cleanly. Applied patch grub-core/loader/efi/appleloader.c cleanly. Applied patch grub-core/loader/efi/chainloader.c cleanly. Applied patch grub-core/loader/i386/bsd.c cleanly. Applied patch grub-core/loader/i386/linux.c cleanly. Applied patch grub-core/loader/i386/pc/linux.c cleanly. Applied patch grub-core/loader/multiboot.c cleanly. Applied patch grub-core/loader/xnu.c cleanly. Applied patch include/grub/efi/efi.h cleanly. Applied patch include/grub/ia64/linux.h cleanly. Applied patch include/grub/mips/linux.h cleanly. Applied patch include/grub/powerpc/linux.h cleanly. Applied patch include/grub/sparc64/linux.h cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0009-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch Checking patch grub-core/loader/efi/linux.c... Checking patch grub-core/loader/i386/efi/linux.c... Checking patch include/grub/i386/linux.h... Applied patch grub-core/loader/efi/linux.c cleanly. Applied patch grub-core/loader/i386/efi/linux.c cleanly. Applied patch include/grub/i386/linux.h cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0011-IBM-client-architecture-CAS-reboot-support.patch Checking patch grub-core/kern/ieee1275/openfw.c... Checking patch grub-core/normal/main.c... Checking patch grub-core/script/execute.c... Checking patch include/grub/ieee1275/ieee1275.h... Applied patch grub-core/kern/ieee1275/openfw.c cleanly. Applied patch grub-core/normal/main.c cleanly. Applied patch grub-core/script/execute.c cleanly. Applied patch include/grub/ieee1275/ieee1275.h cleanly. + /usr/bin/cat /builddir/build/SOURCES/0012-for-ppc-reset-console-display-attr-when-clear-screen.patch + /usr/bin/git am --reject -q -p1 Checking patch grub-core/term/terminfo.c... Applied patch grub-core/term/terminfo.c cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0013-Disable-GRUB-video-support-for-IBM-power-machines.patch .git/rebase-apply/patch:51: trailing whitespace. Checking patch grub-core/kern/ieee1275/cmain.c... Checking patch grub-core/video/ieee1275.c... Checking patch include/grub/ieee1275/ieee1275.h... Applied patch grub-core/kern/ieee1275/cmain.c cleanly. Applied patch grub-core/video/ieee1275.c cleanly. Applied patch include/grub/ieee1275/ieee1275.h cleanly. warning: 1 line adds whitespace errors. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0014-Move-bash-completion-script-922997.patch Checking patch configure.ac... Checking patch util/bash-completion.d/Makefile.am... Applied patch configure.ac cleanly. Applied patch util/bash-completion.d/Makefile.am cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0015-Allow-fallback-to-include-entries-by-title-not-just-.patch Checking patch grub-core/normal/menu.c... Applied patch grub-core/normal/menu.c cleanly. + /usr/bin/cat /builddir/build/SOURCES/0016-Make-exit-take-a-return-code.patch + /usr/bin/git am --reject -q -p1 Checking patch grub-core/commands/minicmd.c... Checking patch grub-core/kern/efi/efi.c... Checking patch grub-core/kern/emu/main.c... Checking patch grub-core/kern/emu/misc.c... Checking patch grub-core/kern/i386/coreboot/init.c... Checking patch grub-core/kern/i386/qemu/init.c... Checking patch grub-core/kern/ieee1275/init.c... Checking patch grub-core/kern/mips/arc/init.c... Checking patch grub-core/kern/mips/loongson/init.c... Checking patch grub-core/kern/mips/qemu_mips/init.c... Checking patch grub-core/kern/misc.c... Checking patch grub-core/kern/uboot/init.c... Checking patch grub-core/kern/xen/init.c... Checking patch include/grub/misc.h... Applied patch grub-core/commands/minicmd.c cleanly. Applied patch grub-core/kern/efi/efi.c cleanly. Applied patch grub-core/kern/emu/main.c cleanly. Applied patch grub-core/kern/emu/misc.c cleanly. Applied patch grub-core/kern/i386/coreboot/init.c cleanly. Applied patch grub-core/kern/i386/qemu/init.c cleanly. Applied patch grub-core/kern/ieee1275/init.c cleanly. Applied patch grub-core/kern/mips/arc/init.c cleanly. Applied patch grub-core/kern/mips/loongson/init.c cleanly. Applied patch grub-core/kern/mips/qemu_mips/init.c cleanly. Applied patch grub-core/kern/misc.c cleanly. Applied patch grub-core/kern/uboot/init.c cleanly. Applied patch grub-core/kern/xen/init.c cleanly. Applied patch include/grub/misc.h cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0017-Make-efi-machines-load-an-env-block-from-a-variable.patch Checking patch grub-core/Makefile.core.def... Checking patch grub-core/kern/efi/init.c... Applied patch grub-core/Makefile.core.def cleanly. Applied patch grub-core/kern/efi/init.c cleanly. + /usr/bin/cat /builddir/build/SOURCES/0018-Migrate-PPC-from-Yaboot-to-Grub2.patch + /usr/bin/git am --reject -q -p1 Checking patch Makefile.util.def... Checking patch util/grub.d/20_ppc_terminfo.in... Applied patch Makefile.util.def cleanly. Applied patch util/grub.d/20_ppc_terminfo.in cleanly. + /usr/bin/cat /builddir/build/SOURCES/0019-Add-fw_path-variable-revised.patch + /usr/bin/git am --reject -q -p1 Checking patch grub-core/kern/main.c... Checking patch grub-core/normal/main.c... Applied patch grub-core/kern/main.c cleanly. Applied patch grub-core/normal/main.c cleanly. + /usr/bin/cat /builddir/build/SOURCES/0020-Pass-x-hex-hex-straight-through-unmolested.patch + /usr/bin/git am --reject -q -p1 Checking patch grub-core/commands/wildcard.c... Checking patch grub-core/lib/cmdline.c... Checking patch grub-core/script/execute.c... Applied patch grub-core/commands/wildcard.c cleanly. Applied patch grub-core/lib/cmdline.c cleanly. Applied patch grub-core/script/execute.c cleanly. + /usr/bin/cat /builddir/build/SOURCES/0021-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch + /usr/bin/git am --reject -q -p1 Checking patch grub-core/Makefile.core.def... Checking patch grub-core/commands/blscfg.c... Checking patch grub-core/commands/legacycfg.c... Checking patch grub-core/commands/loadenv.c... Checking patch grub-core/commands/menuentry.c... Checking patch grub-core/normal/main.c... Checking patch grub-core/commands/loadenv.h... Checking patch include/grub/compiler.h... Checking patch include/grub/menu.h... Checking patch include/grub/normal.h... Applied patch grub-core/Makefile.core.def cleanly. Applied patch grub-core/commands/blscfg.c cleanly. Applied patch grub-core/commands/legacycfg.c cleanly. Applied patch grub-core/commands/loadenv.c cleanly. Applied patch grub-core/commands/menuentry.c cleanly. Applied patch grub-core/normal/main.c cleanly. Applied patch grub-core/commands/loadenv.h cleanly. Applied patch include/grub/compiler.h cleanly. Applied patch include/grub/menu.h cleanly. Applied patch include/grub/normal.h cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0022-Add-devicetree-loading.patch Checking patch util/grub-mkconfig.in... Checking patch util/grub.d/10_linux.in... Applied patch util/grub-mkconfig.in cleanly. Applied patch util/grub.d/10_linux.in cleanly. + /usr/bin/cat /builddir/build/SOURCES/0023-Enable-pager-by-default.-985860.patch + /usr/bin/git am --reject -q -p1 Checking patch util/grub.d/00_header.in... Applied patch util/grub.d/00_header.in cleanly. + /usr/bin/cat /builddir/build/SOURCES/0024-Don-t-say-GNU-Linux-in-generated-menus.patch + /usr/bin/git am --reject -q -p1 Checking patch grub-core/normal/main.c... Checking patch tests/util/grub-shell-tester.in... Checking patch tests/util/grub-shell.in... Checking patch util/grub.d/10_linux.in... Checking patch util/grub.d/20_linux_xen.in... Applied patch grub-core/normal/main.c cleanly. Applied patch tests/util/grub-shell-tester.in cleanly. Applied patch tests/util/grub-shell.in cleanly. Applied patch util/grub.d/10_linux.in cleanly. Applied patch util/grub.d/20_linux_xen.in cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0025-Add-.eh_frame-to-list-of-relocations-stripped.patch Checking patch conf/Makefile.common... Applied patch conf/Makefile.common cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0026-Don-t-require-a-password-to-boot-entries-generated-b.patch Checking patch util/grub.d/10_linux.in... Applied patch util/grub.d/10_linux.in cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0027-use-fw_path-prefix-when-fallback-searching-for-grub-.patch Checking patch grub-core/normal/main.c... Applied patch grub-core/normal/main.c cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0028-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch Checking patch grub-core/normal/main.c... Applied patch grub-core/normal/main.c cleanly. + /usr/bin/cat /builddir/build/SOURCES/0029-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch + /usr/bin/git am --reject -q -p1 Checking patch util/grub.d/10_linux.in... Applied patch util/grub.d/10_linux.in cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0030-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch Checking patch util/grub-mkconfig_lib.in... Applied patch util/grub-mkconfig_lib.in cleanly. + /usr/bin/cat /builddir/build/SOURCES/0031-Try-prefix-if-fw_path-doesn-t-work.patch + /usr/bin/git am --reject -q -p1 Checking patch grub-core/kern/ieee1275/init.c... Checking patch grub-core/net/net.c... Checking patch grub-core/normal/main.c... Applied patch grub-core/kern/ieee1275/init.c cleanly. Applied patch grub-core/net/net.c cleanly. Applied patch grub-core/normal/main.c cleanly. + /usr/bin/git am --reject -q -p1 + /usr/bin/cat /builddir/build/SOURCES/0032-Use-rpm-s-sort-for-grub2-mkconfig.patch Checking patch configure.ac... Checking patch Makefile.util.def... Checking patch util/grub-rpm-sort.c... Checking patch docs/man/grub-rpm-sort.h2m... Checking patch util/grub-mkconfig_lib.in... Applied patch configure.ac cleanly. Applied patch Makefile.util.def cleanly. Applied patch util/grub-rpm-sort.c cleanly. Applied patch docs/man/grub-rpm-sort.h2m cleanly. Applied patch util/grub-mkconfig_lib.in cleanly.