public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: skeleton artem <tem50191@gmail.com>
To: devel@edk2.groups.io
Subject: build Errore
Date: Mon, 26 Jun 2023 22:04:32 +0300	[thread overview]
Message-ID: <CADSvVgiaWU6xY6Ed63z2qNWkO66R0Jv8vrYz6DTM=5=G698=rA@mail.gmail.com> (raw)

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

C:\edk2>build
Build environment: Windows-10-10.0.19045-SP0
Build start time: 22:01:50, Jun.26 2023

WORKSPACE        = c:\edk2
EDK_TOOLS_PATH   = c:\edk2\basetools
EDK_TOOLS_BIN    = c:\edk2\basetools\bin\win32
CONF_PATH        = c:\edk2\conf
PYTHON_COMMAND   = py -3


Processing meta-data .
Architecture(s)  = X64
Build target     = DEBUG
Toolchain        = VS2019

Active Platform          = c:\edk2\EmulatorPkg\EmulatorPkg.dsc
.


build.py...
 : error C0DE: Unknown fatal error when processing
[c:\edk2\EmulatorPkg\EmulatorPkg.dsc]

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

(Python 3.10.11 on win32) Traceback (most recent call last):
  File "C:\edk2\BaseTools\Source\Python\build\build.py", line 2695, in Main
    MyBuild.Launch()
  File "C:\edk2\BaseTools\Source\Python\build\build.py", line 2490, in
Launch
    self._MultiThreadBuildPlatform()
  File "C:\edk2\BaseTools\Source\Python\build\build.py", line 2282, in
_MultiThreadBuildPlatform
    Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)
  File "C:\edk2\BaseTools\Source\Python\build\build.py", line 2133, in
PerformAutoGen
    Wa = WorkspaceAutoGen(
  File "C:\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line
43, in __init__
    self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args,
**kwargs)
  File "C:\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line
120, in _InitWorker
    self.CollectAllPcds()
  File "C:\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line
490, in CollectAllPcds
    Pa = PlatformAutoGen(self, self.MetaFile, self.BuildTarget,
self.ToolChain, Arch)
  File "C:\edk2\BaseTools\Source\Python\AutoGen\PlatformAutoGen.py", line
72, in __init__
    self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch)
  File "C:\edk2\BaseTools\Source\Python\AutoGen\PlatformAutoGen.py", line
135, in _InitWorker
    self.DataPipe.FillData(self)
  File "C:\edk2\BaseTools\Source\Python\AutoGen\DataPipe.py", line 105, in
FillData
    platform_build_opt =  PlatformInfo.EdkIIBuildOption
  File "C:\edk2\BaseTools\Source\Python\Common\caching.py", line 28, in
__get__
    Value = obj.__dict__[self._function.__name__] = self._function(obj)
  File "C:\edk2\BaseTools\Source\Python\AutoGen\PlatformAutoGen.py", line
999, in EdkIIBuildOption
    return self._ExpandBuildOption(self.Platform.BuildOptions, EDKII_NAME)
  File "C:\edk2\BaseTools\Source\Python\AutoGen\PlatformAutoGen.py", line
1464, in _ExpandBuildOption
    ToolDef = self.ToolDefinition
  File "C:\edk2\BaseTools\Source\Python\Common\caching.py", line 28, in
__get__
    Value = obj.__dict__[self._function.__name__] = self._function(obj)
  File "C:\edk2\BaseTools\Source\Python\AutoGen\PlatformAutoGen.py", line
942, in ToolDefinition
    SaveFileOnChange(tool_def_file, ToolsDef, False)
  File "C:\edk2\BaseTools\Source\Python\Common\Misc.py", line 513, in
SaveFileOnChange
    Fd.write(Content)
  File
"C:\Users\tema_\AppData\Local\Programs\Python\Python310\lib\encodings\cp1251.py",
line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u202a' in
position 4182: character maps to <undefined>


- Failed -
Build end time: 22:01:53, Jun.26 2023
Build total time: 00:00:02

[-- Attachment #2: Type: text/html, Size: 3872 bytes --]

                 reply	other threads:[~2023-06-26 19:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CADSvVgiaWU6xY6Ed63z2qNWkO66R0Jv8vrYz6DTM=5=G698=rA@mail.gmail.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