public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "r0s via groups.io" <r0s=disroot.org@groups.io>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: [edk2-devel] edk2 build.py Unknown fatal error
Date: Wed, 02 Apr 2025 09:46:41 -0700	[thread overview]
Message-ID: <C293CDC5-D688-4709-BE9B-84372195F8ED@getmailspring.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1608 bytes --]

Hi!

I am attempting to build OvmfPkg with secure boot enabled.
(Python 3.13.2 on linux) Traceback (most recent call last):
File "/home/r0s/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2713, in Main
MyBuild = Build(Target, Workspace, Option,LogQ)
File "/home/r0s/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 833, in __init__
self.InitPreBuild()
~~~~~~~~~~~~~~~~~^^
File "/home/r0s/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 1033, in InitPreBuild
self.LoadConfiguration()
~~~~~~~~~~~~~~~~~~~~~~^^
File "/home/r0s/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 989, in LoadConfiguration
self.GetToolChainAndFamilyFromDsc (self.PlatformFile)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/home/r0s/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 924, in GetToolChainAndFamily
FromDsc
for KeyFamily, Key, KeyCodeBase in dscobj.BuildOptions:
^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'BuildOptions'

- Failed -
Build end time: 20:37:55, Mar.27 2025
Build total time: 00:00:00
Any help would be appreciated,
r0s


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121237): https://edk2.groups.io/g/devel/message/121237
Mute This Topic: https://groups.io/mt/112050174/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 3460 bytes --]

                 reply	other threads:[~2025-04-02 16:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C293CDC5-D688-4709-BE9B-84372195F8ED@getmailspring.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox