public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* please help fix building error
@ 2023-04-05 11:34 luming.jin
  2023-04-06  0:46 ` 回复: [edk2-devel] " gaoliming
  0 siblings, 1 reply; 5+ messages in thread
From: luming.jin @ 2023-04-05 11:34 UTC (permalink / raw)
  To: devel

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

Hello all
I am trying to build but with following error msg,
Could you please help?

Active Platform          = /home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot/QcomPkg/SocPkg/Makena/AU/Core.dsc
.... done!
#



build.py...
: error C0DE: Unknown fatal error when processing [/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 2.7.18 on linux2) Traceback (most recent call last):
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2599, in Main
    MyBuild.Launch()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2392, in Launch
    self._BuildPlatform()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 1756, in _BuildPlatform
    CmdListDict = self._GenFfsCmd(Wa.ArchList)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/EfiSection.py", line 321, in GenSection
    IsMakefile=IsMakefile
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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/lib/python2.7/genericpath.py", line 57, in getsize
    return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/Build/MakenaAU/Core/RELEASE_CLANG100LINUX/FV/Ffs/125E61D7-E824-4943-8BE9-1ADD2B197360MorPpiDxe/125E61D7-E824-4943-8BE9-1ADD2B197360SEC2.1.pe32'



- Failed -
Build end time: 19:31:20, Apr.05 2023
Build total time: 00:00:05



ERROR: buildex::Run  ['python', u'/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py', u'-p', u'QcomPkg/SocPkg/Makena/AU/Core.dsc', u'-j', u'QcomPkg/SocPkg/Makena/AU/build_Core.log', u'-w', u'-a', u'AARCH64', u'-b', u'RELEASE', u'-t', u'CLANG100LINUX', 'cleanall', '-D', 'TARGETPKG=SocPkg', '-D', 'EDK2ROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2', '-D', 'BOOTTOOLS=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot_tools', '-D', u'COMPILER=CLANG100LINUX', '-D', u'SECTOOLSROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/common/sectools', '-D', 'QCOMDIR=', '-D', 'TARGETID=SocMakena', '-D', u'VAR=AU', '-D', 'TARGETROOT=QcomPkg/SocPkg/Makena', '-D', u'BOOTROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot', '-D', 'BUILDROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/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




致以诚挚的问候 / Kind Regards / Mit freundlichen Grüßen

Luming Jin (Mr.) / 金镥明    RDCS
Software | Connectivity & Autonomous Driving | R&D China
Mercedes-Benz Car | Daimler Greater China Ltd.(DGRC)
Mobile: +86 13564643846 | E-Mail: luming.jin@mercedes-benz.com<mailto:luming.jin@mercedes-benz.com>
Training Center, #2069 Jinxiu Dong Road, Pudong New District, Shanghai 201206
上海市浦东新区锦绣东路2069号 梅赛德斯-奔驰培训中心, 邮编:201206


If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* 回复: [edk2-devel] please help fix building error
  2023-04-05 11:34 please help fix building error luming.jin
@ 2023-04-06  0:46 ` gaoliming
  2023-04-06  1:39   ` luming.jin
  0 siblings, 1 reply; 5+ messages in thread
From: gaoliming @ 2023-04-06  0:46 UTC (permalink / raw)
  To: devel, luming.jin

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

Seemly, you still uses Python2.7. Can you try Python 3 ?

 

Thanks

Liming

发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 luming.jin via groups.io
发送时间: 2023年4月5日 19:35
收件人: devel@edk2.groups.io
主题: [edk2-devel] please help fix building error

 

Hello all

I am trying to build but with following error msg, 

Could you please help?

Active Platform          = /home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot/QcomPkg/SocPkg/Makena/AU/Core.dsc
.... done!
#

 

build.py...
: error C0DE: Unknown fatal error when processing [/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot/QcomPkg/Library/EblCmdLib/EblCmdLib.inf [AARCH64, CLANG100LINUX, 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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2599, in Main
    MyBuild.Launch()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2392, in Launch
    self._BuildPlatform()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 1756, in _BuildPlatform
    CmdListDict = self._GenFfsCmd(Wa.ArchList)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/EfiSection.py", line 321, in GenSection
    IsMakefile=IsMakefile
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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/lib/python2.7/genericpath.py", line 57, in getsize
    return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/Build/MakenaAU/Core/RELEASE_CLANG100LINUX/FV/Ffs/125E61D7-E824-4943-8BE9-1ADD2B197360MorPpiDxe/125E61D7-E824-4943-8BE9-1ADD2B197360SEC2.1.pe32'

 


- Failed -
Build end time: 19:31:20, Apr.05 2023
Build total time: 00:00:05

 

ERROR: buildex::Run  ['python', u'/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py', u'-p', u'QcomPkg/SocPkg/Makena/AU/Core.dsc', u'-j', u'QcomPkg/SocPkg/Makena/AU/build_Core.log', u'-w', u'-a', u'AARCH64', u'-b', u'RELEASE', u'-t', u'CLANG100LINUX', 'cleanall', '-D', 'TARGETPKG=SocPkg', '-D', 'EDK2ROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2', '-D', 'BOOTTOOLS=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot_tools', '-D', u'COMPILER=CLANG100LINUX', '-D', u'SECTOOLSROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/common/sectools', '-D', 'QCOMDIR=', '-D', 'TARGETID=SocMakena', '-D', u'VAR=AU', '-D', 'TARGETROOT=QcomPkg/SocPkg/Makena', '-D', u'BOOTROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot', '-D', 'BUILDROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/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

 

 

 

致以诚挚的问候 / Kind Regards / Mit freundlichen Grüßen

 

Luming Jin (Mr.) / 金镥明    RDCS
Software | Connectivity & Autonomous Driving | R&D China

Mercedes-Benz Car | Daimler Greater China Ltd.(DGRC)

Mobile: +86 13564643846 | E-Mail: luming.jin@mercedes-benz.com <mailto:luming.jin@mercedes-benz.com> 

Training Center, #2069 Jinxiu Dong Road, Pudong New District, Shanghai 201206

上海市浦东新区锦绣东路2069号 梅赛德斯-奔驰培训中心, 邮编:201206

 



If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.




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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [edk2-devel] please help fix building error
  2023-04-06  0:46 ` 回复: [edk2-devel] " gaoliming
@ 2023-04-06  1:39   ` luming.jin
  2023-04-12  5:43     ` 回复: " gaoliming
  0 siblings, 1 reply; 5+ messages in thread
From: luming.jin @ 2023-04-06  1:39 UTC (permalink / raw)
  To: gaoliming, devel

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

Hello liming
Same error, I used another computer to build with python 2.7 seems ok
But failed build in the server, any possible reason?
Active Platform          = /home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/boot/QcomPkg/SocPkg/Makena/AU/Core.dsc
.... done!
#

build.py...
: error C0DE: Unknown fatal error when processing [/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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.10 on linux) Traceback (most recent call last):
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2599, in Main
    MyBuild.Launch()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2392, in Launch
    self._BuildPlatform()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 1756, in _BuildPlatform
    CmdListDict = self._GenFfsCmd(Wa.ArchList)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2006, in _GenFfsCmd
    GenFfsDict = GenFds.GenFfsMakefile('', GlobalData.gFdfParser, self, ArchList, GlobalData)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/GenFds.py", line 544, in GenFfsMakefile
    FvObj.AddToBuffer(Buffer=None, Flag=True)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 518, in GenFfs
    InputSectList, InputSectAlignments = self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr, IsMakefile=IsMakefile)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/EfiSection.py", line 318, in GenSection
    GenFdsGlobalVariable.GenerateSection(OutputFile,
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/Common/LongFilePathOsPath.py", line 21, in getsize
    return os.path.getsize(LongFilePath(filename))
  File "/usr/lib/python3.8/genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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: 09:21:47, Apr.06 2023
Build total time: 00:00:05

ERROR: buildex::Run  ['python', '/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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', 'cleanall', '-D', 'BUILDROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images', '-D', 'BOOTROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/boot_tools', '-D', 'EDK2ROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2', '-D', 'SECTOOLSROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git//common/sectools', '-D', 'COMPILER=CLANG100LINUX', '-D', 'AARCH=AARCH64'] Build Subprocess failed with error...
None



致以诚挚的问候 / Kind Regards / Mit freundlichen Grüßen
Luming Jin (Mr.) / 金镥明    RDCS

From: gaoliming <gaoliming@byosoft.com.cn>
Sent: Thursday, April 6, 2023 8:46 AM
To: devel@edk2.groups.io; Jin, Luming (133) <luming.jin@mercedes-benz.com>
Subject: 回复: [edk2-devel] please help fix building error

[**EXTERNAL E-MAIL**]
Seemly, you still uses Python2.7. Can you try Python 3 ?

Thanks
Liming
发件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> 代表 luming.jin via groups.io
发送时间: 2023年4月5日 19:35
收件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
主题: [edk2-devel] please help fix building error

Hello all
I am trying to build but with following error msg,
Could you please help?

Active Platform          = /home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot/QcomPkg/SocPkg/Makena/AU/Core.dsc
.... done!
#



build.py...
: error C0DE: Unknown fatal error when processing [/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot/QcomPkg/Library/EblCmdLib/EblCmdLib.inf [AARCH64, CLANG100LINUX, 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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2599, in Main
    MyBuild.Launch()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2392, in Launch
    self._BuildPlatform()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 1756, in _BuildPlatform
    CmdListDict = self._GenFfsCmd(Wa.ArchList)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/EfiSection.py", line 321, in GenSection
    IsMakefile=IsMakefile
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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/lib/python2.7/genericpath.py", line 57, in getsize
    return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/Build/MakenaAU/Core/RELEASE_CLANG100LINUX/FV/Ffs/125E61D7-E824-4943-8BE9-1ADD2B197360MorPpiDxe/125E61D7-E824-4943-8BE9-1ADD2B197360SEC2.1.pe32'



- Failed -
Build end time: 19:31:20, Apr.05 2023
Build total time: 00:00:05



ERROR: buildex::Run  ['python', u'/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py', u'-p', u'QcomPkg/SocPkg/Makena/AU/Core.dsc', u'-j', u'QcomPkg/SocPkg/Makena/AU/build_Core.log', u'-w', u'-a', u'AARCH64', u'-b', u'RELEASE', u'-t', u'CLANG100LINUX', 'cleanall', '-D', 'TARGETPKG=SocPkg', '-D', 'EDK2ROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2', '-D', 'BOOTTOOLS=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot_tools', '-D', u'COMPILER=CLANG100LINUX', '-D', u'SECTOOLSROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/common/sectools', '-D', 'QCOMDIR=', '-D', 'TARGETID=SocMakena', '-D', u'VAR=AU', '-D', 'TARGETROOT=QcomPkg/SocPkg/Makena', '-D', u'BOOTROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot', '-D', 'BUILDROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/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




致以诚挚的问候 / Kind Regards / Mit freundlichen Grüßen

Luming Jin (Mr.) / 金镥明    RDCS
Software | Connectivity & Autonomous Driving | R&D China
Mercedes-Benz Car | Daimler Greater China Ltd.(DGRC)
Mobile: +86 13564643846 | E-Mail: luming.jin@mercedes-benz.com<mailto:luming.jin@mercedes-benz.com>
Training Center, #2069 Jinxiu Dong Road, Pudong New District, Shanghai 201206
上海市浦东新区锦绣东路2069号 梅赛德斯-奔驰培训中心, 邮编:201206


If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.



If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* 回复: [edk2-devel] please help fix building error
  2023-04-06  1:39   ` luming.jin
@ 2023-04-12  5:43     ` gaoliming
  2023-04-12  5:46       ` luming.jin
  0 siblings, 1 reply; 5+ messages in thread
From: gaoliming @ 2023-04-12  5:43 UTC (permalink / raw)
  To: devel, luming.jin

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

The error message says the below file can’t be found. Can you confirm it?

 

/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/Build/MakenaAU/Core/RELEASE_CLANG100LINUX/FV/Ffs/5E0EAE60-EAED-4D75-B8BF-EDBBAABC3F09SecurityDxe/5E0EAE60-EAED-4D75-B8BF-EDBBAABC3F09SEC2.1.pe32

 

发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 luming.jin via groups.io
发送时间: 2023年4月6日 9:39
收件人: gaoliming@byosoft.com.cn; devel@edk2.groups.io
主题: Re: [edk2-devel] please help fix building error

 

Hello liming

Same error, I used another computer to build with python 2.7 seems ok

But failed build in the server, any possible reason? 

Active Platform          = /home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/boot/QcomPkg/SocPkg/Makena/AU/Core.dsc
.... done!
#

 

build.py...
: error C0DE: Unknown fatal error when processing [/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/boot/QcomPkg/Library/EblCmdLib/EblCmdLib.inf [AARCH64, CLANG100LINUX, RELEASE]]

(Please send email to devel@edk2.groups.io <mailto:devel@edk2.groups.io>  for help, attaching following call stack trace!)

 

(Python 3.8.10 on linux) Traceback (most recent call last):
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2599, in Main
    MyBuild.Launch()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2392, in Launch
    self._BuildPlatform()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 1756, in _BuildPlatform
    CmdListDict = self._GenFfsCmd(Wa.ArchList)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2006, in _GenFfsCmd
    GenFfsDict = GenFds.GenFfsMakefile('', GlobalData.gFdfParser, self, ArchList, GlobalData)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/GenFds.py", line 544, in GenFfsMakefile
    FvObj.AddToBuffer(Buffer=None, Flag=True)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 518, in GenFfs
    InputSectList, InputSectAlignments = self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr, IsMakefile=IsMakefile)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/EfiSection.py", line 318, in GenSection
    GenFdsGlobalVariable.GenerateSection(OutputFile,
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/Common/LongFilePathOsPath.py", line 21, in getsize
    return os.path.getsize(LongFilePath(filename))
  File "/usr/lib/python3.8/genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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: 09:21:47, Apr.06 2023
Build total time: 00:00:05

 

ERROR: buildex::Run  ['python', '/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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', 'cleanall', '-D', 'BUILDROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images', '-D', 'BOOTROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/boot_tools', '-D', 'EDK2ROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2', '-D', 'SECTOOLSROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git//common/sectools', '-D', 'COMPILER=CLANG100LINUX', '-D', 'AARCH=AARCH64'] Build Subprocess failed with error... 
None

 

 

 

致以诚挚的问候 / Kind Regards / Mit freundlichen Grüßen

Luming Jin (Mr.) / 金镥明    RDCS

 

From: gaoliming <gaoliming@byosoft.com.cn <mailto:gaoliming@byosoft.com.cn> > 
Sent: Thursday, April 6, 2023 8:46 AM
To: devel@edk2.groups.io <mailto:devel@edk2.groups.io> ; Jin, Luming (133) <luming.jin@mercedes-benz.com <mailto:luming.jin@mercedes-benz.com> >
Subject: 回复: [edk2-devel] please help fix building error

 

[**EXTERNAL E-MAIL**] 

Seemly, you still uses Python2.7. Can you try Python 3 ?

 

Thanks

Liming

发件人: devel@edk2.groups.io <mailto:devel@edk2.groups.io>  <devel@edk2.groups.io <mailto:devel@edk2.groups.io> > 代表 luming.jin via groups.io
发送时间: 2023年4月5日 19:35
收件人: devel@edk2.groups.io <mailto:devel@edk2.groups.io> 
主题: [edk2-devel] please help fix building error

 

Hello all

I am trying to build but with following error msg, 

Could you please help?

Active Platform          = /home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot/QcomPkg/SocPkg/Makena/AU/Core.dsc
.... done!
#

 

build.py...
: error C0DE: Unknown fatal error when processing [/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot/QcomPkg/Library/EblCmdLib/EblCmdLib.inf [AARCH64, CLANG100LINUX, 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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2599, in Main
    MyBuild.Launch()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2392, in Launch
    self._BuildPlatform()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 1756, in _BuildPlatform
    CmdListDict = self._GenFfsCmd(Wa.ArchList)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/EfiSection.py", line 321, in GenSection
    IsMakefile=IsMakefile
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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/lib/python2.7/genericpath.py", line 57, in getsize
    return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/Build/MakenaAU/Core/RELEASE_CLANG100LINUX/FV/Ffs/125E61D7-E824-4943-8BE9-1ADD2B197360MorPpiDxe/125E61D7-E824-4943-8BE9-1ADD2B197360SEC2.1.pe32'

 


- Failed -
Build end time: 19:31:20, Apr.05 2023
Build total time: 00:00:05

 

ERROR: buildex::Run  ['python', u'/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py', u'-p', u'QcomPkg/SocPkg/Makena/AU/Core.dsc', u'-j', u'QcomPkg/SocPkg/Makena/AU/build_Core.log', u'-w', u'-a', u'AARCH64', u'-b', u'RELEASE', u'-t', u'CLANG100LINUX', 'cleanall', '-D', 'TARGETPKG=SocPkg', '-D', 'EDK2ROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2', '-D', 'BOOTTOOLS=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot_tools', '-D', u'COMPILER=CLANG100LINUX', '-D', u'SECTOOLSROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/common/sectools', '-D', 'QCOMDIR=', '-D', 'TARGETID=SocMakena', '-D', u'VAR=AU', '-D', 'TARGETROOT=QcomPkg/SocPkg/Makena', '-D', u'BOOTROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot', '-D', 'BUILDROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/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

 

 

 

致以诚挚的问候 / Kind Regards / Mit freundlichen Grüßen

 

Luming Jin (Mr.) / 金镥明    RDCS
Software | Connectivity & Autonomous Driving | R&D China

Mercedes-Benz Car | Daimler Greater China Ltd.(DGRC)

Mobile: +86 13564643846 | E-Mail: luming.jin@mercedes-benz.com <mailto:luming.jin@mercedes-benz.com> 

Training Center, #2069 Jinxiu Dong Road, Pudong New District, Shanghai 201206

上海市浦东新区锦绣东路2069号 梅赛德斯-奔驰培训中心, 邮编:201206

 



If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.



If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.




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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [edk2-devel] please help fix building error
  2023-04-12  5:43     ` 回复: " gaoliming
@ 2023-04-12  5:46       ` luming.jin
  0 siblings, 0 replies; 5+ messages in thread
From: luming.jin @ 2023-04-12  5:46 UTC (permalink / raw)
  To: gaoliming, devel

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

Hello liming
Thx for your reply
I have already fixed it. I need to install python dev package on the pc, then  bug fixed.

致以诚挚的问候 / Kind Regards / Mit freundlichen Grüßen
Luming Jin (Mr.) / 金镥明    RDCS

From: gaoliming <gaoliming@byosoft.com.cn>
Sent: Wednesday, April 12, 2023 1:43 PM
To: devel@edk2.groups.io; Jin, Luming (133) <luming.jin@mercedes-benz.com>
Subject: 回复: [edk2-devel] please help fix building error

[**EXTERNAL E-MAIL**]
The error message says the below file can’t be found. Can you confirm it?

/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/Build/MakenaAU/Core/RELEASE_CLANG100LINUX/FV/Ffs/5E0EAE60-EAED-4D75-B8BF-EDBBAABC3F09SecurityDxe/5E0EAE60-EAED-4D75-B8BF-EDBBAABC3F09SEC2.1.pe32

发件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> 代表 luming.jin via groups.io
发送时间: 2023年4月6日 9:39
收件人: gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
主题: Re: [edk2-devel] please help fix building error

Hello liming
Same error, I used another computer to build with python 2.7 seems ok
But failed build in the server, any possible reason?
Active Platform          = /home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/boot/QcomPkg/SocPkg/Makena/AU/Core.dsc
.... done!
#

build.py...
: error C0DE: Unknown fatal error when processing [/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/boot/QcomPkg/Library/EblCmdLib/EblCmdLib.inf [AARCH64, CLANG100LINUX, RELEASE]]

(Please send email to devel@edk2.groups.io<mailto:devel@edk2.groups.io> for help, attaching following call stack trace!)

(Python 3.8.10 on linux) Traceback (most recent call last):
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2599, in Main
    MyBuild.Launch()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2392, in Launch
    self._BuildPlatform()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 1756, in _BuildPlatform
    CmdListDict = self._GenFfsCmd(Wa.ArchList)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2006, in _GenFfsCmd
    GenFfsDict = GenFds.GenFfsMakefile('', GlobalData.gFdfParser, self, ArchList, GlobalData)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/GenFds.py", line 544, in GenFfsMakefile
    FvObj.AddToBuffer(Buffer=None, Flag=True)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 518, in GenFfs
    InputSectList, InputSectAlignments = self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr, IsMakefile=IsMakefile)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/EfiSection.py", line 318, in GenSection
    GenFdsGlobalVariable.GenerateSection(OutputFile,
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2/BaseTools/Source/Python/Common/LongFilePathOsPath.py", line 21, in getsize
    return os.path.getsize(LongFilePath(filename))
  File "/usr/lib/python3.8/genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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: 09:21:47, Apr.06 2023
Build total time: 00:00:05

ERROR: buildex::Run  ['python', '/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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', 'cleanall', '-D', 'BUILDROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images', '-D', 'BOOTROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/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=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/boot_tools', '-D', 'EDK2ROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git/boot/boot_images/edk2', '-D', 'SECTOOLSROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem.git//common/sectools', '-D', 'COMPILER=CLANG100LINUX', '-D', 'AARCH=AARCH64'] Build Subprocess failed with error...
None



致以诚挚的问候 / Kind Regards / Mit freundlichen Grüßen
Luming Jin (Mr.) / 金镥明    RDCS

From: gaoliming <gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>>
Sent: Thursday, April 6, 2023 8:46 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Jin, Luming (133) <luming.jin@mercedes-benz.com<mailto:luming.jin@mercedes-benz.com>>
Subject: 回复: [edk2-devel] please help fix building error

[**EXTERNAL E-MAIL**]
Seemly, you still uses Python2.7. Can you try Python 3 ?

Thanks
Liming
发件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> 代表 luming.jin via groups.io
发送时间: 2023年4月5日 19:35
收件人: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
主题: [edk2-devel] please help fix building error

Hello all
I am trying to build but with following error msg,
Could you please help?

Active Platform          = /home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot/QcomPkg/SocPkg/Makena/AU/Core.dsc
.... done!
#



build.py...
: error C0DE: Unknown fatal error when processing [/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot/QcomPkg/Library/EblCmdLib/EblCmdLib.inf [AARCH64, CLANG100LINUX, 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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2599, in Main
    MyBuild.Launch()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 2392, in Launch
    self._BuildPlatform()
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", line 1756, in _BuildPlatform
    CmdListDict = self._GenFfsCmd(Wa.ArchList)
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/EfiSection.py", line 321, in GenSection
    IsMakefile=IsMakefile
  File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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 "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-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/lib/python2.7/genericpath.py", line 57, in getsize
    return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/Build/MakenaAU/Core/RELEASE_CLANG100LINUX/FV/Ffs/125E61D7-E824-4943-8BE9-1ADD2B197360MorPpiDxe/125E61D7-E824-4943-8BE9-1ADD2B197360SEC2.1.pe32'



- Failed -
Build end time: 19:31:20, Apr.05 2023
Build total time: 00:00:05



ERROR: buildex::Run  ['python', u'/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py', u'-p', u'QcomPkg/SocPkg/Makena/AU/Core.dsc', u'-j', u'QcomPkg/SocPkg/Makena/AU/build_Core.log', u'-w', u'-a', u'AARCH64', u'-b', u'RELEASE', u'-t', u'CLANG100LINUX', 'cleanall', '-D', 'TARGETPKG=SocPkg', '-D', 'EDK2ROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2', '-D', 'BOOTTOOLS=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot_tools', '-D', u'COMPILER=CLANG100LINUX', '-D', u'SECTOOLSROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/common/sectools', '-D', 'QCOMDIR=', '-D', 'TARGETID=SocMakena', '-D', u'VAR=AU', '-D', 'TARGETROOT=QcomPkg/SocPkg/Makena', '-D', u'BOOTROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot', '-D', 'BUILDROOT=/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/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




致以诚挚的问候 / Kind Regards / Mit freundlichen Grüßen

Luming Jin (Mr.) / 金镥明    RDCS
Software | Connectivity & Autonomous Driving | R&D China
Mercedes-Benz Car | Daimler Greater China Ltd.(DGRC)
Mobile: +86 13564643846 | E-Mail: luming.jin@mercedes-benz.com<mailto:luming.jin@mercedes-benz.com>
Training Center, #2069 Jinxiu Dong Road, Pudong New District, Shanghai 201206
上海市浦东新区锦绣东路2069号 梅赛德斯-奔驰培训中心, 邮编:201206


If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.


If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.



If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-12  5:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05 11:34 please help fix building error luming.jin
2023-04-06  0:46 ` 回复: [edk2-devel] " gaoliming
2023-04-06  1:39   ` luming.jin
2023-04-12  5:43     ` 回复: " gaoliming
2023-04-12  5:46       ` luming.jin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox