From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=129.46.98.28; helo=alexa-out.qualcomm.com; envelope-from=jbrasen.qdt@qualcommdatacenter.com; receiver=edk2-devel@lists.01.org Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 166DB21FB7D33 for ; Wed, 4 Apr 2018 10:00:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qualcommdatacenter.com; i=@qualcommdatacenter.com; q=dns/txt; s=qcdkim; t=1522861240; x=1554397240; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=9RiXrRyEJMUM2QwUqe0kqMLXtx0oH1cqOtQ4GTjCi9w=; b=XMnWrh8hALIsp3d2aQHyYbL45OqlrVdkgYUAKSu+MRYFo3qp8LUzN9Rr tjRHeTgPd6vimhLUXbtksVXhmRasX/5xYjD4/jRY9ZRcG/XKWrYuTps94 uQyqxYCWwfSMuC3SByv8ETaqd8epKWC9rhYHFRmmMy7N33ZE8iiZgjSjC Y=; X-IronPort-AV: E=Sophos;i="5.48,407,1517904000"; d="scan'208,217";a="16332633" Received: from ironmsg02-sd.qualcomm.com ([10.53.140.142]) by alexa-out.qualcomm.com with ESMTP; 04 Apr 2018 10:00:39 -0700 Received: from nasanexm01d.na.qualcomm.com ([10.85.0.84]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/AES256-SHA; 04 Apr 2018 10:00:38 -0700 Received: from NASANEXM01B.na.qualcomm.com (10.85.0.82) by NASANEXM01D.na.qualcomm.com (10.85.0.84) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Wed, 4 Apr 2018 10:00:38 -0700 Received: from NASANEXM01B.na.qualcomm.com ([10.85.0.82]) by NASANEXM01B.na.qualcomm.com ([10.85.0.82]) with mapi id 15.00.1365.000; Wed, 4 Apr 2018 10:00:38 -0700 From: jbrasen.qdt To: "edk2-devel@lists.01.org" Thread-Topic: [edk2] GenFds issue with multiple paths in PACKAGES_PATH Thread-Index: AdPMM29Sg2PlHnxuRWCP6/KPq8jiqQAAvrzQ Date: Wed, 4 Apr 2018 17:00:38 +0000 Message-ID: <52be5673039b42eab80216a23ae85230@NASANEXM01B.na.qualcomm.com> References: <26519abafe2549879a44e1fb8680a17b@NASANEXM01B.na.qualcomm.com> In-Reply-To: <26519abafe2549879a44e1fb8680a17b@NASANEXM01B.na.qualcomm.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.80.80.8] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.26 Subject: GenFds issue with multiple paths in PACKAGES_PATH X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2018 17:00:40 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, I am trying to update my build software to the current edk2-platforms lay= out and am running into some issues with the final part of the build. It seems that the output is being generated under edk2/Build/Qdfxxxx_RBL/D= EBUG_CLANG35/AARCH64/edk2-QDT-platforms-restricted/Silicon/QualcommDatacent= er But GenFds is looking under edk2/Build/Qdfxxxx_RBL/DEBUG_CLANG35/AARCH64/= Silicon/QualcommDatacenter edk2-QDT-platforms-restricted is a path under PACKAGES_PATH I do have another directory that has build output from Silicon/QualcommData= center with some libraries Any ideas? Thanks, Jeff Brasen GenFds.py... : error C0DE: Tools code failure Please send email to edk2-devel@lists.01.org for help, attaching following call stack trace! Traceback (most recent call last): File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/BinWrappers/P= osixLike/../../Source/Python/GenFds/GenFds.py", line 333, in main GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList) File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/BinWrappers/P= osixLike/../../Source/Python/GenFds/GenFds.py", line 589, in GenFd FdObj.GenFd() File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/Source/Python= /GenFds/Fd.py", line 139, in GenFd RegionObj.AddToBuffer (FdBuffer, self.BaseAddress, self.BlockSizeList, self= .ErasePolarity, GenFds.ImageBinDict, self.vtfRawDict, self.DefineVarDict,Fl= ag=3DFlag) File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/Source/Python= /GenFds/Region.py", line 133, in AddToBuffer FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolari= ty, vtfDict, Flag=3DFlag) File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/Source/Python= /GenFds/Fv.py", line 124, in AddToBuffer FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAddress, IsMakefi= le=3DFlag, FvName=3Dself.UiFvName) File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/Source/Python= /GenFds/FfsInfStatement.py", line 513, in GenFfs InputSectList, InputSectAlignments =3D self.__GenComplexFileSection__(Rule,= FvChildAddr, FvParentAddr, IsMakefile=3DIsMakefile) File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/Source/Python= /GenFds/FfsInfStatement.py", line 964, in __GenComplexFileSection__ SectList, Align =3D Sect.GenSection(self.OutputPath , self.ModuleGuid, SecI= ndex, self.KeyStringList, self, IsMakefile =3D IsMakefile) File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/Source/Python= /GenFds/EfiSection.py", line 269, in GenSection CopyLongFilePath(File, FileBeforeStrip) File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/Source/Python= /Common/LongFilePathSupport.py", line 49, in CopyLongFilePath with open(LongFilePath(src), 'rb') as fsrc: IOError: [Errno 2] No such file or directory: '/local/mnt/workspace/repo/ce= ntriqsdk/fdk/edk2/Build/Qdfxxxx_RBL/DEBUG_CLANG35/AARCH64/Silicon/QualcommD= atacenter/RBL/PrePeiCore/PrePeiCoreUniCore/OUTPUT/ArmPlatformPrePeiCore.efi= '