public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* GenFds issue with multiple paths in PACKAGES_PATH
       [not found] <26519abafe2549879a44e1fb8680a17b@NASANEXM01B.na.qualcomm.com>
@ 2018-04-04 17:00 ` jbrasen.qdt
  2018-04-04 21:06   ` Ard Biesheuvel
  0 siblings, 1 reply; 5+ messages in thread
From: jbrasen.qdt @ 2018-04-04 17:00 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

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'


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

* Re: GenFds issue with multiple paths in PACKAGES_PATH
  2018-04-04 17:00 ` GenFds issue with multiple paths in PACKAGES_PATH jbrasen.qdt
@ 2018-04-04 21:06   ` Ard Biesheuvel
       [not found]     ` <fcd915ac48f5433e9498602995924ca0@NASANEXM01B.na.qualcomm.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Ard Biesheuvel @ 2018-04-04 21:06 UTC (permalink / raw)
  To: jbrasen.qdt; +Cc: edk2-devel@lists.01.org

On 4 April 2018 at 19:00, jbrasen.qdt
<jbrasen.qdt@qualcommdatacenter.com> wrote:
> 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?

None of the references in your .dsc or .fdf files should include the
edk2-QDT-platforms-restricted prefix, can you check that?


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

* Re: GenFds issue with multiple paths in PACKAGES_PATH
       [not found]     ` <fcd915ac48f5433e9498602995924ca0@NASANEXM01B.na.qualcomm.com>
@ 2018-04-04 21:14       ` jbrasen.qdt
  2018-04-08  2:21         ` Gao, Liming
  0 siblings, 1 reply; 5+ messages in thread
From: jbrasen.qdt @ 2018-04-04 21:14 UTC (permalink / raw)
  To: ard.biesheuvel@linaro.org; +Cc: edk2-devel@lists.01.org

-----Original Message-----
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Sent: Wednesday, April 4, 2018 3:06 PM
To: jbrasen.qdt <jbrasen.qdt@qualcommdatacenter.com>
Cc: edk2-devel@lists.01.org
Subject: Re: [edk2] GenFds issue with multiple paths in PACKAGES_PATH

On 4 April 2018 at 19:00, jbrasen.qdt
<jbrasen.qdt@qualcommdatacenter.com> wrote:
> 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/QualcommDatacente
> r
>
> 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?

None of the references in your .dsc or .fdf files should include the edk2-QDT-platforms-restricted prefix, can you check that?
[JB] Correct, they all start with Silicon

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

* Re: GenFds issue with multiple paths in PACKAGES_PATH
  2018-04-04 21:14       ` jbrasen.qdt
@ 2018-04-08  2:21         ` Gao, Liming
  2018-04-20 19:43           ` jbrasen.qdt
  0 siblings, 1 reply; 5+ messages in thread
From: Gao, Liming @ 2018-04-08  2:21 UTC (permalink / raw)
  To: jbrasen.qdt, ard.biesheuvel@linaro.org; +Cc: edk2-devel@lists.01.org

Could you give your step? I expect to reproduce it and check what's wrong. 

>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>jbrasen.qdt
>Sent: Thursday, April 05, 2018 5:15 AM
>To: ard.biesheuvel@linaro.org
>Cc: edk2-devel@lists.01.org
>Subject: Re: [edk2] GenFds issue with multiple paths in PACKAGES_PATH
>
>-----Original Message-----
>From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>Sent: Wednesday, April 4, 2018 3:06 PM
>To: jbrasen.qdt <jbrasen.qdt@qualcommdatacenter.com>
>Cc: edk2-devel@lists.01.org
>Subject: Re: [edk2] GenFds issue with multiple paths in PACKAGES_PATH
>
>On 4 April 2018 at 19:00, jbrasen.qdt
><jbrasen.qdt@qualcommdatacenter.com> wrote:
>> 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/QualcommData
>cente
>> r
>>
>> 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?
>
>None of the references in your .dsc or .fdf files should include the edk2-QDT-
>platforms-restricted prefix, can you check that?
>[JB] Correct, they all start with Silicon
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel


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

* Re: GenFds issue with multiple paths in PACKAGES_PATH
  2018-04-08  2:21         ` Gao, Liming
@ 2018-04-20 19:43           ` jbrasen.qdt
  0 siblings, 0 replies; 5+ messages in thread
From: jbrasen.qdt @ 2018-04-20 19:43 UTC (permalink / raw)
  To: Gao, Liming, jbrasen.qdt, ard.biesheuvel@linaro.org
  Cc: edk2-devel@lists.01.org

Sorry for the delay in response on this, got caught up with other tasks.

I think the issue was I had WORKSPACE setup incorrectly
I had WORKSPACE set as the edk2 directory and multiple directories mapped parallel to edk2 directory in PACKAGES_PATH

Multiple of them had the same Silicon/QualcommDatacenter root path that had infs that got built.

When I switched WORKSPACE to the common parent everything seems to work.

-Jeff


-----Original Message-----
From: Gao, Liming <liming.gao@intel.com> 
Sent: Saturday, April 7, 2018 8:21 PM
To: jbrasen.qdt <jbrasen.qdt@qualcommdatacenter.com>; ard.biesheuvel@linaro.org
Cc: edk2-devel@lists.01.org
Subject: RE: [edk2] GenFds issue with multiple paths in PACKAGES_PATH

Could you give your step? I expect to reproduce it and check what's wrong. 

>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of 
>jbrasen.qdt
>Sent: Thursday, April 05, 2018 5:15 AM
>To: ard.biesheuvel@linaro.org
>Cc: edk2-devel@lists.01.org
>Subject: Re: [edk2] GenFds issue with multiple paths in PACKAGES_PATH
>
>-----Original Message-----
>From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>Sent: Wednesday, April 4, 2018 3:06 PM
>To: jbrasen.qdt <jbrasen.qdt@qualcommdatacenter.com>
>Cc: edk2-devel@lists.01.org
>Subject: Re: [edk2] GenFds issue with multiple paths in PACKAGES_PATH
>
>On 4 April 2018 at 19:00, jbrasen.qdt
><jbrasen.qdt@qualcommdatacenter.com> wrote:
>> 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/QualcommData
>cente
>> r
>>
>> 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?
>
>None of the references in your .dsc or .fdf files should include the 
>edk2-QDT- platforms-restricted prefix, can you check that?
>[JB] Correct, they all start with Silicon 
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel


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

end of thread, other threads:[~2018-04-20 19:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <26519abafe2549879a44e1fb8680a17b@NASANEXM01B.na.qualcomm.com>
2018-04-04 17:00 ` GenFds issue with multiple paths in PACKAGES_PATH jbrasen.qdt
2018-04-04 21:06   ` 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

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