From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web10.147513.1680741972842600187 for ; Wed, 05 Apr 2023 17:46:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@byosoft.com.cn header.s=cloud-union header.b=CVA/KT9C; spf=pass (domain: byosoft.com.cn, ip: 121.46.250.151, mailfrom: gaoliming@byosoft.com.cn) Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 6B841DDA7BC for ; Thu, 6 Apr 2023 08:46:10 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1680741970; bh=eRnydDCmiUB8cqC4GcayvIb2y3L3S35+VflO2f55klc=; h=From:To:References:In-Reply-To:Subject:Date; b=CVA/KT9CLT+yNrkcQ/uucs5VGNtVyjMYa4bh/nAgBBsyHvmttLduZgGTp/yUB+0W5 oHjUC2vf3P9rjGI1BtRAcykIXTtJIY0jSe6ZEIymcLJmSinGXKyu8LAC0G7lfOszOG wdvKyBZZK6KfIJvHe9xoGqPwyKsDwl01xNJgMNnU= Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 66AC7DDA7BD for ; Thu, 6 Apr 2023 08:46:10 +0800 (CST) Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 0021EDDA7A7 for ; Thu, 6 Apr 2023 08:46:09 +0800 (CST) Authentication-Results: cxsh.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by cxsh.intel-email.com (Postfix) with SMTP id BC908DDA7D7 for ; Thu, 6 Apr 2023 08:46:07 +0800 (CST) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Thu, 06 Apr 2023 08:46:03 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , References: In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gcGxlYXNlIGhlbHAgZml4IGJ1aWxkaW5nIGVycm9y?= Date: Thu, 6 Apr 2023 08:46:06 +0800 Message-ID: <00e201d96821$2c396a30$84ac3e90$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQEUOi3aYDvIxV5sVA2g1N8uCTIRMbCnzd9w Sender: "gaoliming" Content-Type: multipart/alternative; boundary="----=_NextPart_000_00E3_01D96864.3A5E09C0" Content-Language: zh-cn ------=_NextPart_000_00E3_01D96864.3A5E09C0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Seemly, you still uses Python2.7. Can you try Python 3 ? =20 Thanks Liming =E5=8F=91=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io = =E4=BB=A3=E8=A1=A8 luming.jin via groups.io =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2023=E5=B9=B44=E6=9C=885=E6=97=A5 19:= 35 =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io =E4=B8=BB=E9=A2=98: [edk2-devel] please help fix building error =20 Hello all I am trying to build but with following error msg,=20 Could you please help? Active Platform =3D /home/luming/01_work/01_project/8295/rse/sa829= 5p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/boot/QcomPkg/SocPkg/Maken= a/AU/Core.dsc .... done! # =20 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/boo= t/QcomPkg/Library/EblCmdLib/EblCmdLib.inf [AARCH64, CLANG100LINUX, RELEASE]= ] (Please send email to devel@edk2.groups.io f= or help, attaching following call stack trace!) =20 (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_s= tandard_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_s= tandard_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_s= tandard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", = line 1756, in _BuildPlatform CmdListDict =3D self._GenFfsCmd(Wa.ArchList) File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_s= tandard_oem/boot/boot_images/edk2/BaseTools/Source/Python/build/build.py", = line 2006, in _GenFfsCmd GenFfsDict =3D GenFds.GenFfsMakefile('', GlobalData.gFdfParser, self, A= rchList, GlobalData) File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_s= tandard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/GenFds.py"= , line 544, in GenFfsMakefile FvObj.AddToBuffer(Buffer=3DNone, Flag=3DTrue) File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_s= tandard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/Fv.py", li= ne 127, in AddToBuffer FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAddress, IsMa= kefile=3DFlag, FvName=3Dself.UiFvName) File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_s= tandard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/FfsInfStat= ement.py", line 518, in GenFfs InputSectList, InputSectAlignments =3D self.__GenComplexFileSection__(R= ule, FvChildAddr, FvParentAddr, IsMakefile=3DIsMakefile) File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_s= tandard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/FfsInfStat= ement.py", line 969, in __GenComplexFileSection__ SectList, Align =3D Sect.GenSection(self.OutputPath, self.ModuleGuid, S= ecIndex, self.KeyStringList, self, IsMakefile =3D IsMakefile) File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_s= tandard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/EfiSection= .py", line 321, in GenSection IsMakefile=3DIsMakefile File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_s= tandard_oem/boot/boot_images/edk2/BaseTools/Source/Python/GenFds/GenFdsGlob= alVariable.py", line 502, in GenerateSection if (os.path.getsize(Output) >=3D GenFdsGlobalVariable.LARGE_FILE_SIZE a= nd File "/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_s= tandard_oem/boot/boot_images/edk2/BaseTools/Source/Python/Common/LongFilePa= thOsPath.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_proj= ect/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/Build/M= akenaAU/Core/RELEASE_CLANG100LINUX/FV/Ffs/125E61D7-E824-4943-8BE9-1ADD2B197= 360MorPpiDxe/125E61D7-E824-4943-8BE9-1ADD2B197360SEC2.1.pe32' =20 - Failed - Build end time: 19:31:20, Apr.05 2023 Build total time: 00:00:05 =20 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/Sourc= e/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=3DSo= cPkg', '-D', 'EDK2ROOT=3D/home/luming/01_work/01_project/8295/rse/sa8295p-h= qx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2', '-D', 'BOOTTOOLS=3D/ho= me/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem= /boot/boot_images/boot_tools', '-D', u'COMPILER=3DCLANG100LINUX', '-D', u'S= ECTOOLSROOT=3D/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_= amss_standard_oem/common/sectools', '-D', 'QCOMDIR=3D', '-D', 'TARGETID=3DS= ocMakena', '-D', u'VAR=3DAU', '-D', 'TARGETROOT=3DQcomPkg/SocPkg/Makena', '= -D', u'BOOTROOT=3D/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-= 5-1_amss_standard_oem/boot/boot_images/boot', '-D', 'BUILDROOT=3D/home/lumi= ng/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/b= oot_images', '-D', 'PRODMODE=3DPRODMODE', '-D', 'XBLSEC=3D', '-D', u'AARCH= =3DAARCH64', '-D', 'SECONDDLL=3D', '-D', 'COMPLIER=3D', '-D', 'REL=3DRELEAS= E', '-D', 'FIRSTDLL=3D'] Build Subprocess failed with error...=20 None =20 =20 =20 =E8=87=B4=E4=BB=A5=E8=AF=9A=E6=8C=9A=E7=9A=84=E9=97=AE=E5=80=99 / Kind Rega= rds / Mit freundlichen Gr=C3=BC=C3=9Fen =20 Luming Jin (Mr.) / =E9=87=91=E9=95=A5=E6=98=8E 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 =20 Training Center, #2069 Jinxiu Dong Road, Pudong New District, Shanghai 2012= 06 =E4=B8=8A=E6=B5=B7=E5=B8=82=E6=B5=A6=E4=B8=9C=E6=96=B0=E5=8C=BA=E9=94=A6=E7= =BB=A3=E4=B8=9C=E8=B7=AF2069=E5=8F=B7 =E6=A2=85=E8=B5=9B=E5=BE=B7=E6=96=AF-= =E5=A5=94=E9=A9=B0=E5=9F=B9=E8=AE=AD=E4=B8=AD=E5=BF=83, =E9=82=AE=E7=BC=96:= 201206 =20 If you are not the addressee, please inform us immediately that you have re= ceived this e-mail by mistake, and delete it. We thank you for your support= . ------=_NextPart_000_00E3_01D96864.3A5E09C0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Seemly, you still uses Python2.7. Can you try Pyth= on 3 ?

 

Thanks

Liming

=E5=8F=91=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io <devel@edk2.groups.io> =E4=BB=A3=E8=A1=A8 luming.= jin via groups.io
=E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4:= 2023=E5=B9=B44=E6=9C=885=E6=97=A5 1= 9:35
=E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io
=E4=B8=BB=E9=A2=98:
[edk2-devel] please help f= ix building error

 

Hello all

I am trying to build but with following error msg, <= /span>

Could you please help?

Active Platform       = ;   =3D /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.d= sc
.... 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/Li= brary/EblCmdLib/EblCmdLib.inf [AARCH64, CLANG100LINUX, RELEASE]]

(Pl= ease send email to devel@edk2.group= s.io for help, attaching following call stack trace!)

 <= /span>

(Python 2.7.18 on linux2) Traceback (most recent call last):
&= nbsp; 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/bu= ild.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/b= uild.py", line 2392, in Launch
    self._BuildPlatfo= rm()
  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
    C= mdListDict =3D self._GenFfsCmd(Wa.ArchList)
  File "/home/lumi= ng/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/b= oot_images/edk2/BaseTools/Source/Python/build/build.py", line 2006, in= _GenFfsCmd
    GenFfsDict =3D GenFds.GenFfsMakefile('', = GlobalData.gFdfParser, self, ArchList, GlobalData)
  File "/ho= me/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=3DNo= ne, Flag=3DTrue)
  File "/home/luming/01_work/01_project/8295/= rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/S= ource/Python/GenFds/Fv.py", line 127, in AddToBuffer
  &n= bsp; FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAddress, IsM= akefile=3DFlag, FvName=3Dself.UiFvName)
  File "/home/luming/0= 1_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 5= 18, in GenFfs
    InputSectList, InputSectAlignments =3D = self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr, IsMakefile= =3DIsMakefile)
  File "/home/luming/01_work/01_project/8295/rs= e/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Sou= rce/Python/GenFds/FfsInfStatement.py", line 969, in __GenComplexFileSe= ction__
    SectList, Align =3D Sect.GenSection(self.Outp= utPath, self.ModuleGuid, SecIndex, self.KeyStringList, self, IsMakefile =3D= IsMakefile)
  File "/home/luming/01_work/01_project/8295/rse/= sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/edk2/BaseTools/Sourc= e/Python/GenFds/EfiSection.py", line 321, in GenSection
  = ;  IsMakefile=3DIsMakefile
  File "/home/luming/01_work/0= 1_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/e= dk2/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py", line 502,= in GenerateSection
    if (os.path.getsize(Output) >= =3D GenFdsGlobalVariable.LARGE_FILE_SIZE and
  File "/home/lum= ing/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(LongFile= Path(filename))
  File "/usr/lib/python2.7/genericpath.py"= ;, line 57, in getsize
    return os.stat(filename).st_si= ze
OSError: [Errno 2] No such file or directory: '/home/luming/01_work/0= 1_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images/B= uild/MakenaAU/Core/RELEASE_CLANG100LINUX/FV/Ffs/125E61D7-E824-4943-8BE9-1AD= D2B197360MorPpiDxe/125E61D7-E824-4943-8BE9-1ADD2B197360SEC2.1.pe32'
<= span lang=3DEN-US>

 


- Failed -
Build end time: 19:31:20, Apr.05 2023<= br>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/S= ocPkg/Makena/AU/build_Core.log', u'-w', u'-a', u'AARCH64', u'-b', u'RELEASE= ', u'-t', u'CLANG100LINUX', 'cleanall', '-D', 'TARGETPKG=3DSocPkg', '-D', '= EDK2ROOT=3D/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_ams= s_standard_oem/boot/boot_images/edk2', '-D', 'BOOTTOOLS=3D/home/luming/01_w= ork/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_ima= ges/boot_tools', '-D', u'COMPILER=3DCLANG100LINUX', '-D', u'SECTOOLSROOT=3D= /home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_= oem/common/sectools', '-D', 'QCOMDIR=3D', '-D', 'TARGETID=3DSocMakena', '-D= ', u'VAR=3DAU', '-D', 'TARGETROOT=3DQcomPkg/SocPkg/Makena', '-D', u'BOOTROO= T=3D/home/luming/01_work/01_project/8295/rse/sa8295p-hqx-4-5-5-1_amss_stand= ard_oem/boot/boot_images/boot', '-D', 'BUILDROOT=3D/home/luming/01_work/01_= project/8295/rse/sa8295p-hqx-4-5-5-1_amss_standard_oem/boot/boot_images', '= -D', 'PRODMODE=3DPRODMODE', '-D', 'XBLSEC=3D', '-D', u'AARCH=3DAARCH64', '-= D', 'SECONDDLL=3D', '-D', 'COMPLIER=3D', '-D', 'REL=3DRELEASE', '-D', 'FIRS= TDLL=3D'] Build Subprocess failed with error... 
None

 

 

 

=E8=87=B4=E4=BB=A5=E8=AF=9A=E6=8C=9A=E7=9A=84=E9=97=AE=E5= =80=99 / Kind Regards / Mit freundlichen Gr=C3= =BC=C3=9Fen

Luming Jin (Mr.) / =E9=87=91=E9=95=A5=E6=98=8E&nb= sp;   RDCS
Software | C= onnectivity & Autonomous Driving | R&D China

Mercedes-Benz Car | Dai= mler Greater China Ltd.(DGRC)

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

Training Center, #206= 9 Jinxiu Dong Road, Pudong New District, Shanghai 201206

=E4=B8=8A=E6=B5=B7=E5=B8=82=E6=B5=A6=E4=B8=9C=E6=96=B0=E5=8C=BA=E9=94= =A6=E7=BB=A3=E4=B8=9C=E8=B7=AF2069=E5=8F= =B7 =E6=A2=85=E8=B5=9B=E5=BE=B7=E6=96=AF-=E5=A5=94=E9=A9=B0=E5=9F=B9=E8=AE=AD=E4=B8=AD=E5=BF= =83, =E9=82=AE=E7=BC=96:201206

 


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

<= p class=3DMsoNormal>

------=_NextPart_000_00E3_01D96864.3A5E09C0--