Hello,

I'm trying to build Yocto image for QCS610. The image includes edk2 package, 
and building that package fails with following trace. I'm using tagged version: 
LE.UM.6.2.4.r1-13000-QCS610.0 Do you have any suggestions on what goes wrong? 
Or should I try with different version. Looking at commit history this seemed 
to be the latest.

| make[1]: Leaving directory 
'/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/out/Build/DEBUG_CLANG35/AARCH64/QcomModulePkg/Application/LinuxLoader/LinuxLoader'
|
|
| build.py...
|  : error C0DE: Unknown fatal error when processing 
[/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/QcomModulePkg/Application/LinuxLoader/LinuxLoader.inf]
|
| (Please send email to devel@edk2.groups.io for help, attaching following call 
stack trace!)
|
| (Python 3.10.6 on linux) Traceback (most recent call last):
|   File 
"/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
 line 2596, in Main
|     MyBuild.Launch()
|   File 
"/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
 line 2391, in Launch
|     self._MultiThreadBuildPlatform()
|   File 
"/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
 line 2271, in _MultiThreadBuildPlatform
|     self.CreateAsBuiltInf()
|   File 
"/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
 line 2401, in CreateAsBuiltInf
|     Module.CreateAsBuiltInf()
|   File 
"/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py",
 line 1503, in CreateAsBuiltInf
|     PatchList = parsePcdInfoFromMapFile(
|   File 
"/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py",
 line 56, in parsePcdInfoFromMapFile
|     return _parseForGCC(lines, efifilepath)
|   File 
"/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py",
 line 113, in _parseForGCC
|     efisecs = PeImageClass(efifilepath).SectionHeaderList
|   File 
"/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-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'
|
|
| - Failed -
| Build end time: 13:35:16, Mar.08 2023
| Build total time: 00:00:45

Thanks!
Tero Laakso-Pitkäkoski

Phone: +358 400894450
Email: tero.laakso-pitkako...@creocenter.fi


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#100907): https://edk2.groups.io/g/devel/message/100907
Mute This Topic: https://groups.io/mt/97490101/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to