public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Andrew Fish" <afish@apple.com>
To: edk2-devel-groups-io <devel@edk2.groups.io>, shivpati@qti.qualcomm.com
Subject: Re: [edk2-devel] Aurora build failure
Date: Wed, 22 Jun 2022 13:31:10 -0700	[thread overview]
Message-ID: <DD0A7FEC-EC4A-4F59-9877-A98C9559AF61@apple.com> (raw)
In-Reply-To: <F635883E-6BBB-456B-AE03-142AAC76AEDB@apple.com>

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

I’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]

[1] https://github.com/tianocore/edk2/blob/master/.azurepipelines/Ubuntu-PatchCheck.yml

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. 
> 
> Sent from my iPhone
> 
>> On Jun 22, 2022, at 7:25 AM, Shivraj Patil <shivpati@qti.qualcomm.com> wrote:
>> 
>> 
>> Hello,
>> I am observing the following failure while trying to build Aurora AU_LINUX_EMBEDDED_LE.PRODUCT.1.0_TARGET_ALL.01.318.215. Please have a look and provide a solution for the same.
>>  
>> (Python 3.9.4 on linux) Traceback (most recent call last):
>> |   File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-debug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2596, in Main
>> |     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/PosixLike/../../Source/Python/build/build.py", line 2391, in Launch
>> |     self._MultiThreadBuildPlatform()
>> |   File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-debug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2271, in _MultiThreadBuildPlatform
>> |     self.CreateAsBuiltInf()
>> |   File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-debug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2401, in CreateAsBuiltInf
>> |     Module.CreateAsBuiltInf()
>> |   File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-debug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py", line 1503, in CreateAsBuiltInf
>> |     PatchList = parsePcdInfoFromMapFile(
>> |   File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-debug/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-debug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py", line 113, in _parseForGCC
>> |     efisecs = PeImageClass(efifilepath).SectionHeaderList
>> |   File "/local/mnt3/workspace3/shivpati/Aurora/build-qti-distro-xr-debug/tmp-glibc/work/sxrneo-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/Common/Misc.py", line 1638, in __init__
>> |     if ByteArray.tostring() != b'PE\0\0':
>> | AttributeError: 'array.array' object has no attribute 'tostring'
>>  
>>  
>> Thanks & Regards,
>> Shivraj Patil
>> 


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

      reply	other threads:[~2022-06-22 20:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-20  7:26 Aurora build failure Shivraj Patil
2022-06-22 14:34 ` [edk2-devel] " Andrew Fish
2022-06-22 20:31   ` Andrew Fish [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DD0A7FEC-EC4A-4F59-9877-A98C9559AF61@apple.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox