<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">I’m guessing all the CI testing is on Python 3.8.x</div><div class=""><br class=""></div><div class="">I noticed one of the CI pipes is asking for Python 3.8 [1]</div><div class=""><br class=""></div><div class="">[1] <a href="https://github.com/tianocore/edk2/blob/master/.azurepipelines/Ubuntu-PatchCheck.yml" class="">https://github.com/tianocore/edk2/blob/master/.azurepipelines/Ubuntu-PatchCheck.yml</a></div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">Andrew Fish</div><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jun 22, 2022, at 7:34 AM, Andrew (EFI) Fish <<a href="mailto:afish@apple.com" class="">afish@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">That looks like an issue with using Python 3.9 as it changed tostring to tobyte. </span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""><blockquote type="cite" class="">On Jun 22, 2022, at 7:25 AM, Shivraj Patil <<a href="mailto:shivpati@qti.qualcomm.com" class="">shivpati@qti.qualcomm.com</a>> wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div dir="ltr" class=""><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hello,<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">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.<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">(Python 3.9.4 on linux) Traceback (most recent call last):<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|   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<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|     MyBuild.Launch()<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|   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<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|     self._MultiThreadBuildPlatform()<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|   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<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|     self.CreateAsBuiltInf()<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|   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<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|     Module.CreateAsBuiltInf()<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|   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<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|     PatchList = parsePcdInfoFromMapFile(<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|   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<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|     return _parseForGCC(lines, efifilepath)<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|   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<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|     efisecs = PeImageClass(efifilepath).SectionHeaderList<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|   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__<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">|     if ByteArray.tostring() != b'PE\0\0':<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">| AttributeError: 'array.array' object has no attribute 'tostring'<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Thanks & Regards,<o:p class=""></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Shivraj Patil<o:p class=""></o:p></div></div></div></blockquote></div></blockquote></div><br class=""></body></html>


 <div width="1" style="color:white;clear:both">_._,_._,_</div> <hr>   Groups.io Links:<p>   You receive all messages sent to this group.    <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/90697">View/Reply Online (#90697)</a> |    |  <a target="_blank" href="https://groups.io/mt/91922911/1813853">Mute This Topic</a>  | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>    <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |  <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>  [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>