public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] help needed: build.py fatal error
@ 2025-04-25  8:51 Tan, Hann Song via groups.io
  2025-04-28  4:10 ` Stepan via groups.io
  0 siblings, 1 reply; 2+ messages in thread
From: Tan, Hann Song via groups.io @ 2025-04-25  8:51 UTC (permalink / raw)
  To: devel@edk2.groups.io

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

Build Command line
C:\edkrepo\ServerGen3\Intel>LoganvilleRpPkg\PlatformBIOSBuild.py -c GRR -b DEBUG

Error messages:
  build.py...
  : error C0DE: Unknown fatal error when processing [c:\edkrepo\servergen3\intel\Build\LoganvilleRpPkg\SetupDefaultPreBuild.dsc]

  (Please send email to devel@edk2.groups.io<mailto:devel@edk2.groups.io> for help, attaching following call stack trace!)

  (Python 3.10.9 on win32) Traceback (most recent call last):
  File "C:\edkrepo\ServerGen3\edk2\BaseTools\Source\Python\build\build.py", line 2695, in Main
  MyBuild.Launch()
  File "C:\edkrepo\ServerGen3\edk2\BaseTools\Source\Python\build\build.py", line 2493, in Launch
  self._BuildModule()
  File "C:\edkrepo\ServerGen3\edk2\BaseTools\Source\Python\build\build.py", line 1882, in _BuildModule
  Wa = WorkspaceAutoGen(
  File "C:\edkrepo\ServerGen3\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 43, in __init__
  self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs)
  File "C:\edkrepo\ServerGen3\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 116, in _InitWorker
  self.ProcessModuleFromPdf()
  File "C:\edkrepo\ServerGen3\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 208, in ProcessModuleFromPdf
  if self.FdfProfile:
  File "C:\edkrepo\ServerGen3\edk2\BaseTools\Source\Python\Common\caching.py", line 28, in __get__
  Value = obj.__dict__[self._function.__name__] = self._function(obj)
  File "C:\edkrepo\ServerGen3\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 184, in FdfProfile
  Fdf.ParseFile()
  File "C:\edkrepo\ServerGen3\edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line 1318, in ParseFile
  self.Preprocess()
  File "C:\edkrepo\ServerGen3\edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line 1297, in Preprocess
  self.PreprocessIncludeFile()
  File "C:\edkrepo\ServerGen3\edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line 628, in PreprocessIncludeFile
  raise Warning("The include file does not exist under below directories: \n%s\n%s\n%s\n"%(os.path.dirname(self.FileName), PlatformDir, GlobalData.gWorkspace),
  GenFds.FdfParser.Warning: The include file does not exist under below directories:
  c:\edkrepo\servergen3\intel\LoganvilleRpPkg
  c:\edkrepo\servergen3\intel\Build\LoganvilleRpPkg
  c:\edkrepo\servergen3\intel
  near line 751, column 12: Platform/$(MERLIN_PLATFORM)/MerlinXPlatformPkg.fdf

#Let's Connect,
Hann Song
NXNE-MPE-MDNA-ACD (IODV) @ PG12



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121288): https://edk2.groups.io/g/devel/message/121288
Mute This Topic: https://groups.io/mt/112452070/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: 8959 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [edk2-devel] help needed: build.py fatal error
  2025-04-25  8:51 [edk2-devel] help needed: build.py fatal error Tan, Hann Song via groups.io
@ 2025-04-28  4:10 ` Stepan via groups.io
  0 siblings, 0 replies; 2+ messages in thread
From: Stepan via groups.io @ 2025-04-28  4:10 UTC (permalink / raw)
  To: Tan, Hann Song, devel

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

Hello Hann Song,

Check your SetupDefaultPreBuild.dsc and MerlinXPlatformPkg.fdf. These files try find file which not exist in directories c:\edkrepo\servergen3\intel\LoganvilleRpPkg c:\edkrepo\servergen3\intel\Build\LoganvilleRpPkg c:\edkrepo\servergen3\intel.

...
File "C:\edkrepo\ServerGen3\edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line 628, in PreprocessIncludeFile

 raise Warning("The include file does not exist under below directories: \n%s\n%s\n%s\n"%(os.path.dirname(self.FileName), PlatformDir, GlobalData.gWorkspace),

 GenFds.FdfParser.Warning: The include file does not exist under below directories:

 c:\edkrepo\servergen3\intel\LoganvilleRpPkg

 c:\edkrepo\servergen3\intel\Build\LoganvilleRpPkg

 c:\edkrepo\servergen3\intel

 near line 751, column 12: Platform/$(MERLIN_PLATFORM)/MerlinXPlatformPkg.fdf


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121289): https://edk2.groups.io/g/devel/message/121289
Mute This Topic: https://groups.io/mt/112452070/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: 1706 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-28  4:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-25  8:51 [edk2-devel] help needed: build.py fatal error Tan, Hann Song via groups.io
2025-04-28  4:10 ` Stepan via groups.io

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox