From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 37B437803DE for ; Wed, 2 Apr 2025 16:46:43 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=C76JuQFE24Abzv42jYQ8ZbWYvQaGvhI82MaGKNdH/AA=; c=relaxed/simple; d=groups.io; h=Date:From:To:Message-ID:Subject:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240830; t=1743612403; v=1; x=1743871602; b=DO105VRu/SzzErOrCL6DbNVqUAtCf5odYt7+hzzkC6eBAG+GRAyLUFr9hQiscaY5GitKMgVU CfSxJPiWqkvAp6W1I3XvOn+PJAsWQe+9DqzHy0ZfUioRA/8ZTkimpzLYx9HQwHDf6mXhnGWYbVz Mupz0YruFb39EulNmYqEGcnm7vAFvL0xa/Ass3My6RoDqdOtdgq7iKl0uxTdY+neND9oqiuup+X ElflckqJhDa0alRyTl1OCReC9zwI543QC9qhcJTNwA5WTJ5jXST+6k+xV47JtPRdePiqqUUh+B5 PNeP4RCh5s62wbzQMknDflpj5gABwl6oWVJAf1k1FfBhQ== X-Received: by 127.0.0.2 with SMTP id ktHFYY7687511xNeDpO95VQR; Wed, 02 Apr 2025 09:46:42 -0700 X-Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) by mx.groups.io with SMTP id smtpd.web11.48935.1743079575857476472 for ; Thu, 27 Mar 2025 05:46:16 -0700 X-Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3236B25A96 for ; Thu, 27 Mar 2025 13:46:13 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org X-Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id MHy3RcfSzYI9 for ; Thu, 27 Mar 2025 13:46:12 +0100 (CET) Date: Wed, 02 Apr 2025 09:46:41 -0700 From: "r0s via groups.io" To: "=?utf-8?Q?devel=40edk2.groups.io?=" Message-ID: Subject: [edk2-devel] edk2 build.py Unknown fatal error MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 02 Apr 2025 09:46:41 -0700 Resent-From: r0s@disroot.org Reply-To: devel@edk2.groups.io,r0s@disroot.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: lLArJkC0BAcpkEYSao1m3W7Ux7686176AA= Content-Type: multipart/alternative; boundary="67e5488f_525b42ac_208d" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=DO105VRu; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io --67e5488f_525b42ac_208d Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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/bu= ild/build.py", line 2713, in Main MyBuild =3D Build(Target, Workspace, Option,LogQ) File "/home/r0s/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/bu= ild/build.py", line 833, in __init__ self.InitPreBuild() ~~~~~~~~~~~~~~~~~^^ File "/home/r0s/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/bu= ild/build.py", line 1033, in InitPreBuild self.LoadConfiguration() ~~~~~~~~~~~~~~~~~~~~~~^^ File "/home/r0s/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/bu= ild/build.py", line 989, in LoadConfiguration self.GetToolChainAndFamilyFromDsc (self.PlatformFile) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/home/r0s/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/bu= ild/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 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- 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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --67e5488f_525b42ac_208d Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi!

I am attempting to build OvmfPkg with secure boot en= abled.

(Python 3.13.2 o= n linux) Traceback (most recent call last):

File "/home/r0s/edk2/BaseTools/BinWrappers/Posi= xLike/../../Source/Python/build/build.py", line 2713, in Main
<= br>
MyBuild =3D Build(Target, Wor= kspace, Option,LogQ)

File "/home/r0s/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Pyth= on/build/build.py", line 833, in __init__

self.InitPreBuild()

~~~~~~~~~~~~~~~~~^^

File "/home/r0s/edk2/BaseTools/BinWrappe= rs/PosixLike/../../Source/Python/build/build.py", line 1033, in InitPreBuil= d

self.LoadConfi= guration()

~~~~~= ~~~~~~~~~~~~~~~~~^^

File "/home/r0s/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Pytho= n/build/build.py", line 989, in LoadConfiguration

self.GetToolChainAndFamilyFromDsc (self.P= latformFile)

~~~= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^

File "/home/r0s/edk2/BaseTools/BinWrappe= rs/PosixLike/../../Source/Python/build/build.py", line 924, in GetToolChain= AndFamily

FromDs= c

for KeyFamily,= Key, KeyCodeBase in dscobj.BuildOptions:

^^^^^^^^^^^^^^^^^^^

AttributeError: 'NoneType' object has no att= ribute 'BuildOptions'



- Failed -

Build end time: 20:37:55, Mar.27 2025

Build total time: 00:00:00

<= div>Any help would be appreciated,
r0s
3D"Sent
_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#121237) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--67e5488f_525b42ac_208d--