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 riscv64 --nodeps /builddir/build/SPECS/edk2.spec'], chrootPath='/var/lib/mock/dist-an23.3-riscv-build-443023-73168/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', 'FORCE_UNSAFE_CONFIGURE': '1'}shell=Falselogger=timeout=172800uid=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6tbpzdlu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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.6tbpzdlu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'cf8200f3456440e28a6310300f2e64a5', '-D', '/var/lib/mock/dist-an23.3-riscv-build-443023-73168/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6tbpzdlu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '--console=pipe', '--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', '--setenv=FORCE_UNSAFE_CONFIGURE=1', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --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', 'FORCE_UNSAFE_CONFIGURE': '1', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1749081600 Wrote: /builddir/build/SRPMS/edk2-202402-13.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/edk2.spec'], chrootPath='/var/lib/mock/dist-an23.3-riscv-build-443023-73168/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', 'FORCE_UNSAFE_CONFIGURE': '1'}shell=Falselogger=timeout=172800uid=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6tbpzdlu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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.6tbpzdlu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '7568c711b972460ab8b7bdcbc2ac7bfe', '-D', '/var/lib/mock/dist-an23.3-riscv-build-443023-73168/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6tbpzdlu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '--console=pipe', '--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', '--setenv=FORCE_UNSAFE_CONFIGURE=1', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --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', 'FORCE_UNSAFE_CONFIGURE': '1', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1749081600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.deJ00Z + 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=26 + PATCHLIST=/tmp/lua_ScYfs2 + 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_ScYfs2 ++ wc -l + COUNT=26 + '[' 26 -ne 26 ']' + '[' 26 -gt 0 ']' ++ cat /tmp/lua_ScYfs2 + 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/1001-Bugfix-for-CVE-2023-45237.patch warning: quoted CRLF detected Applying: NetworkPkg: SECURITY PATCH 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/1002-Bugfix-for-CVE-2023-45236.patch warning: quoted CRLF detected Applying: NetworkPkg TcpDxe: SECURITY PATCH CVE-2023-45236 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/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 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/1004-OvmfPkg-AmdSev-Add-missing-module-CsvDxe.patch warning: quoted CRLF detected Applying: OvmfPkg/AmdSev: Add missing module CsvDxe 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/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 Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + echo 'Applied 26 patches' + rm -f /tmp/lua_ScYfs2 Applied 26 patches + 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 . + cp -a -- /builddir/build/SOURCES/50-edk2-aarch64.json /builddir/build/SOURCES/51-edk2-aarch64-verbose.json /builddir/build/SOURCES/30-edk2-ovmf-x64-sb-enrolled.json /builddir/build/SOURCES/40-edk2-ovmf-x64-sb.json /builddir/build/SOURCES/50-edk2-ovmf-x64-nosb.json /builddir/build/SOURCES/60-edk2-ovmf-x64-amdsev.json /builddir/build/SOURCES/60-edk2-ovmf-x64-inteltdx.json /builddir/build/SOURCES/50-edk2-loongarch64.json /builddir/build/SOURCES/51-edk2-loongarch64-verbose.json /builddir/build/SOURCES/edk2-build.py /builddir/build/SOURCES/edk2-build /builddir/build/SOURCES/52-edk2-riscv-qcow2.json . + /usr/bin/patch -p1 -i /builddir/build/SOURCES/0023-Platform-Loongson-Remove-minimium-memory-size-limita.patch patching file Platform/Loongson/LoongArchQemuPkg/Loongson.dec patching file Platform/Loongson/LoongArchQemuPkg/Loongson.dsc patching file Platform/Loongson/LoongArchQemuPkg/PlatformPei/MemDetect.c patching file Platform/Loongson/LoongArchQemuPkg/PlatformPei/PlatformPei.inf + /usr/bin/patch -p1 -i /builddir/build/SOURCES/0024-Platform-Loongson-Modify-loongarch-uefi-firmware-siz.patch patching file Platform/Loongson/LoongArchQemuPkg/Loongson.fdf.inc patching file Platform/Loongson/LoongArchQemuPkg/VarStore.fdf.inc + /usr/bin/patch -p1 -i /builddir/build/SOURCES/fixup-fdt-parse-error.patch patching file Platform/Loongson/LoongArchQemuPkg/Library/SerialPortLib/EarlySerialPortLib16550.c patching file Platform/Loongson/LoongArchQemuPkg/PlatformPei/Platform.c + /usr/bin/patch -p1 -i /builddir/build/SOURCES/1006-LoongArchQemuPkg-Enabling-some-base-libraries.patch patching file Platform/Loongson/LoongArchQemuPkg/Loongson.dsc + /usr/bin/patch -p1 -i /builddir/build/SOURCES/1007-LoongArchQemuPkg-Add-network-support.patch patching file Platform/Loongson/LoongArchQemuPkg/Loongson.dsc patching file Platform/Loongson/LoongArchQemuPkg/Loongson.fdf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hMZPPu + umask 022 + cd /builddir/build/BUILD + cd edk2-edk2-stable202402 + export 'EXTRA_OPTFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + EXTRA_OPTFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'EXTRA_LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + EXTRA_LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' ++ echo 20240214 ++ sed -e 's|\(....\)\(..\)\(..\)|\2/\3/\1|' + export RELEASE_DATE=02/14/2024 + RELEASE_DATE=02/14/2024 + ./edk2-build.py --config edk2-build --silent --release-date 02/14/2024 -m riscv ### running BaseTools/BuildEnv Using EDK2 in-source Basetools WORKSPACE: /builddir/build/BUILD/edk2-edk2-stable202402 EDK_TOOLS_PATH: /builddir/build/BUILD/edk2-edk2-stable202402/BaseTools CONF_PATH: /builddir/build/BUILD/edk2-edk2-stable202402/Conf Copying $EDK_TOOLS_PATH/Conf/build_rule.template to /builddir/build/BUILD/edk2-edk2-stable202402/Conf/build_rule.txt Copying $EDK_TOOLS_PATH/Conf/tools_def.template to /builddir/build/BUILD/edk2-edk2-stable202402/Conf/tools_def.txt Copying $EDK_TOOLS_PATH/Conf/target.template to /builddir/build/BUILD/edk2-edk2-stable202402/Conf/target.txt ### building: BaseTools ### building in silent mode [build.basetools.log] ... ### OK (5:57) # skipping "build.ovmf.4m.default" (not matching "riscv") # skipping "build.ovmf.4m.sb.smm" (not matching "riscv") # skipping "build.ovmf.amdsev" (not matching "riscv") # skipping "build.ovmf.inteltdx" (not matching "riscv") # skipping "build.armvirt.aa64.verbose" (not matching "riscv") # skipping "build.armvirt.aa64.silent" (not matching "riscv") # skipping "build.loongarch64.verbose" (not matching "riscv") # skipping "build.loongarch64.silent" (not matching "riscv") + for raw in */riscv/*.raw + qcow2='*/riscv/*.qcow2' + qemu-img convert -f raw -O qcow2 -o cluster_size=4096 -S 4096 '*/riscv/*.raw' '*/riscv/*.qcow2' qemu-img: Could not open '*/riscv/*.raw': Could not open '*/riscv/*.raw': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.hMZPPu (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.hMZPPu (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 7568c711b972460ab8b7bdcbc2ac7bfe -D /var/lib/mock/dist-an23.3-riscv-build-443023-73168/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.6tbpzdlu:/etc/resolv.conf --bind=/dev/btrfs-control --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 --console=pipe --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 --setenv=FORCE_UNSAFE_CONFIGURE=1 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/edk2.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 7568c711b972460ab8b7bdcbc2ac7bfe -D /var/lib/mock/dist-an23.3-riscv-build-443023-73168/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.6tbpzdlu:/etc/resolv.conf --bind=/dev/btrfs-control --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 --console=pipe --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 --setenv=FORCE_UNSAFE_CONFIGURE=1 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/edk2.spec'