[yocto] Failing EXTERNALSRC and dangling symlinks

Paul Eggleton paul.eggleton at linux.intel.com
Mon Aug 22 09:10:08 PDT 2016


Hi Svein,

On Mon, 22 Aug 2016 11:57:16 Svein Seldal wrote:
> I am running on a customized Yocto tree based off Poky krogoth and I
> think I have stumbled upon a bug in bb.
> 
> One of our recipes use EXTERNALSRC and EXTERNALSRC_BUILD, set from
> local.conf. When the recipe is built, two symlinks
> ${EXTERNALSRC}/oe-logs and ${EXTERNALSRC}/oe-workdir is created in the
> source tree.
> 
> If the build output tmp/ later is deleted, these two symlinks becomes
> dangling links. Re-running bitbake will cause it to fail. First it warns
> of this during parsing, and later it will crash bb (see below).
> 
> Removing these symlinks when deleting tmp/ ensures bitbake will not crash.
> 
> I suppose this is a bug?

It is - it should be fixed by this patch:

  http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2a849e7e9be6040bd76b76c24263f63f8f693753

Could you apply this and check if it fixes the issue? If so we'll backport it.

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list