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-484057-74333/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0jhubmo5:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0jhubmo5:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '452d639e2b974a2d85e9405d9bb706f7', '-D', '/var/lib/mock/dist-an23-build-484057-74333/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0jhubmo5:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False error: bad date in %changelog: Thu, Oct 30 2025 -202402-20 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1762819200 Wrote: /builddir/build/SRPMS/edk2-202402-21.an23.src.rpm 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-484057-74333/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0jhubmo5:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0jhubmo5:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'db863c43a42842cd882635360b07b499', '-D', '/var/lib/mock/dist-an23-build-484057-74333/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0jhubmo5:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False error: bad date in %changelog: Thu, Oct 30 2025 -202402-20 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1762819200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rwnc1T + 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=38 + PATCHLIST=/tmp/lua_i5sLPQ + 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_i5sLPQ ++ wc -l + COUNT=38 + '[' 38 -ne 38 ']' + '[' 38 -gt 0 ']' ++ cat /tmp/lua_i5sLPQ + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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. + 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 + 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 + 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 + 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 + 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. + 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 + 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 + 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 + 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 + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1001-Bugfix-for-CVE-2023-45237.patch warning: quoted CRLF detected Applying: NetworkPkg: SECURITY PATCH CVE-2023-45237 + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1002-Bugfix-for-CVE-2023-45236.patch warning: quoted CRLF detected Applying: NetworkPkg TcpDxe: SECURITY PATCH CVE-2023-45236 + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1003-OvmfPkg-AmdSev-Support-full-disk-encryption-based-on.patch warning: quoted CRLF detected Applying: OvmfPkg/AmdSev: Support full-disk encryption based on Grub efisecret mod + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1004-OvmfPkg-AmdSev-Add-missing-module-CsvDxe.patch warning: quoted CRLF detected Applying: OvmfPkg/AmdSev: Add missing module CsvDxe + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1005-OvmfPkg-AmdSev-Integrate-grub2-x86_64-efi-modules-fr.patch Applying: OvmfPkg/AmdSev: Integrate grub2 x86_64-efi modules from the system path to grub.efi which is used to support Full Disk Encryption + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1006-MdePkg-Fix-overflow-issue-in-BasePeC.patch warning: quoted CRLF detected Applying: MdePkg: Fix overflow issue in BasePeCoffLib + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1008-CVE-2024-1298.patch warning: quoted CRLF detected Applying: fix CVE-2024-1298 + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1009-CVE-2024-38797.patch warning: quoted CRLF detected warning: quoted CRLF detected warning: quoted CRLF detected warning: quoted CRLF detected Applying: SecurityPkg: Out of bound read in HashPeImageByType() Applying: SecurityPkg: Improving HashPeImageByType () logic Applying: SecurityPkg: Improving SecureBootConfigImpl:HashPeImageByType () logic Applying: SecurityPkg: Update SecurityFixes.yaml for CVE-2024-38797 + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1010-AmdSev-Rework-Blob-Verifier.patch warning: quoted CRLF detected Applying: AmdSev: Rework Blob Verifier + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1011-AmdSev-Halt-on-failed-blob-allocation.patch warning: quoted CRLF detected Applying: AmdSev: Halt on failed blob allocation + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1012-AmdSev-enable-kernel-hashes-without-initrd.patch warning: quoted CRLF detected Applying: AmdSev: enable kernel hashes without initrd + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1013-SecurityPkg-Removing-unused-library-dependencies-in-.patch warning: quoted CRLF detected Applying: SecurityPkg: Removing unused library dependencies in INF [LibraryClasses] Section + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1014-OvmfPkg-Add-RTMR-functions-in-CsvLib-for-CSV3-virtua.patch warning: quoted CRLF detected Applying: OvmfPkg: Add RTMR functions in CsvLib for CSV3 virtual machine + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1015-OvmfPkg-HashLibCsv-Add-HashLibCsv.patch warning: quoted CRLF detected Applying: OvmfPkg/HashLibCsv: Add HashLibCsv + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1016-OvmfPkg-CsvTcg2Dxe-Add-CsvTcg2Dxe.patch warning: quoted CRLF detected Applying: OvmfPkg/CsvTcg2Dxe: Add CsvTcg2Dxe + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/1017-OvmfPkg-OvmfPkgX64-Set-default-value-of-CC_MEASUREME.patch warning: quoted CRLF detected Applying: OvmfPkg/OvmfPkgX64: Set default value of CC_MEASUREMENT_ENABLE to TRUE + for pf in `cat $PATCHLIST` + git am /builddir/build/SOURCES/fix-CVE-2024-38805.patch Patch format detection failed. error: Bad exit status from /var/tmp/rpm-tmp.rwnc1T (%prep) RPM build errors: bad date in %changelog: Thu, Oct 30 2025 -202402-20 Bad exit status from /var/tmp/rpm-tmp.rwnc1T (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M db863c43a42842cd882635360b07b499 -D /var/lib/mock/dist-an23-build-484057-74333/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.0jhubmo5:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off 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: # /usr/bin/systemd-nspawn -q -M db863c43a42842cd882635360b07b499 -D /var/lib/mock/dist-an23-build-484057-74333/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.0jhubmo5:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/edk2.spec'