From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ma1-aaemail-dr-lapp01.apple.com (ma1-aaemail-dr-lapp01.apple.com [17.171.2.60]) by mx.groups.io with SMTP id smtpd.web10.161200.1598122836830603147 for ; Sat, 22 Aug 2020 12:00:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=WhkcZaha; spf=pass (domain: apple.com, ip: 17.171.2.60, mailfrom: afish@apple.com) Received: from pps.filterd (ma1-aaemail-dr-lapp01.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp01.apple.com (8.16.0.42/8.16.0.42) with SMTP id 07MIm9Ps038283; Sat, 22 Aug 2020 12:00:35 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : content-type : content-transfer-encoding : mime-version : subject : date : references : to : in-reply-to : message-id; s=20180706; bh=8/9zvLZjiQe2oOzqrJz5G/1yj4CDcB3BkpjhfBGDoNI=; b=WhkcZahaQ7SlE7K3M4MlbCkuSrC95B70WUr/wE7Ar7fAJdg3Kby4dGBGAypUpnrED5wV vl/Vwqzus0YDidGQt/paxnkQ01Fz+kROW2cgK20wMbOZItqNgXagHBcktzsUVA6Nn3UD P5Rxr+iq9jU2NAHY4JxlG+5nBFiaF4L/Wppe2fZq9nZ3VPseRVdxTNujNkETZ0tjoGrh PWsh3qRt4R5Q3Y0M8YP7pHt/uTSAN7hPHofburgFu4LIXLL1l/JdokYRyDchVRZ1OncF H4UW4WD8aen9l72/U1vRab86BoVNsuElTfyUbu31LeOMEY1ThtNLXKCJGIJX43JbHlgY Ug== Received: from rn-mailsvcp-mta-lapp01.rno.apple.com (rn-mailsvcp-mta-lapp01.rno.apple.com [10.225.203.149]) by ma1-aaemail-dr-lapp01.apple.com with ESMTP id 3338y8r394-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sat, 22 Aug 2020 12:00:35 -0700 Received: from rn-mailsvcp-mmp-lapp03.rno.apple.com (rn-mailsvcp-mmp-lapp03.rno.apple.com [17.179.253.16]) by rn-mailsvcp-mta-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.6.20200729 64bit (built Jul 29 2020)) with ESMTPS id <0QFH000ZEBGWXN20@rn-mailsvcp-mta-lapp01.rno.apple.com>; Sat, 22 Aug 2020 12:00:32 -0700 (PDT) Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp03.rno.apple.com by rn-mailsvcp-mmp-lapp03.rno.apple.com (Oracle Communications Messaging Server 8.1.0.6.20200729 64bit (built Jul 29 2020)) id <0QFH01000B4LGH00@rn-mailsvcp-mmp-lapp03.rno.apple.com>; Sat, 22 Aug 2020 12:00:32 -0700 (PDT) X-Va-A: X-Va-T-CD: ee59a7088d782a8a4125635781e756c8 X-Va-E-CD: 2ef43079ffe56170b9dde5a592454b84 X-Va-R-CD: 9100cdb0a28c97fdd836b21bd1540cf5 X-Va-CD: 0 X-Va-ID: 2b036105-ed97-4491-bbc2-de06820d7b50 X-V-A: X-V-T-CD: ee59a7088d782a8a4125635781e756c8 X-V-E-CD: 2ef43079ffe56170b9dde5a592454b84 X-V-R-CD: 9100cdb0a28c97fdd836b21bd1540cf5 X-V-CD: 0 X-V-ID: 19036370-a354-4dc2-884d-df1937643e13 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-08-22_14:2020-08-21,2020-08-22 signatures=0 Received: from [17.235.20.94] (unknown [17.235.20.94]) by rn-mailsvcp-mmp-lapp03.rno.apple.com (Oracle Communications Messaging Server 8.1.0.6.20200729 64bit (built Jul 29 2020)) with ESMTPSA id <0QFH0119WBGV2800@rn-mailsvcp-mmp-lapp03.rno.apple.com>; Sat, 22 Aug 2020 12:00:32 -0700 (PDT) From: "Andrew Fish" MIME-version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [edk2-devel] intel: EDK2 Build failure for Quark/Gallileo Date: Sat, 22 Aug 2020 12:00:31 -0700 References: To: edk2-devel-groups-io , sahajsarup@gmail.com In-reply-to: Message-id: <4018BECF-E918-4AA6-B254-7A3CA52150E5@apple.com> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-08-22_14:2020-08-21,2020-08-22 signatures=0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable Sahaj, Your build failed trying to generate the Flash Device (FD). The FVs (Firmw= are Volumes) are a set of files named by UUID/GUID and each file can have a= set of sections, and sections can encapsulate sections. It looks like the = code processing one of the sections failed to find a SECTION dir.=20 I=E2=80=99m not sure why it failed. I though sections usually ended up her= e: /home/ric/work/tianocore/Build/Quark/DEBUG_GCC5/IFV/Ffs Thanks, Andrew Fish > On Aug 21, 2020, at 10:29 PM, Sahaj Sarup wrote: >=20 > Hi all, >=20 > Due to some sinister intents I wanted to build upstream edk2 for Intel > Galileo, however I am very new to this codebase and am stuck with a > failed build. I have appended the buildlog, any help is appreciated. >=20 > BUILD LOG: >=20 > ric@beech:~/work/tianocore/edk2$ build -a IA32 -t GCC5 -p > QuarkPlatformPkg/Quark.dsc -D GALILEO=3DGEN1 -D CAPSULE_ENABLE=3DTRUE > Build environment: Linux-5.7.12-200.fc32.x86_64-x86_64-with-Ubuntu-18.04= -bionic > Build start time: 05:24:44, Aug.22 2020 >=20 > WORKSPACE =3D /home/ric/work/tianocore > PACKAGES_PATH =3D > /home/ric/work/tianocore/edk2:/home/ric/work/tianocore/edk2-non-osi/Sili= con/Intel:/home/ric/work/tianocore/edk2-platforms/Platform/Intel:/home/ric/= work/tianocore/edk2-platforms/Silicon/Intel > EDK_TOOLS_PATH =3D /home/ric/work/tianocore/edk2/BaseTools > CONF_PATH =3D /home/ric/work/tianocore/edk2/Conf > PYTHON_COMMAND =3D /usr/bin/python2.7 >=20 >=20 >=20 > Processing meta-data Architecture(s) =3D IA32 > .Build target =3D DEBUG > Toolchain =3D GCC5 >=20 > Active Platform =3D > /home/ric/work/tianocore/edk2-platforms/Platform/Intel/QuarkPlatformPkg/= Quark.dsc > ....... >=20 >=20 > build.py... > : error C0DE: Unknown fatal error when processing > [/home/ric/work/tianocore/edk2/SignedCapsulePkg/Library/IniParsingLib/In= iParsingLib.inf > [IA32, GCC5, DEBUG]] >=20 > (Please send email to devel@edk2.groups.io for help, attaching > following call stack trace!) >=20 > (Python 2.7.17 on linux2) Traceback (most recent call last): > File "/home/ric/work/tianocore/edk2/BaseTools/BinWrappers/PosixLike/../= ../Source/Python/build/build.py", > line 2635, in Main > MyBuild.Launch() > File "/home/ric/work/tianocore/edk2/BaseTools/BinWrappers/PosixLike/../= ../Source/Python/build/build.py", > line 2430, in Launch > self._MultiThreadBuildPlatform() > File "/home/ric/work/tianocore/edk2/BaseTools/BinWrappers/PosixLike/../= ../Source/Python/build/build.py", > line 2238, in _MultiThreadBuildPlatform > Wa, self.BuildModules =3D self.PerformAutoGen(BuildTarget,ToolChain) > File "/home/ric/work/tianocore/edk2/BaseTools/BinWrappers/PosixLike/../= ../Source/Python/build/build.py", > line 2112, in PerformAutoGen > CmdListDict =3D self._GenFfsCmd(Wa.ArchList) > File "/home/ric/work/tianocore/edk2/BaseTools/BinWrappers/PosixLike/../= ../Source/Python/build/build.py", > line 2009, in _GenFfsCmd > GenFfsDict =3D GenFds.GenFfsMakefile('', GlobalData.gFdfParser, > self, ArchList, GlobalData) > File "/home/ric/work/tianocore/edk2/BaseTools/Source/Python/GenFds/GenF= ds.py", > line 541, in GenFfsMakefile > FdObj.GenFd(Flag=3DTrue) > File "/home/ric/work/tianocore/edk2/BaseTools/Source/Python/GenFds/Fd.p= y", > line 131, in GenFd > RegionObj.AddToBuffer (FdBuffer, self.BaseAddress, > self.BlockSizeList, self.ErasePolarity, > GenFdsGlobalVariable.ImageBinDict, self.DefineVarDict, Flag=3DFlag) > File "/home/ric/work/tianocore/edk2/BaseTools/Source/Python/GenFds/Regi= on.py", > line 134, in AddToBuffer > FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, > ErasePolarity, Flag=3DFlag) > File "/home/ric/work/tianocore/edk2/BaseTools/Source/Python/GenFds/Fv.p= y", > line 127, in AddToBuffer > FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAddress, > IsMakefile=3DFlag, FvName=3Dself.UiFvName) > File "/home/ric/work/tianocore/edk2/BaseTools/Source/Python/GenFds/FfsI= nfStatement.py", > line 518, in GenFfs > InputSectList, InputSectAlignments =3D > self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr, > IsMakefile=3DIsMakefile) > File "/home/ric/work/tianocore/edk2/BaseTools/Source/Python/GenFds/FfsI= nfStatement.py", > line 969, in __GenComplexFileSection__ > SectList, Align =3D Sect.GenSection(self.OutputPath, > self.ModuleGuid, SecIndex, self.KeyStringList, self, IsMakefile =3D > IsMakefile) > File "/home/ric/work/tianocore/edk2/BaseTools/Source/Python/GenFds/EfiS= ection.py", > line 135, in GenSection > f =3D open(File, 'r') > File "/home/ric/work/tianocore/edk2/BaseTools/Source/Python/Common/Long= FilePathSupport.py", > line 33, in OpenLongFilePath > return open(LongFilePath(FileName), Mode, Buffer) > IOError: [Errno 2] No such file or directory: > '/home/ric/work/tianocore/Build/Quark/DEBUG_GCC5/IA32/ShellPkg/Applicati= on/Shell/Shell/OUTPUT/SECTION' >=20 >=20 > - Failed - > Build end time: 05:24:52, Aug.22 2020 > Build total time: 00:00:08 >=20 > ric@beech:~/work/tianocore/edk2$ >=20 > --=20 > Best Regards > Sahaj Sarup >=20 >=20 >=20