Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/edk2.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-533493-81076/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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 warning: Macro expanded in comment on line 39: %{OPENSSL_VER}.tar.gz warning: bogus date in %changelog: Fri May 08 2025 PVS.NarasimhaRao - 202402-7 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1746662400 Wrote: /builddir/build/SRPMS/edk2-202402-7.an23.src.rpm RPM build warnings: Macro expanded in comment on line 39: %{OPENSSL_VER}.tar.gz bogus date in %changelog: Fri May 08 2025 PVS.NarasimhaRao - 202402-7 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/edk2.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-533493-81076/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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 warning: Macro expanded in comment on line 39: %{OPENSSL_VER}.tar.gz warning: bogus date in %changelog: Fri May 08 2025 PVS.NarasimhaRao - 202402-7 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1746662400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QWmdMk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf edk2-edk2-stable202402 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/edk2-stable202402.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd edk2-edk2-stable202402 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + PATCHCOUNT=34 + PATCHLIST=/tmp/lua_xWbwEJ + 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-edc6681206c1 base' ++ grep '\.patch$' /tmp/lua_xWbwEJ ++ wc -l + COUNT=34 + '[' 34 -ne 34 ']' + '[' 34 -gt 0 ']' ++ cat /tmp/lua_xWbwEJ + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/0001-MdePkg-Add-StandardSignatureIsHygonGenuine-in-BaseCp.patch warning: quoted CRLF detected Applying: MdePkg: Add StandardSignatureIsHygonGenuine() in BaseCpuLib 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/0002-UefiCpuPkg-LocalApicLib-Exclude-second-SendIpi-seque.patch warning: quoted CRLF detected Applying: UefiCpuPkg/LocalApicLib: Exclude second SendIpi sequence on HYGON hardware 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/0003-OvmfPkg-Add-CSV-secure-call-library-on-Hygon-CPU.patch warning: quoted CRLF detected Applying: OvmfPkg: Add CSV secure call library on Hygon CPU 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/0004-OvmfPkg-Tcg-Add-CsvLib-for-TpmMmioSevDecryptPei.patch warning: quoted CRLF detected Applying: OvmfPkg/Tcg: Add CsvLib for TpmMmioSevDecryptPei 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/0005-OvmfPkg-ResetVector-Support-CSV-in-ResetVector-phase.patch warning: quoted CRLF detected Applying: OvmfPkg/ResetVector: Support CSV in ResetVector phase 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/0006-OvmfPkg-PlatformPei-Initialize-CSV-VM-s-memory.patch warning: quoted CRLF detected Applying: OvmfPkg/PlatformPei: Initialize CSV VM's memory 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/0007-OvmfPkg-BaseMemcryptSevLib-update-page-status-to-Sec.patch warning: quoted CRLF detected Applying: OvmfPkg/BaseMemcryptSevLib: update page status to Secure Processor for CSV 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/0008-OvmfPkg-Add-CsvDxe-driver.patch warning: quoted CRLF detected Applying: OvmfPkg: Add CsvDxe driver 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-OvmfPkg-IoMmuDxe-Add-CsvIoMmu-protocol.patch warning: quoted CRLF detected Applying: OvmfPkg/IoMmuDxe: Add CsvIoMmu protocol 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-Reserve-a-CPUID-table-page-for-CSV-guest.patch warning: quoted CRLF detected Applying: OvmfPkg: Reserve a CPUID table page for CSV guest 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-Use-classic-mmio-window-for-CSV-guest.patch warning: quoted CRLF detected Applying: OvmfPkg: Use classic mmio window for CSV guest 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-OvmfPkg-BaseMemEncryptLib-Detect-SEV-live-migration-.patch warning: quoted CRLF detected Applying: OvmfPkg/BaseMemEncryptLib: Detect SEV live migration feature. 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-BaseMemEncryptLib-Hypercall-API-for-page-enc.patch warning: quoted CRLF detected Applying: OvmfPkg/BaseMemEncryptLib: Hypercall API for page encryption state change 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-BaseMemEncryptLib-Invoke-page-encryption-sta.patch warning: quoted CRLF detected Applying: OvmfPkg/BaseMemEncryptLib: Invoke page encryption state change hypercall 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-VmgExitLib-Encryption-state-change-hypercall.patch warning: quoted CRLF detected Applying: OvmfPkg/VmgExitLib: Encryption state change hypercall support in VC handler 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-PlatformPei-Mark-SEC-GHCB-page-as-unencrypte.patch warning: quoted CRLF detected Applying: OvmfPkg/PlatformPei: Mark SEC GHCB page as unencrypted via hypercall 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-OvmfPkg-AmdSevDxe-Add-support-for-SEV-live-migration.patch warning: quoted CRLF detected Applying: OvmfPkg/AmdSevDxe: Add support for SEV live migration. 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-OvmfPkg-BaseMemcryptSevLib-Correct-the-calculation-o.patch warning: quoted CRLF detected Applying: OvmfPkg/BaseMemcryptSevLib: Correct the calculation of page range that notified to hypervisor 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-BaseMemEncryptLib-Return-SUCCESS-if-not-supp.patch warning: quoted CRLF detected Applying: OvmfPkg/BaseMemEncryptLib: Return SUCCESS if not support SEV live migration 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-BaseMemEncryptLib-Save-memory-encrypt-status.patch warning: quoted CRLF detected Applying: OvmfPkg/BaseMemEncryptLib: Save memory encrypt status in reserved memory 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-IoMmuDxe-Implement-SetAttribute-of-CsvIoMmu.patch Applying: OvmfPkg/IoMmuDxe: Implement SetAttribute() of CsvIoMmu 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-Bugfix-for-CVE-2023-45236-CVE-2023-45237.patch warning: quoted CRLF detected Applying: Bugfix for CVE-2023-45236 & CVE-2023-45237 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-ResetVector-improve-page-table-flag-names.patch warning: quoted CRLF detected Applying: OvmfPkg/ResetVector: improve page table flag names 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-ResetVector-add-ClearOvmfPageTables-macro.patch warning: quoted CRLF detected Applying: OvmfPkg/ResetVector: add ClearOvmfPageTables macro 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-ResetVector-add-CreatePageTables4Level-macro.patch warning: quoted CRLF detected Applying: OvmfPkg/ResetVector: add CreatePageTables4Level macro 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-ResetVector-split-TDX-BSP-workflow.patch warning: quoted CRLF detected Applying: OvmfPkg/ResetVector: split TDX BSP workflow 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-OvmfPkg-ResetVector-split-SEV-and-non-CoCo-workflows.patch warning: quoted CRLF detected Applying: OvmfPkg/ResetVector: split SEV and non-CoCo workflows 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/0028-OvmfPkg-ResetVector-add-5-level-paging-support.patch warning: quoted CRLF detected Applying: OvmfPkg/ResetVector: add 5-level paging support 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-OvmfPkg-ResetVector-print-post-codes-for-4-5-level-p.patch warning: quoted CRLF detected Applying: OvmfPkg/ResetVector: print post codes for 4/5 level paging 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-OvmfPkg-ResetVector-wire-up-5-level-paging-for-TDX.patch warning: quoted CRLF detected Applying: OvmfPkg/ResetVector: wire up 5-level paging for TDX 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/0031-OvmfPkg-ResetVector-Clear-SEV-encryption-bit-for-non.patch warning: quoted CRLF detected Applying: OvmfPkg/ResetVector: Clear SEV encryption bit for non-leaf PTEs 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/0032-OvmfPkg-Don-t-make-APIC-MMIO-accesses-with-encryptio.patch warning: quoted CRLF detected Applying: OvmfPkg: Don't make APIC MMIO accesses with encryption bit set 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/0033-OvmfPkg-CcExitLib-Drop-special-handling-for-Encrypte.patch warning: quoted CRLF detected Applying: OvmfPkg/CcExitLib: Drop special handling for Encrypted MMIO to APIC 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/0034-Bugfix-Adding-necessary-protocol-dependencies-for-th.patch warning: quoted CRLF detected Applying: Bugfix: Adding necessary protocol dependencies for the drivers Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. Applied 34 patches + echo 'Applied 34 patches' + rm -f /tmp/lua_xWbwEJ + cp -a -- /builddir/build/SOURCES/ovmf-whitepaper-c770f8c.txt . + tar -C CryptoPkg/Library/OpensslLib -a -f /builddir/build/SOURCES/openssl-3.0.12.tar.gz -x + rm -rf CryptoPkg/Library/OpensslLib/openssl + mv CryptoPkg/Library/OpensslLib/openssl-3.0.12 CryptoPkg/Library/OpensslLib/openssl + tar -xf /builddir/build/SOURCES/softfloat-20180726-gitb64af41.tar.xz --strip-components=1 --directory ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3/ + tar -xf /builddir/build/SOURCES/edk2-platforms-7f42d4034c8f.tar.xz --strip-components=1 '*/Drivers' '*/Features' '*/Platform' '*/Silicon' + tar -xf /builddir/build/SOURCES/jansson-2.13.1.tar.bz2 --strip-components=1 --directory RedfishPkg/Library/JsonLib/jansson + tar -C MdeModulePkg/Library/BrotliCustomDecompressLib -a -f /builddir/build/SOURCES/brotli-gitf4153a0.tar.gz -x + tar -C BaseTools/Source/C/BrotliCompress -a -f /builddir/build/SOURCES/brotli-gitf4153a0.tar.gz -x + mkdir -p MdePkg/Library/MipiSysTLib/mipisyst/library/include + mkdir -p CryptoPkg/Library/MbedTlsLib/mbedtls/include + mkdir -p CryptoPkg/Library/MbedTlsLib/mbedtls/include/mbedtls + mkdir -p CryptoPkg/Library/MbedTlsLib/mbedtls/library + chmod -Rf a+rX,u+w,g-w,o-w . RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.QWmdMk (%prep) Macro expanded in comment on line 39: %{OPENSSL_VER}.tar.gz bogus date in %changelog: Fri May 08 2025 PVS.NarasimhaRao - 202402-7 Bad exit status from /var/tmp/rpm-tmp.QWmdMk (%prep) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/edk2.spec'