[edk2-devel] Aurora build failure

Andrew Fish via groups.io afish=apple.com at groups.io
Wed Jun 22 20:31:10 UTC 2022


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 at 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 at 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
>> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#90697): https://edk2.groups.io/g/devel/message/90697
Mute This Topic: https://groups.io/mt/91922911/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20220622/53c9d806/attachment.htm>


More information about the edk2-devel-archive mailing list