public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Bill Shih 施炫全 via groups.io" <bill_shih=usiglobal.com@groups.io>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: [edk2-devel] bootloader build error
Date: Thu, 4 Apr 2024 12:13:51 +0000	[thread overview]
Message-ID: <TYZPR01MB4234644DF0AEF14FC6C2AA069F3C2@TYZPR01MB4234.apcprd01.prod.exchangelabs.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 6044 bytes --]

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<mailto: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
CONFIDENTIALITY NOTICE: The information transmitted by this email is intended only for the person or entity to which it was addressed. This email may contain proprietary, business-related confidential and/or privileged material and may be protected by copyright law. If you are not the intended recipient of this message, be aware that any use, review, retransmission, distribution, reproduction or any action taken in reliance upon this message is strictly prohibited. If you received this in error, please contact the sender and delete the materials from all systems.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#117460): https://edk2.groups.io/g/devel/message/117460
Mute This Topic: https://groups.io/mt/105350893/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 12074 bytes --]

             reply	other threads:[~2024-04-05 15:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-04 12:13 Bill Shih 施炫全 via groups.io [this message]
2024-04-05 23:21 ` [edk2-devel] bootloader build error Andrew Fish via groups.io

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=TYZPR01MB4234644DF0AEF14FC6C2AA069F3C2@TYZPR01MB4234.apcprd01.prod.exchangelabs.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