Hi Sir
I have problem when building android bootloader.
The log suggested I could mail you for help.
Can I have your suggestion to solve this error?
Thank you
The log:
build.py...
: error C0DE: Unknown fatal error when processing [/.../vendor/BOOT.MXF.2.0/boot_images/boot/***/Library/EblCmdLib/EblCmdLib.inf [AARCH64, CLANG120LINUX, RELEASE]]
(Please send email to
devel@edk2.groups.io for help, attaching following call stack trace!)
(Python 2.7.18 on linux2) Traceback (most recent call last):
File "/.../vendor/BOOT.MXF.2.0/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2599, in Main
MyBuild.Launch()
File "/.../vendor/BOOT.MXF.2.0/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2394, in Launch
self._MultiThreadBuildPlatform()
File "/.../vendor/BOOT.MXF.2.0/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2234, in _MultiThreadBuildPlatform
Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)
File "/.../vendor/BOOT.MXF.2.0/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2109, in PerformAutoGen
CmdListDict = self._GenFfsCmd(Wa.ArchList)
File "/.../vendor/BOOT.MXF.2.0/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2006, in _GenFfsCmd
GenFfsDict = GenFds.GenFfsMakefile('', GlobalData.gFdfParser, self, ArchList, GlobalData)
File "/.../vendor/BOOT.MXF.2.0/boot_images/edk2/BaseTools/Source/Python/GenFds/GenFds.py", line 544, in GenFfsMakefile
FvObj.AddToBuffer(Buffer=None, Flag=True)
File "/.../vendor/BOOT.MXF.2.0/boot_images/edk2/BaseTools/Source/Python/GenFds/Fv.py", line 127, in AddToBuffer
FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress, IsMakefile=Flag, FvName=self.UiFvName)
File "/.../vendor/BOOT.MXF.2.0/boot_images/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 518, in GenFfs
InputSectList, InputSectAlignments = self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr, IsMakefile=IsMakefile)
File "/.../vendor/BOOT.MXF.2.0/boot_images/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 969, in __GenComplexFileSection__
SectList, Align = Sect.GenSection(self.OutputPath, self.ModuleGuid, SecIndex, self.KeyStringList, self, IsMakefile = IsMakefile)
File "/.../vendor/BOOT.MXF.2.0/boot_images/edk2/BaseTools/Source/Python/GenFds/EfiSection.py", line 321, in GenSection
IsMakefile=IsMakefile
File "/.../vendor/BOOT.MXF.2.0/boot_images/edk2/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py", line 502, in GenerateSection
if (os.path.getsize(Output) >= GenFdsGlobalVariable.LARGE_FILE_SIZE and
File "/.../vendor/BOOT.MXF.2.0/boot_images/edk2/BaseTools/Source/Python/Common/LongFilePathOsPath.py", line 21, in getsize
return os.path.getsize(LongFilePath(filename))
File "/usr/lib/python2.7/genericpath.py", line 57, in getsize
return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/.../vendor/BOOT.MXF.2.0/boot_images/Build/ClarenceLAA/Core/RELEASE_CLANG120LINUX/FV/Ffs/1C04F529-0612-4319-9315-B2E75C16810AFeatureEnablerDxe/1C04F529-0612-4319-9315-B2E75C16810ASEC2.1.pe32'
- Failed -
Build end time: 17:11:19, Apr.03 2024
Build total time: 00:00:04
, u'-b', u'RELEASE', u'-t', u'CLANG120LINUX', '-D', 'TARGETPKG=SocPkg', '-D', u'DTC=/pkg/qct/software/boottools/', '-D', 'EDK2ROOT=/.../vendor/BOOT.MXF.2.0/boot_images/edk2', '-D', u'CLANG120=/opt/LLVM/12.0.3/bin', '-D',
'BOOTTOOLS=/.../vendor/BOOT.MXF.2.0/boot_images/boot_tools', '-D', u'COMPILER=CLANG120LINUX', '-D', u'SECTOOLSROOT=/.../vendor/QCM4490.LA.1.0/common/sectoolsv2/ext/Linux', '-D', '***DIR=', '-D', 'TARGETID=SocClarence', '-D', u'VAR=LAA', '-D', 'TARGETROOT=***/SocPkg/Clarence',
'-D', u'BOOTROOT=/.../vendor/BOOT.MXF.2.0/boot_images/boot', '-D', 'BUILDROOT=/.../vendor/BOOT.MXF.2.0/boot_images', '-D', 'PRODMODE=PRODMODE', '-D', 'XBLSEC=', '-D', u'AARCH=AARCH64', '-D', 'SECONDDLL=', '-D', 'COMPLIER=', '-D', 'REL=RELEASE', '-D', 'FIRSTDLL=']
ERROR: buildex::Run ['python', u'/.../vendor/BOOT.MXF.2.0/boot_images/edk2/BaseTools/Source/Python/build/build.py', u'-p', u'***/SocPkg/Clarence/LAA/Core.dsc', u'-j', u'***/SocPkg/Clarence/LAA/build_Core.log', u'-w',
u'-a', u'AARCH64', u'-b', u'RELEASE', u'-t', u'CLANG120LINUX', '-D', 'TARGETPKG=SocPkg', '-D', u'DTC=/pkg/qct/software/boottools/', '-D', 'EDK2ROOT=/.../vendor/BOOT.MXF.2.0/boot_images/edk2', '-D', u'CLANG120=/opt/LLVM/12.0.3/bin', '-D', 'BOOTTOOLS=/.../vendor/BOOT.MXF.2.0/boot_images/boot_tools',
'-D', u'COMPILER=CLANG120LINUX', '-D', u'SECTOOLSROOT=/.../vendor/QCM4490.LA.1.0/common/sectoolsv2/ext/Linux', '-D', '***DIR=', '-D', 'TARGETID=SocClarence', '-D', u'VAR=LAA', '-D', 'TARGETROOT=***/SocPkg/Clarence', '-D', u'BOOTROOT=/.../vendor/BOOT.MXF.2.0/boot_images/boot',
'-D', 'BUILDROOT=/.../vendor/BOOT.MXF.2.0/boot_images', '-D', 'PRODMODE=PRODMODE', '-D', 'XBLSEC=', '-D', u'AARCH=AARCH64', '-D', 'SECONDDLL=', '-D', 'COMPLIER=', '-D', 'REL=RELEASE', '-D', 'FIRSTDLL='] Build Subprocess failed with error...
None