From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id EA0F3AC1B87 for ; Fri, 13 Oct 2023 23:15:51 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=16xi+pqpx/U3MvuacuarxTcuU42r8pmtS1fzrw6tCFo=; c=relaxed/simple; d=groups.io; h=MIME-Version:From:Date:Message-ID:Subject:To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1697238950; v=1; b=O3u9Pb7RGsGAzkbjRBJ0q1yG4+QrFKxZQIwYqU6YRlvfixR1tc9S+xuy7d84UwfJaGMt1PDG vHAd+zZRnPr3fia3lw0uABbZR6ykNDA56WY45q8j9iULZbQyOZSz/jtoH+A5nbhY9F2oz7ljpnp 4b9S6ZCX7djmS8MTmveNPbKs= X-Received: by 127.0.0.2 with SMTP id lC1gYY7687511xbz98OmuGx6; Fri, 13 Oct 2023 16:15:50 -0700 X-Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by mx.groups.io with SMTP id smtpd.web11.52612.1697238891268333195 for ; Fri, 13 Oct 2023 16:14:51 -0700 X-Received: by mail-qt1-f176.google.com with SMTP id d75a77b69052e-419628fb297so15403981cf.1 for ; Fri, 13 Oct 2023 16:14:51 -0700 (PDT) X-Gm-Message-State: OhuoQTOn7lRFGB3RzYiqI5vrx7686176AA= X-Google-Smtp-Source: AGHT+IGjhUcZ/WVZegvm6ldEhC7k0xiIyScnWVzKBLkDfNzUh853Fbyg6a6erF39G02jhgfTgna9Q0U+v90OofdPI98= X-Received: by 2002:a05:622a:1453:b0:417:b545:1ced with SMTP id v19-20020a05622a145300b00417b5451cedmr33017282qtx.29.1697238889712; Fri, 13 Oct 2023 16:14:49 -0700 (PDT) MIME-Version: 1.0 From: antonio parata Date: Sat, 14 Oct 2023 01:14:38 +0200 Message-ID: Subject: [edk2-devel] Error during OvmfPkg build on Windows To: devel@edk2.groups.io 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 Reply-To: devel@edk2.groups.io,aparata@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: multipart/alternative; boundary="0000000000001ed0060607a139dd" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=O3u9Pb7R; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io --0000000000001ed0060607a139dd Content-Type: text/plain; charset="UTF-8" Hello, I'm trying to build the OvmfPkg package on Windows by following the instruction at https://github.com/tianocore/tianocore.github.io/wiki/How-to-Build-With-Stuart#i-want-to-build-ovmfpkg-and-automatically-run-with-my-firmware-after-build . When I run the command: stuart_build -c OvmfPkg/PlatformCI/PlatformBuild.py -p OvmfPkg -a IA32,X64 TOOL_CHAIN_TAG=VS2022 I receive an error. Below the content of the generated log file telling me to send this email. Thanks --- INFO - Log Started: Saturday, October 14, 2023 01:08AM SECTION - Init Self Describing Environment DEBUG - --- self_describing_environment.__init__() DEBUG - Skipped directories specified = () DEBUG - --- self_describing_environment.load_workspace() DEBUG - Loading workspace: C:\src\edk2 DEBUG - Including scopes: ovmf, edk2-build, global-win, global DEBUG - --- self_describing_environment._gather_env_files() DEBUG - Adding descriptor C:\src\edk2\.venv\Lib\site-packages\edk2basetools\basetool_tiano_python_path_env.yaml to the environment with scope global DEBUG - Adding descriptor C:\src\edk2\BaseTools\basetools_calling_path_env.yaml to the environment with scope global DEBUG - Adding descriptor C:\src\edk2\BaseTools\basetools_path_env.yaml to the environment with scope global DEBUG - Adding descriptor C:\src\edk2\BaseTools\Bin\Win32\basetoolsbin_path_env.yaml to the environment with scope edk2-build DEBUG - Adding descriptor C:\src\edk2\BaseTools\BinWrappers\WindowsLike\win_build_tools_path_env.yaml to the environment with scope global-win DEBUG - Adding descriptor C:\src\edk2\BaseTools\Source\Python\basetool_tiano_python_path_env.yaml to the environment with scope global DEBUG - Adding descriptor C:\src\edk2\BaseTools\Bin\nasm_ext_dep.yaml to the environment with scope edk2-build DEBUG - Adding descriptor C:\src\edk2\OvmfPkg\PlatformCI\iasl_ext_dep.yaml to the environment with scope ovmf DEBUG - Adding descriptor C:\src\edk2\BaseTools\Plugin\BuildToolsReport\BuildToolsReportGenerator_plug_in.yaml to the environment with scope global DEBUG - Adding descriptor C:\src\edk2\BaseTools\Plugin\DebugMacroCheck\BuildPlugin\DebugMacroCheck_plug_in.yaml to the environment with scope global DEBUG - Adding descriptor C:\src\edk2\BaseTools\Plugin\WindowsResourceCompiler\WinRcPath_plug_in.yaml to the environment with scope global-win DEBUG - Adding descriptor C:\src\edk2\BaseTools\Plugin\WindowsVsToolChain\WindowsVsToolChain_plug_in.yaml to the environment with scope global-win DEBUG - --- self_describing_environment.update_simple_paths() DEBUG - --- self_describing_environment.update_extdep_paths() DEBUG - Verify 'iasl' returning 'True'. INFO - Computing path for iasl located at C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep on Host(os='Windows', arch='x86', bit='64') DEBUG - C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep\Windows-x86-64 does not exist INFO - C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep\Windows-x86 was found! DEBUG - Verify 'mu_nasm' returning 'True'. INFO - Computing path for mu_nasm located at C:\src\edk2\BaseTools\Bin\mu_nasm_extdep on Host(os='Windows', arch='x86', bit='64') INFO - C:\src\edk2\BaseTools\Bin\mu_nasm_extdep\Windows-x86-64 was found! DEBUG - --- self_describing_environment.report_extdep_version() DEBUG - Verify 'iasl' returning 'True'. INFO - Computing path for iasl located at C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep on Host(os='Windows', arch='x86', bit='64') DEBUG - C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep\Windows-x86-64 does not exist INFO - C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep\Windows-x86 was found! DEBUG - Setting up version aggregator DEBUG - Verify 'mu_nasm' returning 'True'. INFO - Computing path for mu_nasm located at C:\src\edk2\BaseTools\Bin\mu_nasm_extdep on Host(os='Windows', arch='x86', bit='64') INFO - C:\src\edk2\BaseTools\Bin\mu_nasm_extdep\Windows-x86-64 was found! DEBUG - Verify 'iasl' returning 'True'. INFO - Computing path for iasl located at C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep on Host(os='Windows', arch='x86', bit='64') DEBUG - C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep\Windows-x86-64 does not exist INFO - C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep\Windows-x86 was found! DEBUG - Verify 'iasl' returning 'True'. DEBUG - Verify 'mu_nasm' returning 'True'. INFO - Computing path for mu_nasm located at C:\src\edk2\BaseTools\Bin\mu_nasm_extdep on Host(os='Windows', arch='x86', bit='64') INFO - C:\src\edk2\BaseTools\Bin\mu_nasm_extdep\Windows-x86-64 was found! DEBUG - Verify 'mu_nasm' returning 'True'. SECTION - Loading Plugins DEBUG - Loading Plugin from C:\src\edk2\BaseTools\Plugin\BuildToolsReport\BuildToolsReportGenerator.py DEBUG - Loading Plugin from C:\src\edk2\BaseTools\Plugin\DebugMacroCheck\BuildPlugin\DebugMacroCheckBuildPlugin.py DEBUG - Loading Plugin from C:\src\edk2\BaseTools\Plugin\WindowsResourceCompiler\WinRcPath.py DEBUG - Loading Plugin from C:\src\edk2\BaseTools\Plugin\WindowsVsToolChain\WindowsVsToolChain.py SECTION - Start Invocable Tool INFO - Running Python version: sys.version_info(major=3, minor=10, micro=7, releaselevel='final', serial=0) INFO - regex version: 2023.8.8 INFO - pefile version: 2023.2.7 INFO - pywin32 version: 306 INFO - setuptools version: 63.2.0 INFO - pip version: 22.2.2 INFO - PyYAML version: 6.0.1 INFO - smmap version: 5.0.1 INFO - antlr4-python3-runtime version: 4.7.1 INFO - gitdb version: 4.0.10 INFO - GitPython version: 3.1.37 INFO - XlsxWriter version: 3.1.7 INFO - openpyxl version: 3.1.2 INFO - semantic-version version: 2.10.0 INFO - lcov-cobertura version: 2.0.2 INFO - et-xmlfile version: 1.1.0 INFO - edk2-pytool-extensions version: 0.23.10 INFO - edk2-pytool-library version: 0.14.1 INFO - edk2-basetools version: 0.1.48 SECTION - Loading Plugins DEBUG - Loading Plugin from C:\src\edk2\BaseTools\Plugin\BuildToolsReport\BuildToolsReportGenerator.py DEBUG - Loading Plugin from C:\src\edk2\BaseTools\Plugin\DebugMacroCheck\BuildPlugin\DebugMacroCheckBuildPlugin.py DEBUG - Loading Plugin from C:\src\edk2\BaseTools\Plugin\WindowsResourceCompiler\WinRcPath.py DEBUG - Loading Plugin from C:\src\edk2\BaseTools\Plugin\WindowsVsToolChain\WindowsVsToolChain.py SECTION - Kicking off build PROGRESS - Start time: 2023-10-14 01:08:50.793605 DEBUG - Logging all Registered Helper Functions: DEBUG - Finished logging 0 functions PROGRESS - Setting up the Environment DEBUG - PlatformBuilder SetPlatformEnv DEBUG - Conf version: 0.0 DEBUG - Template Version: 0.0 DEBUG - Conf version: 3.0 DEBUG - Template Version: 3.0 DEBUG - Conf version: 0.0 DEBUG - Template Version: 0.0 DEBUG - Parse Target.txt file DEBUG - Can't set value [EmulatorPkg/EmulatorPkg.dsc] as it isn't overrideable. Previous comment From CmdLine DEBUG - Can't set value [IA32] as it isn't overrideable. Previous comment >From CmdLine DEBUG - Can't set value [VS2015x86] as it isn't overrideable. Previous comment From CmdLine DEBUG - Parse tools_def.txt file DEBUG - Parse Active Platform DSC file: C:\src\edk2\OvmfPkg/OvmfPkgIa32X64.dsc DEBUG - Getting all build keys for build type DEBUG DEBUG - Parse Active Flash Definition (FDF) file DEBUG - Getting all build keys for build type DEBUG PROGRESS - Running Pre Build INFO - Writing BuildToolsReports to C:\src\edk2\Build\Ovmf3264\DEBUG_VS2022\BUILD_TOOLS_REPORT DEBUG - Plugin Success: Build Tools Report Generator DEBUG - Plugin Success: Debug Macro Check Plugin INFO - Cmd to run is: C:\src\edk2\.venv\lib\site-packages\edk2toollib\bin\vswhere.exe -latest -nologo -all -property installationPath -products * INFO - ------------------------------------------------ INFO - --------------Cmd Output Starting--------------- INFO - ------------------------------------------------ INFO - C:\Program Files\Microsoft Visual Studio\2022\Community INFO - ------------------------------------------------ INFO - --------------Cmd Output Finished--------------- INFO - --------- Running Time (mm:ss): 00:00 ---------- INFO - ----------- Return Code: 0x00000000 ------------ INFO - ------------------------------------------------ DEBUG - Calling 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat amd64' DEBUG - Plugin Success: Windows RC Path Support DEBUG - Plugin Success: Windows Visual Studio Tool Chain Support PROGRESS - Running Build DEBUG DEBUG - Getting all build keys for build type DEBUG DEBUG - The edk2 build command is build DEBUG - Edk2 build parameters are -p OvmfPkg/OvmfPkgIa32X64.dsc -b DEBUG -t VS2022 -a IA32 -a X64 INFO - Cmd to run is: build -p OvmfPkg/OvmfPkgIa32X64.dsc -b DEBUG -t VS2022 -a IA32 -a X64 INFO - ------------------------------------------------ INFO - --------------Cmd Output Starting--------------- INFO - ------------------------------------------------ INFO - Build environment: Windows-10-10.0.18362-SP0 INFO - Build start time: 01:08:55, Oct.14 2023 INFO - INFO - WORKSPACE = C:\src\edk2 INFO - EDK_TOOLS_PATH = C:\src\edk2\basetools INFO - EDK_TOOLS_BIN = C:\src\edk2\basetools\bin\win32 INFO - CONF_PATH = INFO - PYTHON_COMMAND = C:\src\edk2\.venv\Scripts\python.exe INFO - INFO - INFO - build.py... INFO - : error C0DE: Unknown fatal error when processing [C:\src\edk2\OvmfPkg\OvmfPkgIa32X64.dsc] INFO - INFO - (Please send email to devel@edk2.groups.io for help, attaching following call stack trace!) INFO - INFO - (Python 3.10.7 on win32) Traceback (most recent call last): INFO - File "C:\src\edk2\BaseTools\Source\Python\build\build.py", line 2692, in Main INFO - MyBuild = Build(Target, Workspace, Option,LogQ) INFO - File "C:\src\edk2\BaseTools\Source\Python\build\build.py", line 815, in __init__ INFO - self.InitPreBuild() INFO - File "C:\src\edk2\BaseTools\Source\Python\build\build.py", line 1015, in InitPreBuild INFO - self.LoadConfiguration() INFO - File "C:\src\edk2\BaseTools\Source\Python\build\build.py", line 971, in LoadConfiguration INFO - self.GetToolChainAndFamilyFromDsc (self.PlatformFile) INFO - File "C:\src\edk2\BaseTools\Source\Python\build\build.py", line 905, in GetToolChainAndFamilyFromDsc INFO - dscobj = self.BuildDatabase[File, BuildArch] INFO - File "C:\src\edk2\.venv\Lib\site-packages\edk2basetools\Workspace\WorkspaceDatabase.py", line 104, in __getitem__ INFO - BuildObject = self.CreateBuildObject(FilePath, Arch, Target, Toolchain) INFO - File "C:\src\edk2\.venv\Lib\site-packages\edk2basetools\Workspace\WorkspaceDatabase.py", line 125, in CreateBuildObject INFO - BuildObject = self._GENERATOR_[FileType]( INFO - File "C:\src\edk2\.venv\lib\site-packages\edk2basetools\Workspace\DscBuildData.py", line 231, in __init__ INFO - self.SkuIdMgr = SkuClass(self.SkuName, self.SkuIds) INFO - File "C:\src\edk2\.venv\lib\site-packages\edk2basetools\Workspace\DscBuildData.py", line 510, in SkuName INFO - self._GetHeaderInfo() INFO - File "C:\src\edk2\.venv\lib\site-packages\edk2basetools\Workspace\DscBuildData.py", line 310, in _GetHeaderInfo INFO - RecordList = self._RawData[MODEL_META_DATA_HEADER, self._Arch] INFO - File "C:\src\edk2\.venv\Lib\site-packages\edk2basetools\Workspace\MetaFileParser.py", line 250, in __getitem__ INFO - self._PostProcess() INFO - File "C:\src\edk2\.venv\Lib\site-packages\edk2basetools\Workspace\MetaFileParser.py", line 1429, in _PostProcess INFO - Processer[self._ItemType]() INFO - File "C:\src\edk2\.venv\Lib\site-packages\edk2basetools\Workspace\MetaFileParser.py", line 1608, in __ProcessDirective INFO - __IncludeMacros['WORKSPACE'] = GlobalData.gGlobalDefines['WORKSPACE'] INFO - KeyError: 'WORKSPACE' INFO - INFO - INFO - - Failed - INFO - Build end time: 01:08:55, Oct.14 2023 INFO - Build total time: 00:00:00 INFO - INFO - ------------------------------------------------ INFO - --------------Cmd Output Finished--------------- INFO - --------- Running Time (mm:ss): 00:00 ---------- INFO - ----------- Return Code: 0x00000001 ------------ INFO - ------------------------------------------------ CRITICAL - Build failed PROGRESS - End time: 2023-10-14 01:08:55.796367 Total time Elapsed: 0:00:05 SECTION - Log file is located at: C:\src\edk2\Build\BUILDLOG_OvmfPkg.txt SECTION - Summary ERROR - Error -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109612): https://edk2.groups.io/g/devel/message/109612 Mute This Topic: https://groups.io/mt/101951389/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- --0000000000001ed0060607a139dd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
I'm trying to build the=C2=A0OvmfPkg packag= e on Windows by following the instruction at=C2=A0https://g= ithub.com/tianocore/tianocore.github.io/wiki/How-to-Build-With-Stuart#i-wan= t-to-build-ovmfpkg-and-automatically-run-with-my-firmware-after-build.<= /div>

When I run the command:=C2=A0

=
stuart_build -c OvmfPkg/PlatformCI/PlatformBuild.py -p OvmfPkg -a IA32= ,X64 TOOL_CHAIN_TAG=3DVS2022=C2=A0

I receive an er= ror. Below the content of the generated log file telling me to send this em= ail.

Thanks
---

INFO - Log Started: Saturday, October 14, 2023 01:08AM
SECTION - Init S= elf Describing Environment
DEBUG - --- self_describing_environment.__ini= t__()
DEBUG - Skipped directories specified =3D ()
DEBUG - --- self_d= escribing_environment.load_workspace()
DEBUG - Loading workspace: C:\src= \edk2
DEBUG - =C2=A0 Including scopes: ovmf, edk2-build, global-win, glo= bal
DEBUG - --- self_describing_environment._gather_env_files()
DEBUG= - Adding descriptor C:\src\edk2\.venv\Lib\site-packages\edk2basetools\base= tool_tiano_python_path_env.yaml to the environment with scope global
DEB= UG - Adding descriptor C:\src\edk2\BaseTools\basetools_calling_path_env.yam= l to the environment with scope global
DEBUG - Adding descriptor C:\src\= edk2\BaseTools\basetools_path_env.yaml to the environment with scope global=
DEBUG - Adding descriptor C:\src\edk2\BaseTools\Bin\Win32\basetoolsbin_= path_env.yaml to the environment with scope edk2-build
DEBUG - Adding de= scriptor C:\src\edk2\BaseTools\BinWrappers\WindowsLike\win_build_tools_path= _env.yaml to the environment with scope global-win
DEBUG - Adding descri= ptor C:\src\edk2\BaseTools\Source\Python\basetool_tiano_python_path_env.yam= l to the environment with scope global
DEBUG - Adding descriptor C:\src\= edk2\BaseTools\Bin\nasm_ext_dep.yaml to the environment with scope edk2-bui= ld
DEBUG - Adding descriptor C:\src\edk2\OvmfPkg\PlatformCI\iasl_ext_dep= .yaml to the environment with scope ovmf
DEBUG - Adding descriptor C:\sr= c\edk2\BaseTools\Plugin\BuildToolsReport\BuildToolsReportGenerator_plug_in.= yaml to the environment with scope global
DEBUG - Adding descriptor C:\s= rc\edk2\BaseTools\Plugin\DebugMacroCheck\BuildPlugin\DebugMacroCheck_plug_i= n.yaml to the environment with scope global
DEBUG - Adding descriptor C:= \src\edk2\BaseTools\Plugin\WindowsResourceCompiler\WinRcPath_plug_in.yaml t= o the environment with scope global-win
DEBUG - Adding descriptor C:\src= \edk2\BaseTools\Plugin\WindowsVsToolChain\WindowsVsToolChain_plug_in.yaml t= o the environment with scope global-win
DEBUG - --- self_describing_envi= ronment.update_simple_paths()
DEBUG - --- self_describing_environment.up= date_extdep_paths()
DEBUG - Verify 'iasl' returning 'True= 9;.
INFO - Computing path for iasl located at C:\src\edk2\OvmfPkg\Platfo= rmCI\iasl_extdep on Host(os=3D'Windows', arch=3D'x86', bit= =3D'64')
DEBUG - C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep\Wind= ows-x86-64 does not exist
INFO - C:\src\edk2\OvmfPkg\PlatformCI\iasl_ext= dep\Windows-x86 was found!
DEBUG - Verify 'mu_nasm' returning &#= 39;True'.
INFO - Computing path for mu_nasm located at C:\src\edk2\B= aseTools\Bin\mu_nasm_extdep on Host(os=3D'Windows', arch=3D'x86= ', bit=3D'64')
INFO - C:\src\edk2\BaseTools\Bin\mu_nasm_extd= ep\Windows-x86-64 was found!
DEBUG - --- self_describing_environment.rep= ort_extdep_version()
DEBUG - Verify 'iasl' returning 'True&#= 39;.
INFO - Computing path for iasl located at C:\src\edk2\OvmfPkg\Platf= ormCI\iasl_extdep on Host(os=3D'Windows', arch=3D'x86', bit= =3D'64')
DEBUG - C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep\Wind= ows-x86-64 does not exist
INFO - C:\src\edk2\OvmfPkg\PlatformCI\iasl_ext= dep\Windows-x86 was found!
DEBUG - Setting up version aggregator
DEBU= G - Verify 'mu_nasm' returning 'True'.
INFO - Computing = path for mu_nasm located at C:\src\edk2\BaseTools\Bin\mu_nasm_extdep on Hos= t(os=3D'Windows', arch=3D'x86', bit=3D'64')
INFO= - C:\src\edk2\BaseTools\Bin\mu_nasm_extdep\Windows-x86-64 was found!
DE= BUG - Verify 'iasl' returning 'True'.
INFO - Computing p= ath for iasl located at C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep on Host(= os=3D'Windows', arch=3D'x86', bit=3D'64')
DEBUG = - C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep\Windows-x86-64 does not exist<= br>INFO - C:\src\edk2\OvmfPkg\PlatformCI\iasl_extdep\Windows-x86 was found!=
DEBUG - Verify 'iasl' returning 'True'.
DEBUG - Veri= fy 'mu_nasm' returning 'True'.
INFO - Computing path for= mu_nasm located at C:\src\edk2\BaseTools\Bin\mu_nasm_extdep on Host(os=3D&= #39;Windows', arch=3D'x86', bit=3D'64')
INFO - C:\sr= c\edk2\BaseTools\Bin\mu_nasm_extdep\Windows-x86-64 was found!
DEBUG - Ve= rify 'mu_nasm' returning 'True'.
SECTION - Loading Plugi= ns
DEBUG - Loading Plugin from C:\src\edk2\BaseTools\Plugin\BuildToolsRe= port\BuildToolsReportGenerator.py
DEBUG - Loading Plugin from C:\src\edk= 2\BaseTools\Plugin\DebugMacroCheck\BuildPlugin\DebugMacroCheckBuildPlugin.p= y
DEBUG - Loading Plugin from C:\src\edk2\BaseTools\Plugin\WindowsResour= ceCompiler\WinRcPath.py
DEBUG - Loading Plugin from C:\src\edk2\BaseTool= s\Plugin\WindowsVsToolChain\WindowsVsToolChain.py
SECTION - Start Invoca= ble Tool
INFO - Running Python version: sys.version_info(major=3D3, mino= r=3D10, micro=3D7, releaselevel=3D'final', serial=3D0)
INFO - re= gex version: 2023.8.8
INFO - pefile version: 2023.2.7
INFO - pywin32 = version: 306
INFO - setuptools version: 63.2.0
INFO - pip version: 22= .2.2
INFO - PyYAML version: 6.0.1
INFO - smmap version: 5.0.1
INFO= - antlr4-python3-runtime version: 4.7.1
INFO - gitdb version: 4.0.10INFO - GitPython version: 3.1.37
INFO - XlsxWriter version: 3.1.7
IN= FO - openpyxl version: 3.1.2
INFO - semantic-version version: 2.10.0
= INFO - lcov-cobertura version: 2.0.2
INFO - et-xmlfile version: 1.1.0INFO - edk2-pytool-extensions version: 0.23.10
INFO - edk2-pytool-libra= ry version: 0.14.1
INFO - edk2-basetools version: 0.1.48
SECTION - Lo= ading Plugins
DEBUG - Loading Plugin from C:\src\edk2\BaseTools\Plugin\B= uildToolsReport\BuildToolsReportGenerator.py
DEBUG - Loading Plugin from= C:\src\edk2\BaseTools\Plugin\DebugMacroCheck\BuildPlugin\DebugMacroCheckBu= ildPlugin.py
DEBUG - Loading Plugin from C:\src\edk2\BaseTools\Plugin\Wi= ndowsResourceCompiler\WinRcPath.py
DEBUG - Loading Plugin from C:\src\ed= k2\BaseTools\Plugin\WindowsVsToolChain\WindowsVsToolChain.py
SECTION - K= icking off build
PROGRESS - Start time: 2023-10-14 01:08:50.793605
DE= BUG - Logging all Registered Helper Functions:
DEBUG - Finished logging = 0 functions
PROGRESS - Setting up the Environment
DEBUG - PlatformBui= lder SetPlatformEnv
DEBUG - Conf version: 0.0
DEBUG - Template Versio= n: 0.0
DEBUG - Conf version: 3.0
DEBUG - Template Version: 3.0
DEB= UG - Conf version: 0.0
DEBUG - Template Version: 0.0
DEBUG - Parse Ta= rget.txt file
DEBUG - Can't set value [EmulatorPkg/EmulatorPkg.dsc] = as it isn't overrideable. Previous comment From CmdLine
DEBUG - Can&= #39;t set value [IA32] as it isn't overrideable. Previous comment From = CmdLine
DEBUG - Can't set value [VS2015x86] as it isn't override= able. Previous comment From CmdLine
DEBUG - Parse tools_def.txt file
= DEBUG - Parse Active Platform DSC file: C:\src\edk2\OvmfPkg/OvmfPkgIa32X64.= dsc
DEBUG - Getting all build keys for build type DEBUG
DEBUG - Parse= Active Flash Definition (FDF) file
DEBUG - Getting all build keys for b= uild type DEBUG
PROGRESS - Running Pre Build
INFO - Writing BuildTool= sReports to C:\src\edk2\Build\Ovmf3264\DEBUG_VS2022\BUILD_TOOLS_REPORT
D= EBUG - Plugin Success: Build Tools Report Generator
DEBUG - Plugin Succe= ss: Debug Macro Check Plugin
INFO - Cmd to run is: C:\src\edk2\.venv\lib= \site-packages\edk2toollib\bin\vswhere.exe -latest -nologo -all -property i= nstallationPath -products *
INFO - -------------------------------------= -----------
INFO - --------------Cmd Output Starting---------------
I= NFO - ------------------------------------------------
INFO - C:\Program= Files\Microsoft Visual Studio\2022\Community
INFO - -------------------= -----------------------------
INFO - --------------Cmd Output Finished--= -------------
INFO - --------- Running Time (mm:ss): 00:00 ----------INFO - ----------- Return Code: 0x00000000 ------------
INFO - --------= ----------------------------------------
DEBUG - Calling 'C:\Program= Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.= bat amd64'
DEBUG - Plugin Success: Windows RC Path Support
DEBUG = - Plugin Success: Windows Visual Studio Tool Chain Support
PROGRESS - Ru= nning Build DEBUG
DEBUG - Getting all build keys for build type DEBUGDEBUG - The edk2 build command is build
DEBUG - Edk2 build parameters a= re -p OvmfPkg/OvmfPkgIa32X64.dsc -b DEBUG -t VS2022 -a IA32 -a X64
INFO = - Cmd to run is: build -p OvmfPkg/OvmfPkgIa32X64.dsc -b DEBUG -t VS2022 -a = IA32 -a X64
INFO - ------------------------------------------------
I= NFO - --------------Cmd Output Starting---------------
INFO - ----------= --------------------------------------
INFO - Build environment: Windows= -10-10.0.18362-SP0
INFO - Build start time: 01:08:55, Oct.14 2023
INF= O -
INFO - WORKSPACE =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D C:\src\edk2
INFO= - EDK_TOOLS_PATH =C2=A0 =3D C:\src\edk2\basetools
INFO - EDK_TOOLS_BIN = =C2=A0 =C2=A0=3D C:\src\edk2\basetools\bin\win32
INFO - CONF_PATH =C2=A0= =C2=A0 =C2=A0 =C2=A0=3D
INFO - PYTHON_COMMAND =C2=A0 =3D C:\src\edk2\.v= env\Scripts\python.exe
INFO -
INFO -
INFO - build.py...
INFO = - =C2=A0: error C0DE: Unknown fatal error when processing [C:\src\edk2\Ovmf= Pkg\OvmfPkgIa32X64.dsc]
INFO -
INFO - (Please send email to devel@edk2.groups.io for help, attachi= ng following call stack trace!)
INFO -
INFO - (Python 3.10.7 on win3= 2) Traceback (most recent call last):
INFO - =C2=A0 File "C:\src\ed= k2\BaseTools\Source\Python\build\build.py", line 2692, in Main
INFO= - =C2=A0 =C2=A0 MyBuild =3D Build(Target, Workspace, Option,LogQ)
INFO = - =C2=A0 File "C:\src\edk2\BaseTools\Source\Python\build\build.py"= ;, line 815, in __init__
INFO - =C2=A0 =C2=A0 self.InitPreBuild()
INF= O - =C2=A0 File "C:\src\edk2\BaseTools\Source\Python\build\build.py&qu= ot;, line 1015, in InitPreBuild
INFO - =C2=A0 =C2=A0 self.LoadConfigurat= ion()
INFO - =C2=A0 File "C:\src\edk2\BaseTools\Source\Python\build= \build.py", line 971, in LoadConfiguration
INFO - =C2=A0 =C2=A0 sel= f.GetToolChainAndFamilyFromDsc (self.PlatformFile)
INFO - =C2=A0 File &q= uot;C:\src\edk2\BaseTools\Source\Python\build\build.py", line 905, in = GetToolChainAndFamilyFromDsc
INFO - =C2=A0 =C2=A0 dscobj =3D self.BuildD= atabase[File, BuildArch]
INFO - =C2=A0 File "C:\src\edk2\.venv\Lib\= site-packages\edk2basetools\Workspace\WorkspaceDatabase.py", line 104,= in __getitem__
INFO - =C2=A0 =C2=A0 BuildObject =3D self.CreateBuildObj= ect(FilePath, Arch, Target, Toolchain)
INFO - =C2=A0 File "C:\src\e= dk2\.venv\Lib\site-packages\edk2basetools\Workspace\WorkspaceDatabase.py&qu= ot;, line 125, in CreateBuildObject
INFO - =C2=A0 =C2=A0 BuildObject =3D= self._GENERATOR_[FileType](
INFO - =C2=A0 File "C:\src\edk2\.venv\= lib\site-packages\edk2basetools\Workspace\DscBuildData.py", line 231, = in __init__
INFO - =C2=A0 =C2=A0 self.SkuIdMgr =3D SkuClass(self.SkuName= , self.SkuIds)
INFO - =C2=A0 File "C:\src\edk2\.venv\lib\site-packa= ges\edk2basetools\Workspace\DscBuildData.py", line 510, in SkuName
= INFO - =C2=A0 =C2=A0 self._GetHeaderInfo()
INFO - =C2=A0 File "C:\s= rc\edk2\.venv\lib\site-packages\edk2basetools\Workspace\DscBuildData.py&quo= t;, line 310, in _GetHeaderInfo
INFO - =C2=A0 =C2=A0 RecordList =3D self= ._RawData[MODEL_META_DATA_HEADER, self._Arch]
INFO - =C2=A0 File "C= :\src\edk2\.venv\Lib\site-packages\edk2basetools\Workspace\MetaFileParser.p= y", line 250, in __getitem__
INFO - =C2=A0 =C2=A0 self._PostProcess= ()
INFO - =C2=A0 File "C:\src\edk2\.venv\Lib\site-packages\edk2base= tools\Workspace\MetaFileParser.py", line 1429, in _PostProcess
INFO= - =C2=A0 =C2=A0 Processer[self._ItemType]()
INFO - =C2=A0 File "C:= \src\edk2\.venv\Lib\site-packages\edk2basetools\Workspace\MetaFileParser.py= ", line 1608, in __ProcessDirective
INFO - =C2=A0 =C2=A0 __IncludeM= acros['WORKSPACE'] =3D GlobalData.gGlobalDefines['WORKSPACE'= ;]
INFO - KeyError: 'WORKSPACE'
INFO -
INFO -
INFO - = - Failed -
INFO - Build end time: 01:08:55, Oct.14 2023
INFO - Build = total time: 00:00:00
INFO -
INFO - ---------------------------------= ---------------
INFO - --------------Cmd Output Finished---------------<= br>INFO - --------- Running Time (mm:ss): 00:00 ----------
INFO - ------= ----- Return Code: 0x00000001 ------------
INFO - ----------------------= --------------------------
CRITICAL - Build failed
PROGRESS - End tim= e: 2023-10-14 01:08:55.796367 Total time Elapsed: 0:00:05
SECTION - Log= file is located at: C:\src\edk2\Build\BUILDLOG_OvmfPkg.txt
SECTION - Su= mmary
ERROR - Error
_._,_._,_

Groups.io Links:

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

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

_._,_._,_
--0000000000001ed0060607a139dd--