Hello Mike!
Hi Egor
On Wed, May 21, 2025 at 8:01 PM EGOR KHOKHLOV via groups.io
<khokhlov2002=yandex.ru@groups.io> wrote:
Hi there! I have ran into a problem while compiling EfiGuard which use EDK 2
Here is the Error Log
D:\Development\EDK2\edk2>build -a X64 -t VS2022 -p EfiGuardPkg/EfiGuardPkg.dsc -b RELEASE
Build environment: Windows-10-10.0.19041-SP0
Build start time: 01:12:38, May.21 2025
WORKSPACE = d:\development\edk2\edk2s
EDK_TOOLS_PATH = d:\development\edk2\edk2s\basetools
EDK_TOOLS_BIN = d:\development\edk2\edk2s\basetools\bin\win32
CONF_PATH = d:\development\edk2\edk2s\conf
PYTHON_COMMAND = py -3
build.py...
: error C0DE: Unknown fatal error when processing [d:\development\edk2\edk2s\EfiGuardPkg\EfiGuardPkg.dsc]
(Please send email to devel@edk2.groups.io for help, attaching following call stack trace!)
(Python 3.7.0 on win32) Traceback (most recent call last):
File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\build\build.py", line 2692, in Main
MyBuild = Build(Target, Workspace, Option,LogQ)
File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\build\build.py", line 815, in init
self.InitPreBuild()
File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\build\build.py", line 1015, in InitPreBuild
self.LoadConfiguration()
File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\build\build.py", line 971, in LoadConfiguration
self.GetToolChainAndFamilyFromDsc (self.PlatformFile)
File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\build\build.py", line 905, in GetToolChainAndFamilyFromDsc
dscobj = self.BuildDatabase[File, BuildArch]
File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\Workspace\WorkspaceDatabase.py", line 104, in getitem
BuildObject = self.CreateBuildObject(FilePath, Arch, Target, Toolchain)
File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\Workspace\WorkspaceDatabase.py", line 120, in CreateBuildObject
MetaFileStorage(self.WorkspaceDb, FilePath, FileType)
File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\Workspace\MetaFileTable.py", line 426, in new
reval = Class._FILE_TABLE_FileType
File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\Workspace\MetaFileTable.py", line 303, in init
MetaFileTable.__init__(self, Cursor, MetaFile, MODEL_FILE_DSC, Temporary, FromItem)
File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\Workspace\MetaFileTable.py", line 39, in init
MetaFile.TimeStamp,
File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\Common\Misc.py", line 1539, in TimeStamp
return os.stat(self.Path)[8]
File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\Common\LongFilePathOs.py", line 51, in stat
return os.stat(LongFilePath(path))
FileNotFoundError: [WinError 3] Системе не удается найти указанный путь: '\\\\?\\d:\\development\\edk2\\edk2s\\EfiGuardPkg\\EfiGuardPkg.dsc'
- Failed -
Build end time: 01:12:38, May.21 2025
Build total time: 00:00:00
BaseTools Compiled OK
Can you help me?
——————
Best Regards , EGOR .
Team Redline Software.
(C) 2025
try to apply this patch
```
diff --git a/EfiGuardPkg.dsc b/EfiGuardPkg.dsc
index 8f1104233740..50c0e84f2d2e 100644
--- a/EfiGuardPkg.dsc
+++ b/EfiGuardPkg.dsc
@@ -1,9 +1,9 @@
[Defines]
- PLATFORM_NAME = EfiGuard
+ PLATFORM_NAME = EfiGuardPkg
PLATFORM_GUID = C5ACE17D-FD90-44F7-847C-693ED2B8BEF9
PLATFORM_VERSION = 1.00
DSC_SPECIFICATION = 0x0001001B
- OUTPUT_DIRECTORY = Build/EfiGuard
+ OUTPUT_DIRECTORY = Build/EfiGuardPkg
SUPPORTED_ARCHITECTURES = X64
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
@@ -18,6 +18,8 @@
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
+ StackCheckLib|MdePkg/Library/StackCheckLib/StackCheckLib.inf
+ StackCheckFailureHookLib|MdePkg/Library/StackCheckFailureHookLibNull/StackCheckFailureHookLibNull.inf
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
```
Regards,
Mike.
You receive all messages sent to this group.
View/Reply Online (#121374) |
|
Mute This Topic
| New Topic
Your Subscription |
Contact Group Owner |
Unsubscribe
[rebecca@openfw.io]