From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-170.mimecast.com (us-smtp-delivery-170.mimecast.com [170.10.133.170]) by mx.groups.io with SMTP id smtpd.web12.6163.1631260580506281556 for ; Fri, 10 Sep 2021 00:56:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@phoenix.com header.s=mimecast20170203 header.b=Zfhf3+9h; spf=pass (domain: phoenix.com, ip: 170.10.133.170, mailfrom: linus_liu@phoenix.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phoenix.com; s=mimecast20170203; t=1631260579; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=apisjQb0fw8JHaA1iyvAqXCFF6yHHaM59jOpa8HSzz4=; b=Zfhf3+9hUcoFZdf58+CQz6ZCu3lMR4I8cC5b/mKlgLIpEDXRfEG4vWxlOGW/Nj/Il/eWU9 L94SSXa97UXhZgAMuvcyfLA+aNydbyziCSRUfCqEWggiAEB8P+juv4Z8I4UxH4jjRQNdtR Vlo9s7INfXdTTy1+I6yxlgYjV0osNio= Received: from TWN-EXCHMB-13.phoenix.com (123.51.168.5 [123.51.168.5]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-252-91PFNaCWN4yhHVCwxjQ_cA-1; Fri, 10 Sep 2021 03:56:15 -0400 X-MC-Unique: 91PFNaCWN4yhHVCwxjQ_cA-1 X-CrossPremisesHeadersFilteredBySendConnector: TWN-EXCHMB-13.phoenix.com Received: from TWN-EXCHMB-13.phoenix.com (2607:f0dc:5001:ff01:3897:a901:3564:6014) by TWN-EXCHMB-13.phoenix.com (2607:f0dc:5001:ff01:3897:a901:3564:6014) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 10 Sep 2021 15:56:11 +0800 Received: from TWN-EXCHMB-13.phoenix.com ([fe80::3897:a901:3564:6014]) by TWN-EXCHMB-13.phoenix.com ([fe80::3897:a901:3564:6014%12]) with mapi id 15.00.1497.012; Fri, 10 Sep 2021 15:56:11 +0800 From: Linus Liu To: "devel@edk2.groups.io" Subject: alderlake code build fail under win10 Thread-Topic: alderlake code build fail under win10 Thread-Index: AdemGS1GGFEkZy1OS1+XAuVNJO8u/A== Date: Fri, 10 Sep 2021 07:56:10 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [2607:f0dc:5001:ff01:bd4b:476a:125:5e6f] MIME-Version: 1.0 X-OrganizationHeadersPreserved: TWN-EXCHMB-13.phoenix.com Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA70A150 smtp.mailfrom=linus_liu@phoenix.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: phoenix.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_ef5319e44a59400999bbadef79ebb39aTWNEXCHMB13phoenixcom_" --_000_ef5319e44a59400999bbadef79ebb39aTWNEXCHMB13phoenixcom_ Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Dear Sir I am trying to build the alder lake code, but got something wrong. Could you kindly give some help on it? Thanks a lot. build.py... : error C0DE: Tools code failure Please send email to devel@edk2.groups.io for help, attaching follo= wing call stack trace! Traceback (most recent call last): File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\GenFds.py", line = 384, in GenFdsApi GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList) File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\GenFds.py", line = 528, in GenFd FdObj.GenFd() File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\Fd.py", line 131,= in GenFd RegionObj.AddToBuffer (FdBuffer, self.BaseAddress, self.BlockSizeList, = self.ErasePolarity, GenFdsGlobalVariable.ImageBinDict, self.DefineVarDict, = Flag=3DFlag) File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\Region.py", line = 134, in AddToBuffer FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePo= larity, Flag=3DFlag) File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\Fv.py", line 127,= in AddToBuffer FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAddress, IsMa= kefile=3DFlag, FvName=3Dself.UiFvName) File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\FfsFileStatement.= py", line 169, in GenFfs sectList, align =3D section.GenSection(OutputDir, self.NameGuid, SecInd= ex, self.KeyStringList, None, Dict) File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\GuidSection.py", = line 95, in GenSection ReturnSectList, align =3D Sect.GenSection(OutputPath, ModuleName, SecIn= dex, KeyStringList, FfsInf, Dict, IsMakefile=3DIsMakefile) File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\FvImageSection.py= ", line 108, in GenSection FvFileName =3D Fv.AddToBuffer(Buffer, self.FvAddr, MacroDict =3D Dict, = Flag=3DIsMakefile) File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\Fv.py", line 127,= in AddToBuffer FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAddress, IsMa= kefile=3DFlag, FvName=3Dself.UiFvName) File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\FfsFileStatement.= py", line 169, in GenFfs sectList, align =3D section.GenSection(OutputDir, self.NameGuid, SecInd= ex, self.KeyStringList, None, Dict) File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\UiSection.py", li= ne 70, in GenSection GenFdsGlobalVariable.GenerateSection(OutputFile, None, 'EFI_SECTION_USE= R_INTERFACE', Ui=3DNameString, IsMakefile=3DIsMakefile) File "D:\Code\Trunk\Edk2\BaseTools\Source\Python\GenFds\GenFdsGlobalVaria= ble.py", line 490, in GenerateSection SectionData.fromstring(Ui.encode("utf_16_le")) AttributeError: 'array.array' object has no attribute 'fromstring' build.py... : error 7000: Failed to execute command --_000_ef5319e44a59400999bbadef79ebb39aTWNEXCHMB13phoenixcom_ Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable

Dear Sir

I am trying to build the alder lake code, but got so= mething wrong.

Could you kindly give some help on it?

Thanks a lot.

 

 

build.py...

: error C0DE: Tools code failure

        Please se= nd email to devel@edk2.groups.io for help, attaching following call stack t= race!

 

Traceback (most recent call last):

  File "D:\Code\Trunk\Edk2\BaseTools\Sourc= e\Python\GenFds\GenFds.py", line 384, in GenFdsApi

    GenFds.GenFd('', FdfParserObj, Bu= ildWorkSpace, ArchList)

  File "D:\Code\Trunk\Edk2\BaseTools\Sourc= e\Python\GenFds\GenFds.py", line 528, in GenFd

    FdObj.GenFd()

  File "D:\Code\Trunk\Edk2\BaseTools\Sourc= e\Python\GenFds\Fd.py", line 131, in GenFd

    RegionObj.AddToBuffer (FdBuffer, = self.BaseAddress, self.BlockSizeList, self.ErasePolarity, GenFdsGlobalVaria= ble.ImageBinDict, self.DefineVarDict, Flag=3DFlag)

  File "D:\Code\Trunk\Edk2\BaseTools\Sourc= e\Python\GenFds\Region.py", line 134, in AddToBuffer

    FvObj.AddToBuffer(FvBuffer, FvBas= eAddress, BlockSize, BlockNum, ErasePolarity, Flag=3DFlag)

  File "D:\Code\Trunk\Edk2\BaseTools\Sourc= e\Python\GenFds\Fv.py", line 127, in AddToBuffer

    FileName =3D FfsFile.GenFfs(Macro= Dict, FvParentAddr=3DBaseAddress, IsMakefile=3DFlag, FvName=3Dself.UiFvName= )

  File "D:\Code\Trunk\Edk2\BaseTools\Sourc= e\Python\GenFds\FfsFileStatement.py", line 169, in GenFfs

    sectList, align =3D section.GenSe= ction(OutputDir, self.NameGuid, SecIndex, self.KeyStringList, None, Dict)

  File "D:\Code\Trunk\Edk2\BaseTools\Sourc= e\Python\GenFds\GuidSection.py", line 95, in GenSection

    ReturnSectList, align =3D Sect.Ge= nSection(OutputPath, ModuleName, SecIndex, KeyStringList, FfsInf, Dict, IsM= akefile=3DIsMakefile)

  File "D:\Code\Trunk\Edk2\BaseTools\Sourc= e\Python\GenFds\FvImageSection.py", line 108, in GenSection=

    FvFileName =3D Fv.AddToBuffer(Buf= fer, self.FvAddr, MacroDict =3D Dict, Flag=3DIsMakefile)

  File "D:\Code\Trunk\Edk2\BaseTools\Sourc= e\Python\GenFds\Fv.py", line 127, in AddToBuffer

    FileName =3D FfsFile.GenFfs(Macro= Dict, FvParentAddr=3DBaseAddress, IsMakefile=3DFlag, FvName=3Dself.UiFvName= )

  File "D:\Code\Trunk\Edk2\BaseTools\Sourc= e\Python\GenFds\FfsFileStatement.py", line 169, in GenFfs

    sectList, align =3D section.GenSe= ction(OutputDir, self.NameGuid, SecIndex, self.KeyStringList, None, Dict)

  File "D:\Code\Trunk\Edk2\BaseTools\Sourc= e\Python\GenFds\UiSection.py", line 70, in GenSection

    GenFdsGlobalVariable.GenerateSect= ion(OutputFile, None, 'EFI_SECTION_USER_INTERFACE', Ui=3DNameString, IsMake= file=3DIsMakefile)

  File "D:\Code\Trunk\Edk2\BaseTools\Sourc= e\Python\GenFds\GenFdsGlobalVariable.py", line 490, in GenerateSection=

    SectionData.fromstring(Ui.encode(= "utf_16_le"))

AttributeError: 'array.array' object has no attribut= e 'fromstring'

 

 

 

build.py...

: error 7000: Failed to execute command

--_000_ef5319e44a59400999bbadef79ebb39aTWNEXCHMB13phoenixcom_--