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 59132941C08 for ; Wed, 21 May 2025 18:05:48 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=q7lOLnlY2yj3MxaXD4r28TJ5d6D7gV6hLy8JBVNkdRc=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To: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:Content-Transfer-Encoding; s=20240830; t=1747850748; v=1; x=1748109946; b=fCj2aIhAu+zIEIhXGVGuUT3YAKJbxPY7xMelwfH2FP2XBkPMC2lr+7ZyKfEgj8losRDctq1t njXXU7CCXuXGCfDwGuFmZ4vfduMA44GqzcmJwR+zmGm1/jsDpeDMxwFlmRE/GNfSykrqBUUxJim eHfvyFx6kO+9Cb9mdZ6jttnWvHYKmJyP3+cGW7lYNza4GYrrUWNIgDJXAZHczzOm/sX3j4UYWPM l6NwFLcFKpLay8N4yy/preSM6AgYXAoiCefWbr0Tl/UmmC7fvft3U23fQaoDnsi/2khxprTF+60 X1pycTlRRxeL1Xh5NBBoxvoF3owKCBVVJrGzbZSQHPkxQ== X-Received: by 127.0.0.2 with SMTP id yiKtYY7687511xxW6PDMowe0; Wed, 21 May 2025 11:05:46 -0700 X-Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) by mx.groups.io with SMTP id smtpd.web11.5661.1747850745847065113 for ; Wed, 21 May 2025 11:05:46 -0700 X-Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-54d6f933152so10940193e87.1 for ; Wed, 21 May 2025 11:05:45 -0700 (PDT) X-Gm-Message-State: AVbboPZMahGwi8CiaJnSpNd3x7686176AA= X-Gm-Gg: ASbGncs+OCwrFykELZ2S3Tq5lpUIQbntyBNRRkGjLJ1oRKcViZHNx0yLOHqFMo3qDkx 4BKer/0rHXcnkAOOO3A8xArrfMxRFL1/5C4RdAdRFtPaP6Jf9Z6M21S1VDyqEdv6Mcs8TcLJIAa b6baOupVMPV2Ie41CWCdKoCZQ6muNGVAN5 X-Google-Smtp-Source: AGHT+IEZSDMATVbHqkXwGAKsIiN41pYRrGXtmgl+NR9rsEFY6eGaiEuxpNRNHSomXqmDhKi8vt8rUXcchpTrOI+Q46I= X-Received: by 2002:a05:6512:6409:b0:54f:c10b:7290 with SMTP id 2adb3069b0e04-550e97cc545mr6071222e87.26.1747850743574; Wed, 21 May 2025 11:05:43 -0700 (PDT) MIME-Version: 1.0 References: <323521747779335@mail-sendbernar-production-main-44.klg.yp-c.yandex.net> In-Reply-To: <323521747779335@mail-sendbernar-production-main-44.klg.yp-c.yandex.net> From: "Mike Maslenkin via groups.io" Date: Wed, 21 May 2025 21:05:06 +0300 X-Gm-Features: AX0GCFtw0NS-NqHV2vKr8xbaXPXwhcmFI8I3Pi-DO1khv0BDfKPY6QN4SwPx-xs Message-ID: Subject: Re: [edk2-devel] Problems While compiling EfiGuard To: devel@edk2.groups.io, khokhlov2002@yandex.ru 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, 21 May 2025 11:05:46 -0700 Resent-From: mike.maslenkin@gmail.com Reply-To: devel@edk2.groups.io,mike.maslenkin@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=fCj2aIhA; 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 Hi Egor On Wed, May 21, 2025 at 8:01=E2=80=AFPM EGOR KHOKHLOV via groups.io wrote: > > Hi there! I have ran into a problem while compiling EfiGuard which use ED= K 2 > > Here is the Error Log > > D:\Development\EDK2\edk2>build -a X64 -t VS2022 -p EfiGuardPkg/EfiGuardPk= g.dsc -b RELEASE > Build environment: Windows-10-10.0.19041-SP0 > Build start time: 01:12:38, May.21 2025 > > WORKSPACE =3D d:\development\edk2\edk2s > EDK_TOOLS_PATH =3D d:\development\edk2\edk2s\basetools > EDK_TOOLS_BIN =3D d:\development\edk2\edk2s\basetools\bin\win32 > CONF_PATH =3D d:\development\edk2\edk2s\conf > PYTHON_COMMAND =3D py -3 > > > build.py... > : error C0DE: Unknown fatal error when processing [d:\development\edk2\e= dk2s\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 =3D 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 =3D self.BuildDatabase[File, BuildArch] > File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\Workspace\Works= paceDatabase.py", line 104, in getitem > BuildObject =3D self.CreateBuildObject(FilePath, Arch, Target, Toolch= ain) > File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\Workspace\Works= paceDatabase.py", line 120, in CreateBuildObject > MetaFileStorage(self.WorkspaceDb, FilePath, FileType) > File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\Workspace\MetaF= ileTable.py", line 426, in new > reval =3D Class._FILE_TABLE_FileType > File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\Workspace\MetaF= ileTable.py", line 303, in init > MetaFileTable.__init__(self, Cursor, MetaFile, MODEL_FILE_DSC, Tempor= ary, FromItem) > File "D:\Development\EDK2\edk2s\BaseTools\Source\Python\Workspace\MetaF= ileTable.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\LongFile= PathOs.py", line 51, in stat > return os.stat(LongFilePath(path)) > FileNotFoundError: [WinError 3] =D0=A1=D0=B8=D1=81=D1=82=D0=B5=D0=BC=D0= =B5 =D0=BD=D0=B5 =D1=83=D0=B4=D0=B0=D0=B5=D1=82=D1=81=D1=8F =D0=BD=D0=B0=D0= =B9=D1=82=D0=B8 =D1=83=D0=BA=D0=B0=D0=B7=D0=B0=D0=BD=D0=BD=D1=8B=D0=B9 =D0= =BF=D1=83=D1=82=D1=8C: '\\\\?\\d:\\development\\edk2\\edk2s\\EfiGuardPkg\\E= fiGuardPkg.dsc' > > > - Failed - > Build end time: 01:12:38, May.21 2025 > Build total time: 00:00:00 > > BaseTools Compiled OK > > Can you help me? > > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 > 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 =3D EfiGuard + PLATFORM_NAME =3D EfiGuardPkg PLATFORM_GUID =3D C5ACE17D-FD90-44F7-847C-693ED2B8BEF9 PLATFORM_VERSION =3D 1.00 DSC_SPECIFICATION =3D 0x0001001B - OUTPUT_DIRECTORY =3D Build/EfiGuard + OUTPUT_DIRECTORY =3D Build/EfiGuardPkg SUPPORTED_ARCHITECTURES =3D X64 BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D 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/Sta= ckCheckFailureHookLibNull.inf SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchroniza= tionLib.inf CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf ``` Regards, Mike. -=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 (#121368): https://edk2.groups.io/g/devel/message/121368 Mute This Topic: https://groups.io/mt/113232881/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-