From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 0DE3A740032 for ; Mon, 20 Nov 2023 00:51:30 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=um5d2cFWmQXBufp9q+RjjYsnQ2Po2wayGhzNypOPyvk=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:Subject:Thread-Topic:Thread-Index:Date:Message-ID:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type; s=20140610; t=1700441489; v=1; b=IX4zS+/Nk6NmqyQQeDYNnQxAn2HNEs99PQ18gGuvRw/mHysIff3OYNrO4947GrbBGkRyWdvB QF9GUUybjwwFJqnp16JSPQ3iG0qIGQuGsKk0/P7fof7G/q88e8FFPol5NOOOxLJHFajJ+cJgZQx 8TBsPQbVO4gHk4ql3E+yKo5Q= X-Received: by 127.0.0.2 with SMTP id Mrr3YY7687511xUUxHyrri3w; Sun, 19 Nov 2023 16:51:29 -0800 X-Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by mx.groups.io with SMTP id smtpd.web10.149.1700106392681173611 for ; Wed, 15 Nov 2023 19:46:32 -0800 X-Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AG2Q9sg009129 for ; Thu, 16 Nov 2023 03:46:31 GMT X-Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2169.outbound.protection.outlook.com [104.47.55.169]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ucq5fapkw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 16 Nov 2023 03:46:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AHzEOd1umMSHKnTcmhypYf9bgfzatSw0AwS5TCmTe/3usXqdLDnIonJKlrhJvzlJdVXbKlsz//xG4gcEOJSchhxHZiJjW2Y3C624pNSgKCWCA1ZwQ9FJUbo+giVHzPnEv9He/2Ebivu7ADmd6bmQd+I1oK/L+YI9j4QPw9JW4QqJuz46LNauQIaiNXhNjTXaafpwe8/KEj5DtFGgSXMN7Dyuw8HvDKv7RH688PTUPbtHS+EmHsnwV5uFacizhF5xpk/3JhqDfurQ9sWSdZx7TUafxlFFvPG4l7XVP2k1DleHj2nzxY4aqGFo+0CO48oe9qnKcvKlZpVMqHXbucyVUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/8Rhg9HuAr2vGqcja4JmcyPgj7N5G1fYsNx5ilSOgF8=; b=GsdAfIwdzNmDhKmSQukTqieqqcFOupgI//p4lRz3auU84P9whjMKtnAkR35l8OJC4X4aAJNxE65PCXEcEok/XI9cmeAfz6L3UFhJFBvhFQOKmjvtLaRO+rj2wa+DKlU3l7k/FtbhxwuZUOI3LZ+/XmNWXwyS/goSyB0prnMwFFX2VoTPYrZr6cx6MVUggRfKcbCN/4OBb8YkOVwoUs36+h7uFycqh3J9040TLGXlgPqPQNXmyLIMB5MjJfyIO6+rc3LiWQm6fHfUHA8Ze6oLntEYrLBrcJBgBcdCcYXOKYuRFlKP9SEElhGlCjIZmSeYmjIBpOzV09QBUzaDXyZPmA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=qti.qualcomm.com; dmarc=pass action=none header.from=qti.qualcomm.com; dkim=pass header.d=qti.qualcomm.com; arc=none X-Received: from SJ0PR02MB8718.namprd02.prod.outlook.com (2603:10b6:a03:3e0::19) by PH0PR02MB7639.namprd02.prod.outlook.com (2603:10b6:510:5c::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.31; Thu, 16 Nov 2023 03:46:28 +0000 X-Received: from SJ0PR02MB8718.namprd02.prod.outlook.com ([fe80::1c80:5bce:62b8:515b]) by SJ0PR02MB8718.namprd02.prod.outlook.com ([fe80::1c80:5bce:62b8:515b%5]) with mapi id 15.20.6954.021; Thu, 16 Nov 2023 03:46:28 +0000 From: "Jackie Lien (Temp) via groups.io" To: "devel@edk2.groups.io" Subject: [edk2-devel] Fail to build boot with tools code failure Thread-Topic: Fail to build boot with tools code failure Thread-Index: AdoYP3kSjp5PB5/tT+GebepAnRXHTw== Date: Thu, 16 Nov 2023 03:46:28 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR02MB8718:EE_|PH0PR02MB7639:EE_ x-ms-office365-filtering-correlation-id: f3c603c8-7725-4ef3-8f37-08dbe6569d33 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: sYVK8PiZlgAiahFt5PEwFBJDD1mqHhGTED31HNKT/Q7QUBtsEe1b/JLkeamloZm7kQmfdAO2cV+qxlK60T2eNc8U0rd9ip1VYdj4QwGcM2ZQRc4UEKdxbFYx5EHQ8bbxrN1PEYpLqW3sbdVAtcbHfY+5zgXnxvz4nds/0CkAnCQSvAuwvF7MYP0CvO93tMiX98YAboWjXV0M0kAOZu2075wEnbyuKVQR2Yh3usmqmCh3afZMTrZElVQuIR6Wm1uGQ/CHuSKypX9+X8nl0NzDUAsIRNDFARlbtUeL5rfmCDUFCz6gbg9n/PXm9jXMQA8CZgwS1qiW1XMQ9xDZ+1HzYSo7vERb/4v6liesJPbGpRyh1rWdl1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vi4Cf693K41BL4RbuMMe0X2wqC2HEH1e750Z31q4gN?= =?us-ascii?Q?KngDuAkRJr7n9fIFKGlCCfTE4xSbpHgVjup8qH1HeNeqYnReU3jlmiw9wqBH?= =?us-ascii?Q?oJWPhw+fKTTl3flwQPa8QrPDEvSYSFQDY/Fip2L8?= MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: i9e8wuhyRmZzbaPO+JcPPh6EAFyMdaPjEaR4YiUy/zScdNEWAQwRLEtRxhnaLcZ4gD7qRD7aoTXF+dRi9d+1fFYHedNtnDdkl0O/7HgDoZ0dTes6tYRIZuDLCCKG9wKHGrDBfmHdrI2Y4zrVTloIJYNZPj+cApJqMQeUYioT338gdT/RFG0X6vKpzpxDggtC5Yj+rFw/Cp3ynYk7bDLJP0eHsBJ/DDZHkznHGrbPRdeOArNhWujNryfJdpM4YCJ62z18Ave3C9xMTsu2q5xT5ywVAVOleHsk+srBx+MHwJHKUt569hh+70DfNvPfxBV8YwpiA3ZFjlIa0QgcmV4KJpL+ZcKGpHG/KEarK+gM04H6kobMP7ry33xtCZUmR7OHwiT2qDHK2WO0/94uZMrqV+Hxv4I+smBaieHYjvJ0X7oypw4ohDpeCOlMWmwQxuviX/2mVyS0knH+NsBwNoT7hAatDBiRHABYelpTQc31lavL3vxiHjW5ZpHd9fhQ4V0S7FxnXX4QCdQGvUyEQbHPAB9lSmxikyk8QFLlemhFyeKwU5ARDTg3YiAV8xmKtLVyR7Fo2tvDelQ7q16uRQb+zDqK48FgxbJ35tbPJjlXO+fObCOJbzDoBKd5rUmmizuAKov1Bi11FJ5tpImX83N6N/HfsRKQYtS+MA5UIDoP0pHvmtQJJ2pf7eR3S5kkAj+la3R8eBhba/GdATTqUd3QkNsJlyUBzf0HzxgYkcoBLr5pnz6s1miFVEwLjWF5PuSw65uK0ErHXRIjDDG4/2yruw== X-OriginatorOrg: qti.qualcomm.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR02MB8718.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f3c603c8-7725-4ef3-8f37-08dbe6569d33 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2023 03:46:28.1842 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 98e9ba89-e1a1-4e38-9007-8bdabc25de1d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: uQ58NvRhb3SBRWcZsp0TT2H8kYlJdD+rKXTZMaD4G8QKPlFNCv/4xm6w7C8IhCPSJOMRs9l4As6tveeSFHqurzkcJ5jwWp5vmhxQ9zC0MMA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR02MB7639 X-Proofpoint-GUID: HmdA8ZJ14PXiZgOcw13g467c1d5ENQD- X-Proofpoint-ORIG-GUID: HmdA8ZJ14PXiZgOcw13g467c1d5ENQD- Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,jacklien@qti.qualcomm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: tBtQiZ7Xq0O3KhhBeEE5pp35x7686176AA= Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_SJ0PR02MB8718BC8FB435D95596145CC5FFB0ASJ0PR02MB8718namp_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="IX4zS+/N"; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") --_000_SJ0PR02MB8718BC8FB435D95596145CC5FFB0ASJ0PR02MB8718namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi team, Please help with the build error in BOOT.MXF.1.1.1. The command and log are= listed below. Sync & build command: 1. python sync_crm.py BOOT.MXF.1.1.1-00175-Olympic-1 2. copy manifest to my local sync (copy \\snowcone\builds906\PROD\BOOT.M= XF.1.1.1-00175-Olympic-1\boot_images\boot_tools\manifest\build\manifest.xml= to \\jacklien-linux\workspace\BOOT.= MXF.1.1.1-00175-Olympic-1\boot_images\boot_tools\manifest\build\manifest.xm= l) 3. python buildex.py -t Olympic -v LE -r DEBUG Build log: build.py... : error C0DE: Tools code failure Please send email to devel@edk2.groups.io for help, attaching following call stack trace! Traceback (most recent call last): File "/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_images/edk= 2/BaseTools/Source/Python/GenFds/GenFds.py", line 371, in GenFdsApi GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList) File "/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_images/edk= 2/BaseTools/Source/Python/GenFds/GenFds.py", line 510, in GenFd FdObj.GenFd() File "/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_images/edk= 2/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 "/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_images/edk= 2/BaseTools/Source/Python/GenFds/Region.py", line 134, in AddToBuffer FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePo= larity, Flag=3DFlag) File "/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_images/edk= 2/BaseTools/Source/Python/GenFds/Fv.py", line 127, in AddToBuffer FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAddress, IsMa= kefile=3DFlag, FvName=3Dself.UiFvName) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_images/edk= 2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 518, in GenFfs InputSectList, InputSectAlignments =3D self.__GenComplexFileSection__(R= ule, FvChildAddr, FvParentAddr, IsMakefile=3DIsMakefile) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_images/edk= 2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 969, in __GenCom= plexFileSection__ SectList, Align =3D Sect.GenSection(self.OutputPath, self.ModuleGuid, S= ecIndex, self.KeyStringList, self, IsMakefile =3D IsMakefile) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_images/edk= 2/BaseTools/Source/Python/GenFds/EfiSection.py", line 263, in GenSection ImageObj =3D PeImageClass (File) ^^^^^^^^^^^^^^^^^^^ File "/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_images/edk= 2/BaseTools/Source/Python/Common/Misc.py", line 1638, in __init__ if ByteArray.tostring() !=3D b'PE\0\0': ^^^^^^^^^^^^^^^^^^ AttributeError: 'array.array' object has no attribute 'tostring' build.py... : error 7000: Failed to execute command - Failed - Build end time: 11:15:43, Nov.16 2023 Build total time: 00:00:23 ERROR: buildex::Run ['python', '/local/mnt/workspace/BOOT.MXF.1.1.1-00175-= Olympic-1/boot_images/edk2/BaseTools/Source/Python/build/build.py', '-p', '= QcomPkg/SocPkg/Olympic/LE/Core.dsc', '-j', 'QcomPkg/SocPkg/Olympic/LE/build= _Core.log', '-w', '-a', 'ARM', '-b', 'DEBUG', '-t', 'CLANG100LINUX', '-D', = 'BUILDROOT=3D/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_image= s', '-D', 'BOOTROOT=3D/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/b= oot_images/boot', '-D', 'REL=3DDEBUG', '-D', 'PRODMODE=3DDEBUGMODE', '-D', = 'VAR=3DLE', '-D', 'COMPLIER=3D', '-D', 'FIRSTDLL=3D', '-D', 'SECONDDLL=3D',= '-D', 'XBLSEC=3D', '-D', 'TARGETROOT=3DQcomPkg/SocPkg/Olympic', '-D', 'TAR= GETID=3DSocOlympic', '-D', 'TARGETPKG=3DSocPkg', '-D', 'QCOMDIR=3D', '-D', = 'BOOTTOOLS=3D/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_image= s/boot_tools', '-D', 'EDK2ROOT=3D/local/mnt/workspace/BOOT.MXF.1.1.1-00175-= Olympic-1/boot_images/edk2', '-D', 'SECTOOLS_DIR=3D/pkg/sectools/glue/lates= t', '-D', 'SECTOOLSROOT=3D/pkg/sectools/glue/latest', '-D', 'COMPILER=3DCLA= NG100LINUX', '-D', 'AARCH=3DARM'] Build Subprocess failed with error... None -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111428): https://edk2.groups.io/g/devel/message/111428 Mute This Topic: https://groups.io/mt/102698983/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --_000_SJ0PR02MB8718BC8FB435D95596145CC5FFB0ASJ0PR02MB8718namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi team,

Please help with the build error in BOOT.MXF.1.1.1. = The command and log are listed below.

 

Sync & build command:

  1. python sync_crm.py BOOT.MXF.1.1.1-00175-Olympic-1
  2. \\snowcone\builds906\PROD\BOOT.MXF.1.1.1-00175-Olympic-1\boot_images\boot_t= ools\manifest\build\manifest.xml to \\jacklien-linux\workspace\BOOT.MXF.1.1.1-00175-Olympic-1\boot_images\boot_= tools\manifest\build\manifest.xml)
  3. python buildex.= py -t Olympic -v LE -r DEBUG

 =

 

Build log:
build.py...

: error C0DE: Tools code failure

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

 

Traceback (most recent call last):

  File "/local/mnt/workspace/BOOT.MXF.1.1.= 1-00175-Olympic-1/boot_images/edk2/BaseTools/Source/Python/GenFds/GenFds.py= ", line 371, in GenFdsApi

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

  File "/local/mnt/workspace/BOOT.MXF.1.1.= 1-00175-Olympic-1/boot_images/edk2/BaseTools/Source/Python/GenFds/GenFds.py= ", line 510, in GenFd

    FdObj.GenFd()

  File "/local/mnt/workspace/BOOT.MXF.1.1.= 1-00175-Olympic-1/boot_images/edk2/BaseTools/Source/Python/GenFds/Fd.py&quo= t;, line 131, in GenFd

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

  File "/local/mnt/workspace/BOOT.MXF.1.1.= 1-00175-Olympic-1/boot_images/edk2/BaseTools/Source/Python/GenFds/Region.py= ", line 134, in AddToBuffer

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

  File "/local/mnt/workspace/BOOT.MXF.1.1.= 1-00175-Olympic-1/boot_images/edk2/BaseTools/Source/Python/GenFds/Fv.py&quo= t;, line 127, in AddToBuffer

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

        &nbs= p;      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/local/mnt/workspace/BOOT.MXF.1.1.= 1-00175-Olympic-1/boot_images/edk2/BaseTools/Source/Python/GenFds/FfsInfSta= tement.py", line 518, in GenFfs

    InputSectList, InputSectAlignment= s =3D self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr, IsMak= efile=3DIsMakefile)

        &nbs= p;            &= nbsp;           &nbs= p;       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/local/mnt/workspace/BOOT.MXF.1.1.= 1-00175-Olympic-1/boot_images/edk2/BaseTools/Source/Python/GenFds/FfsInfSta= tement.py", line 969, in __GenComplexFileSection__

    SectList, Align =3D Sect.GenSecti= on(self.OutputPath, self.ModuleGuid, SecIndex, self.KeyStringList, self, Is= Makefile =3D IsMakefile)

        &nbs= p;             = ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/local/mnt/workspace/BOOT.MXF.1.1.= 1-00175-Olympic-1/boot_images/edk2/BaseTools/Source/Python/GenFds/EfiSectio= n.py", line 263, in GenSection

    ImageObj =3D PeImageClass (File)<= o:p>

        &nbs= p;      ^^^^^^^^^^^^^^^^^^^

  File "/local/mnt/workspace/BOOT.MXF.1.1.= 1-00175-Olympic-1/boot_images/edk2/BaseTools/Source/Python/Common/Misc.py&q= uot;, line 1638, in __init__

    if ByteArray.tostring() !=3D b'PE= \0\0':

       ^^^^^^^^^^^^^^^= ^^^

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

 

 

 

build.py...

: error 7000: Failed to execute command

 

 

- Failed -

Build end time: 11:15:43, Nov.16 2023

Build total time: 00:00:23

 

ERROR: buildex::Run  ['python', '/local/mnt/wor= kspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_images/edk2/BaseTools/Source/Pyt= hon/build/build.py', '-p', 'QcomPkg/SocPkg/Olympic/LE/Core.dsc', '-j', 'Qco= mPkg/SocPkg/Olympic/LE/build_Core.log', '-w', '-a', 'ARM', '-b', 'DEBUG', '-t', 'CLANG100LINUX', '-D', 'BUILDROOT= =3D/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_images', '-D', = 'BOOTROOT=3D/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot_images= /boot', '-D', 'REL=3DDEBUG', '-D', 'PRODMODE=3DDEBUGMODE', '-D', 'VAR=3DLE', '-D', 'COMPLIER=3D', '-D', 'FIRSTDLL=3D', '-D', 'SECONDD= LL=3D', '-D', 'XBLSEC=3D', '-D', 'TARGETROOT=3DQcomPkg/SocPkg/Olympic', '-D= ', 'TARGETID=3DSocOlympic', '-D', 'TARGETPKG=3DSocPkg', '-D', 'QCOMDIR=3D',= '-D', 'BOOTTOOLS=3D/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boo= t_images/boot_tools', '-D', 'EDK2ROOT=3D/local/mnt/workspace/BOOT.MXF.1.1.1-00175-Olympic-1/boot= _images/edk2', '-D', 'SECTOOLS_DIR=3D/pkg/sectools/glue/latest', '-D', 'SEC= TOOLSROOT=3D/pkg/sectools/glue/latest', '-D', 'COMPILER=3DCLANG100LINUX', '= -D', 'AARCH=3DARM'] Build Subprocess failed with error...

None

 

 

_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#111428) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--_000_SJ0PR02MB8718BC8FB435D95596145CC5FFB0ASJ0PR02MB8718namp_--