public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] help needed - FAILED [build -p EmulatorPkg\EmulatorPkg.dsc -t VS2019 -a X64]
@ 2024-08-13  2:25 michael yang
  2024-08-13 16:44 ` Andrew Fish via groups.io
  0 siblings, 1 reply; 2+ messages in thread
From: michael yang @ 2024-08-13  2:25 UTC (permalink / raw)
  To: devel

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

Hi,
build failed, could you please?
D:\work\dev\efiWorkspace\edk2>build -p EmulatorPkg\EmulatorPkg.dsc -t
VS2019 -a X64
Build environment: Windows-10-10.0.19045-SP0
Build start time: 10:24:16, Aug.13 2024

WORKSPACE        = d:\work\dev\efiworkspace
EDK_TOOLS_PATH   = d:\work\dev\efiworkspace\edk2\basetools
EDK_TOOLS_BIN    = d:\work\dev\efiworkspace\edk2\basetools\bin\win32
CONF_PATH        = d:\work\dev\efiworkspace\edk2\conf
PYTHON_COMMAND   = py -3


build.py...
 : error C0DE: Unknown fatal error when processing
[d:\work\dev\efiworkspace\EmulatorPkg\EmulatorPkg.dsc]

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

(Python 3.10.5 on win32) Traceback (most recent call last):
  File
"D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py",
line 2692, in Main
    MyBuild = Build(Target, Workspace, Option,LogQ)
  File
"D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py",
line 815, in __init__
    self.InitPreBuild()
  File
"D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py",
line 1015, in InitPreBuild
    self.LoadConfiguration()
  File
"D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py",
line 971, in LoadConfiguration
    self.GetToolChainAndFamilyFromDsc (self.PlatformFile)
  File
"D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py",
line 905, in GetToolChainAndFamilyFromDsc
    dscobj = self.BuildDatabase[File, BuildArch]
  File
"D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\WorkspaceDatabase.py",
line 104, in __getitem__
    BuildObject = self.CreateBuildObject(FilePath, Arch, Target, Toolchain)
  File
"D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\WorkspaceDatabase.py",
line 120, in CreateBuildObject
    MetaFileStorage(self.WorkspaceDb, FilePath, FileType)
  File
"D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\MetaFileTable.py",
line 426, in __new__
    reval = Class._FILE_TABLE_[FileType](*Args)
  File
"D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\MetaFileTable.py",
line 303, in __init__
    MetaFileTable.__init__(self, Cursor, MetaFile, MODEL_FILE_DSC,
Temporary, FromItem)
  File
"D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\MetaFileTable.py",
line 39, in __init__
    MetaFile.TimeStamp,
  File
"D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Common\Misc.py",
line 1539, in TimeStamp
    return os.stat(self.Path)[8]
  File
"D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Common\LongFilePathOs.py",
line 51, in stat
    return os.stat(LongFilePath(path))
FileNotFoundError: [WinError 3] The system cannot find the path specified:
'\\\\?\\d:\\work\\dev\\efiworkspace\\EmulatorPkg\\EmulatorPkg.dsc'


- Failed -
Build end time: 10:24:16, Aug.13 2024
Build total time: 00:00:00

-- 
Thanks, Michael Yang


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

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

* Re: [edk2-devel] help needed - FAILED [build -p EmulatorPkg\EmulatorPkg.dsc -t VS2019 -a X64]
  2024-08-13  2:25 [edk2-devel] help needed - FAILED [build -p EmulatorPkg\EmulatorPkg.dsc -t VS2019 -a X64] michael yang
@ 2024-08-13 16:44 ` Andrew Fish via groups.io
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Fish via groups.io @ 2024-08-13 16:44 UTC (permalink / raw)
  To: edk2-devel-groups-io, myang58

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



> On Aug 12, 2024, at 7:25 PM, michael yang <myang58@gmail.com> wrote:
> 
> Hi, 
> build failed, could you please?
> D:\work\dev\efiWorkspace\edk2>build -p EmulatorPkg\EmulatorPkg.dsc -t VS2019 -a X64

Your build command is implying D:\work\dev\efiWorkspace\edk2\EmulatorPkg\EmulatorPkg.dsc but your WORKSPACE is d:\work\dev\efiworkspace thus '\\\\?\\d:\\work\\dev\\efiworkspace\\EmulatorPkg\\EmulatorPkg.dsc’ does not exist. 

So your WORKSPACE env variable seems setup wrong? This is usually setup via edksetup.bat. Try deleting the WORKSPACE env variable and setting it up again?

Thanks,

Andrew Fish

> Build environment: Windows-10-10.0.19045-SP0
> Build start time: 10:24:16, Aug.13 2024
> 
> WORKSPACE        = d:\work\dev\efiworkspace
> EDK_TOOLS_PATH   = d:\work\dev\efiworkspace\edk2\basetools
> EDK_TOOLS_BIN    = d:\work\dev\efiworkspace\edk2\basetools\bin\win32
> CONF_PATH        = d:\work\dev\efiworkspace\edk2\conf
> PYTHON_COMMAND   = py -3
> 
> 
> build.py...
>  : error C0DE: Unknown fatal error when processing [d:\work\dev\efiworkspace\EmulatorPkg\EmulatorPkg.dsc]
> 
> (Please send email to devel@edk2.groups.io <mailto:devel@edk2.groups.io> for help, attaching following call stack trace!)
> 
> (Python 3.10.5 on win32) Traceback (most recent call last):
>   File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py", line 2692, in Main
>     MyBuild = Build(Target, Workspace, Option,LogQ)
>   File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py", line 815, in __init__
>     self.InitPreBuild()
>   File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py", line 1015, in InitPreBuild
>     self.LoadConfiguration()
>   File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py", line 971, in LoadConfiguration
>     self.GetToolChainAndFamilyFromDsc (self.PlatformFile)
>   File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\build\build.py", line 905, in GetToolChainAndFamilyFromDsc
>     dscobj = self.BuildDatabase[File, BuildArch]
>   File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\WorkspaceDatabase.py", line 104, in __getitem__
>     BuildObject = self.CreateBuildObject(FilePath, Arch, Target, Toolchain)
>   File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\WorkspaceDatabase.py", line 120, in CreateBuildObject
>     MetaFileStorage(self.WorkspaceDb, FilePath, FileType)
>   File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\MetaFileTable.py", line 426, in __new__
>     reval = Class._FILE_TABLE_[FileType](*Args)
>   File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\MetaFileTable.py", line 303, in __init__
>     MetaFileTable.__init__(self, Cursor, MetaFile, MODEL_FILE_DSC, Temporary, FromItem)
>   File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Workspace\MetaFileTable.py", line 39, in __init__
>     MetaFile.TimeStamp,
>   File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Common\Misc.py", line 1539, in TimeStamp
>     return os.stat(self.Path)[8]
>   File "D:\work\dev\efiWorkspace\edk2\BaseTools\Source\Python\Common\LongFilePathOs.py", line 51, in stat
>     return os.stat(LongFilePath(path))
> FileNotFoundError: [WinError 3] The system cannot find the path specified: '\\\\?\\d:\\work\\dev\\efiworkspace\\EmulatorPkg\\EmulatorPkg.dsc'
> 
> 
> - Failed -
> Build end time: 10:24:16, Aug.13 2024
> Build total time: 00:00:00
> 
> -- 
> Thanks, Michael Yang
> 



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

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

end of thread, other threads:[~2024-08-13 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-13  2:25 [edk2-devel] help needed - FAILED [build -p EmulatorPkg\EmulatorPkg.dsc -t VS2019 -a X64] michael yang
2024-08-13 16:44 ` Andrew Fish 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