OvmfPkgIa32X64.dsc is broken: OvmfPkg/Sec/SecMain.inf NOT found in DSC file; Is it really a binary module?


Rebecca Cran
 

Is OvmfPkg/OvmfPkgIa32X64.dsc still supposed to work after the recent changes in OvmfPkg? I realized it's currently broken.


bcran@photon:~/src/uefi/edk2> build -p OvmfPkg/OvmfPkgIa32X64.dsc -a X64 -t GCC5 -b RELEASE
Build environment: Linux-5.12.9-1-default-x86_64-with-glibc2.2.5
Build start time: 22:11:28, Jun.16 2021

WORKSPACE        = /home/bcran/src/uefi/edk2
EDK_TOOLS_PATH   = /home/bcran/src/uefi/edk2/BaseTools
CONF_PATH        = /home/bcran/src/uefi/edk2/Conf
PYTHON_COMMAND   = /usr/bin/python3.8


Processing meta-data
.Architecture(s)  = X64
Build target     = RELEASE
Toolchain        = GCC5

Active Platform          = /home/bcran/src/uefi/edk2/OvmfPkg/OvmfPkgIa32X64.dsc


build.py...
 : error F001: Module /home/bcran/src/uefi/edk2/OvmfPkg/Sec/SecMain.inf NOT found in DSC file; Is it really a binary module?



- Failed -
Build end time: 22:11:29, Jun.16 2021
Build total time: 00:00:01


--
Rebecca Cran


Lendacky, Thomas
 

On 6/16/21 11:15 PM, Rebecca Cran via groups.io wrote:
Is OvmfPkg/OvmfPkgIa32X64.dsc still supposed to work after the recent
changes in OvmfPkg? I realized it's currently broken.


bcran@photon:~/src/uefi/edk2> build -p OvmfPkg/OvmfPkgIa32X64.dsc -a X64
You need to also have "-a IA32" when building this version of the DSC.

Thanks,
Tom