Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/edk2.spec'], chrootPath='/var/lib/mock/dist-an8-build-71627-37413/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/edk2-20210527gite1999b264f1f-3.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/edk2.spec'], chrootPath='/var/lib/mock/dist-an8-build-71627-37413/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kqZ9ix + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf edk2-e1999b264f1f + /usr/bin/xz -dc /builddir/build/SOURCES/edk2-e1999b264f1f.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd edk2-e1999b264f1f + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + PATCHCOUNT=31 + PATCHLIST=/tmp/lua_6Ucdmv + 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-e1999b264f1f base' ++ grep '\.patch$' /tmp/lua_6Ucdmv ++ wc -l + COUNT=31 + '[' 31 -ne 31 ']' + '[' 31 -gt 0 ']' ++ cat /tmp/lua_6Ucdmv + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0008-BaseTools-do-not-build-BrotliCompress-RH-only.patch 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 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-advertise-OpenSSL-on-TianoCore-splash-screen-boot-lo.patch .git/rebase-apply/patch:382: new blank line at EOF. + warning: 1 line adds whitespace errors. Applying: advertise OpenSSL on TianoCore splash screen / boot logo (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-OvmfPkg-increase-max-debug-message-length-to-512-RHE.patch 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/0012-MdeModulePkg-TerminalDxe-add-other-text-resolutions-.patch 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/0013-MdeModulePkg-TerminalDxe-set-xterm-resolution-on-mod.patch 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/0014-OvmfPkg-take-PcdResizeXterm-from-the-QEMU-command-li.patch 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/0015-ArmVirtPkg-take-PcdResizeXterm-from-the-QEMU-command.patch 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/0016-OvmfPkg-allow-exclusion-of-the-shell-from-the-firmwa.patch 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/0017-ArmPlatformPkg-introduce-fixed-PCD-for-early-hello-m.patch 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/0018-ArmPlatformPkg-PrePeiCore-write-early-hello-message-.patch 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/0019-ArmVirtPkg-set-early-hello-message-RH-only.patch 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/0020-OvmfPkg-enable-DEBUG_VERBOSE-RHEL-only.patch 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/0021-OvmfPkg-silence-DEBUG_VERBOSE-0x00400000-in-QemuVide.patch 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/0022-ArmVirtPkg-silence-DEBUG_VERBOSE-0x00400000-in-QemuR.patch 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/0023-OvmfPkg-QemuRamfbDxe-Do-not-report-DXE-failure-on-Aa.patch 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/0024-OvmfPkg-silence-EFI_D_VERBOSE-0x00400000-in-NvmExpre.patch 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/0025-CryptoPkg-OpensslLib-list-RHEL8-specific-OpenSSL-fil.patch 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/0026-OvmfPkg-QemuKernelLoaderFsDxe-suppress-error-on-no-k.patch 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/0027-SecurityPkg-Tcg2Dxe-suppress-error-on-no-swtpm-in-si.patch 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-NetworkPkg-IScsiDxe-wrap-IScsiCHAP-source-files-to-8.patch Applying: NetworkPkg/IScsiDxe: wrap IScsiCHAP source files to 80 characters 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-NetworkPkg-IScsiDxe-simplify-ISCSI_CHAP_AUTH_DATA.In.patch Applying: NetworkPkg/IScsiDxe: simplify "ISCSI_CHAP_AUTH_DATA.InChallenge" size 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-NetworkPkg-IScsiDxe-clean-up-ISCSI_CHAP_AUTH_DATA.Ou.patch Applying: NetworkPkg/IScsiDxe: clean up "ISCSI_CHAP_AUTH_DATA.OutChallengeLength" 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-NetworkPkg-IScsiDxe-clean-up-library-class-dependenc.patch Applying: NetworkPkg/IScsiDxe: clean up library class dependencies 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-NetworkPkg-IScsiDxe-fix-potential-integer-overflow-i.patch Applying: NetworkPkg/IScsiDxe: fix potential integer overflow in IScsiBinToHex() 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-NetworkPkg-IScsiDxe-assert-that-IScsiBinToHex-always.patch Applying: NetworkPkg/IScsiDxe: assert that IScsiBinToHex() always succeeds 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-NetworkPkg-IScsiDxe-reformat-IScsiHexToBin-leading-c.patch Applying: NetworkPkg/IScsiDxe: reformat IScsiHexToBin() leading comment block 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-NetworkPkg-IScsiDxe-fix-IScsiHexToBin-hex-parsing.patch Applying: NetworkPkg/IScsiDxe: fix IScsiHexToBin() hex parsing 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-NetworkPkg-IScsiDxe-fix-IScsiHexToBin-buffer-overflo.patch Applying: NetworkPkg/IScsiDxe: fix IScsiHexToBin() buffer overflow 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-NetworkPkg-IScsiDxe-check-IScsiHexToBin-return-value.patch Applying: NetworkPkg/IScsiDxe: check IScsiHexToBin() return values 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-MdeModulePkg-PartitionDxe-Ignore-PMBR-BootIndicator-.patch Applying: MdeModulePkg/PartitionDxe: Ignore PMBR BootIndicator per UEFI spec Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + echo 'Applied 31 patches' Applied 31 patches + rm -f /tmp/lua_6Ucdmv + cp -a -- /builddir/build/SOURCES/ovmf-whitepaper-c770f8c.txt /builddir/build/SOURCES/ovmf-vars-generator . + cp -a -- /builddir/build/SOURCES/edk2-aarch64-verbose.json /builddir/build/SOURCES/edk2-aarch64.json /builddir/build/SOURCES/edk2-ovmf-sb.json /builddir/build/SOURCES/edk2-ovmf.json /builddir/build/SOURCES/edk2-ovmf-cc.json . + tar -C CryptoPkg/Library/OpensslLib -a -f /builddir/build/SOURCES/openssl-rhel-a75722161d20fd632f8875585d3aa066ec5fea93.tar.xz -x + sed -e 's/^-----BEGIN CERTIFICATE-----$/4e32566d-8e9e-4f52-81d3-5bb9715f9727:/' -e '/^-----END CERTIFICATE-----$/d' /builddir/build/SOURCES/RedHatSecureBootPkKek1.pem + chmod -Rf a+rX,u+w,g-w,o-w . error: Bad exit status from /var/tmp/rpm-tmp.kqZ9ix (%prep) Bad exit status from /var/tmp/rpm-tmp.kqZ9ix (%prep) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target x86_64 --nodeps /builddir/build/SPECS/edk2.spec