Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/edk2.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-336148-69644/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/edk2.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/edk2-20220126gitbb1bba3d77-5.an8.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/edk2.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-336148-69644/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/edk2.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.EZzegX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf edk2-bb1bba3d77 + /usr/bin/xz -dc /builddir/build/SOURCES/edk2-bb1bba3d77.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd edk2-bb1bba3d77 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + PATCHCOUNT=39 + PATCHLIST=/tmp/lua_B3mwYd + git init -q + git config user.name rpm-build + git config user.email rpm-build + git config core.whitespace cr-at-eol + git config am.keepcr true + git add -A . + git commit -q -a --author 'rpm-build ' -m 'edk2-bb1bba3d77 base' ++ grep '\.patch$' /tmp/lua_B3mwYd ++ wc -l + COUNT=39 + '[' 39 -ne 39 ']' + '[' 39 -gt 0 ']' ++ cat /tmp/lua_B3mwYd + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0008-BaseTools-do-not-build-BrotliCompress-RH-only.patch warning: quoted CRLF detected Applying: BaseTools: do not build BrotliCompress (RH only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0009-MdeModulePkg-remove-package-private-Brotli-include-p.patch warning: quoted CRLF detected Applying: MdeModulePkg: remove package-private Brotli include path (RH only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0010-OvmfPkg-increase-max-debug-message-length-to-512-RHE.patch warning: quoted CRLF detected Applying: OvmfPkg: increase max debug message length to 512 (RHEL only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0011-MdeModulePkg-TerminalDxe-add-other-text-resolutions-.patch warning: quoted CRLF detected Applying: MdeModulePkg: TerminalDxe: add other text resolutions (RHEL only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0012-MdeModulePkg-TerminalDxe-set-xterm-resolution-on-mod.patch warning: quoted CRLF detected Applying: MdeModulePkg: TerminalDxe: set xterm resolution on mode change (RH only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0013-OvmfPkg-take-PcdResizeXterm-from-the-QEMU-command-li.patch warning: quoted CRLF detected Applying: OvmfPkg: take PcdResizeXterm from the QEMU command line (RH only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0014-ArmVirtPkg-take-PcdResizeXterm-from-the-QEMU-command.patch warning: quoted CRLF detected Applying: ArmVirtPkg: take PcdResizeXterm from the QEMU command line (RH only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0015-OvmfPkg-allow-exclusion-of-the-shell-from-the-firmwa.patch warning: quoted CRLF detected Applying: OvmfPkg: allow exclusion of the shell from the firmware image (RH only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0016-ArmPlatformPkg-introduce-fixed-PCD-for-early-hello-m.patch warning: quoted CRLF detected Applying: ArmPlatformPkg: introduce fixed PCD for early hello message (RH only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0017-ArmPlatformPkg-PrePeiCore-write-early-hello-message-.patch warning: quoted CRLF detected Applying: ArmPlatformPkg: PrePeiCore: write early hello message to the serial port (RH) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0018-ArmVirtPkg-set-early-hello-message-RH-only.patch warning: quoted CRLF detected Applying: ArmVirtPkg: set early hello message (RH only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0019-OvmfPkg-enable-DEBUG_VERBOSE-RHEL-only.patch warning: quoted CRLF detected Applying: OvmfPkg: enable DEBUG_VERBOSE (RHEL only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0020-OvmfPkg-silence-DEBUG_VERBOSE-0x00400000-in-QemuVide.patch warning: quoted CRLF detected Applying: OvmfPkg: silence DEBUG_VERBOSE (0x00400000) in QemuVideoDxe/QemuRamfbDxe (RH) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0021-ArmVirtPkg-silence-DEBUG_VERBOSE-0x00400000-in-QemuR.patch warning: quoted CRLF detected Applying: ArmVirtPkg: silence DEBUG_VERBOSE (0x00400000) in QemuRamfbDxe (RH only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0022-OvmfPkg-QemuRamfbDxe-Do-not-report-DXE-failure-on-Aa.patch warning: quoted CRLF detected Applying: OvmfPkg: QemuRamfbDxe: Do not report DXE failure on Aarch64 silent builds (RH only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0023-OvmfPkg-silence-EFI_D_VERBOSE-0x00400000-in-NvmExpre.patch warning: quoted CRLF detected Applying: OvmfPkg: silence EFI_D_VERBOSE (0x00400000) in NvmExpressDxe (RH only) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0024-CryptoPkg-OpensslLib-list-RHEL8-specific-OpenSSL-fil.patch warning: quoted CRLF detected Applying: CryptoPkg/OpensslLib: list RHEL8-specific OpenSSL files in the INFs (RH) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0025-OvmfPkg-QemuKernelLoaderFsDxe-suppress-error-on-no-k.patch warning: quoted CRLF detected Applying: OvmfPkg/QemuKernelLoaderFsDxe: suppress error on no "-kernel" in silent aa64 build (RH) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0026-SecurityPkg-Tcg2Dxe-suppress-error-on-no-swtpm-in-si.patch warning: quoted CRLF detected Applying: SecurityPkg/Tcg2Dxe: suppress error on no swtpm in silent aa64 build (RH) Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/edk2-OvmfPkg-AmdSev-SecretPei-Mark-SEV-launch-secret-area.patch warning: quoted CRLF detected Applying: OvmfPkg/AmdSev/SecretPei: Mark SEV launch secret area as reserved Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/edk2-rh-openssl-add-crypto-bn-rsa_sup_mul.c-to-file-list.patch warning: quoted CRLF detected Applying: rh openssl: add crypto/bn/rsa_sup_mul.c to file list Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0029-anolis-UefiCpuPkg-Add-StandardSignatureIsHygonGenuin.patch warning: quoted CRLF detected Applying: anolis: UefiCpuPkg: Add StandardSignatureIsHygonGenuine() in BaseUefiCpuLib Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0030-anolis-UefiCpuPkg-LocalApicLib-Exclude-second-SendIp.patch warning: quoted CRLF detected error: patch failed: UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c:528 error: UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c: patch does not apply error: patch failed: UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c:623 error: UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c: patch does not apply Applying: anolis: UefiCpuPkg/LocalApicLib: Exclude second SendIpi sequence on HYGON hardware Patch failed at 0001 anolis: UefiCpuPkg/LocalApicLib: Exclude second SendIpi sequence on HYGON hardware When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". hint: Use 'git am --show-current-patch=diff' to see the failed patch error: Bad exit status from /var/tmp/rpm-tmp.EZzegX (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.EZzegX (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/edk2.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, 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/edk2.spec