public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Andrew Fish via groups.io" <afish=apple.com@groups.io>
To: edk2-devel-groups-io <devel@edk2.groups.io>, myang58@gmail.com
Subject: Re: [edk2-devel] help needed - FAILED [build -p EmulatorPkg\EmulatorPkg.dsc -t VS2019 -a X64]
Date: Tue, 13 Aug 2024 09:44:29 -0700	[thread overview]
Message-ID: <6F5BC9A0-B870-4F33-A505-C4033052A871@apple.com> (raw)
In-Reply-To: <CAB3G68eUU2Mz4rUyTr6aeAW1DHKJnxLZWe16KhikaMdhvU3KAA@mail.gmail.com>

[-- 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 --]

      reply	other threads:[~2024-08-13 16:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6F5BC9A0-B870-4F33-A505-C4033052A871@apple.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox