public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: jbrasen.qdt <jbrasen.qdt@qualcommdatacenter.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: GenFds issue with multiple paths in PACKAGES_PATH
Date: Wed, 4 Apr 2018 17:00:38 +0000	[thread overview]
Message-ID: <52be5673039b42eab80216a23ae85230@NASANEXM01B.na.qualcomm.com> (raw)
In-Reply-To: <26519abafe2549879a44e1fb8680a17b@NASANEXM01B.na.qualcomm.com>

Hello,

  I am trying to update my build software to the current edk2-platforms layout 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/DEBUG_CLANG35/AARCH64/edk2-QDT-platforms-restricted/Silicon/QualcommDatacenter
  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/QualcommDatacenter with some libraries

Any ideas?

Thanks,
Jeff Brasen


  GenFds.py...
: error C0DE: Tools code failure
Please send email to edk2-devel@lists.01.org<mailto: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/PosixLike/../../Source/Python/GenFds/GenFds.py", line 333, in main
GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList)
File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/BinWrappers/PosixLike/../../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,Flag=Flag)
File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/Source/Python/GenFds/Region.py", line 133, in AddToBuffer
FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity, vtfDict, Flag=Flag)
File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/Source/Python/GenFds/Fv.py", line 124, in AddToBuffer
FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress, IsMakefile=Flag, FvName=self.UiFvName)
File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 513, in GenFfs
InputSectList, InputSectAlignments = self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr, IsMakefile=IsMakefile)
File "/local/mnt/workspace/repo/centriqsdk/fdk/edk2/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 964, in __GenComplexFileSection__
SectList, Align = Sect.GenSection(self.OutputPath , self.ModuleGuid, SecIndex, self.KeyStringList, self, IsMakefile = 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/centriqsdk/fdk/edk2/Build/Qdfxxxx_RBL/DEBUG_CLANG35/AARCH64/Silicon/QualcommDatacenter/RBL/PrePeiCore/PrePeiCoreUniCore/OUTPUT/ArmPlatformPrePeiCore.efi'


       reply	other threads:[~2018-04-04 17:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <26519abafe2549879a44e1fb8680a17b@NASANEXM01B.na.qualcomm.com>
2018-04-04 17:00 ` jbrasen.qdt [this message]
2018-04-04 21:06   ` GenFds issue with multiple paths in PACKAGES_PATH Ard Biesheuvel
     [not found]     ` <fcd915ac48f5433e9498602995924ca0@NASANEXM01B.na.qualcomm.com>
2018-04-04 21:14       ` jbrasen.qdt
2018-04-08  2:21         ` Gao, Liming
2018-04-20 19:43           ` jbrasen.qdt

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=52be5673039b42eab80216a23ae85230@NASANEXM01B.na.qualcomm.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