public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* EDK build error
@ 2021-12-18 17:57 Kolakowski, Jacek
  2021-12-20 16:29 ` [edk2-devel] " Andrew Fish
  0 siblings, 1 reply; 2+ messages in thread
From: Kolakowski, Jacek @ 2021-12-18 17:57 UTC (permalink / raw)
  To: devel@edk2.groups.io

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

Hi
I got the below build error. Can anybody help resolve it?

Thanks,
Jacek

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

  (Python 3.8.6 on win32) Traceback (most recent call last):
  File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\build\build.py", line 2695, in Main
  MyBuild.Launch()
  File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\build\build.py", line 2490, in Launch
  self._MultiThreadBuildPlatform()
  File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\build\build.py", line 2282, in _MultiThreadBuildPlatform
  Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)
  File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\build\build.py", line 2133, in PerformAutoGen
  Wa = WorkspaceAutoGen(
  File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 43, in __init__
  self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs)
  File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 117, in _InitWorker
  self.ProcessPcdType()
  File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 264, in ProcessPcdType
  Platform.Pcds
  File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\Workspace\DscBuildData.py", line 1218, in Pcds
  self._Pcds = self.UpdateStructuredPcds(MODEL_PCD_TYPE_LIST, self._Pcds)
  File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\Workspace\DscBuildData.py", line 1600, in UpdateStructuredPcds
  Str_Pcd_Values = self.GenerateByteArrayValue(S_pcd_set)
  File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\Workspace\DscBuildData.py", line 3036, in GenerateByteArrayValue
  EdkLogger.warn('Build', COMMAND_FAILURE, 'Can not collect output from command: %s\n%s\n' % (Command, StdOut, StdErr))
  TypeError: not all arguments converted during string formatting


  - Failed -
  Build end time: 18:29:42, Dec.18 2021
  Build total time: 00:00:13
---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.
Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.

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

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

* Re: [edk2-devel] EDK build error
  2021-12-18 17:57 EDK build error Kolakowski, Jacek
@ 2021-12-20 16:29 ` Andrew Fish
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Fish @ 2021-12-20 16:29 UTC (permalink / raw)
  To: edk2-devel-groups-io, Jacek.Kolakowski

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

Jacek,

Since you are not subscribed to the mailing list this mail got sent to moderation….

Sometimes syntax errors in your build config files can crash the tools. This looks like a PCD value in a DSC might not be formatted correctly? If you have modified something in that area you can look into that. 

Thanks,

Andrew Fish

> On Dec 18, 2021, at 12:57 PM, Kolakowski, Jacek <Jacek.Kolakowski@intel.com> wrote:
> 
> Hi
> I got the below build error. Can anybody help resolve it?
>  
> Thanks,
> Jacek 
>  
> (Please send email to devel@edk2.groups.io <mailto:devel@edk2.groups.io> for help, attaching following call stack trace!)
>  
>   (Python 3.8.6 on win32) Traceback (most recent call last):
>   File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\build\build.py", line 2695, in Main
>   MyBuild.Launch()
>   File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\build\build.py", line 2490, in Launch
>   self._MultiThreadBuildPlatform()
>   File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\build\build.py", line 2282, in _MultiThreadBuildPlatform
>   Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)
>   File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\build\build.py", line 2133, in PerformAutoGen
>   Wa = WorkspaceAutoGen(
>   File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 43, in __init__
>   self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs)
>   File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 117, in _InitWorker
>   self.ProcessPcdType()
>   File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 264, in ProcessPcdType
>   Platform.Pcds
>   File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\Workspace\DscBuildData.py", line 1218, in Pcds
>   self._Pcds = self.UpdateStructuredPcds(MODEL_PCD_TYPE_LIST, self._Pcds)
>   File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\Workspace\DscBuildData.py", line 1600, in UpdateStructuredPcds
>   Str_Pcd_Values = self.GenerateByteArrayValue(S_pcd_set)
>   File "C:\source\7nmGnr2\edk2\BaseTools\Source\Python\Workspace\DscBuildData.py", line 3036, in GenerateByteArrayValue
>   EdkLogger.warn('Build', COMMAND_FAILURE, 'Can not collect output from command: %s\n%s\n' % (Command, StdOut, StdErr))
>   TypeError: not all arguments converted during string formatting
>  
>  
>   - Failed -
>   Build end time: 18:29:42, Dec.18 2021
>   Build total time: 00:00:13
> 
> Intel Technology Poland sp. z o.o.
> ul. Słowackiego 173 | 80-298 Gdańsk | Sąd Rejonowy Gdańsk Północ | VII Wydział Gospodarczy Krajowego Rejestru Sądowego - KRS 101882 | NIP 957-07-52-316 | Kapitał zakładowy 200.000 PLN.
> 
> Ta wiadomość wraz z załącznikami jest przeznaczona dla określonego adresata i może zawierać informacje poufne. W razie przypadkowego otrzymania tej wiadomości, prosimy o powiadomienie nadawcy oraz trwałe jej usunięcie; jakiekolwiek przeglądanie lub rozpowszechnianie jest zabronione.
> This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.
> 
> 


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

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

end of thread, other threads:[~2021-12-20 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-18 17:57 EDK build error Kolakowski, Jacek
2021-12-20 16:29 ` [edk2-devel] " Andrew Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox