Re: EDK build error


Andrew Fish
 

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@...> wrote:

Hi
I got the below build error. Can anybody help resolve it?
 
Thanks,
Jacek 
 
(Please send email to 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.


Join devel@edk2.groups.io to automatically receive all group messages.