From: "Yuefeng Dou (Consultant) via groups.io" <yuefdou=qti.qualcomm.com@groups.io>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Junjie Bai (Consultant)" <junjbai@qti.qualcomm.com>
Subject: [edk2-devel] edk2 compile fail issue
Date: Mon, 26 May 2025 09:18:20 +0000 [thread overview]
Message-ID: <IA0PR02MB977955C7C910B4ADD15E9EA68365A@IA0PR02MB9779.namprd02.prod.outlook.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 5651 bytes --]
Hi devel
Could u pls help check this fail compile issue?
build.py...
: error C0DE: Unknown fatal error when processing [/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/boot/QcomPkg/Library/EblCmdLib/EblCmdLib.inf [AARCH64, CLANG100LINUX, RELEASE]]
(Please send email to devel@edk2.groups.io for help, attaching following call stack trace!)
(Python 3.8.11 on linux) Traceback (most recent call last):
File "/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2599, in Main
MyBuild.Launch()
File "/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2394, in Launch
self._MultiThreadBuildPlatform()
File "/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2234, in _MultiThreadBuildPlatform
Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)
File "/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2109, in PerformAutoGen
CmdListDict = self._GenFfsCmd(Wa.ArchList)
File "/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2006, in _GenFfsCmd
GenFfsDict = GenFds.GenFfsMakefile('', GlobalData.gFdfParser, self, ArchList, GlobalData)
File "/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/GenFds.py", line 544, in GenFfsMakefile
FvObj.AddToBuffer(Buffer=None, Flag=True)
File "/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/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 "/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 518, in GenFfs
InputSectList, InputSectAlignments = self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr, IsMakefile=IsMakefile)
File "/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/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 "/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/EfiSection.py", line 318, in GenSection
GenFdsGlobalVariable.GenerateSection(OutputFile,
File "/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py", line 502, in GenerateSection
if (os.path.getsize(Output) >= GenFdsGlobalVariable.LARGE_FILE_SIZE and
File "/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/Common/LongFilePathOsPath.py", line 21, in getsize
return os.path.getsize(LongFilePath(filename))
File "/usr/local/lib/python3.8/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/Build/MakenaAU/Core/RELEASE_CLANG100LINUX/FV/Ffs/5E0EAE60-EAED-4D75-B8BF-EDBBAABC3F09SecurityDxe/5E0EAE60-EAED-4D75-B8BF-EDBBAABC3F09SEC2.1.pe32'
- Failed -
Build end time: 17:13:33, May.26 2025
Build total time: 00:00:04
ERROR: buildex::Run ['python', '/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py', '-p', 'QcomPkg/SocPkg/Makena/AU/Core.dsc', '-j', 'QcomPkg/SocPkg/Makena/AU/build_Core.log', '-w', '-a', 'AARCH64', '-b', 'RELEASE', '-t', 'CLANG100LINUX', '-D', 'BUILDROOT=/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images', '-D', 'BOOTROOT=/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/boot', '-D', 'REL=RELEASE', '-D', 'PRODMODE=PRODMODE', '-D', 'VAR=AU', '-D', 'COMPLIER=', '-D', 'FIRSTDLL=', '-D', 'SECONDDLL=', '-D', 'XBLSEC=', '-D', 'TARGETROOT=QcomPkg/SocPkg/Makena', '-D', 'TARGETID=SocMakena', '-D', 'TARGETPKG=SocPkg', '-D', 'QCOMDIR=', '-D', 'BOOTTOOLS=/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/boot_tools', '-D', 'EDK2ROOT=/local/mnt2/workspace2/yuefdou/code/8295/sa8295p-hqx-4-2-4-1_amss_standard_oem/boot/boot_images/edk2', '-D', 'SECTOOLS_DIR=/pkg/sectools/glue/latest', '-D', 'SECTOOLSROOT=/pkg/sectools/glue/latest', '-D', 'COMPILER=CLANG100LINUX', '-D', 'AARCH=AARCH64'] Build Subprocess failed with error...
None
THKS
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121380): https://edk2.groups.io/g/devel/message/121380
Mute This Topic: https://groups.io/mt/113350050/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: 14900 bytes --]
next reply other threads:[~2025-05-28 19:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-26 9:18 Yuefeng Dou (Consultant) via groups.io [this message]
2025-05-28 6:05 ` [edk2-devel] edk2 compile fail issue Yuefeng Dou (Consultant) via groups.io
2025-05-29 20:37 ` Dionna Glaze 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=IA0PR02MB977955C7C910B4ADD15E9EA68365A@IA0PR02MB9779.namprd02.prod.outlook.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