From: "Andrew Fish" <afish@apple.com>
To: devel@edk2.groups.io, shivpati@qti.qualcomm.com
Subject: Re: [edk2-devel] Aurora build failure
Date: Wed, 22 Jun 2022 07:34:05 -0700 [thread overview]
Message-ID: <F635883E-6BBB-456B-AE03-142AAC76AEDB@apple.com> (raw)
In-Reply-To: <BN0PR02MB80476DF146CD501D17EC840EFAB09@BN0PR02MB8047.namprd02.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 2625 bytes --]
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.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: 5071 bytes --]
next prev parent reply other threads:[~2022-06-22 14:34 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 ` Andrew Fish [this message]
2022-06-22 20:31 ` [edk2-devel] " Andrew Fish
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=F635883E-6BBB-456B-AE03-142AAC76AEDB@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