[edk2-devel] failure in build

Matthew Gillman via groups.io Matthew.Gillman=akhter.co.uk at groups.io
Thu Oct 12 15:08:08 UTC 2023


Hi

I just experienced a build failure.

Please see below:



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 at 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



Any ideas what is wrong?

Thanks

Matthew


Matthew Gillman BSc(Hons) MSc MSc GradCert AFHEA
Software Developer

Akhter Computers Ltd.
1-3 Marshgate Business Centre,
Harlow Business Park,
Parkway
Harlow
Essex
CM19 5QP<https://www.google.co.uk/maps/place/Akhter+House,+Perry+Rd,+Harlow+CM18+7PN/@51.7510724,0.0882908,17z/data=!3m1!4b1!4m5!3m4!1s0x47d89eb46c521ccf:0x46f846b47af76373!8m2!3d51.7511108!4d0.0904714?dcr=0>

Direct dial: +44 (0)1279 821202
Switchboard: +44 (0)1279 821200
Website: https://www.akhter.co.uk/

VAT number 445788349

Please note that my usual working days are Tuesday-Thursday.

Disclaimer: COVID-19 is having a significant impact on our lives and is causing a lot of uncertainty. As such, I just wanted to let you know that here at Akhter, it's business as usual. Orders are still being processed and delivered however this is having a significant impact on our supply chain. Our customer support and sales teams are working hard to ensure the high levels of satisfaction you've come to expect.

Should anything change, we will, of course, let you know as soon as we can.

If you have any questions or concerns, don't hesitate to reach out to us. Tel: 01279 821200, Email: sales at akhter.co.uk

This e-mail and any attachments contain information intended for the sole use of the intended recipient and may contain information that is confidential or privileged. They must not be distributed without our consent. If you are not the intended recipient, any further review, disclosure, copying, distribution or use of this e-mail is expressly forbidden. Akhter Computers Ltd. is not liable for any opinions expressed by the sender.

In the event that you are not the intended recipient please notify the sender immediately and destroy all copies of this message.


Although AKHTER COMPUTERS has taken every precaution to ensure that this E-Mail and any attachment(s) are free from viruses you are advised to take proper precautions and to carry out your own checks before opening any attachment. AKHTER COMPUTERS accept no responsibility for any damage or loss sustained as a result of software virus infection.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109597): https://edk2.groups.io/g/devel/message/109597
Mute This Topic: https://groups.io/mt/101944462/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20231012/3d3c3f8c/attachment-0001.htm>


More information about the edk2-devel-archive mailing list