I just experienced a build failure.
Build environment: Linux-6.2.0-34-generic-x86_64-with-glibc2.35
Build start time: 16:03:02, Oct.12 2023
WORKSPACE = /home/matt/repos/bios_stuff/edk2
EDK_TOOLS_PATH = /home/matt/repos/bios_stuff/edk2/BaseTools
CONF_PATH = /home/matt/repos/bios_stuff/edk2/Conf
PYTHON_COMMAND = python3
Processing meta-data
.
Architecture(s) = X64
Build target = RELEASE
Toolchain = GCC5
Active Platform = /home/matt/repos/bios_stuff/edk2/Image.dsc
Active Module = /home/matt/repos/bios_stuff/edk2/Image.inf
FLASH_DEFINITION = None
Library instances of module [/home/matt/repos/bios_stuff/edk2/Image.inf] [X64]:
BaseLib : /home/matt/repos/bios_stuff/edk2/MdePkg/Library/BaseLib/BaseLib.inf
BaseMemoryLib : /home/matt/repos/bios_stuff/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
DebugLib : /home/matt/repos/bios_stuff/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
DevicePathLib : /home/matt/repos/bios_stuff/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
DxeServicesLib : /home/matt/repos/bios_stuff/edk2/MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
MemoryAllocationLib : /home/matt/repos/bios_stuff/edk2/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
PcdLib : /home/matt/repos/bios_stuff/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
PrintLib : /home/matt/repos/bios_stuff/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf
RegisterFilterLib : /home/matt/repos/bios_stuff/edk2/MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf
ShellCEntryLib : /home/matt/repos/bios_stuff/edk2/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
ShellLib : /home/matt/repos/bios_stuff/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.inf
UefiApplicationEntryPoint : /home/matt/repos/bios_stuff/edk2/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
UefiBootServicesTableLib : /home/matt/repos/bios_stuff/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
UefiLib : /home/matt/repos/bios_stuff/edk2/MdePkg/Library/UefiLib/UefiLib.inf
UefiRuntimeServicesTableLib : /home/matt/repos/bios_stuff/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
build.py...
: error C0DE: Unknown fatal error when processing [/home/matt/repos/bios_stuff/edk2/Image.dsc]
(Please send email to devel@edk2.groups.io for help, attaching following call stack trace!)
(Python 3.10.12 on linux) Traceback (most recent call last):
File "/home/matt/repos/bios_stuff/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2695, in Main
MyBuild.Launch()
File "/home/matt/repos/bios_stuff/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2493, in Launch
self._BuildModule()
File "/home/matt/repos/bios_stuff/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 1882, in _BuildModule
Wa = WorkspaceAutoGen(
File "/home/matt/repos/bios_stuff/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 43, in __init__
self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs)
File "/home/matt/repos/bios_stuff/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 117, in _InitWorker
self.ProcessPcdType()
File "/home/matt/repos/bios_stuff/edk2/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 264, in ProcessPcdType
Platform.Pcds
File "/home/matt/repos/bios_stuff/edk2/BaseTools/Source/Python/Workspace/DscBuildData.py", line 1220, in Pcds
self._Pcds = self.UpdateStructuredPcds(MODEL_PCD_TYPE_LIST, self._Pcds)
File "/home/matt/repos/bios_stuff/edk2/BaseTools/Source/Python/Workspace/DscBuildData.py", line 1545, in UpdateStructuredPcds
for Pcd in self.DecPcds:
File "/home/matt/repos/bios_stuff/edk2/BaseTools/Source/Python/Workspace/DscBuildData.py", line 3585, in DecPcds
self._DecPcds, self._GuidDict = GetDeclaredPcd(self, self._Bdb, self._Arch, self._Target, self._Toolchain, PkgSet)
File "/home/matt/repos/bios_stuff/edk2/BaseTools/Source/Python/Workspace/WorkspaceCommon.py", line 60, in GetDeclaredPcd
PkgList = GetPackageList(Platform, BuildDatabase, Arch, Target, Toolchain)
File "/home/matt/repos/bios_stuff/edk2/BaseTools/Source/Python/Workspace/WorkspaceCommon.py", line 45, in GetPackageList
for Lib in GetLiabraryInstances(Data, Platform, BuildDatabase, Arch, Target, Toolchain):
File "/home/matt/repos/bios_stuff/edk2/BaseTools/Source/Python/Workspace/WorkspaceCommon.py", line 91, in GetLiabraryInstances
return GetModuleLibInstances(Module, Platform, BuildDatabase, Arch, Target, Toolchain,Platform.MetaFile,EdkLogger)
File "/home/matt/repos/bios_stuff/edk2/BaseTools/Source/Python/Workspace/WorkspaceCommon.py", line 140, in GetModuleLibInstances
LibraryModule = BuildDatabase[LibraryPath, Arch, Target, Toolchain]
File "/home/matt/repos/bios_stuff/edk2/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py", line 104, in __getitem__
BuildObject = self.CreateBuildObject(FilePath, Arch, Target, Toolchain)
File "/home/matt/repos/bios_stuff/edk2/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py", line 108, in CreateBuildObject
Ext = FilePath.Type
AttributeError: 'str' object has no attribute 'Type'
- Failed -
Build end time: 16:03:02, Oct.12 2023
Build total time: 00:00:00