Skip to content

EDK2 EFI build is broken on source release files since 8.2.0

Host environment

  • Operating system: Ubuntu 22.04.4
  • OS/kernel version: 6.12.20
  • Architecture: x86
  • QEMU flavor: qemu-system-x86_64
  • QEMU version: 10.0.2
  • QEMU command line:

Description of problem

The release source package has the EDK2 EFI rom build broken since release 8.2.0.

The reason is the introduction of MipiSysTLib package in the source as a submodule in commit c6bb7d54beb05ac85a29b38fc0e5d63bf6001840 in May 11th 2023. The source release package process is missing some step where those source files aren't copied.

Building from git isn't a problem since there is a requirement to sync the submodules.

The error:

/home/user/src/qemu-10.0.2/roms/edk2/MdePkg/MdePkg.dec(32): error 000E: File/directory not found in workspace
	Library/MipiSysTLib/mipisyst/library/include is not found in packages path:
	/home/user/src/qemu-10.0.2/roms/.
	/home/user/src/qemu-10.0.2/roms/edk2

Steps to reproduce

  1. Download release source: https://download.qemu.org/qemu-10.0.2.tar.xz
  2. cd qemu-10.0.2/roms
  3. make efi
Edited by John Robot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information