From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ma1-aaemail-dr-lapp01.apple.com (ma1-aaemail-dr-lapp01.apple.com [17.171.2.60]) by mx.groups.io with SMTP id smtpd.web08.203.1655929874164603772 for ; Wed, 22 Jun 2022 13:31:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=NRN29EFw; spf=pass (domain: apple.com, ip: 17.171.2.60, mailfrom: afish@apple.com) Received: from pps.filterd (ma1-aaemail-dr-lapp01.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp01.apple.com (8.16.0.42/8.16.0.42) with SMTP id 25MKIWXi049128; Wed, 22 Jun 2022 13:31:13 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : content-type : mime-version : subject : date : references : to : in-reply-to : message-id; s=20180706; bh=YqVOqziyx+Kpap9gZkqUqbWAOQf5uMjvNXA31Y+m2Xc=; b=NRN29EFwzM5YD28geVeaoykrhOOP2y1/9ktOIRCpM+F4280E8ZpcGUye0+2iGGra38uN XRagOZ7+BeXXmdboMsKquZwi9ZydOvdWZmNbDg/RJzmp2T0LG2OQUi5J1z9ikEjZ2bau nhq8cX9j+5mTPRL0ayn5pauNCO4uq2jYKJFOX9TPnJc5bwm/YKOq1Qf0UjGHVickwzqY FyqImmeKdL7vmc22IKT5HvtqCmPkVF8p/fZecJiOJB8JQXPGLqxRdONp2uiBMGV4kbwe UeAbMjUonA1ukfNPWE+w0jWAqclvs97Hp3aI4s/dnDxMZcRlPZmBuWG4CLfVwe5edwmh LQ== Received: from rn-mailsvcp-mta-lapp04.rno.apple.com (rn-mailsvcp-mta-lapp04.rno.apple.com [10.225.203.152]) by ma1-aaemail-dr-lapp01.apple.com with ESMTP id 3gsdc497xy-6 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 22 Jun 2022 13:31:13 -0700 Received: from rn-mailsvcp-mmp-lapp02.rno.apple.com (rn-mailsvcp-mmp-lapp02.rno.apple.com [17.179.253.15]) by rn-mailsvcp-mta-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.18.20220407 64bit (built Apr 7 2022)) with ESMTPS id <0RDW00I3EBNZECD0@rn-mailsvcp-mta-lapp04.rno.apple.com>; Wed, 22 Jun 2022 13:31:11 -0700 (PDT) Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp02.rno.apple.com by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.18.20220407 64bit (built Apr 7 2022)) id <0RDW00F00BNXU000@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Wed, 22 Jun 2022 13:31:11 -0700 (PDT) X-Va-A: X-Va-T-CD: 9bd17c23840ced045a53002e6b7b47af X-Va-E-CD: 27d1f218c5a217ed930aa4d044a6f61a X-Va-R-CD: af3e45384f661ff050ed469f16e56199 X-Va-CD: 0 X-Va-ID: cac98071-d255-4f56-8567-57e32a7e7453 X-V-A: X-V-T-CD: 9bd17c23840ced045a53002e6b7b47af X-V-E-CD: 27d1f218c5a217ed930aa4d044a6f61a X-V-R-CD: af3e45384f661ff050ed469f16e56199 X-V-CD: 0 X-V-ID: 985a218a-6433-4778-92a1-a7bccfe42db3 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517,18.0.883 definitions=2022-06-22_07:2022-06-22,2022-06-22 signatures=0 Received: from smtpclient.apple (unknown [17.235.53.23]) by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.18.20220407 64bit (built Apr 7 2022)) with ESMTPSA id <0RDW00CKSBNZYK00@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Wed, 22 Jun 2022 13:31:11 -0700 (PDT) From: "Andrew Fish" MIME-version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: Re: [edk2-devel] Aurora build failure Date: Wed, 22 Jun 2022 13:31:10 -0700 References: To: edk2-devel-groups-io , shivpati@qti.qualcomm.com In-reply-to: Message-id: X-Mailer: Apple Mail (2.3693.20.0.1.32) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517,18.0.883 definitions=2022-06-22_07:2022-06-22,2022-06-22 signatures=0 Content-type: multipart/alternative; boundary="Apple-Mail=_F2F812C0-49F7-4D82-950D-25BCFD31CC35" --Apple-Mail=_F2F812C0-49F7-4D82-950D-25BCFD31CC35 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I=E2=80=99m guessing all the CI testing is on Python 3.8.x I noticed one of the CI pipes is asking for Python 3.8 [1] [1] https://github.com/tianocore/edk2/blob/master/.azurepipelines/Ubuntu-Pa= tchCheck.yml Thanks, Andrew Fish > On Jun 22, 2022, at 7:34 AM, Andrew (EFI) Fish wrote: >=20 > That looks like an issue with using Python 3.9 as it changed tostring to = tobyte.=20 >=20 > Sent from my iPhone >=20 >> On Jun 22, 2022, at 7:25 AM, Shivraj Patil w= rote: >>=20 >> =EF=BB=BF >> Hello, >> I am observing the following failure while trying to build Aurora AU_LIN= UX_EMBEDDED_LE.PRODUCT.1.0_TARGET_ALL.01.318.215. Please have a look and pr= ovide a solution for the same. >> =20 >> (Python 3.9.4 on linux) Traceback (most recent call last): >> | File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-deb= ug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/Po= sixLike/../../Source/Python/build/build.py", line 2596, in Main >> | MyBuild.Launch() >> | File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-deb= ug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/Po= sixLike/../../Source/Python/build/build.py", line 2391, in Launch >> | self._MultiThreadBuildPlatform() >> | File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-deb= ug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/Po= sixLike/../../Source/Python/build/build.py", line 2271, in _MultiThreadBuil= dPlatform >> | self.CreateAsBuiltInf() >> | File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-deb= ug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/Po= sixLike/../../Source/Python/build/build.py", line 2401, in CreateAsBuiltInf >> | Module.CreateAsBuiltInf() >> | File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-deb= ug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/= AutoGen/ModuleAutoGen.py", line 1503, in CreateAsBuiltInf >> | PatchList =3D parsePcdInfoFromMapFile( >> | File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-deb= ug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/= GenPatchPcdTable/GenPatchPcdTable.py", line 56, in parsePcdInfoFromMapFile >> | return _parseForGCC(lines, efifilepath) >> | File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-deb= ug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/= GenPatchPcdTable/GenPatchPcdTable.py", line 113, in _parseForGCC >> | efisecs =3D PeImageClass(efifilepath).SectionHeaderList >> | File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-deb= ug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/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' >> =20 >> =20 >> Thanks & Regards, >> Shivraj Patil >>=20 --Apple-Mail=_F2F812C0-49F7-4D82-950D-25BCFD31CC35 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
I=E2=80=99= m guessing all the CI testing is on Python 3.8.x

I noticed one of the CI pipes is asking for= Python 3.8 [1]

<= br class=3D"">
Thanks,

Andrew Fish


On Jun 22, 2022,= at 7:34 AM, Andrew (EFI) Fish <afish@apple.com> wrote:

That looks= like an issue with using Python 3.9 as it changed tostring to tobyte. = ;


On Jun 22, 2022, at 7:25 AM, Shivraj Patil <shivpati@qti.qualcomm.co= m> wrote:

=EF=BB=BF
Hello,
I am observing the following failure while trying to bui= ld Aurora AU_LINUX_EMBEDDED_LE.PRODUCT.1.0_TARGET_ALL.01.318.215. Please ha= ve a look and provide a solution for the same.
<= div style=3D"margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif= ;" class=3D""> 
(Python 3.9.= 4 on linux) Traceback (most recent call last):
<= div style=3D"margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif= ;" class=3D"">|   File "/local/mnt3/workspace3/shivpati/Aurora/bu= ild-qti-distro-xr-debug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/Bas= eTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2596= , in Main
|   &nbs= p; MyBuild.Launch()
|  = File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-debug/tmp= -glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLik= e/../../Source/Python/build/build.py", line 2391, in Launch=
|     self._MultiThreadBuild= Platform()
|   File "/l= ocal/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-debug/tmp-glibc/wo= rk/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../S= ource/Python/build/build.py", line 2271, in _MultiThreadBuildPlatform
|     self.CreateA= sBuiltInf()
|   File "/= local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-debug/tmp-glibc/w= ork/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../= Source/Python/build/build.py", line 2401, in CreateAsBuiltInf
|     Module.CreateAsBuilt= Inf()
|   File "/local/= mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-debug/tmp-glibc/work/sx= rneo-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/AutoGen/ModuleAutoGe= n.py", line 1503, in CreateAsBuiltInf
|     PatchList =3D parsePcdInfoFromMapFile(
|   File "/local/mnt3/works= pace3/shivpati/Aurora/build-qti-distro-xr-debug/tmp-glibc/work/sxrneo-oe-li= nux/edk2/git-r0/edk2/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTa= ble.py", line 56, in parsePcdInfoFromMapFile
|     return _parseForGCC(lines, efifilepat= h)
|   File "/local/mnt= 3/workspace3/shivpati/Aurora/build-qti-distro-xr-debug/tmp-glibc/work/sxrne= o-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/GenPatchPcdTable/GenPat= chPcdTable.py", line 113, in _parseForGCC
|     efisecs =3D PeImageClass(efifilepath).Se= ctionHeaderList
|   Fil= e "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-debug/tmp-gli= bc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/Common/Mis= c.py", line 1638, in __init__
|&n= bsp;    if ByteArray.tostring() !=3D b'PE\0\0':
| AttributeError: 'array.array' object has no= attribute 'tostring'
 
 
Thanks & Regards,
Shivraj Patil
<= /blockquote>
--Apple-Mail=_F2F812C0-49F7-4D82-950D-25BCFD31CC35--